PDA

View Full Version : Getting Perl


superman
12-13-2000, 06:20 AM
we can get HTML codes from other web sites by viewing source. how can we get other ppl's perl?

Jacob
12-13-2000, 08:34 AM
Hi Superman,

The simple answer is you can't. Unless the user makes a stupid mistake of using the wrong content output header, and forces the browser to display the source code of the script.

When you run a perl script, the only thing you see through your browser is the actual output from the script. As it's a server-side language, the code is already interrupted before you see it.

Hope this helps!

Regards,

------------------
Jacob A. Wheeler
Co-Founder / Web Engineer
Big Resources Network
jacob@bigresources.com
ICQ: 390147 (http://www.icq.com/390147)

Henrik
12-13-2000, 08:35 AM
Well, you can always try to crack the server.
Frankly, due to security reasons there are no legal way to do that. The only way is to crack the server. The webserver will execute the script on the server and only send its output to you. It will not allow you to download it.

superman
12-13-2000, 11:15 PM
Thanks Jacob and Henriks for your help. ;)