PDA

View Full Version : Viewing PHP


Edwin
June 16th, 2007, 11:54 AM
Okay im sorry if this isn't the place for this post but couldn't find a proper place. :)

Okay im just wondering if there is a way to view PHP coding on someones site.

Or any type of program that will do this.

rob
June 16th, 2007, 11:58 AM
ummmmmm...... no

Des
June 16th, 2007, 11:59 AM
they would have to set some thing special up on their web site for you to do this.

So in short no

Ad disengaged
June 16th, 2007, 12:03 PM
you can't. The code renders instantly

laars
June 16th, 2007, 12:04 PM
I don't think that will ever happen because nobody wants you to see their coding...

Sergio
June 16th, 2007, 12:08 PM
I don't agree, I'd love to see the coding of almost every website. That's how I learn. But yeah it's not possible. Hack them or something, jk.

Edwin
June 16th, 2007, 12:19 PM
o0o thanx alot really answered alot but it would be cool to view the coding to learn :P but is there anyplace i can learn PHP i know about http://php.net/ but its not what im really looking for.

laars
June 16th, 2007, 12:27 PM
I don't agree, I'd love to see the coding of almost every website. That's how I learn. But yeah it's not possible. Hack them or something, jk.

I said people don't want you seeing their code. Of course, everybody wants to see other people's code. :P

dumb-diddy-doo
June 16th, 2007, 12:31 PM
I said people don't want you seeing their code. Of course, everybody wants to see other people's code. :P

rofl - nice to have woke up to a good laugh.

Ajay
June 16th, 2007, 12:34 PM
just type "php tutorials" or "php beginner tutorials" in google you will get a lot of hits. I suggest getting a beginner level book on php and mysql http://www.oreilly.com/pub/topic/php

o0o thanx alot really answered alot but it would be cool to view the coding to learn :P but is there anyplace i can learn PHP i know about http://php.net/ but its not what im really looking for.

Greg-J
June 16th, 2007, 12:34 PM
o0o thanx alot really answered alot but it would be cool to view the coding to learn :P but is there anyplace i can learn PHP i know about http://php.net/ but its not what im really looking for.
Just look for scripts pertaining to what you want to learn. If php.net isn't what you're looking for (read the comments) I'm not sure where to point you.

Edwin
June 16th, 2007, 12:39 PM
Thank you both :clap:



[QUOTE=Ajay]just type "php tutorials" or "php beginner tutorials" in google you will get a lot of hits. I suggest getting a beginner level book on php and mysql http://www.oreilly.com/pub/topic/php

geg2
June 16th, 2007, 12:48 PM
You can easily download php files from someone else's site.

1) Create a simple html file that has a URL link to the php file.
2) View the simple web page you have just created in IE.
3) Right-click the link and select Save as.
4) Change the .htm extension to .php and the file type from HTML to All files.

Disclaimer: This only downloads a partial code. Use this technique in an ethical manner only. I use it only to make sure someone hasn't copied my code.

Edwin
June 16th, 2007, 12:59 PM
Thanx for this but to complicated for me to do :P im kinda slow ROFL


You can easily download php files from someone else's site.

1) Create a simple html file that has a URL link to the php file.
2) View the simple web page you have just created in IE.
3) Right-click the link and select Save as.
4) Change the .htm extension to .php

Disclaimer: This only downloads a partial code. Use this technique in an ethical manner only. I use it only to make sure someone hasn't copied my code.

niktesla
June 16th, 2007, 01:18 PM
That wont work to view php. It will only return rendered HTML.

You can easily download php files from someone else's site.

1) Create a simple html file that has a URL link to the php file.
2) View the simple web page you have just created in IE.
3) Right-click the link and select Save as.
4) Change the .htm extension to .php and the file type from HTML to All files.

Disclaimer: This only downloads a partial code. Use this technique in an ethical manner only. I use it only to make sure someone hasn't copied my code.

Edwin
June 16th, 2007, 01:21 PM
Yee i just tyred that it didnt work :s

That wont work to view php. It will only return rendered HTML.

geg2
June 16th, 2007, 01:27 PM
Step 4) is to change .htm into .php and File type from HTML doc to All files. If you don't do that then you'll get HTML.

Yee i just tyred that it didnt work :s

niktesla
June 16th, 2007, 01:30 PM
Step 4) is to change .htm into .php and File type from HTML doc to All files. If you don't do that then you'll get HTML.

You can change the extension to whatever you want... all you're gonna get is HTML.

...or maybe change it to SWF and it'll transform into a Flash. j/k

:online2long:

rob
June 16th, 2007, 01:33 PM
Step 4) is to change .htm into .php and File type from HTML doc to All files. If you don't do that then you'll get HTML.
You won't get PHP, period.

nsmchris
June 16th, 2007, 01:34 PM
the extension doesn't matter, it is rendered html either way.

Edwin
June 16th, 2007, 01:35 PM
yeah i did that it wont work it just shows the HTML and Javascripts

Step 4) is to change .htm into .php and File type from HTML doc to All files. If you don't do that then you'll get HTML.

geg2
June 16th, 2007, 01:53 PM
OK, you're right. It doesn't reveal the php part. Sorry.

Edwin
June 16th, 2007, 02:01 PM
Its okay :)

OK, you're right. It doesn't reveal the php part. Sorry.

simon
June 16th, 2007, 02:20 PM
o0o thanx alot really answered alot but it would be cool to view the coding to learn :P but is there anyplace i can learn PHP i know about http://php.net/ but its not what im really looking for.

When I first started learning PHP quite a few years ago, I purchased a book called "PHP & MySQL Web Development". Found it very useful, of course Google would be the most useful resource.