Global Variables

2001-11-01 Thread jason
o I set global variables Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Perl 5.6

2001-11-13 Thread jason
this way. Any help would be nice?????? Thanks, Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Cookies

2001-11-20 Thread jason
. Now to the point. How do I use cookies. Set Get Remove I have examples for just CGI with object oriented html. I have examples for just require cookie.pl; But I cannot seem to but it together. I would really appriciate any help. Thanks, Jason -- To unsubscribe, e-mail: [EMAIL PROT

XML Header

2001-11-21 Thread jason
Need a little help I am using #!/usr/bin/perl -w use CGI qw/:cgi-lib/; print PrintHeader(); This gives a result of Content-Type: text/html I need it to be Content-Type: text/xml How do I do that. Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Linux to MicroSoft SQL Server

2001-11-26 Thread jason
Can and or how do I connect from a Linux server to a Microsoft SQL server?? Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Linux to a Microsoft SQLserver

2001-11-27 Thread jason
I have been trying to install DBD:Sybase for this function. I have installed the freetds and am tring to install the DBD:Sybase but when I try to do my make on the install I get this error messages. Any Ideas. Jason cc -c -I/usr/local/freetds/include -I/usr/lib/perl5/site_perl/5.6.0/i586

Re: Module PAR

2005-02-03 Thread Jason Murray
ad or myself I use Textpad. Thanks, Jason Murray IBM Global Services Ph: 416.478.6239 [EMAIL PROTECTED] Augusto Flavio <[EMAIL PROTECTED]> 02/03/05 10:41 AM To: beginners-cgi@perl.org cc: Subject:Module PAR Hi! I'm have a big problem. I make

Uploading an entire folder using CGI

2002-02-06 Thread Jason Moore
your time and help, Jason __ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Help ...

2002-02-14 Thread Jason LaMar
ag information intact. I've tried this, but it doesn't work ... $mail_body =~ s/])*\"//g; $mail_body =~ s/width\=\"\d\"//g; $mail_body =~ s/height\=\"\d\"//g; $mail_body =~ s/alt\=\"\[//g; $mail_body =~ s/\]\">//g; Any ideas? Thanks, Jason _

Asynchronous Perl

2002-03-04 Thread Jason Frisvold
a way to do this, or should I switch to C++? --- Jason H. Frisvold Senior ATM Engineer Engineering Dept. Penteledata CCNA Certified - CSCO10151622 --- "I love deadlines. I especially like the whooshing sound they make as they go flying by.&q

Re-direct/Refresh question

2002-05-02 Thread Jason Ostrom
t;p("Last Updated: $tm" ), $q->end_html; Or maybe I just need to use print with qq to do straight HTML, as in: print qq'' But I would like to use the object-oriented interface. Thanks in advance for your help. -Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re[4]: Re-direct/Refresh question

2002-05-02 Thread Jason Ostrom
Adam, Thanks for your help. This is exactly what I was looking for. I found the answer at this URL on how to refresh by modifying the header with the object-oriented interface: http://www.esec.com.au/sep/content/eps_support/demo/perlcgi/cgi_module.html All the best, -Jason Adam Morton

Dynamically creating submit buttons

2002-06-04 Thread Jason Ostrom
ry appreciated. I'm basically just confused on how to implement this with CGI.pm. TIA, -Jason my $sth; $sth = $dbh->prepare ("SELECT rgname, rgnumber, portcnt FROM resourcegroups"); $sth->execute (); my @rgname_edps; my @rgnumber_edps; my @portcnt_edps;

Re[2]: Dynamically creating submit buttons

