Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MagicChris

  1. MagicChris

    Coding Errors

    doh, thanks. :D I actually found this error, but obviously i didn't save it. *silly me* Many Thanks, Chris
  2. MagicChris

    Coding Errors

    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...
  3. MagicChris

    Perl cookie help

    Hey, Thanks a lot! works brilliantly, Thanks for your time :D Chris
  4. MagicChris

    Perl cookie help

    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...
  5. MagicChris

    Perl cookie help

    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. :)
  6. MagicChris

    Cookies to remember password

    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...
  7. MagicChris

    Why won't this work?

    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...
  8. MagicChris

    Why won't this work?

    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...
  9. MagicChris

    Hello, I have an upload sc

    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.
  10. MagicChris

    Hello, I have an upload sc

    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.
  11. MagicChris

    Hello, I have an upload sc

    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...
  12. MagicChris

    Hello, I have an upload sc

    If i take out the my $req = new CGI on line 163 the script doesn't actually work - this line was part of the original script, i didn't put it there.
  13. MagicChris

    Hello, I have an upload sc

    Doh Typed it wrong http://magicftp.zigwebdesign.co.uk/upload2.txt
  14. MagicChris

    Hello, I have an upload sc

    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...
  15. MagicChris

    Hello, I have an upload sc

    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...

Part and Inventory Search

Back
Top