![]() |
|
#1
|
||||
|
||||
PHP in HTMLFor those that don't know, I run a forum at http://bbclone.topfunwebsites.com for the BBClone PHP web counter (GPL open source project) and a topic arose that I thought others with sites that have been long indexed by the search engines and heavily linked to have prevented them from changing to .php .
Here it is in its entirety: Quote:
Quote:
Quote:
Quote:
In essence, it IS possible to put PHP within HTML, but the drawback of performance loss is something to watch out for (even though I haven't tested it). Since it is possible to put it in a .htaccess file anyone can test this out without requiring admin rights and it could be confined to certain file areas. Rob |
|
#2
|
||||
|
||||
php in HTML filesObviously you don't use Google for your 'researches'...
![]() A web page here in the PHP section is No.1 (currently... and has been for a LONG time) on Google for the phrase Parsing PHP in html! The article: http://www.desilva.biz/php/phpinhtml.html - Parsing PHP in .html Files. __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#3
|
||||
|
||||
|
I'd searched for parse rather than parsing. Bit of an irony that I keep doing this
sorry |
|
#4
|
||||
|
||||
|
Definitely something for me to research with that Overture keyword-thingy...
I thought it was a bit ironic too... BTW, the bit about 'slowing down performance' is not true. It's just as much load as a regular PHP page, nothing more! __________________
J de Silva Learning Journal | GIDForums™ | GIDNetwork™ | GIDWebhosts™ | GIDSearch™ |
|
#5
|
|||
|
|||
|
Hmmm.....sounds like your giving the same advice I tend to give everyone using Apache for Linux.....
That you must edit the httpd.config file in order make certain features active... But most people on this furom I see just try to run before they crawl with all these posts about RPM's...... The fact is going to remain that any Webpage Designer must understand networking just about as well as a networker.... Infact I've seen some Webpage designers how know more then me about Networking...(Thats scary!!!) Best peice of advice I can give to any computer user is all OS's have there own Services such as Webservers, DNS, DHCP, Firewalls etc..... and for each peice of software they have there own features..... I like Linux because it shuts down most security risks were as Windows leaves most Services open to attacks before you even get it out the box..... Well good post I have to learn PHP.....So note taken.... later..... chris |
Recent GIDBlog
Prepping for deployment by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Optimizing your web server with Turck MMCache for PHP | JdS | Web Hosting Forum | 2 | 07-Jan-2004 07:48 |
| apache2 - php cgi fehler - schleife | inna | Apache Web Server Forum | 8 | 27-Nov-2003 09:55 |
| html to php | tenaki | Web Design Forum | 17 | 28-Oct-2003 16:18 |
| [Linux] Installing PHP --with-mcrypt | JdS | Web Hosting Forum | 0 | 20-Aug-2003 08:40 |
| All the big PHP script collections that matter | jrobbio | MySQL / PHP Forum | 5 | 06-Jun-2003 16:14 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The