Mike,
I haven't had a problem. I'm using Apache 1.3.14 with PHP 4.0.3pl1 + 4.0.4. I
use the same code on 3 computers (depending on where I am when I'm working on
it. Normally it's Win95, but Win2k and WinNT are used as well.
The snippet of code I use is:
--code 1-
list($scriptBase, ) = ex
This is the same sort of error I'm getting. Try printing out the variables
$userfile
$userfile_name
$userfile_size
$userfile_type
Telnet or ssh into your system and see if the file is getting transferred into
the directory identified in $userfile. In my case, the upload file isn't
getting save
Josh G wrote:
> A rose by any other name would smell as sweet, and I'm sure I
> remember deleting files back in my old dos days, not to mention
> win95 ;-)
Um, I suppose every OS does. (I deleted one file or another as well)
However this was about unlink, wasn't it? Unlink, basically, is a UNIX
rs to... suffering.
- Original Message -
From: "Alexander Wagner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 1:01 PM
Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED
> Josh G wrote:
> > Unlink works on some installations, not others
Josh G wrote:
> Unlink works on some installations, not others. I think it works on NT
> but not 95 or perhaps the other way around. Why is this? Unlink is
> hardly an unsupported system call in windows! Anybody know?
Unlink comes from UNIX so it's probably supported by NT rather than Win9x.
This
intoxication, intoxication to
hangovers, and hangovers to... suffering.
- Original Message -
From: "Chris Lee" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 12:47 PM
Subject: Re: [PHP] HELP WITH UPLOAD REQUIRED
> are yo
are you running php in safemode?
according to
http://php.net/manual/en/function.unlink.php
unlink() may not work with windows servers, I have no personal experience
with windows so I can not confirm this.
have you tried
http://php.net/manual/en/function.move-uploaded-file.php
this might be bette
7 matches
Mail list logo