To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Windows Help

Windows Help Help with the Windows operating system

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-20-2000, 05:46 PM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Uploading files problem on Win98

I have 'slight' problem. I wrote script for uploading files. Problem is that script works under IIS4 and Apache (WinNT), but it doesn't work under Win98 (both Apache and PWS).
Error is on the line copy ($Picture , $DestinationFile) where $Picture is POST FORM variable, and $DestinationFile is just what it says. Script reports warning that it can't find file (e.q. 'c:\\temp\\php2'). Mystery is that this file exists during script execution (I followed disk activity with filemon form www.sysinternals.com).
Desperately need help :(
Anon is offline   Reply With Quote
Old 07-21-2000, 12:05 PM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Uploading files problem on Win98

This isn't a valid file path in windows: c:\\temp\\php2

If $userfile is your temp file path, then, before you invoke copy, just add the line:

$userfile = stripslashes($userfile);

Had the same problem. The manual says nothing about this little 'gotcha'.

matt.
Anon is offline   Reply With Quote
Old 07-22-2000, 01:43 PM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Uploading files problem on Win98

Thanks a lot.
God bless Internet
Anon is offline   Reply With Quote
Old 05-17-2001, 08:19 PM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Uploading files problem on Win98

hello,
i get message that a file called smifk.exe is needed for opening files of type Application when i try to open any application file.
Anon is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:10 PM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.