Forum Moderators: coopster

Message Too Old, No Replies

hopefully an easy one : php environment

         

sneaks

4:06 am on Apr 29, 2005 (gmt 0)

10+ Year Member



hope i am posting this in the right place...

the network consists of the testing server (apache2 and php) but 99% of the content is done on another system. when i go to test my php files or a file that calls on php (flash & dreamweaver) using either f12 or ctrl enter shortcuts, then i always get the php code in text format instead of the results of the processing...

the other thing that happens is in the location bar it will say:
file://localhost/z:/file.php (z is the mapped folder on the server system)

the script will process as per normal if i go the http route...

i think that the non server station is actually opening the file?

thanks!
jonathan

edacsac

4:20 am on Apr 29, 2005 (gmt 0)

10+ Year Member



Yes, you have to go through http:// for php to parse the file. The z: share bypasses apache, and no parsing is done.