Ok, well that just resulted in the same thing- after upload just a white screen and no email. I would love to provide you with logs but I don't know how to acquire those. I was hoping that upon clicking the upload button it could do two things, upload the file and send an email. I didn't know...
Ok, I made that change and it uploads and goes to a white screen but doesn't say any error. No email sent either. Am I close to getting this to happen? I don't see what's wrong.
----------------------------------------
#!/usr/bin/perl
#Pop Uploader
#Provided by CGI Connection...
Well, I don't see an error now but the file uploads and instead of showing a success screen and emailing it just says Content-type: text/html
Maybe I didn't put something in the correct area. How does this look?
------------------------------
#!/usr/bin/perl
#Pop Uploader
#Provided by CGI...
Ugg, now I just get an error page, but from what I can see the file did upload. Didn't get an email notification, just an error page. Hmmmmm
---------------------------------------------
revised code:
#!/usr/bin/perl
#Pop Uploader
#Provided by CGI Connection
#http://www.CGIConnection.com
$| =...
Ok I tried this out and the screen just turns white when I select upload file. Page is at http://www.firstsourcesigns.com/upload.shtml
if you want to see what happens. I was wondering if I needed to put my smtp info from my server somewhere?
I changed the code as follows...
Ok, here's a copy of the cgi script I'm running.
Hope this helps.
Thanks!
#!/usr/bin/perl
#Pop Uploader
#Provided by CGI Connection
#http://www.CGIConnection.com
$| = 1;
srand();
use CGI;
$query = new CGI;
$query->import_names();
#The entire URL to the popuploader.cgi script on your server...
The upload page is http://www.firstsourcesigns.com/upload
It's a cgi script called popuploader.cgi. I love how it works but I never know when people upload files to us.
Thanks in advance for your help!
I have file upload script I'm running on my server and would like to know if it's possible to have an email sent to me notifying me that a file was uploaded. Or is there a script out there that someone is already using that is similar? Any help would be appreciated.
Thanks!
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.