Download now

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
micknic
Forum Commoner
Posts: 37
Joined: Thu Feb 27, 2003 1:27 pm
Location: belgium

Download now

Post by micknic »

Hi

I have a wonderful book over PHP but it doesn't give any information about download file on a server.
Could someone tell me how to do or where to find informations??
micknic
Forum Commoner
Posts: 37
Joined: Thu Feb 27, 2003 1:27 pm
Location: belgium

Post by micknic »

of course i want to download from a server
nincha
Forum Contributor
Posts: 191
Joined: Fri Mar 28, 2003 12:30 pm
Location: CA, USA

Post by nincha »

i dont know what u mean by exactly downloading a file from a server because all u have to do is use ftp to dl a file off a server. But if you're asking about something else than try checking out this site http://www.php.net/manual/en/ref.filesystem.php . Godluck
micknic
Forum Commoner
Posts: 37
Joined: Thu Feb 27, 2003 1:27 pm
Location: belgium

Post by micknic »

Hi

I would like to transfer file from the server to a client pc. Is it possible to do it automaticly do it with php bacause it's always the same file front the same place on the server????


Thanks
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

why not link it (<a href="http://the.server/path/to/file">....) and let the http-server do the work if it is a static file?
Post Reply