PDA

View Full Version : when php extension is used, the code gets modified!


glo
12-01-2002, 11:16 AM
Would it be possible for you to have a look at
www.glo-racing.com/v3/main.html
and view the source code. It is also the code for
www.glo-racing.com/v3/main.php
corrupts the code.

I dont know why it is doing this at all. The html code is fine because it all work in the .html file except for the php parts,

Wehre as in main.php the page is only partially shown and i cant even see any php script being active on the page!

Your help is greatly appreciated.

JulianD
12-01-2002, 03:54 PM
It looks like your server isn't parsing PHP files.

Go to your extra's directory and use the file phptest.php or phpinfo.php to see if PHP is installed and working properly.

glo
12-01-2002, 07:24 PM
<a href="http://www.glo-racing.com/forums/phpinfo.php" target="_blank">http://www.glo-racing.com/forums/phpinfo.php</a>

this is my php info page.

I am not sure what to look for to see if its not set up properly.

I might add that the vB forums work fine, its just the hacks that i cant get to work!!!

Dark_Wizard
12-01-2002, 08:57 PM
Post your main.php file so we can look at it.

Erwin
12-01-2002, 09:05 PM
If we can look at the PHP source code, then something is wrong, as PHP should be parsed into HTML.

glo
12-02-2002, 05:33 AM
view the source code of the main.html file; the code is indentical to main.php .

I have also attached it to this post.