Re: Stuck automating login to reuters.com and getting a page

2011-01-16 Thread Greg
the target site , your user agent should be able to respond to login request from the target site , and proceed to the next page the site presents as well as make selections from drop down box's and fill in text entry fields and press the submit buttons, check with perl.com fo

Re: Showing errors with user input

2009-12-09 Thread Greg Jetter
On Tuesday 08 December 2009 9:50:57 am Adam Jimerson wrote: > On Dec 7, 12:43 pm, g...@lazymountain.com (Greg Jetter) wrote: > > On Sunday 06 December 2009 10:24:31 am Adam Jimerson wrote: > > > I am working on a registration page and there for want it to show the > > &g

Re: Showing errors with user input

2009-12-07 Thread Greg Jetter
@errors, "Error: Double check your email address" if $@; $user[5] = $GoodMail; } or even declare it up with the other globals if you want , but the way you have it now it is out of scope after that eval { } block completes. there may be other errors , fix that one first and try it again and see what else pops up. have fun Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: cgi and perl database interaction

2009-12-01 Thread Greg Jetter
on many levels. Once the object is created it persist for the duration of the script or until it is destroyed with a call to disconnect. Or you risk getting "unable to connect , too many connections" from your MySql server. and if you have not programmed to handle the error ,

Re: Saving param after new recall of a cgi script

2009-11-27 Thread Greg Jetter
ernal file? > > > Hope that my English was explaining good enough my problem. The script > itself is much to long ... > > Best greetings from Munich > > > marek User Data Validation is best preformed using JavaScript on the users browser , checking for junk should

Re: Auto detect timezone

2009-05-25 Thread Greg Jetter
ave to roll your own , you should be able to create a hash table of states/timezone from readily available data sources . Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Web photo album, is this possible in CGI

2009-05-10 Thread Greg Jetter
our server , and what they will permit . If you have control then you can do just about anything CGI wise. good luck Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Page Breaks

2009-03-05 Thread Greg Jetter
u want the page breaks to go something like : hr.break{page-break-after: always; width: 0px;} then call it in your page with something like : hope this helps Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Configuring Apache on Fedora9 for codestriker.

2009-03-05 Thread Greg Jetter
ou are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > s

Re: user sessions

2009-03-04 Thread Greg Jetter
9D25 3D89 75F1 DF1D F434 25D7 E87F A1B9 B80F 8062 > === use cookies , set one after successfully log in and then check it on entry of each new page Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: Using CGI.pm to set up textfields and then parse them

2009-01-05 Thread Greg Jetter
roblem is that if I want to collect data from lots of textfields, > like maybe 100, I get huge, sloppy scripts where I have to do a lot of > typing for the variables X1-X100 and I make a lot of mistakes. I bet > there's a better way in the Perl world to do this. I tried making an > array going from 1 to 100 and calling the variables "X.$_" but it > didn't work. > Is there a better way that anyone knows about? Thank you. use a template system like HTML::Template to create you form page , not CGI.pm , and process it with CGI.pm . Or use HTML to create your form. if your text fields are static and won't change. Something like this you want to separate out the presentation of the form from the processing of the form input. Greg -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/

Re: embedding a CGI script in a HTML page?

2008-12-15 Thread Greg Jetter
tem , a good simple one I use quite a lot is the module HTML::Template . this allows you to have separate html template pages with place holder tags that your CGI script would process and then output to the calling browser. You could then just take your regular html page with your

Re: embedding a CGI script in a HTML page?

2008-12-12 Thread Greg Jetter
ied > look but I can't get my CSS to work in any of my scripts. -- > "We must plan for freedom, and not only for security, if for no other > reason than only freedom can make security more secure." Karl Popper http://perl.apache.org/embperl/ Greg -- To unsubscribe, e-ma

Re: Creating a Logon Form

2008-12-09 Thread Greg Jetter
tter examples of tweaking a string with > the substr() function. The ones in my "Little Black Book" are pretty > lame, and I was unable to find much better online. Again, any help is > greatly appreciated. I look forward to your responses. > > Cheers, > > Sean C.

Re: perl-cgi and apache configuration in fedora 9

