[PHP] Global $_FILEs

2004-04-02 Thread Bruno Santos
Hello all. I'm developing a script that requires the user to upload 2 files. i want to put all the lines that takes care of the uploading of the file in a function. i've tried to pass the global array $_FILES to a function, but still no sucess... can someone help me ?? regards Bruno --

Re: [PHP] Global $_FILEs

2004-04-02 Thread Red Wingate
give us some more info how do you 'pass' the array to your function, remeber $_FILES is a super-global array in is available in the functions scoope as well. -- red Bruno Santos wrote: Hello all. I'm developing a script that requires the user to upload 2 files. i want to put all the

Re: [PHP] Global $_FILEs

2004-04-02 Thread Jason Wong
On Saturday 03 April 2004 05:50, Bruno Santos wrote: i've tried to pass the global array $_FILES to a function $_FILES is a superglobal and hence available everywhere (including the inside of functions) without any work on your part. but still no sucess... Please elaborate. can someone