
gankl
Deleted
Mar 20, 2001, 8:45 AM
Post #1 of 3
(422 views)
|
Uploading a File Onto Apache Server
|
Can't Post
|
|
Hi Would appreciate if someone is able to give some light on my problem in Perl programming. I have the following codes to read a binary file from local harddisk and upload to the web server. open (UPFILE,">$upload_dir/$cgi_cfn{\"file\"}"); binmode (UPFILE); print UPFILE $in{"file"}; close (UPFILE); The code works fine on a Apache web server running on Linux. However, when I have the same code running in a Apache web server running on Windows 98 (with Perl 32), the program runs into error. Any idea why the code does not run. What do I need to change? Help appreciated! Thanks.
|