Download .php - Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more
Go Back   Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more > Webmaster Tech > Programming > PHP Development

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 06-05-2011, 09:41 AM   #1 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 1
Default Download .php

Is it possible to download .php pages from a website?
as actual php code
y2k89 is offline   Reply With Quote
Sponsored Links
Old 06-21-2011, 05:01 AM   #2 (permalink)
Junior Member
 
danieljames123's Avatar
 
Join Date: May 2011
Posts: 72
Default Re: Download .php

I have no more idea but here I shared a link , I think it will help you.
PHP: Downloads

Php Development India
danieljames123 is offline   Reply With Quote
Old 06-21-2011, 04:03 PM   #3 (permalink)
Junior Member
 
Synix's Avatar
 
Join Date: Jun 2011
Location: Stevenage
Posts: 16
Default Re: Download .php

Quote:
Originally Posted by y2k89 View Post
Is it possible to download .php pages from a website?
as actual php code
If your asking is it possible to download the source code behind a webpage then like any sort of security yes.

I don't know how, and I would say its very difficult and probably means hacking, Not advisable.

Why would you want to download a .php doc from a live website anyway ?
Synix is offline   Reply With Quote
Old 06-28-2011, 05:58 AM   #4 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 57
Default Re: Download .php

Hey hi...i just go through your post. yes you can download .php page from website. from that you will not get whole information. but some part only.
Thank you.

MBA | MBA Colleges in Mumbai
rahaul is offline   Reply With Quote
Old 06-29-2011, 11:01 AM   #5 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 8
Default Re: Download .php

You really haven't provided enough detail so I will assume that you're worried about someone seeing the sourcecode of the site. There could also be other issues related to the type of CMS that you're using as well.

Unless you've changed your web deamon (Apache or LHTTP) any file with a .php extension will be forwarded to be handled by the PHP module so, therefore, the code will be hidden from the users.

Otherwise:

Make sure that the directory and file security is limited to the user that will be executing the php code.

You can block .php file direct downloading by using an .htaccess directive.

Displaying php code execution errors could give an attacker hints as where there might be security holes in your code, so make sure that you turn off display errors after debugging the code. But you can still log errors to a file. Something like:

php_flag display_errors off
php_flag log_errors on
php_flag error_log [log directory]/php_errors.log
CPUSmith is offline   Reply With Quote
Old 07-05-2011, 04:52 AM   #6 (permalink)
Junior Member
 
Join Date: Jun 2011
Posts: 18
Default Re: Download .php

yeah ,I think so!
hongshi is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Sponsors

» Links

» Affiliates
Web Hosting
Online Backup Reviews
Marketing Find
Merchant Select
SiteMap Builder
Host Compare

» Links

» Sports Network
Paintball Forum
Football Forum
Hockey Forum
Golf Forum
Boxing Forum
Lacrosse Forum
Baseball Forum
SnowBoarding Forum
Soccer Forum
MMA Forum


All times are GMT -4. The time now is 04:49 PM.


Powered by vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.2
Webmaster Forums
Web Hosting | Chicago Web Hosting | Web Hosting