2008-11-14 Thread Greg Jetter
to run cgi progams. > > > > > Thanks in advance could you narrow down the problem a bit ? There are thousands of ways to configure Apache , are you trying to set up mod Perl ? or are you just wondering how to get Apache to execute a Perl script as a CGI script ? Greg -- To unsubscri

Re: how to send a page and a file at a download script?

2008-09-23 Thread Greg Jetter
s assuming your using CGI.pm , if not you should. use CGI; my q = new CGI; print $q->header(),$q->start_html; print ''."\n"; print 'history.go(-1);'. "\n"; print ''. "\n"; print $q->end_html; this will force the bro

Re: section 508 compliance to Perl-generated forms?

2008-08-15 Thread Greg Jetter
impaired . That can be as simple as alt tags for graphics and images . I know of no module that dose this for you , Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Opening a File in its Native Application

2008-04-25 Thread Greg Jetter
ust what your trying to accomplish . You can use system calls or the back tick operator to accomplish some of this . It's all Dependant on the platform your using to do the task. you need to provide more info , such as the platform , What the called program returns and so forth. Gr

Re: Insecure dependency in eval message

2008-04-13 Thread Greg Jetter
e. So I gathered that the eval could be bombing > because, perhaps variables ($string1 and $string2) above are not safe? > However, I need the flexibility of using $string1 and $string2. > > Any workaround? Any help is greatly appreciated. > > Thanks. looks like your running in

Re: dinamic cgi with perl

2008-03-15 Thread Greg Jetter
-08193 Bellaterra (Barcelona) > > telèfon: 93 5812807 > Email : [EMAIL PROTECTED] you could try and use AJAX to access a perl script via the CGI then have that script return a JSON formatted string to the caller java script then evaluate that string as a javascript code sniplet. G

Re: Undefined subroutine: if (param('admin') eq "y")

2008-02-20 Thread Greg Jetter
gt; # organizational In/Out board > > # configuration data > > require 'C:/www/perl/lib/datapath/stafio.ph'; reads through this and insure that all the paths to any additional libraries are correct Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Possible Perl/CGI Application

2007-10-23 Thread Greg Jetter
ict; my $q = new CGI; # assuming length is a input field of some type on the form my $length = $q->param('length'); then after you built the reply . open the file and print it to the browser , you will need the correct mime type in your header.. take a look at the docs , it'

Re: [beginners-cgi] Development environment?

2007-09-19 Thread Greg Jetter
rver the scripts and html I was working from the development directory. You can look into VIM as well it has a awesome embedded Perl environment , but in my opinion the learning curve is too steep , I need to pound out code now so I stick with kate. Good Luck Greg -- To unsubscribe

Re: pushing web form params into mysql table

2007-06-25 Thread Greg Jetter
Forecast to Occur: size=4>Z > > > > > > > target="_blank" border="1" > cellpadding="2" cellspacing="2"> > > Impact to Operations > > Ground Stop > > > Ground Delay Program > > > SOIA >

Re: Perl/DBI

2007-06-24 Thread Greg Jetter
chy > [EMAIL PROTECTED] HTML::Pager is what your looking for it handles the page count for you , you just tell it how many results to present per page. it trivial to set up and use. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
t;; then just dump the contents of your pdf file to STDOUT... with out knowing the full context of your situation , that is are you generating the pdf file dynamically with a Perl module or are you just serving it up to a browser connection via CGI ? that make a difference on how to format the headers and push out the file. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Help downloading a file

2007-05-01 Thread Greg Jetter
4:53:53 GMT > Content-Disposition: attachment; filename="Requested_Report.pdf" > content-length: 92455 > Content-Type: application/pdf > > John W Moon are you using CGI.pm ? Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: file lock unnecessary?

2007-04-25 Thread Greg Jetter
On Wednesday April 25 2007 8:42 am, Varjü Tamás wrote: > Dear Greg! > > The reason I did the test, and why I detailed the result is that I could > not reproduce any of the nasty things which can happen without locking. > I know that everyone suggests to use the lock, but following

Re: file lock unnecessary?

2007-04-25 Thread Greg Jetter
other and you will just loose data.. either way it's just smart programming to lock a file your working on especially if it's happening under CGI conditions. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Can some one give me a sample login.cgi

