Page 1 of 1

php source script

PostPosted: 24. June 2008 07:20
by sebipo
Um nt sure if i this is the right place to post this thread bt i wud appreciate ur help.
I knw there is a way of viewin an asp script coz sum1 once showed me an i jst 4got. Help me out hw can I view the php source script

PostPosted: 24. June 2008 10:41
by Dave_L
If a server is configured properly, server-side PHP scripts can only be executed via a web browser, not viewed. You need access to the server's file system to view the scripts.

Example:

http://localhost/example.php
- URL for script

/opt/lampp/htdocs/example.php
- file system path for script