By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 844 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

How to download/extract a running PHP from a website?

P: 1
Hello,

I have got the link of a running PHP script on a website, when when I try to download it, I get a plain HTML file which opens as the original website.

I have tried to paste the link in my download manager, but still i get the HTML file.
In addition, I have searched Google for information how to extract a PHP script but I couldnt get anything related.

Help!!

Do i need special software to extract it?

Thank you.
Jan 4 '07 #1
Share this Question
Share on Google+
2 Replies


acoder
Expert Mod 15k+
P: 16,027
Hello,

I have got the link of a running PHP script on a website, when when I try to download it, I get a plain HTML file which opens as the original website.

I have tried to paste the link in my download manager, but still i get the HTML file.
In addition, I have searched Google for information how to extract a PHP script but I couldnt get anything related.

Help!!

Do i need special software to extract it?

Thank you.
PHP is server side, HTML is client-side. You only get to view the HTML generated by the PHP. Imagine the security problems if you could view the PHP code, e.g. username, passwords, database code, etc.?!
Jan 4 '07 #2

ronverdonk
Expert 2.5K+
P: 4,258
That is the whole point of using PHP: since it runs on the server, nobody can steal it with a right click!

If you want to pinch and use server code, ask the script owner for a copy and permission to use it.

Ronald :cool:
Jan 4 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.