2007-04-08 Thread Greg Jetter
On Saturday April 7 2007 2:18 pm, Goksie wrote: > i will be glad, if someone can give me a login.cgi with the script doing > the authentication to the mysql backend, and later on, if sucessful, > redirect to another page otherwise failure info. > > Goksie [EMAIL PROTECTED] -- To unsubscribe, e-m

Tweeking a sendmail routine.

2007-03-22 Thread Greg Schiedler
adding an if statment but it looks like if I added an if/else to my tweeked else statement the receipient info has already been sent Greg :-) file: sendmail.pl # Give the server the message header print SMTP "DATA$CRLF"; sysread(SMTP, $_, 1024); if (!/

Re: Merging Files in Perl

2007-02-01 Thread Greg Jetter
t , show us what you got so far and we can help ya along. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Re: Getting status of files before copying/moving.

2006-10-02 Thread Greg Jetter
uot;home/uploads/$_", "home/backup/$_"); > move("home/uploads/$_", "home/music/$_"); > } > } > > ## > > Thanks, > Sara. you should be locking these files wile your working with them so they can't be acces

Re: redirect doesn't

2006-08-07 Thread Greg Jetter
Relative URLs will not work correctly. note the last line Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Matching a string containing '+'

2006-02-08 Thread Greg Jetter
MySql and perl together and attempting to phrase RegExp , I have had to double the number of escape chars , thus \\ becomes , then it works , thers a explanation for this behavior in the mysql refrence manual ...somthing about the mysql engin stripping out escape chars ... I Just k

Re: implementing links on a system command output

2005-10-18 Thread Greg Jetter
ing to produce a page that just displays the value of $_ . you need to create a new page and use the value of $_ as the text on that new page not make that text a link to nowhere . with out more info , I can only guess what your trying to do. Good luck Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
thing else entirely? > > Whichever it is, giving some specific code you're having trouble with > will get you a better, more useful answer faster, if only because it > makes what you're trying to do clearer. But then you should really > know that by now. > > --jay >

Re: implementing links on a system command output

2005-10-14 Thread Greg Jetter
** > > > > > Can anyone respond please I'm not getting your problem ... The page you referenced in that book refers to setting up the Apache web server to handle state saving extra path info. basicaly your linking a requested url to a cgi script. at the server level. have fun , me I'd just make each string produced into a clickable link that would produce another page directly. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Re: Regex Problem.

2005-08-18 Thread Greg Jetter
uot;); $check->execute(); > while (my @row = $check -> fetchrow_array()) { > print "blah blah blah\n"; > } > } try using RLIKE instead of LIKE WHERE def RLIKE '$query' Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

Text Search/Delete

2005-03-29 Thread Greg Schiedler
- Delete all lines that contain: "DSL:" and the text :No such user" Greg Sample logfile Wed Jan 5 05:35:57 2005: DSL:[EMAIL PROTECTED]::POP::No such user Sat Mar 26 08:54:04 2005: DSL:[EMAIL PROTECTED]::POP::No such user Sat Mar 26 08:54:10 2005: DSL:[EMAIL PROTECTED

Re: Perl Apache Configuration

2005-03-27 Thread Greg Jetter
rst CGI program > print "Content-Type: text/html\n\n"; > print " \n"; > print "Hello, world!"; > print "\n"; > print "\n"; > print "Hello, world!\n"; > print " \n"; works fine in my browser , i see hello world

mod_perl questions

2004-12-18 Thread Greg Donald
perl scripts out of my cgi-bin ? I suspect there is a performance gain from to the interpreter already existing in memory or something, but is there some new syntax I get to use now? Can I now include Perl code directly into my html? Thanks for any help you send.. -- Greg Donald Zend Certifie

Month-Year Links....

2004-09-07 Thread Greg Schiedler
ot;09-2004-Filename" $previous = "08-2004-Filename" $current_2 = "07-2004-Filename" Does anyone have a simple solution? Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: Network Traffic Monitoring

