Jump to content

Is it possible to see someone else's php code?


michellephp

Recommended Posts

PHP is not like HTML where you can go to anyones site and see their HTML source. With PHP your code is the [b]input[/b] (or source code) then the server (PHP intepreter) [b]processes[/b] your code and so you end up with the [b]output[/b] which is the HTML or plain text.

HTML on the other hand is not process by the server however it is by the browser it self. The same with CSS and Javascript.

You cannot get anyones source code by doing view source or by downloading the file as that will just provide you with the output of the script. The only way for you to see the true source code of someones script is if they provide a download of their script, which I dought or you have FTP access to where the PHP files are kept.
Link to comment
Share on other sites

ya i would like to be able to do that too....but if it did it would show your info like password and database stuff....that would lead to [u][i][b][!--coloro:#000099--][span style=\"color:#000099\"][!--/coloro--]MAJOR[!--colorc--][/span][!--/colorc--][/b][/i][/u] problems....lol...
Link to comment
Share on other sites

That and the fact that I know I personally would not want to spend weeks coding a set of scripts that I plan to sell only to have the client download my source and say I changed my mind about buying the scripts. It is so much easier to show them a full working code they can test on my server then when I receive payment send them the actually scripts or install them on their server.

Now if you have pagination problems I would be happy to help you. I could probably figure out a way to get the same result as the site you are looking at, but I can't get their source without them handing it over...not legally anyway...and I don't do the illegal thing.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.