[PHP] [PHP]: File upload problem

2003-12-17 Thread Dino Costantini
sto cercando di scrivere una pagina per l'upload di file, ho copiato dei sorgenti ma non funzionano. queste sono le pagine: -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] File upload problem

2003-12-17 Thread Dino Costantini
i'm trying to write a page which allows user to upload file. theese are my sources but they didn't work, anyone could help me? -form.html form action=upload.php method=post enctype=multipart/form-data input type=file name=upfile input type=hidden name=MAX_FILE_SIZE value=1 input

[PHP] A simple instruction

2004-01-01 Thread Dino Costantini
i have a file name with the path ex food/italy/pizza/margherita.php. how can i obtain the name of the file in this case margherita.php i know there is a function, but i don't remember it. thx

[PHP] GET and POST variables name

2004-05-15 Thread Dino Costantini
i know it could be a stupid problem, but i need a help and i hope u could be generous with me :). this is my code, it writes the list of POST and GET variables. ? echo GET:BR; foreach($_GET as $parole) { echo Parola = $parole br; } echo brbrPOST:BR; foreach($_POST as $parole) { echo Parola =