split an array - php - urgent, please help

message from Pluda on 19 Jul 2004
Hello,

I've dowloaded a cool script for uploading files to server, and I need to
split this array into http://www.something/something /thefile, but I don't know
how...

Can you please help?

This is the array echoed from php, I don't need the [file_type] and the [msg],
just the path to the file, ok? - If I download the maximum allowed, I'll have
an array whith 4 files.

Array ( [0] => Array ( [destination_directory] =>
/storage/webhosting/w2024/public_html/hugo/anexos/ [field_name] => file
[file_name] => emails.txt [new_file_name] => emails.txt [file_size] => 75
[file_type] => text/plain [error_type] => 0 [msg] => Envio efectuado! ) [1]
=> Array ( [destination_directory] =>
/storage/webhosting/w2024/public_html/hugo/anexos/ [field_name] => file_1
[file_name] => Tuturial enviar e receber.txt [new_file_name] => Tuturial
enviar e receber.txt [file_size] => 9400 [file_type] => text/plain
[error_type] => 0

Many Thanks
 
Michael Fesser replied to Pluda on 19 Jul 2004
.oO(Pluda)

Not sure about your problem ... the path of the file is already stored
in that array ([destination_directory]).

So what's wrong or what exactly do you need?

Micha
 
Pluda replied to Pluda on 19 Jul 2004
I realy need some help here.

Thanks
 

Archived message: split an array - php - urgent, please help (Macromedia Dreamweaver)