Hello,
I'm in the process of replacing a sub in a script i know works...well worked before i replaced the sub.
I know all subs called to use from this one work so that's not the problem.
Here is my error log report:
[Mon Mar 11 13:30:39 2002] [error] [client 62.252.160.4] Premature end...
That won't work coz the cookie is set after the password is entered for the first time.
I think there's something wrong with the actual writing of the cookie, but i don't know what...
Right, i've attempted to pass a password in a cookie around so it will be remembered, usual login script.
But it won't work, and i don't know why not.
Anyway, here's the script, http://mm.zigwebdesign.co.uk/login.txt
Any help would be great, newbie kinda here. :)
Hello,
Thought i'd ask here as i found it helpfull in the past. :)
I've attached a link to my login script below.
How would i use cookies to remember the password entered and allow the user with the correct password to acces the pages, and also be automatically forwarded to the logged in...
okie doke, Error log as follows:
[Fri Oct 26 12:52:35 2001] [error] [client 62.47.5.207] Premature end of script headers: /home/zigwebd/public_html/temp/cgi-bin/frames.pl
Execution of /home/zigwebd/public_html/temp/cgi-bin/frames.pl aborted due to compilation errors.
syntax error at...
Hello,
Decided to ask this here coz i know there are a lot of helpfull ppl with loads more expertise than me :)
I've made a script to basically mark out a frameset depending on what browser ppl have. The form data is sent from the index page - http://temp.zigwebdesign.co.uk/index.html - to...
Hello again,
Found a problem with the script....nothin not working properly. You can still upload a file to the server even though you have not entered a correct e-mail address or name.
This is a problem because i don't want annonymously posted files.
Got any ideas,
Cheers,
Chris G.
yeah, thought about doing that, but didn't work coz i put it in the sendmail directly,doh.
Used, "my $files = join(", ",@file_did_save);"
Works a treat, thanks m8!
Chris G.
Cool, Thanks a lot! Works now.
The only thing i can't get to work is to display the file names in the e-mail.
I think it's because the FILE data isn't sent as a path, it's sent as a file...so it can't write $form_file as text and so leaves a blank.
....Just fiddling around with it - File...
Ok - script .txt updated to - http://magicftp.zigwebdesign.co.uk/upload.txt
All the changes are in the sub process2.
Problem - E-mail comes out like this:
Name: Chris G. on: ON
E-mail Address: magicchris@ntlworld.com on: ON
File 1:
File 2: http://magicftp.zigwebdesign.co.uk/uploads/
File 3...
Breakthrough - Actually got it to send data in an e-mail and upload, wahooo!
The only thing is the data in the e-mail seems a bit wrong, will have to play around with that. Anyway, here's what i did.
Following from line 233:
use CGI;
$Data ||= $ENV{'DOCUMENT_ROOT'};
my $req = new...
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.