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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jackjake

    how to disable a cookie, mine won't work!

    thanks, andrew! I'll see if I can check the cookies in IE
  2. jackjake

    why my download script won't work?

    Oh, man! thank you so much! I have to compare the two lines side by side to find my error! sorry for my carelessness.
  3. jackjake

    why my download script won't work?

    Rieekan, thanks for the help! I got the following error: Argument "Content-Disposition: attachment; filename="/var/www/cgi-..." isn't num eric in subtraction (-) at play.pl line 7. got same error even if I changed the file to: #!/usr/bin/perl -w use CGI qw(:standard); my $q=new CGI...
  4. jackjake

    how to disable a cookie, mine won't work!

    thanks for the help! but after I changed it to '-1d', it still won't work, and I clicked the refresh button, it still opens after logout
  5. jackjake

    why my download script won't work?

    Can anyone let me know why my download script won't work? After a user clicks a download link, this script will run, but it does not work: #!/usr/bin/perl -w use CGI qw(:standard); my $q=new CGI; print $q->header(-type => "text", -attachment =>...
  6. jackjake

    how to disable a cookie, mine won't work!

    Sorry, when I was editing this post, I accidently removed some '>', here is the correct logout.cgi #!/usr/bin/perl -w use CGI qw(:standard); my $q=new CGI; my $cookie = $q->cookie(-name =>"ggtUser", -expires=>'-1h'); print $q->redirect(-location=> "the url of the login page here"...
  7. jackjake

    how to disable a cookie, mine won't work!

    I'm building a database using mysql and perl. If a user provides correct login info, a cookie is set like this: my $cookie = $q->cookie(-name =>"ggtUser", -value => $username); print $q->redirect(-location=> "the url of the homepage here", -cookie => $cookie); Each pages in my...
  8. jackjake

    how to keep file name in file upload box?

    A user uploads a file and click a button to go to the next page, and then click a button to come back to the file upload page. How can I keep the file name in the file upload box then? I used filefield() in CGI, print $query->filefield(-name=>'uploaded_file', -default=>'starting value'...

Part and Inventory Search

Back
Top