[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 :

RE: [PHP] parse error

2002-10-30 Thread Andres, Cyrille
$j++; echo " "; } ?> -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 3

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

[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 !!! :((( =

[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 ha

[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 : Uploaded files details ", $HTTP_POST_FILES["userfile"]["name"]); printf("Temporary Name : %s ", $HTTP_POST_FILES["userfile"]["tmp_name"]); printf("Size : %s ", $HTTP_POST_FILES["userf