Taking a PHP page from a website
Posted 05 October 2006 - 03:02 PM
Posted 05 October 2006 - 03:20 PM
can anyone tell me if there is a way to somehow download the webpage as a .php in which it is on the server?
So you want to get the source code of the PHP script!? If so, ask the webmaster to hand it to you - fortunately there is no other way.
Posted 05 October 2006 - 03:22 PM
The only way to really do what you're after is:
1) Contact the webmaster and ask for the file to be sent to you
2) If the files are publicly accessable, write a script that will get the content of the file and output it to the screen or save it to a file for you.
Either way, you've got to have permission from the server it is residing on to get at the file contents. That's the beauty of PHP: without server access, I can keep my code to myself.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users