| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 3
|
php - view source?
Is there any way to view the php source of an html page? That is, is there anyway to request that the server send the page without processing? There are some people out there doing some interesting work with wordpress and other php based cms but it's hard to understand what they are actually doing when all you can see is the html. |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Feb 2008
Posts: 3
|
Really? Not possible? That's such a bummer. After a little reading it looks like a lot of people use php for coding security. However, I think that one of the beautiful things about html is that anyone can view the source and see exactly what's going. It's a real unifying principle, it's also how I (and I bet a lot of other people) started to learn web stuff. I think development happens in a more exciting way when everyone has access to everything, not just programmers. Granted programmers are going to be the driving force behind innovation, but I also think it takes people with absolutely no code experience to put two pieces of code together in an unexpected way. That's where the real internet magic happens. Last edited by millie_v : 27-02-2008 at 15:28. |
|
|
|
#5 (permalink) |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,106
|
If you're looking to view the source of PHP for learning purposes, go here instead: PHP 101: PHP For the Absolute Beginner |
|
|
|
#8 (permalink) |
|
Senior Member
|
How in the fuck would that make for good development???? It would make it easy for clowns like you to steal source code... that's about it. You are obviously confused.. By the way... wordpress is open source, so you can go download the source right from the website instead of trying to view the inter-workings through a browser. |
|
|
|
#9 (permalink) | |
|
Semantics, yay.
Join Date: Nov 2005
Location: Salem, Massachusetts
Posts: 1,106
|
Quote:
|
|
|
|
|
#10 (permalink) |
|
gotsa a malanga!
Join Date: Apr 2006
Location: ottawa, canada
Posts: 489
|
you are obviously confused by what php is. there are an unlimited amount of php applications you can simply download and view their inner workings to your hearts content. what is actually stopping you from doing this i have no idea. |
|
|
|
#13 (permalink) | |
|
vague™
Join Date: Mar 2004
Location: Glasgow
Posts: 5,365
|
Quote:
Was that the security through obscurity argument being raised? |
|
|
|
|
#14 (permalink) | |
|
Senior Member
|
Quote:
which obviously isn't true. |
|
|
|
|
#17 (permalink) | ||
|
misanthrope
Join Date: Jan 2005
Posts: 12,273
|
Quote:
Quote:
|
||
|
|
|
#19 (permalink) |
|
Grumpy old man
Join Date: Oct 2007
Location: North Japan
Posts: 1,617
|
I think it's a good idea to consider all code, especially code sitting under a web server, to be inherently insecure. Would I write a fairly low risk e-shop in PHP - yeah probably. Would I use PHP for a banking site? Fuck no. |
|
![]() |