michellephp Posted April 1, 2006 Share Posted April 1, 2006 Just wondering if it's possible to veiw another sites php. view source doesn't work........... but I was really hoping to see this other sites code to try to fix mine ;) I'm guessing the answer is no.Thanks!Michelle. Quote Link to comment Share on other sites More sharing options...
azuka Posted April 1, 2006 Share Posted April 1, 2006 Of course it's no. PHP is an interpreted language - that is it is run on the server and then generates pure HTML. You'll have to ask for the code. Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted April 1, 2006 Share Posted April 1, 2006 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. Quote Link to comment Share on other sites More sharing options...
michellephp Posted April 1, 2006 Author Share Posted April 1, 2006 Thanks for your responses, I thought that would be the case but I was hopeful ;)I am just going crazy trying to figure out my pagination problems!!! :( Quote Link to comment Share on other sites More sharing options...
legohead6 Posted April 1, 2006 Share Posted April 1, 2006 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... Quote Link to comment Share on other sites More sharing options...
txmedic03 Posted April 2, 2006 Share Posted April 2, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.