2004-05-17 Thread Greg
MRTG is fairly basic but it will give some stats. I believe 5min, 1 day, 1 month. Greg. -Original Message- From: Werner Otto [mailto:[EMAIL PROTECTED] Sent: Monday, May 17, 2004 4:57 AM To: [EMAIL PROTECTED] Subject: Network Traffic Monitoring Hi there, Does anyone know of a good

next if statement....

2004-03-18 Thread Greg Schiedler
OK I'm trying to modify the code below to recognize an additional next if statement. I have included a snip of the file that the code uses an input. Greg next if /Acct-Session-Id = ""/;This statment works! # I added this statement. I don't understand the

RE: Running Apache behind LinkSys Router

2003-12-17 Thread Greg
Perhaps your provider is blocking port 80. (many of the TOS disallow servers) or you router is mis-configured. Meatplow -Original Message- From: Gohaku [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 17, 2003 3:57 PM To: beginners-cgi Subject: Running Apache behind LinkSys Router

Re: CGI.pm question

2003-12-03 Thread Greg Zartman
with the rest of your script. If this is incorrect? You might also have a look at CGI::Lite yes, this is the alternative that I am currently using. It is a nice little module. Very simply. -- Greg J. Zartman "Life in entertainment and survival is a game" -- To unsubscribe, e-ma

Re: CGI.pm question

2003-12-03 Thread Greg Zartman
make a quick and mean little CGI script and didn't want need or want to use the entire CGI package. I now see that CGI::Safe calls this module anyway. Looks like I'm not saving the resources I thought I was saving... Thank you. Greg -- Greg J. Zartman "Life in entertainment an

CGI.pm question

2003-12-02 Thread Greg Zartman
objects to take advantage of this security feature? Thanks. -- Greg J. Zartman, P.E. Vice-President Logging Engineering International, Inc. 1243 West 7th Avenue Eugene, Oregon 97402 541-683-8383 541-683-8144 www.leiinc.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comman

Re: quotes problem

2003-10-20 Thread Greg Bolshaw
ing after first quote ("), I KNOW where the problem > is but at a loss to prevent it as I have tried all the options How about: $field = qw(This is the string "which" contains the quotes); -- Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Which button clicked?

2003-10-14 Thread Greg Smith
You should name your submit buttons. Everything sent is in name:value pairs. Without the name all you have is that the submit action took place. Greg Smith -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2003 3:36 AM To: [EMAIL

not so grep on windows

2003-10-13 Thread Greg
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello. I have a very simple script to count a number of frames (files) in a directory. ### #start ### #!/usr/bin/perl $num ="1"; while ( $num = 1 ) { $count = `ls -al|grep .dpx |wc -l`; print "Frames in --> ";

Re: How to set a cookie in PHP

2003-10-08 Thread Greg Bolshaw
/checkuser.php on line 25 You need to set the cookie before you output anything else. Try moving the cookie code up towards the top. -- Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Email with attachment and HTML email

2003-10-07 Thread Greg Bolshaw
Octavian Rasnita wrote: I know to use the Net::SMTP module, but I would like to send an email which has a fiew file attached and to be an HTML type because I want to include an image in it. Do you know which perl module can help me doing that? Try Mail::Sender. -- Greg -- To unsubscribe, e-mail

RE: Send mail weirdness

2003-10-02 Thread Greg Smith
trying to prove with an ISP in Germany where I have experienced the same problem. Greg Smith -Original Message- From: David Gilden [mailto:[EMAIL PROTECTED] Sent: Thursday, October 02, 2003 10:41 AM To: [EMAIL PROTECTED] Subject: Send mail weirdness Greetings, my client claims he

Re: want to verify the data coming from a form with the data in database

2003-06-11 Thread Greg Jetter
MESSAGE HERE > } > else { > > PRINT DATABASE DATA HERE > } along the same lines , the dbi method rows $statementhandle->execute; my $results = $statementhandle->rows; if( $results <= 0 ) { do an error message} else { print " you're in the database";} Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Inserting data into MySql using perl script

2003-06-10 Thread Greg Jetter
e code and all have failed. Yet every > post on the web claims that it works. Any comments, suggestions would be > much appreciated. > > Thanks > David try using the "do" method instead $query = $dbh->do("INSERT INTO infiles VALUES('null','$fields[0]','$fields[1]')") Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Creating form with CGI.pm.

2003-05-27 Thread Greg Jetter
well. Since your already coding with cgi-lib.pl it should be an easy transision. example in OOP: use strict; use CGI; my $q = new CGI; # make up the page print $q->header(), $q->start_html(), $q->start_form# equates to the form tag ( -method=>&qu

RE: Perl problem:(

2003-02-14 Thread Greg Smith
First if statement. $length = length($firstname); if (!$length) { print "Not a valid First Name, try again.\n"; next; ---> { Greg Smith > -Original Message- &

Re: [OT] Sendmail for windows

2002-09-22 Thread Greg Matheson
On Sun, 22 Sep 2002, Hytham Shehab wrote: > where can i find/download a free sendmail alternative for win32? Exim has been ported to cygwin, if you have that. But I think there are native Windows MTAs too. -- Greg MathesonThe teacher as the monkey in the works. Chin

Editing a file....

2002-09-19 Thread Greg Schiedler
PROTECTED] Password = "123" [EMAIL PROTECTED] Password = "secret" ... Greg Schiedler Can someone help me edit my users file via perl would go thru my users file locate a user with the right username (say "user") replace his password (say "old-

RE: database connection problem

2002-08-30 Thread Greg Smith
Try adding the hostname of the MySQL to your connect string. my $dth = DBI->connect("DBI:mysql:database=db_name;host=hostname","user","pass"); Greg > -Original Message- > From: aman cgiperl [mailto:[EMAIL PROTECTED]] > Sent: Friday, Augus

Re: Checking Form data

2002-07-31 Thread Greg Matheson
ecking whether it exists, or is defined, or is true. -- Greg MathesonIf you're not making any mistakes, Chinmin College you must be making some mistake. Taiwan Penpals Archive http://netcity.hinet.net/kurage> --

file uploading

2002-06-13 Thread Greg D .
save the message i select so that it will be referred to as "message" . i have the code to upload the file which is: thanks for any help. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Need a way to begin learn Perl

2002-06-10 Thread Greg Jetter
, plain old documentation. then start coding , the only real way to learn is to write script and then debug them , if you expect a certian behavior from your script and it does not do what you expect then re read the doc's ask questions and try again , the best way to lear i

Re: Counter and scoping(?) issue

2002-05-28 Thread Greg Matheson
happen when someone clicks seven times on the link in quick succession? Wouldn't you have to prevent the script from being run more than once at the same time? Lock a file or something. I have the same problem, but gave up. -- Greg MathesonThe teacher as the monkey in the works

radio buttons

2002-04-30 Thread Greg D .
ve: if (&check_password) { if (!(param("submit"))){ &print_header; &print_buttons; # &print_filter; } else { &get_info; } ANy help would be greatly appreciately. thanks greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: cgi in the middle of HTML page

2002-02-05 Thread Greg Jetter
thought that the exec command would facilitate this, but I'm not > getting it. thanks for any help. > > Al HTML::Templates a perl module that lets you seperate code from html. works quite well , provides special tags that look like standard html tags, but subistute perl values an

writing to files on an IIS server

2002-01-10 Thread Greg Matheson
ied I tried the umask function, but although it seemed to be setting something it is not allowing me to write to the file. What is the problem here? It looks to me like something which should have been handled installing ActivePerl, but it is difficult for me to do anything with th

diffrent browsers update , and thank you

2002-01-05 Thread Greg Jetter
Hi: Thanks for the help , We solved the problem , it was a premission problem on the server , I appricate the help narrowing down the posible problems Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Fwd: Re: Diffrent browsers render script diffrently

2002-01-05 Thread Greg Jetter
-- Forwarded Message -- Subject: Re: Diffrent browsers render script diffrently Date: Sat, 5 Jan 2002 16:39:04 -0900 From: Greg Jetter <[EMAIL PROTECTED]> To: "Alan C." <[EMAIL PROTECTED]> On Saturday 05 January 2002 04:21 pm, you wrote: > Hi, >

Re: Diffrent browsers render script diffrently

2002-01-05 Thread Greg Jetter
On Saturday 05 January 2002 07:50 am, fliptop wrote: > Greg Jetter wrote: > > A Perl script that creates a web page renders correctly in Netscape , > > Mosilla , Opera and Konqueror . It produces a error when rendered in > > Internet Explorer . In Explore it generate

Diffrent browsers render script diffrently

2002-01-04 Thread Greg Jetter
$old = $line; } } print <<"HTML";       HTML } sub list_months { chop($cyear = `date +%Y`); if ($contents{'y'}) { $year = $contents{'y'}; } else { $year = $cyear; } chop($month = `date +%m`); print <<"

Re: Faking form variables

2001-10-26 Thread Greg . Froese
Curtis, What is the syntax for passing these values through the url? Greg Curtis Poe <[EMAIL PROTECTED]> 10/25/2001 01:44 PM Please respond to poec To: [EMAIL PROTECTED], [EMAIL PROTECTED] cc: Subject:Re: Faking form variables --- [EMAIL PRO

Faking form variables

2001-10-25 Thread Greg . Froese
I'm using the following snippet of code to put all form data passed into a hash table. $form_data_size = $ENV{'CONTENT_LENGTH'}; read (STDIN, $form_data, $form_data_size); @info_returned = split (/&/,$form_data); foreach $keyvalue (@info_returned) { ($key, $value) = split(/=/, $keyvalue);

Re: No such file or directory exists

2001-10-24 Thread Greg . Froese
at command on this machine, but if anybody is having the > same trouble, I could email them later with the command. > > What is the cause of these chars? Is it using a Windows editor to code > these scripts, and then running them in Linux? > I'm curious t

No such file or directory exists

2001-10-24 Thread Greg . Froese
x? I'm curious to know the cause of this because I spent a good part of 2 hours getting that problem sorted out. Thanks, Greg

Re: Parsing HTTP links

2001-10-18 Thread Greg . Froese
ure that gives me exactly what I want. Essentially what I'm trying to do is parse out all info from a web page that is in bold (text). I'm going to revisit LinkExtor but if there is a better solution, I'm all ears. Greg RaFaL Pocztarski <[EMAIL PROTECTED]>

HTML::Parser

2001-10-17 Thread Greg . Froese
Does anybody have the hstrip example mentioned in the HTML::Parser documenation that shows you how to stip out specific tags from an HTML file. I can't find the example, maybe I'm missing something really obvious. Thanks Greg

Parsing HTTP links

2001-10-16 Thread Greg . Froese
I need to parse out all http links stored in a local file. How would I go about doing this? which modules would I need to use? TIA Greg

WWW::Robot

2001-10-10 Thread Greg . Froese
I'm having trouble with the robot thing. I want to write a little program that simple reads an HTML page and produces a list of all the links on that page. I've tried following the documentation with WWW::Robot but I'm not having any luck. Could someone point me in the right direction. thanks

LWP and SSL

2001-10-10 Thread Greg Puleo
Anyone have any examples of using LWP to post information to https sites? -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

posting information to a URL

2001-10-10 Thread Greg Puleo
learned perl a while ago, and am picking it up again. one of the things i would like to do is something along this line: post information to a URL (specifically a stream of XML) via https, and then receive a return stream of data back through that same pipe. i know there is a way to do this wit

RE: Using Win32::ODBC

2001-10-09 Thread Greg . Froese
Yes, I am using IIS as my webserver. -Original Message- What is your web-server? IIS?? - Rex -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Subject: Using Win32::ODBC I'm successfully connecting to a Pervasive 7 database with my PERL program when running

Using Win32::ODBC

2001-10-09 Thread Greg . Froese
I'm successfully connecting to a Pervasive 7 database with my PERL program when running from the command line. I try to run the program in my webbrowser and I get the following error. Error connecting to MO Error: [802] [] "[Pervasive Software][ODBC Interface][Pervasive Software SQL Engine]Gen

CGI

2001-10-04 Thread Greg . Froese
I'm not really clear on how PERL works when writing HTML. when writing to a console, you simply use \n to move to the next line but using the same code in a browser I get everything on the same line. is there a way that when writing to HTML, the \n gets converted to or do you have to explicitl

Re: Creating a new query object from an input file

2001-08-21 Thread Greg Matheson
On Tue, 31 Jul 2001, Greg Matheson wrote: > I'm NOT able to use this: > CREATING A NEW QUERY OBJECT FROM AN INPUT FILE > $query = new CGI(INPUTFILE); > With the code: > #!/usr/local/bin/perl -w > use CGI; > open (OUT,">/home/greg/test.o

Re: which one to choose WxPerl or perlTk

2001-08-14 Thread Greg Jetter
1" Content-Transfer-Encoding: 7bit Content-Description: I found PerlTK very easy to use, it works very well for what I used it for , a GUI to a data base program. Greg -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Creating a new query object from an input file

2001-07-31 Thread Greg Matheson
'song'=>'I love you', > 'friends'=>[qw/Jessica George Nancy/]} >); But I'm NOT able to use this: > CREATING A NEW QUERY OBJECT FROM AN INPUT FILE > > $query = new CGI

Re: Creating a new query object from an input file

2001-07-31 Thread Greg Matheson
On Tue, 31 Jul 2001, Brett W. McCoy wrote: > On Tue, 31 Jul 2001, Greg Matheson wrote: > > #!/usr/local/bin/perl -w > > use CGI; > > # set a parameter and save it in a file > > open (OUT,">/home/greg/test.out") or die "No open greg/test.out: $!

pop3 account

2001-07-11 Thread Greg
Hi, I want to make an automatic script e add/delete users pop3 account ... Does anyone have suggestions to help me out ? Thanks! Greg.

RE: POP3 Module

2001-07-09 Thread Greg
Yay! I'm stupid!! Just found why it didn't show :) Thanks!! Greg. -> I try to use the NET:POP3 to retreive headers mails on a pop3 -> server, but I -> can't retreive all header data : -> By exemple I try to retreive a header of an message using the -> return-path

NET:POP3 Module

2001-07-09 Thread Greg
quot; For the sender informations, I can't retreive the From: information ( just "From: Greg " but not the mail adresse). Please help :) Regards, Greg.

Re: Configuring cgi scripts on Windows2000

2001-07-06 Thread Greg Jetter
On Thursday 05 July 2001 08:58, Curtis Poe wrote: > --- Greg Jetter <[EMAIL PROTECTED]> wrote: > > Well you found one here , I've worked with it since the first version , > > in fact I work with it daily , it's how I earn my daily bread. You can > > not

Re: Configuring cgi scripts on Windows2000

2001-07-05 Thread Greg Jetter
question at hand. My stance on O/S's is use which ever one does the job your trying to accomplish. Same with Scripting langauages or hardware. Just what is your problem bud ? Instead of attacking me why don't you sugest how this problem might be resolved ? do you realy know any

Re: error

2001-07-04 Thread Greg Jetter
On Wednesday 04 July 2001 17:33, RL Autry wrote: > At 08:18 PM 7/4/2001, Greg Jetter wrote: > >like file placement in > >the directory tree. > > > >Greg > > Ok Thanks Gregg now we are getting somewhere to an answer. > Can you tell me what "file placement

Re: Comment line width

2001-07-04 Thread Greg Jetter
all editors have diffrenting line lenths you would be safe to start off each line of a comment with the "#" sign and not worry where the editor places the end of line charater. Greg

Re: Configuring cgi scripts on Windows2000

2001-07-04 Thread Greg Jetter
t; RL check the scripts themselves , if they are copyrighted they will so state somewhere in the script. To be safe if you decide to hack them just make your changes avaible to the public , that is don't try and make your drivitive work copyrighted material. You should be able to change the scripts to work on the new platform , Your best bet is to stay with a Unix based provider. There is a reason why developers choose to develope on Linux/Unix and not Windows crap . This is one of them.. Greg

Re: error

2001-07-04 Thread Greg Jetter
ram. Un fortunaly Windows does not have an equilvant function. You may wind up having to search trouugh the scripts and remove them and use some other means of restricting access , like file placement in the directory tree. Greg

Problem with my code

2001-06-27 Thread Greg Touchton
= qw(order=symbol&include=""&*limit=0&_Species_key=""&op:symname=begins&); $john .= qw(symname=abl1); $jonh.=qw(&symnameBreadth=CWS&cmp_Species_key=""); my $res = $ua->request($req); print $res->code,'\n'; Thank you, Greg Touchton\\ /=| 540-552-5967 \\ // =| 338 Shenandoah Cir \// =|

  1   2   >