[PHP-WIN] Re: my php.ini

2002-04-18 Thread cybero
When I use AppacheWebServer it Works eg. from send.htm -> Send this file: I send any file eg. Setuplog.txt to site send.php -> \n"; echo "Tmp Name: ".$_FILES["userfile"]["tmp_name"]."\n"; echo "Size: ".$_FILES["userfile"]["size"]."\n"; echo

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
I tried your code and it works. Although this does not actually upload a file anywhere. It just checks that the file is in the directory set in your php.ini (in your case, c:\inetpub\wwwroot\upload). Make sure that this directory has the Read and Write permissions, which you can set bu right-clic

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
OK, try some debugging lines. First off, in your php script, you didn't upload the file anywhere. You have to do some sort of: copy( $userfile, $pathtonewfile ) to get the file there. Then, when you check the file exists, you want to check the path of the new file, like so: if ( file_exists(

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
Sorry, you already pasted code. I am trying to do 5+ things at once ... -- Nicole Amashta Web Application Developer www.aeontrek.com "Nicole Amashta" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > >>The file is smaller than 4M and folder 100% exist on my ser

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
>>The file is smaller than 4M and folder 100% exist on my server. Could you paste the code you are using (privately if you prefer)? And is the error you are getting just that the page hangs after you submit the file for upload? -- Nicole Amashta Web Application Developer www.aeontrek.com "Nico

[PHP-WIN] Re: my php.ini

2002-04-18 Thread Nicole Amashta
Is 4mb large enough? If the file you are attempting to upload is larger than 4mb, it won't work either. Also, be sure that uploads directory exists on the computer PHP runs on. -- Nicole Amashta Web Application Developer www.aeontrek.com "Cybero" <[EMAIL PROTECTED]> wrote in message [EMAIL PROT