2002-06-05 Thread Jason Ostrom
->header( "text/html" ), $q->start_html( -title => "eDPS1 DS0 Monitor", -bgcolor => "#ff" ), $q->h2( "$jason DS0 Monitor" ), $q->p("$tm" ), $q->p("Select a T1 Below to see Status of indi

Refresh dynamic content using query_string

2002-06-07 Thread Jason Ostrom
shed to it after 5 seconds. What am I missing here? Any help much appreciated. -Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re[2]: Refresh dynamic content using query_string

2002-06-07 Thread Jason Ostrom
David, You are the man. That worked. Just when I was figuring out that this was a variable interpolation problem. I could use $URL4 instead of $URL2, and it still wasn't interepreted as a variable, and $URL4 wouldn't be "declared" anywhere in the program. Thanks man! -Jas

file timestamp monitoring

2002-07-28 Thread Jason Viloria
Hi Can someone help me plaease use perl to monitor the timestamp of a text file to alert me if it is more than 1 minute old and run an external program if so? I suppose a simple script which runs in cron would do the job but maybe someone else has a better solution? Thanks Jason

Re: listing perl modues on system

2002-11-21 Thread Jason Purdy
One easy way is to run the command: perldoc perllocal Jason "Jerry M . Howell II" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hello there, > >I was wondering if there is an easy way to list the perl modules

Re: console window

2002-11-21 Thread Jason Purdy
At the end of your perl program, add the line: system( "PAUSE" ); http://www.computing.net/programming/wwwboard/forum/3270.html HTH, Jason "Gary Rocco" <[EMAIL PROTECTED]> wrote in message 001301c290f9$02bad3d0$93b500c7@hppavilion">news:001301c290f9$02bad3d0

Re: multiple selection

2002-11-23 Thread Jason Purdy
ntains multiple entries. HTH & Have Fun! Jason #!/usr/local/bin/perl use CGI qw(:standard); $action = param('action'); print header(); print start_html(); if (!$action) { print start_html(); print qq~ Select List: ~; print scrolling_list(

Re: arrays & lists

2002-11-23 Thread Jason Purdy
gt;rows, which # fits nicely with MySQL's LIMIT clause ( $myValue ) = $dbh->selectrow_array( $sql . " LIMIT $randomNumber, 1" ); return $myValue; } HTH & Have Fun! Jason > the task is as follows: > > 1) query a mysql database for as many records as match a c

Re: Checking for existance for data in a column

2002-12-03 Thread Jason Purdy
RE name IS NOT NULL' ); $sth->execute; # Proceed with your fetchrow_hashref()'s, etc HTH & Have Fun! Jason "T. Murlidharan Nair" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Hi!! > I have a CGI that looks up data fr

Re: Help in running cgi script to append passwd file, shadow and group

2003-01-24 Thread Jason S
> On Fri, 24 Jan 2003 15:30:59 +0800, [EMAIL PROTECTED] (Glynn > S. Condez) wrote: > > >Hi All, > > > >I created a cgi perl script, its an account creation script, means you > >can add an account to a linux system. > > > >my problem is, the cgi can't append the password, shadow and group > >file.

Re: select where clause question with replace subquestion

2003-03-25 Thread Jason Archer
than it solves. Jason - Original Message - From: "Jattie van der Linde" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 25, 2003 4:19 PM Subject: select where clause question with replace subquestion I'm trying to build a dynamic piece of c

Perl "include" files

2003-03-25 Thread Jason Jolly
I'm currently in the process of templating my entire site to provide a consistent framework and I would like to have the following template set up: = == BEGIN 'template.cgi' #!/usr/bin/perl < include "use_information.inc" > HERE IS THE DISPLAY INFORMATIO

Re: Perl "include" files

2003-03-26 Thread Jason Jolly
those files disappears from the page? When I close the browser and reopen it I get the information in the include file, once, again? Thanks for your help with this one.. ~j - Original Message - From: "Peter Kappus" <[EMAIL PROTECTED]> To: "'Jason Jolly'

Re: Execute an application

2003-10-15 Thread Jason Viloria
Oct 14 13:13:30 2003] [error] [client 127.0.0.1] (gedit:17268): > Gtk-WARNING **: cannot open display: > > How can I get this to work? Thanks. Your problem has nothing to do with perl. You have to run "xhost + localhost" as the user using X, to allow your apache to display stuff on

Display while forked

2004-04-06 Thread Jason Normandin
Hi List !! I have a cgi sctipt that forks a process during execution. I would like to display a message to the user after the fork occurs. Semething like displaying an animated gif or something to inform the user the task is in progress as the forked process can take 10-20 secs to complete.

Required Fields Module

2001-07-07 Thread Jason Purdy
when a form is incomplete. I am a sorta-newbie (experienced, but rusty), so I'm sure there are better ways to write the code or even if the code is written into some other module out there. HTH, Jason Example Hash: %requiredFields

Re: Required Fields Module

