o I set global variables
Jason
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
this way.
Any help would be nice??????
Thanks,
Jason
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
.
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
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
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]
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
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
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]
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
_
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
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]
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
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;
->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
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]
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
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
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
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
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(
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 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
> 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.
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
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
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'
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
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.
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
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
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]
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
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
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
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
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
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]>
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]
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
n unique setup/environment [it works great on my computer])?
Thanks in advance!
Jason
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
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
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]
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
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.
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.
answers have been given to pretty much lay this to
rest.
Jason.
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: <[
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
onment (I just have FTP access), but I do
know it doesn't support mod_perl.
Thanks in advance!
Jason
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
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
;> /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
-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
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
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
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]
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
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>
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
60 matches
Mail list logo