[PHP] unlink function

2002-10-31 Thread Andres, Cyrille
Hello everyone, I upload some files on my server. If the number of lines of a file exceeds 159, I want to erase the file. Actually the unlink() function doesn't work, I have this error : Warning: Unlink failed (Permission denied) in D:\Data\WebSSL\tm\RFP\upload2.php on line 78. My code is :

[PHP] parse error

2002-10-30 Thread Andres, Cyrille
Hello everybody, maybe I am dumb , I dunnow, I have a parse error here and I don't understand why : $fp=fopen(temp/$userfile_name[$i-1],w+); the error I get is : Parse error: parse error, expecting `']'' in D:\Data\WebSSL\tm\RFP\upload2.php on line 61 THANX !!! :(((

RE: [PHP] parse error

2002-10-30 Thread Andres, Cyrille
thx, but I still have the same error I think I have a poltergheist in my computer !!! -Original Message- From: Jonathan Sharp [mailto:js-lists;sharpmedia.net] Sent: Wednesday, October 30, 2002 11:13 AM To: Andres, Cyrille Cc: PHP List; php Subject: Re: [PHP] parse error try: $fp = fopen

RE: [PHP] parse error

2002-10-30 Thread Andres, Cyrille
++; echo /td/tr /tablebr; } ? -Original Message- From: Stuart Dallas [mailto:stuart;stut.net] Sent: Wednesday, October 30, 2002 11:29 AM To: Andres, Cyrille Cc: Jonathan Sharp; PHP List; php Subject: Re: [PHP] parse error On Wednesday, Oct 30, 2002, at 19:21 Europe/London, Andres

[PHP] upload several files

2002-10-29 Thread Andres, Cyrille
Hello everybody, I created a form allowing user to upload some files on my server. It works very fine. But now I would like him -the user- to be able to choose several files and upload them at the same time by submitting the form. Actually I don't really know how to do that, if somebody would

[PHP] upload files

2002-10-25 Thread Andres, Cyrille
Hello everybody, I want to allow the client to upload a text file on my web server, so I use this code : html head/head body Uploaded files detailsbr ?php printf(Name : %s br, $HTTP_POST_FILES[userfile][name]); printf(Temporary Name : %s br, $HTTP_POST_FILES[userfile][tmp_name]);