Alejandro wrote:

> I have a problem:I have a php page wich runs well when I run it, but when
> I run a html page and links the php file, the source code is seen on the
> screen. It´s like apache wouldn't understand php!!. Any ideas? Thanks

If the file ends in .html, and you have not used AddType in Apache's 
httpd.conf file to tell Apache to use PHP to read .html files, then you 
will see PHP source, cuz PHP isn't being told by Apache to process the 
file...

Find your httpd.conf, search for "AddType" with the PHP setting, and 
uncomment it and/or add .html .htm .php3 .php .phtml etc to the end of that 
line.

-- 
Like music?  http://l-i-e.com/artists.htm


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to