Re: Forms Caching in FireFox?
On 11/25/06, Richard Bagshaw [EMAIL PROTECTED] wrote: META HTTP-EQUIV=CACHE-CONTROL CONTENT=NO-CACHE META HTTP-EQUIV=PRAGMA CONTENT=NO-CACHE HTML head isn't the same as setting an HTTP head; Try Googling setting the Pragma: no-cache http header directly. -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Header (Location)
On 8/9/06, Umar Draz [EMAIL PROTECTED] wrote: Please give me the link where i can read about that http://www.w3.org/Protocols/ http://www.ietf.org/rfc/rfc2616.txt http://search.cpan.org/perldoc?HTTP::Response http://www.anomaly.org/wade/projects/httptest/HTTPtest.html http://www.faqs.org/faqs/internet/tcp-ip/raw-ip-faq/ -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Header (Location)
On 8/9/06, Umar Draz [EMAIL PROTECTED] wrote: Please give me the link where i can read about that You can see a HTTP Response Code summary here: http://dw.ccsh.us/doku.php?id=http -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Header (Location)
On 8/7/06, Umar Draz [EMAIL PROTECTED] wrote: In PHP i can use header (Location: this.php?error=this_error); Location: is standard HTTP. The trick is too make sure your application is truly talking HTTP. Please help me how i can use in Perl? In Perl, as a 'HereDoc' syntax - print__HTTP; Location: this.php?error=this_error __HTTP __END__ Note that is two underlines in the __HTTP and there must be two CR/LF pairs after the Location: line... HTH -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: install DBD::mysql, can't execute mysql_config
On 8/3/06, zhihua li [EMAIL PROTECTED] wrote: but anyway, the make file of DBD::mysql couldn't execute the mysql_config. does anyone have a clue about this? For some solutions to try see: http://lists.mysql.com/perl/3927 -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Web page manipulation
On 8/3/06, Eric Krause [EMAIL PROTECTED] wrote: I am new to perl and I am trying to write a script that will allow me to automate some tasks that I do every day on the same web pages. Can anyone give me some quick examples to get web page data and pass data back to the pages? Look up WWW::Mechanize -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: validating SSHA pasword
On 8/1/06, Beast [EMAIL PROTECTED] wrote: Using Digest::MD5 i could simply using eq to validating user password, but how do I validate SSHA since encrypted results are always different? Technicaly speaking a one-way hash is by definition one-way; however have you read this: http://search.cpan.org/~esskar/Crypt-SaltedHash-0.04/lib/Crypt/SaltedHash.pm -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: Major Applications of Perl
On 7/31/06, Sastry [EMAIL PROTECTED] wrote: Are there any other major applications using Perl and exploiting the features of Perl? There are many applications written in perl that are simply not advertised at - http://www.oreillynet.com/pub/a/oreilly/perl/news/success_stories.html The below listing is a small sampling of systems I have used and know first hand are written, mostly if not all, in Perl - WebCT - A CMS for Distance Learning Blackboard - A CMS for Distance Learning (Blackboard has feared WebCT for so long they were able to final buy-out WebCT!) The 'fish' SSH file transfer protocol Bricolage - a CMS Some systems I have written myself using Perl: An H/R job posting and editing system based upon Apache/Perl CGI A distributed authentication/authorization system to help enforce non-repudiation. Just to name a few -- so you can see that not everything written in Perl would likely be in the public eye; a lot of it is private. -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: submit fails for no apparent reason
On 7/20/06, Mary Anderson [EMAIL PROTECTED] wrote: For several months now I have been working with cgi scripts following the following code pattern. They worked just fine until now. I am running this under UNIX. Suddenly my code refuses to work. I run the program, the initial screen shows up, the submit buttons appear at the bottom of the screen as they are supposed to do,I press a submit button, it changes a bit to show that it is pressed, and then nothing happens. My debugging information shown at the bottom does not appear, the function get_and_display_data is not called. What is going on? Why would a submit fail to work? What do the logs say? I, personally, like using simple print statements that state - print Content-type: text/plain\n\n The $0 cgi made it to this point... It may seem pedatic but a simplistic approach may be best at this stage in debugging. HTH/Sx -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: strip
On 7/14/06, Rob Dixon [EMAIL PROTECTED] wrote: John W. Krahn wrote: s/_.*\././; Sometimes Perl regexes start to look like ASCII art! Thats why this format would be easier on the eyes: s|_.*\.|.|; -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response
Re: how to add a list of numbers
On 7/15/06, I BioKid [EMAIL PROTECTED] wrote: is there any shortest way to add a list of random numbers ? for example : 11 1 250 39 100 my $results; while(DATA){ s|\s+||g; $results += $_; } print $results; __END__ 11 2 250 39 -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/ http://learn.perl.org/first-response