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

    dynamic page in e-mail

    Did you see the code above? The script generatyes browser output not a mail file. So I don't think adding mime module would fix the problem,or am I wrong? In the case,anyway,where should I add that module in the script??
  2. Perlwannabe

    dynamic page in e-mail

    I apologize.Ignoring your request was accidental... here is the whole code: #!/usr/bin/perl # localhost # Configuration # pswd $password = 'blah'; full URL of script.cgi $admin_url_base = 'http://www.blahblah.net/script.cgi'; # minimum number of pages you want to...
  3. Perlwannabe

    dynamic page in e-mail

    I done some tests and I esthabilished that is not a client issue. So, it's a sort of problem with the script; Here is the mailing sub code: # prints report print "Content-type: text/html\n\n"; print "<html><body>\n"; print "<p><font face=Arial Black size=4><b>mail...
  4. Perlwannabe

    dynamic page in e-mail

    Because is not confirmed,as yourself claimed, if copying/pasting any code doesn't prove anything... Anyway I'll try and I'll let you know. Thanks
  5. Perlwannabe

    dynamic page in e-mail

    Well, the client shows me source-view code pages with any html code, as I verified... So the problem could not be the mail code generated from the script, but, again, it regards the mail client... The settings are ok.so I'm not able to understand what's going wrong...
  6. Perlwannabe

    dynamic page in e-mail

    already done. It seems all right... firewall issue?
  7. Perlwannabe

    dynamic page in e-mail

    The problem is on the client: If I copy/paste any html code in a mail and send it to myself, it shows me source-view page...
  8. Perlwannabe

    dynamic page in e-mail

    I'm using outlook express
  9. Perlwannabe

    dynamic page in e-mail

    Hello, I have a perl .cgi script that generates a report and sends it via e-mail,but when I open the mail I have that page only in source-view, instead of the properly html format; What can be the problem? Here is the report code: Content-type: text/html <html><body> <p><font face=Arial...
  10. Perlwannabe

    pop up window

    I'll check those terms out. as regard to the javascript,should I search that code inside the script or a link to? What could be?
  11. Perlwannabe

    pop up window

    Hello, I have this script to manage web sites that redirects to a certain page, but also opens an annoying popup advertising window when redirecting happens. Now, I would remove that pop up window,but, since this script counts 10,000 lines or so, it doesn't seem to be a simple work... Could...
  12. Perlwannabe

    Debugging http post request 2

    OK. As regard the output your code works fine on localhost but only a blank page appears if I request an url over the internet... Still,no data was added to the form... Here is also the form code <form name="create" method=post action="$scriptname?createpages"> <input type=hidden name="pass"...
  13. Perlwannabe

    Debugging http post request 2

    So,should I replace that code line print $ua->request($req)->as_string; with that one? my $response = $ua->request($req); if ($response->is_success) { print $response->content; # or whatever } else { die $response->status_line; } Also, would that synthax work as cgi script? Thanks...
  14. Perlwannabe

    Debugging http post request 2

    I tried it.it doesn't work...
  15. Perlwannabe

    Debugging http post request 2

    Also,I would add that I cannot follow the examples you linked for me as I'm running Perl only as cgi script on Apache web server running under Win XP. So I haven't perl console...
  16. Perlwannabe

    Debugging http post request 2

    Hello MillerH and thanks for the reply. >>>Is "as_string" part of the specification for LWP::UserAgent? Yes. >>>Also, I believe that your use of ?newpage' in your POST will be ignored. If you're wanting to set a newpage cgi parameter, than it should be included in the following array ref...
  17. Perlwannabe

    Debugging http post request 2

    Hello, Wondering what's wrong in that cgi script: #!perl use HTTP::Request::Common qw(POST); use LWP::UserAgent; $ua = LWP::UserAgent->new; my $req = POST 'http://localhost/cgi-bin/control.cgi?newpage', [ pass => 'blah' , text => 'xxx']; print "Content-type...
  18. Perlwannabe

    debugging POST request

    No, I did not post this code before now...
  19. Perlwannabe

    debugging POST request

    Hello again, I'm debugging a script and I'm wondering if the variable below is set correctly (script is not mine)in order to enter data in a form of a web page: $req = (POST $admin_url, [ 'pass' => $password, 'dataflag' => '1', 'pagenames' => $klist ]); $response =...
  20. Perlwannabe

    Troubles appending arrays

    OK!!! It works fine! yes, I missed the "." operator in pasting... Thank you! I see you the next

Part and Inventory Search

Back
Top