how to open a file

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi, I want to open a file which are situated on server see in  c or d
and I know the file how can i use php to open particular file and copy
paste in my computer or user's computer.

Re: how to open a file

sam schrieb:

Quoted text here. Click to load it

Load a file into an array:

  $sourceFile = file( $aFilePath );

Alternatively, use fopen() to open a file and other f*() function
read/write data

Site Timeline