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

    Question about using CGI script

    If you are running a Windows server you will also need to download active perl from http://www.activestate.com/ as perl is not installed by default with any Windows OS. This will automatically register the .pl extension and register itself with the webserver.
  2. trepur

    can't get cookies FROM web page

    gorgor, You can use the HTTP::Cookies module to grab the cookies as follows: $cookie_jar = HTTP::Cookies->new; $cookie_jar->extract_cookies($content); Once that information is retrieved into $cookie_jar you can then manipulate it, and/or put it back into the content...
  3. trepur

    assign my variables??

    Or you could do the following to parse out the information.... while(<FILE>) { chomp(); ($score,$lines,$file,$dir) = /Score:\s(\d+),\slines:(\d+)\s'(.*)\s+(.*)'/; } Hope this helps!
  4. trepur

    can't get cookies FROM web page

    I am a little confused about what you want the exact outcome to be, but..... If you are trying to return a cookie with your HTML content then this is what you need to do (as documented in perldoc for CGI module): ################################################# $title = &quot;Example&quot...

Part and Inventory Search

Back
Top