What is the syntax to redirect the user to another page? i need to be able
to include a query string in the redirect, plus it needs to be immediate
and automatic.
plus i still need a way to check whether the username variable in my script
matches any usernames in the system's /etc/passwd file.
Matthew Harrison wrote:
> What is the syntax to redirect the user to another page? i need to be able
> to include a query string in the redirect, plus it needs to be immediate
> and automatic.
perldoc -q redirect
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
If it is not locating the PPD file, try this instead:
C:\> ppm
PPM interactive shell (2.1.5) - type 'help'
for available commands.
PPM>
PPM> install --location=http://www.activestate.com/packages/
Mail-POP3Client.ppd Mail::POP3Client
Hi all,
I use Perl under Win 2k, and I know there is no sendmail command under this
OS.
I also know that I can use the net::smtp module to send mail, but I am
wondering if there is a Windows command line program for sending mail
available.
Do you know such a program?
Thank you.
Teddy,
My dear e
I have an html template file,
/path/to/htdocs/file.html
and I slip in a cgi script using SSI:
The file executes fine, but how can my cgi script access any
parameters being sent to the file, e.g.
/path/to/htdocs/file.html?name1=val1
I'm running Apache/mod_perl on Win 98.
Thanks,
David
BLAT for SMTP.
Getmail for POP3.
http://www.interlog.com/~tcharron/blat.html
Scot Robnett
inSite Internet Solutions
[EMAIL PROTECTED]
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 21, 2002 7:18 AM
To: [EMAIL PROTECTED]
Subject: s
Thanks, Tim,
your link had the answer. The script should be included as
The cgi parameters are then passed to the script, and are available
via the usual CGI.pm methods.
David.
On 21 Mar 2002, at 11:02, Tim Doty wrote:
> If I understand what you are wanting to do:
>
> http://httpd.apac
I figured out it wasn't working because form name doesn't have a
value attached to it. One way to write the script is to send a
hidden name and verify that the value is the same thereby making sure
no one can run the program without using the form.
>I don't see enough of the code to have a cl
[reply cc'd to list]
Matthew Harrison wrote:
> that doesn't really answer the question as it doesn't really clearly show
> what the syntax should be and how it is used.
>
> On Thursday 21 Mar 2002 12:38 pm, you wrote:
>
>>Matthew Harrison wrote:
>>
>>>What is the syntax to redirect the user t
so that is all i have to write? seems a bit sparse compared with majority
of other perl code, but there we go, you obviously know more about this
that me.
On Thursday 21 Mar 2002 5:19 pm, fliptop wrote:
> [reply cc'd to list]
>
> Matthew Harrison wrote:
> > that doesn't really answer the questi
I am a newbie to Perl CGI scripting, but not to Perl or server-side
scripting in general.
I have used PHP extensively, and it is embedded in the HTML like this:
How do I get a page based on Perl to work?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
In essence, you instruct perl to print the contents of the page. There are
different ways of actually doing this, but two that come to mind are:
1) print the entire html document from perl. The cgi script prints the
contents header as well as the regular html file, e.g., print "Content-type:
text
I have a cgi script-
#!C:/Perl/bin/perl -wT
use strict;
use CGI;
my $q = new CGI;
binmode STDOUT;
print $q->header(-type => "image/gif" );
use Image::Magick;
my $image=Image::Magick->new;
$image->Set(size=>'30x180');
$image->Read("gradient:#ff-#ff");
$image->Raise('3x3');
$image->Rotate
On 3/20/02 8:26 PM, Sunish Kapoor <[EMAIL PROTECTED]> wrote:
> Hi Teddy,
>
> Want an HTML version of Programming Perl Second version (Free) .
>
> Sunish
>
> ;-)
No, I do not. And neither does anyone else. Rethink your outlook on piracy.
--
Michael
--
To unsubscribe, e-mail: [EMAIL PROTE
hello, is this mail script available? I like it.
Thanks, Margaret
Can someone resend the regex they formulated for checking for valid emails?
I seem to have accidently deleted it. Thanks
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
i have a cgi where i can upload files, netscape and ie work fine, opera just
hangs. what gives?
matt
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
> "Matthew" == Matthew Harrison <[EMAIL PROTECTED]> writes:
Matthew> how can i make a script check whether a variable equals an existing system
Matthew> username or not? the script does not run as root, it is a webpage.
if (defined getpwname($possible_new_name)) {
# it already exists
} el
Hi,
Perl 'normally' works by embeddeding your HTML into a Perl cgi program.
Embedding Perl into HTML (the otherway around to the above) is achieved by
add ons (normally via mod_perl).
Please see the below URL.
http://perl.apache.org/#appservers
EmbPerl is mentioned quite a popular embedding me
- Original Message -
From: Bob T
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 11:10 PM
Subject: Fw: DBI w/ DBD:ODBC or DBD:mysql or DBIx-AnyDBD
- Original Message -
From: Bob T
To: [EMAIL PROTECTED]
Sent: Thursday, March 21, 2002 11:08 PM
Subject: DBI w/ DBD:ODBC
> "Sunish" == Sunish Kapoor <[EMAIL PROTECTED]> writes:
Sunish> Want an HTML version of Programming Perl Second version (Free) .
I would certainly hope that you are not serious. If you are, you'll
be reported to O'Reilly's enforcement division.
Pirating is no joke.
--
Randal L. Schwartz
sorry bob,
I'm a bt confused here as to what exactly the problem is your experiencing
are you unable to connect to mysql db on winxp running activestates perl?
What error do you get?
I would guess this is the case as your PPM dump didn't seem to show a DBD
for mysql. If this is the case, can you
Hello. I was wondering if anyone could tell me how to make a "save" button
on a form, so that the user could download info from a web page. For
example, I'm trying to do what they did here:
http://www.ncbi.nlm.nih.gov/entrez/query.fcgi?CMD=&DB=nucleotide
Is this possible with CGI?
Thanks,
Josi
Believe me, the book is worth much more than the measly $30 or $40 you're
going to spend. Let's not try to rip off the people that put so much time
and effort into not only producing the book, but the language itself.
Unbelievable...Larry certainly deserves a lot more respect than that.
Scot Robn
I am certainly not serious !
For your info >> The Perl CD Bookshelf is available onlne ! >> on this link:
http://www.net-hamster.org/Perl/Perl%20Bookshelf/prog/index.htm
and on this link too :
http://www.f1.com.ua/ora/perl/
Take Care
:-)
- Original Message -
From: "Randal L.
25 matches
Mail list logo