harwoodr Posted February 17, 2007 Share Posted February 17, 2007 Hi all can anyone help please, i have installed php on a local server, and i also have it on a remote server, i installed my local , professionals installed on remote server, both will show php pages, but i cant get a response from either when i embed anything in a html page, even simple echo wont work, any idea's plea se Link to comment https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/ Share on other sites More sharing options...
fert Posted February 17, 2007 Share Posted February 17, 2007 I don't think you can embed php pages into html with <embed...> Link to comment https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/#findComment-187370 Share on other sites More sharing options...
kenrbnsn Posted February 17, 2007 Share Posted February 17, 2007 For a PHP script to be processed, the file extension of should be ".php", unless your webserver is set up to process ".html" files with the PHP processor. Ken Link to comment https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/#findComment-187374 Share on other sites More sharing options...
sspoke Posted February 17, 2007 Share Posted February 17, 2007 ya or .phtml Link to comment https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/#findComment-187375 Share on other sites More sharing options...
harwoodr Posted February 17, 2007 Author Share Posted February 17, 2007 Sorry guys i am using the wrong terminology,, total neebie of course,, I want to add php content to a standard web page,, if i type this and save as html, load on server i get zilch . The server reads php pages fine, but not this what do i need to do ?\ please <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <?php // Hello World in PHP echo 'Hello World!'; ?> </body> </html> zilch Link to comment https://forums.phpfreaks.com/topic/38952-php-not-working-correctly/#findComment-187382 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.