accessing files

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
phoenix121
Forum Commoner
Posts: 28
Joined: Sun Sep 25, 2005 9:09 pm
Location: New Zealand

accessing files

Post by phoenix121 »

Is it possible to use PHP to see files on the user's computer? And if not, is it possible to upload entire directories in a quick easy way? Thanks in advance.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

Sadly, for security reasons (very rightly so) your answers are "No" and "No".

Unless you use a Java Applet which the user agrees to install then you cannot currently do those things.
phoenix121
Forum Commoner
Posts: 28
Joined: Sun Sep 25, 2005 9:09 pm
Location: New Zealand

Post by phoenix121 »

then is it possible to transfer entire folders from another web directory not on my server? (it's probably no, right?)
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

phoenix121 wrote:then is it possible to transfer entire folders from another web directory not on my server? (it's probably no, right?)
You guessed it. Although you could use php to connect through ftp to transfer files
Post Reply