Source code

Busy's picture

He has: 6,151 posts

Joined: May 2001

PHP - I realise PHP is server side and what you see is the end result but is there any way you can view the source code before its run on someones site?

trying to find good reliable php examples on the net is poveing to be not as such an easy task as I thought it would be, a lot of the how-to's are filled with errors and even though fault ixing is a good way to learn they offer it onlt one way, their way and while trying to learn limits the options.

I don't want to steal anyones code, just get an idea of how they went around it, see another way of doing things.

I hava a feeling you can't, but you dont know unless you ask Smiling If the answer is NO, can anyone suggst some good example sites and/or tutorial sites for me please.

Books arent an option, to pricey for me at the moment ($175.00 + plus the wait to have them brought in the country)

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

No, unless the programmer has provided a means, there is no way to view the sourve.

By 'means', I mean the 'show source' link at the bottom of http://php.net or the 'View Source' link at the bottom of http://maxalbert.com.

I learned PHP by reading the manual, and hacking scripts at http://hotscripts.com and http://resourceindex.com.

Good Luck,

Mark Hensler
If there is no answer on Google, then there is no question.

Busy's picture

He has: 6,151 posts

Joined: May 2001

Thanks Mark,
those links are going to be very helpful Smiling

heaps of info, now I just have to find a way to obsorb it all and not let any fall out Laughing out loud

Mark Hensler's picture

He has: 4,048 posts

Joined: Aug 2000

Quote: Originally posted by Busy
Thanks Mark,
those links are going to be very helpful Smiling

heaps of info, now I just have to find a way to obsorb it all and not let any fall out Laughing out loud

Something always falls out. 8[
That's why it's always good to have a support structure. Knowing how to find information quickly can be as valuable as knowing it right off.

Mark Hensler
If there is no answer on Google, then there is no question.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.