Hey guys, I'm trying to figure out why mkdir isn't working for me. I've got an HTML form sending info to my cgi program (written in perl) like this
Html part of the form is
<INPUT TYPE=text NAME=filedir>
the Cgi goes something like this
my $basedir = "c:/test"
use CGI;
my $reg...
Yeah, I realized my error as soon as I posted my last message and I corrected that.<br>I'm not getting any errors now, not in my error log or as a result of the $error function that we added to the script.<br><br>I almost wish I was getting some errors, then I'd at lest have some idea why my 8...
I checked out my log and it basically said that there was a problem where I put your code. I dunno what the hell is going on with this thing.<br><br>[Mon Aug 14 10:54:23 2000] [error] [client 127.0.0.1] Can't call method "cgi_error" on an undefined value at c:/program...
When you ask about my $FileID, do you mean that if the file I want is C:\blah.exe then $FIleID = "blah.exe" <br>Or do you mean that my $FIleID would be "C:\blah.exe" b/c right now it is the latter and not the former.<br>As for Tom's question...
Ok, this is weird. After waiting..... a good 2 - 3 minutes for my browser to finish doing whatever it was that it was doing, the file finished coping...... sort of. I went to check my target dir and my 8.something meg file was there.... as a 1Kb file. The...
man this is frustrating. I;ve tried everything that you all have suggested and I;m still getting zilch. Wheverver I try to get it to work, my browser just chugs slowly along as I note the little progress bar growing ever so slowly closer to the right side of its range...
Hey, I posted about making new directories and the mkdir thing worked out after setting everything up correctly to work with the mkdir. However, when I try to upload (really it's just coping to another folder on my computer while I test it) it doesnt work. Whenever I try to...
I am trying to write a sort of uploading script and so far it works and I am able to select a file and have it copy to a user specified directory. However, if the specified directory does not exist, I want it to either create the directory and then copy the file to that directory, or ideally...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.