2001-07-08 Thread Jason Purdy
values by grepping within the keywords. I currently don't have to worry about multivalued parameters - I don't design my forms that way. Jason New subroutine: sub checkRequiredFields { my ($formHandle, %reqdFields) = @_; my ($incomplete) = 0; my (@incFields) = (); fore

Re: Required Fields Module

2001-07-08 Thread Jason Purdy
Oops - found another little tweak - it should be $formHandle->param instead of $formHandle->keywords (unless your form is using an search). Sorry 'bout that... Jason - Original Message ----- From: "Jason Purdy" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: newbie question

2001-07-09 Thread Jason Purdy
I'm not familiar with WinCGI, but your code is missing the important shebang line. I have Apache running on my Windoze box and my shebang is: #!\Perl\bin\perl Everything's off my C drive and the DOS path to Perl is: C:\Perl\bin\perl. Jason - Original Message - From: &qu

Re: Required Fields Module

2001-07-09 Thread Jason Purdy
http://www.webdeveloper.com/javascript/js_form_example.html Jason Code (assumes you already printed the HTML header and takes in two arguments: the CGI object and a hash table of required fields): sub checkRequiredFields { my ($formHandle, %reqdFields) = @_; my ($incomplete) = 0; my (@incF

Re: how to upload a file through an html form?

2001-07-09 Thread Jason Purdy
r; } close (OUTFILE); Jason - Original Message - From: "Curtis Poe" <[EMAIL PROTECTED]> To: "CGI Beginners" <[EMAIL PROTECTED]> Sent: Monday, July 09, 2001 12:51 PM Subject: Re: how to upload a file through an html form? > --- fliptop <[EMAIL P

Re: Checking Form input.

2001-07-09 Thread Jason Purdy
your query string will have multiple values under the same key name. Big "D'oh!" on the '0' expression - that was a good QA catch! Jason - Original Message - From: "fliptop" <[EMAIL PROTECTED]> To: "Marcus Willemsen" <[EMAIL PROTECT

Re: how to upload a file through an html form, again.

2001-07-09 Thread Jason Purdy
Check out the CGI documentation - it's very thorough and has a lot of excellent examples. Looking at the synopsis example, it looks like you're missing an if ($q->param()) { ... } around the file uploading part of your code. Give that a shot... Jason > here it is: > #!/usr

Re: Use CGI.pm or Parse it in the script?

2001-07-09 Thread Jason Purdy
es are great, too!). 2) I'd HIGHLY recommend buying the Llama book (Learning Perl) - it sounds like you got a bad first book from O'Reilly, but I LOVE the Llama book and that's how I got started, myself. Jason - Original Message - From: "GPG" <[EMAIL PROTECTED]>

Re: Sources

2001-07-10 Thread Jason Purdy
ure if that's the right answer, though - GURUs: do databases answer anonymous requests & provide the names of the available sources, no matter who's requesting it? Jason - Original Message - From: "Guillaume Denizot" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]

Re: Moving a row from one table to another.

2001-07-10 Thread Jason Purdy
http://www.arsdigita.com/books/sql/ - pretty good tutorial w/ some amusing pictures. Jason - Original Message - From: "Daniel Falkenberg" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 2:31 AM Subject: SQL: Moving a row from one table to anothe

Errors

2001-07-10 Thread Jason Purdy
n unique setup/environment [it works great on my computer])? Thanks in advance! Jason

Re: Errors

2001-07-10 Thread Jason Purdy
error_log redirected to a file of your choice? Jason - Original Message - From: "Curtis Poe" <[EMAIL PROTECTED]> To: "CGI Beginners" <[EMAIL PROTECTED]> Sent: Tuesday, July 10, 2001 1:13 PM Subject: Re: Errors > --- Jason Purdy <[EMAIL PROTECTED]> wro

Re: Errors

2001-07-10 Thread Jason Purdy
I'm using ActiveState Komodo & sometime's Lemmy (VI) ... if I know where you're going, I also used a tool that ValueWeb provides to strip out ^M characters. Jason - Original Message - From: "Bradley M. Handy" <[EMAIL PROTECTED]> To: "Jason Purdy

Re: By popular request: the source of the invisible webscript.

2001-07-10 Thread Jason Purdy
Well, the slashes (\\) are the wrong way ... try this: print "\n\nTest Script\n\n\nTest.\n\n"; Netscape is more strict than IE w/ HTML, so if you were using Netscape, this could be your problem. Jason - Original Message - From: "Samuel Brown" <[EMAIL PROTECTED]

Re: Errors

2001-07-10 Thread Jason Purdy
I upload, privs, shebang, etc). But there's no way to actually get the error_log output redirected for the life of a script to a local file that I can access, is there? Jason - Original Message - From: "Gabor Szabo" <[EMAIL PROTECTED]> To: "Jason Purdy" <[EMAI

Re: Re-inventing wheels (WAS re: Required Fields Module)

