![]() | | ||||||||
| | #1 |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
|
Just wondering, If a site is running using several PHP files, then is it possible to see individual files through a web browser (Using Port 80). Do I need to install any file for this on my web server or something? Thanks in advance. |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: 25 (+ 5 Bonus) Country Specific .GOV Backlinks WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |
| | |
| | #2 |
| and Michael Jed War Room Member Join Date: May 2009
Posts: 187
Thanks: 38
Thanked 29 Times in 23 Posts
|
Your browser can't see the source code of PHP files as the web server returns already compiled output from the execution of the script.
|
| | |
| | #3 |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
|
I got it valentin, Simply view the source file of a webpage and you can get an idea about the backend php coding Thanks any way! |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: 25 (+ 5 Bonus) Country Specific .GOV Backlinks WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |
| | |
| | #4 |
| Senior Warrior Member War Room Member Join Date: Apr 2006 Location: , , USA.
Posts: 2,433
Thanks: 40
Thanked 155 Times in 148 Posts
| |
| | |
| | |
| | #5 |
| Advanced Warrior War Room Member Join Date: Aug 2009 Location: Cardiff, United Kingdom
Posts: 772
Thanks: 171
Thanked 147 Times in 103 Posts
|
As above, you can't see *any* of the PHP code. Full stop. Hence it's name: PHP: Hypertext Preprocessor PHP takes place before anything is sent to the client - i.e. it's a server side language. When you "View Source", you are seeing the HTML - which is the client-side code that makes up a web-page. |
| "If you are clear where you are going and you take several steps in that direction every day, you eventually have to get there." | |
| | |
| | #6 | ||
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
| Quote:
Quote:
| ||
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: 25 (+ 5 Bonus) Country Specific .GOV Backlinks WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | |||
| | |
| | #7 |
| Active Warrior Join Date: Jul 2009
Posts: 75
Thanks: 1
Thanked 4 Times in 4 Posts
|
Yup, it's one of the advantages of Php. It's server source language. |
| | |
| | |
| | #8 |
| Wordpress Guru War Room Member Join Date: Oct 2009
Posts: 19
Thanks: 2
Thanked 1 Time in 1 Post
|
Yes there is no way unless u can download the file with its source
|
| | |
| | #9 |
| Warrior Member Join Date: Oct 2009 Location: Cornwall
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
|
The only way it can be done is for the PHP server to be de-registered with the server and if that where to happen, all hell would let loose. so it doesnt happen very often.
|
|
James Jenkins - Tamar Solutions Last edited by TamarBoy; 10-21-2009 at 03:46 PM. Reason: spelling mistake | |
| | |
| | #10 |
| Peace + War Room Member Join Date: Oct 2009 Location: The World Is Flat
Posts: 34
Thanks: 1
Thanked 3 Times in 3 Posts
|
Well, there is some time when my .htaccess is messed up (during apache upgrade) and my PHP file is no longer execute as PHP but plain text. Then my PHP source is leaked out. =/ This is a rare, but it's safe most of the time. =) |
| | |
| | #11 | |
| Guest
Posts: n/a
| Quote:
Is that about right ? James | |
|
| | #12 | |
| BACKLINK MOGUL War Room Member Join Date: Jun 2008 Location: Warrior Forum
Posts: 739
Thanks: 35
Thanked 46 Times in 27 Posts
| Quote:
Bhupinder | |
| WSO: GET 25 .GOV BACKLINKS<<< NASA.GOV(PR9) +CANCER.GOV(PR9) +CT.GOV(PR8) +CA.GOV(PR8) WSO: 25 (+ 5 Bonus) Country Specific .GOV Backlinks WSO: Niche WordPress Blogs For Sale "WeightLoss Blog" ||| "Fitness Blog", WSO: ClickBank Review Sites "Weight Loss" ||| "Registry Software" | ||
| | |
| | #13 |
| PHP MySQL Developer War Room Member Join Date: Nov 2009
Posts: 50
Thanks: 0
Thanked 4 Times in 4 Posts
|
As said by others PHP is a server side scripting , it just sends out the HTML response to your browser. So View Page Source will just give you the display part of it (HTML content) & not the application / business logic. But if you host the php source files in a server where PHP is not installed or integrated , then the files that you access via browser will just simply display the full code without parsing & you can visually all the php code with html content. If you purposely like to allow viewing the source code by your site visitors , then you can place the source code with ".phps" extension & when its viewed in the browser , it displays the code. Hope this helps :-) |
| | |
| | |
| | #14 |
| Active Warrior War Room Member Join Date: Dec 2009 Location: Europe
Posts: 59
Thanks: 0
Thanked 3 Times in 3 Posts
|
No. It is not possible to see PHP files within the brower. You'll see the HTML created by the browser, but nothing more.
|
| $2.25 make money online ebook
| |
| | |
| | #15 | |
| Senior Warrior Member War Room Member Join Date: Sep 2008 Location: Honolulu, Hawaii, USA & Montreal Canada
Posts: 2,218
Blog Entries: 1 Thanks: 759
Thanked 724 Times in 505 Posts
| Quote:
Not accusing you of anything but I'm confused - as a developer I'd only bother to encrypt something that I didn't want modified. Bill | |
| | |
![]() |
|
| Tags |
| browser, files, php, web |
| Thread Tools | |
| |
![]() |