Reply
Old 01-19-2009, 04:52 PM download php file
Junior Talker

Posts: 4
Trades: 0
hello. I am new to php and I was wondering if I can download a .php file when the file is 777 and in the same folder there is a index.html file.

thnx ahead
edge91 is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 01-19-2009, 04:58 PM Re: download php file
Saidul's Avatar
Novice Talker

Posts: 3
Location: New York
Trades: 0
so what do you mean ?
__________________
Saidul is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 04:59 PM Re: download php file
Junior Talker

Posts: 4
Trades: 0
I mean that I tried to download that .php file directly from the browser but it didnt work. I got an error 500.
edge91 is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 05:29 PM Re: download php file
jason_alan's Avatar
Super Talker

Posts: 101
Name: Jason
Location: Seattle, WA
Trades: 0
Why would you want to download a php file?
jason_alan is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 05:36 PM Re: download php file
Junior Talker

Posts: 4
Trades: 0
because that is my homework. I go to high school in Serbia and my teacher gave me homework and that is my homework.
edge91 is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 05:42 PM Re: download php file
jason_alan's Avatar
Super Talker

Posts: 101
Name: Jason
Location: Seattle, WA
Trades: 0
Do you know what php is? Php is parsed by the server to produce html. You can't download a php file. You could copy the code into a text file if you wanted to see the actual php code in your browser, but I'm not sure exactly what you're trying to do here.
jason_alan is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 05:44 PM Re: download php file
Junior Talker

Posts: 4
Trades: 0
so there is no way that I can download the .php file from the server?
edge91 is offline
Reply With Quote
View Public Profile
 
Old 01-19-2009, 05:52 PM Re: download php file
wesayitnet's Avatar
Experienced Talker

Posts: 34
Name: Bogdan
Location: Bucharest, Romania
Trades: 0
you could use a ftp connection to the server and download the php file.
off course, if you have access to the server :P
try filezilla
wesayitnet is offline
Reply With Quote
View Public Profile Visit wesayitnet's homepage!
 
Old 01-20-2009, 07:06 AM Re: download php file
anderswc's Avatar
Super Talker

Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades: 0
If you are trying to allow other people to download the file you can put it in a zip archive, but if you're trying to get to someone else's code, good luck! That's what makes PHP (or any other server side language) more secure than, say, JavaScript.
__________________
Will Anderson
It's An Anderson | Twitter | Anderson Web Solutions
anderswc is offline
Reply With Quote
View Public Profile Visit anderswc's homepage!
 
Reply     « Reply to download php file
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 



Page generated in 0.20486 seconds with 13 queries