Hello
I want to set a user cookie and redirect to a different URL on the same domain.
I searched and found alternate ways of doing it.
I am looking for a way to do using CGI.pm
Suggestions?
Thank you
Aman
Someone will correct me if I am wrong, I don't have much Windows experience.
Can't ODBC be used, in what you are doing?
Aman Raheja
AGF Technologies
http://www.agftech.com
- Original Message -
From: "Paul Kraus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]&
didn't get you
what do u need to ask?
Aman Raheja
Systems Analyst
AGF Technologies
www.agftech.com
- Original Message -
From: "James Parsons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 30, 2003 1:23 PM
Subject: Reading files
Aman Raheja
Systems Analyst
AGF Technologies
http://www.agftech.com
with extension .pl
Aman Raheja
- Original Message -
From: "Francis Henry" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 06, 2003 10:29 AM
Subject: perl extensions
> Hi:
>
> The following is a note from a colleague of which I am skeptica
$thbFile = @$_->[1]-t.jpg;
$convertedSize = @$_->[3]."x".@$_->[4];
exec("convert $imgFile -resize $convertedSize $thbFile");
}
--
The loop executes only once, as the exec forks out and waits infin
Hello
I am using Perl/CGI on Linux (with Apache).
Some users have cookies disabled in their browsers and some are using the
old ones, which cause problems, along with Netscape.
Anyhow, I am looking for following solutions
1. How do we know the Operating System of the Client's system?
2. Where can I
Hello
I am using Perl/CGI on Linux (with Apache).
Some users have cookies disabled in their browsers and some are using the
old ones, which cause problems, along with Netscape.
Anyhow, I am looking for following solutions
1. How do we know the Operating System of the Client's system?
2. Where can I
I have a directory "Abs" with a file "abc" in it.
I am using rmtree to rm this dir as follows
use File::Path;
rmtree("Abs",1,1) or die "dir not del";
print "done";
The output is
unlink ../htdocs/store/newpages/Abstract/abc
It neither prints the die statement nor the done - ofcourse i
My code looks like following
foreach (@abc)
{
$sth = $dbh->prepare("select distinct X from Y where P='$_'");
$sth->execute;
$reference = $sth->fetchall_arrayref();
if(@$reference eq '')
{
print "$_ in empty";
}
}
For some values of $_ the $reference has some value and i
It didn't work either way as suggested
using -t only
or
changing the delimiting tag with print statetent
I tried to do the same on the command line and it works. I wonder what is
missing here.
Help is greatly appreciated
Aman
>From: "Aman Raheja" <[EMAIL PROTECTED]&g
Hi all
I am trying to send a mail with the following code and the last print
statement doesn't print, ie, the mail is not sent.
This code is called on submitting a form on the web
open(MAIL, "/usr/sbin/sendmail -oi -t") || die "Can't open mail";
print MAIL <";
---
Hi everyone
I have a situation here. I have to do it this way, becuase that's how the
framework is.
When I submit a form, it is processed by abc.cgi.
Now this abc.cgi has to be a frame. The main page is xyz.cgi, with a header,
a left frame and output of abc.cgi, as the right part of the frame pa
Hi All
Why can't I move to the parent directory using
system "cd ..";
Actually cd command doesn't work at all with system !!! why ?
Though I can do so by
chdir("..");
Is there a way to physically move to another dir, for eg.
[aman@aman /usr/home/aman]$./pdir.pl
[aman@aman /usr/home]$
Thanks in
Here's my solution.
There will be shorter ways. I am new to perl, so this is how did it.
At the prompt do
$array-prob.pl
#!/usr/bin/perl
#File name : array-prob.pl
my @arr;
while(<>)
{
chomp($_);
$field{$_}++;
print "$_ $field{$_}\n";
my $set = 0;
my $r
15 matches
Mail list logo