2001-07-10 Thread Jason Waugh
g design from code, however. I know a lot of fantastic HTML designers haven't even a clue what a print statement is, and can't expect them to spruce up a form or even overhaul the look of an entire application by scouring through and attempting to change tested and debugged code. Jason.

Re: Re-inventing wheels (WAS re: Required Fields Module)

2001-07-10 Thread Jason Waugh
necessary. Web applications should be as portable as the web. (I speak from a mostly intranet development perspective, although I would feel exactly the same way when it came time to port my personal website to a different hosting company.) Jason.

Re: Re-inventing wheels (WAS re: Required Fields Module)

2001-07-10 Thread Jason Waugh
answers have been given to pretty much lay this to rest. Jason.

Re: test script

2001-07-11 Thread Jason Purdy
and then in your Web browser, go to that URL. These are also making more assumptions, but give it a shot and let us know what does or doesn't work if you have further complications. Jason - Original Message - From: "john.twycross" <[EMAIL PROTECTED]> To: <[

Re: Needing a script to...

2001-07-17 Thread Jason Purdy
ut and see if that can help. In OLE::Storage, there's an example (lhalw) that draws text out of Word files. Can't do it with PDF or HTML files? (take the same information and put it in a PDF or HTML file and e-mail that doc format) Jason - Original Message - From: "Susan

cookie/state challenge

2001-07-17 Thread Jason Purdy
onment (I just have FTP access), but I do know it doesn't support mod_perl. Thanks in advance! Jason

Re: e-mailing HTML form results

2001-07-25 Thread Jason Purdy
to use is denying your request. To keep your code from 'dying', surround the rest of your code with an if clause: if ($msHandle) { # do the rest of the processing } Jason - Original Message - From: "Helen Dickey" <[EMAIL PROTECTED]> To: <[EMAIL

Re: e-mailing HTML form results

2001-07-26 Thread Jason Purdy
pt your mail unless you're either coming through their network or you're sending it to someone in their domain. The '64...' IP # is me. It's telling the server you're connecting to who you are. You can also put a full domainname in there, too. Jason - Original M

Re: Still having problems sending mail...

2001-07-26 Thread Jason Purdy
;> /u200/figsnet/logs/make_log"; print "Done ... 'make test'\n"; system "make test >> /u200/figsnet/logs/make_log"; print "Done ... 'make install'\n"; system "make install >> /u200/figsnet/logs/make_log"; print "Don

-= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Jason Helmich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 i have been trying to unsubscribe to this list for weeks now please unsubscribe me please i beg you i hate this list -BEGIN PGP SIGNATURE- Version: PGP Desktop Security 7.0 iQA/AwUBO2clBxjBpulM9x6SEQI0bgCghROA4ZNDKdk+BbIoL6I

RE: -= For the LOVE OF GOD!!!! =-

2001-07-31 Thread Jason Helmich
PROTECTED]>: Bad character in address components: "mailto:beginners-cgi-uc.996547924.odnieinajejpiolljodf-jhelmich=b"; so dont tell me to read the fuckin faq -Original Message- From: Casey West [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 9:55 AM To: Jason Helmic

How to profile CGI scripts?

2001-08-07 Thread Jason Purdy
n, but whenever I add the '-d:DProf' flag in the shebang line, I get a 500 Internal Server Error. I've also tried setting the 'PERL_DPROF_OUT_FILE_NAME' environment variable in a BEGIN block. Any thoughts? Thanks in advance, Jason -- To unsubscribe, e-mail: [EMAIL

Re: How to profile CGI scripts?

2001-08-07 Thread Jason Purdy
a 500 error for any script on the host I'm using, even a simple "Hello World" script. Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Perl Editors

2001-08-08 Thread Jason Purdy
I like ActiveState's Komodo product. It's free for non-commercial use (tinkering at home, etc) and has a lot of great features, including a built-in debugger. Have fun! Jason "Dale Pellerin" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMA

Streaming a file to a remote user

2004-03-25 Thread Price, Jason (TLR Corp)
Emailing the file is not an option, also due to security reasons. Can anyone help me out with a way to do this? Thanks. Jason -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>

RE: Streaming a file to a remote user

2004-04-26 Thread Price, Jason (TLR Corp)
presented by the browser? I'd like to just leave "open", "cancel", and "more info" as option. This may not be possible, but thought I'd check... Thanks. Jason -Original Message- From: Shaun Fryer [mailto:[EMAIL PROTECTED] Sent: Saturday, March 2