Current location: Hot Scripts Forums » Programming Languages » PHP » downloading php files


downloading php files

Reply
  #1 (permalink)  
Old 10-31-04, 05:31 PM
mjaniszewski2 mjaniszewski2 is offline
New Member
 
Join Date: Oct 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
downloading php files

Hi there!

I'm not sure, if this place best matches the question I'd like to ask, but i hope you could help me.

I'm wondering if i can download the php files from servers - i mean not the hmmm... executed (?) pages, but the source of the php file. is it possible? if yes, how can i do this?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 10-31-04, 06:03 PM
jasong jasong is offline
Wannabe Coder
 
Join Date: Feb 2004
Posts: 160
Thanks: 0
Thanked 0 Times in 0 Posts
Nope
Or else people would just be able to steal the source of any php file on the web - and that wouldnt be too fair to those who make them

The only way to download the source of a php file is if its in a package like zip or tar or if its saved as .phps
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 10-31-04, 07:26 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
its possible if the host lets you, if it is on your server and you want users to be able to download you would use headers
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-01-04, 03:02 PM
FiRe FiRe is offline
Code Guru
 
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
you can view the php code source - http://www.php.net/source.php?url=/source.php
__________________
Alexa Share <-- Trade virtual shares in websites with this online game.

codR.us <-- Submit and vote for your favorite code snippets with codR.us.

XEWeb.net <-- The ultimate PHP resource network.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
create files in php banli PHP 3 10-31-08 10:49 PM
Attach files to your form mail using PHP OMID SOFT Script Requests 0 04-17-04 08:26 PM
PHP MySQL Huge files Targa Script Requests 0 02-29-04 01:39 PM
php files in a cgi-bin directory epic1231 PHP 7 12-31-03 04:42 PM
need help writing script to let user edit thier html or php files pinochio53 PHP 14 12-15-03 08:26 AM


All times are GMT -5. The time now is 12:27 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.