Mark,
I'm kind of new with perl, but from what I see, you're using a single
quote when defining $sql, and it should be qq for the interpolated string.
With the single quote (q) it is a literal. Hope this helps.
On Friday, December 30, 2011 11:17:30 AM Mark Haney wrote:
> I'm not sure
On Saturday 22 November 2008 11:23:28 pm Owen wrote:
>
> I apologize for not having the rest of your thread, but don't forget
> that CGI::Carp can be used, one use is in the set_message routine
>
> use CGI::Carp qw(fatalsToBrowser set_message);
> set_message("Please report details of this error to
> On Friday 21 November 2008 11:23:11 am you wrote:
>> On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote:
>> >
>> > If the open failed then wouldn't the die kick in and at least say
something in the server logs? Also how would one go around and
>> get a
>> > more descriptive error message? F
On Friday 21 November 2008 11:23:11 am you wrote:
> On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote:
> >
> > If the open failed then wouldn't the die kick in and at least say
> > something in the server logs? Also how would one go around and get a
> > more descriptive error message? For te
On Tue, 2008-11-18 at 10:49 -0500, Adam Jimerson wrote:
> Matthew Whipple wrote:
>
> >
> > The open must have failed. You could work on getting a more descriptive
> > error message but I'd suggest starting with the the path and
> > permissions. Also check to make sure existing files are handled
Matthew Whipple wrote:
>
> The open must have failed. You could work on getting a more descriptive
> error message but I'd suggest starting with the the path and
> permissions. Also check to make sure existing files are handled
> properly. Make sure the path used is relative to its environment
On Sun, 2008-11-16 at 21:31 -0500, Adam Jimerson wrote:
> On Sunday 16 November 2008 9:10:19 pm you wrote:
>
> >
> > You'll want to look in the error log to see what is there.
> >
> > Sean
>
> All the Apache error logs says is "print () on closed Filehandle OUTFILE at
> /srv/www/cgi-bin/upload l
Matthew Whipple wrote:
>
>
> The die message would most likely be written into the server's log. A
> quick fix to more easily get the error messages would be using
> CGI::Carp, a "use CGI::Carp qw(fatalsToBrowser)" should show you the
> error on the page.
Using CGI::Carp didn't produce any err
On Nov 17, 1:54 am, [EMAIL PROTECTED] (Owen) wrote:
> On Sun, 16 Nov 2008 16:05:15 -0500
>
> Adam Jimerson <[EMAIL PROTECTED]> wrote:
> > I'm trying to make a CGI script to upload files remotely onto my
> > server, to get around my uni blocking everything but port 80, but I
> > have ran into a prob
On Sunday 16 November 2008 9:10:19 pm you wrote:
>
> You'll want to look in the error log to see what is there.
>
> Sean
All the Apache error logs says is "print () on closed Filehandle OUTFILE at
/srv/www/cgi-bin/upload line 46", but I do have the filehandle open in the
script.
--
"We must pl
On Sun, Nov 16, 2008 at 4:05 PM, Adam Jimerson <[EMAIL PROTECTED]> wrote:
> I'm trying to make a CGI script to upload files remotely onto my server, to
> get around my uni blocking everything but port 80, but I have ran into a
> problem with it. I followed the documentation on CPAN for uploading
>
> Running it locally prints out the generated HTML and it looks right and the
> page does open correctly on my server but there is not file in /tmp and the
> mail is never sent and I don't know if it is a problem with opening the
> OUTFILE handle because the die command doesn't kick in from
On Sun, 16 Nov 2008 16:05:15 -0500
Adam Jimerson <[EMAIL PROTECTED]> wrote:
> I'm trying to make a CGI script to upload files remotely onto my
> server, to get around my uni blocking everything but port 80, but I
> have ran into a problem with it. I followed the documentation on
> CPAN for upload
On 2/7/07, I BioKid <[EMAIL PROTECTED]> wrote:
I have a compiled perl-cgi program (using perlcc compiled on a 32bit Linux
Machine), now I have moved my program to another machine (64bit). Now I am
not able to run the program.
Have you tried running the non-compiled version (i.e., your real Pe
Hi Wiggins,
Nope, that's all news to me! Thanks for the help, I'll
look into it.
Denzil
--- Wiggins d'Anconia <[EMAIL PROTECTED]> wrote:
> Denzil Kruse wrote:
>
> Have you read:
>
>
http://search.cpan.org/src/GAAS/libwww-perl-5.803/README.SSL
>
> And do you have an appropriate SSL interface
Denzil Kruse wrote:
> Hi all,
>
> I'm trying send an https post:
>
> my $url = "https://some.secure.server/secure.dll";;
>
> my $ua = LWP::UserAgent->new;
>
> # assemble the request
> #
> my $request = HTTP::Request->new(POST => "$url");
> $request->content_type('application/x-www-form-urlencod
On Tue, Feb 08, 2005 at 11:43:05AM -0800, Chris Schults wrote:
> In both cases, our visitors swear that they are linking to these scripts
> from valid Grist pages. Any ideas why some people are getting the error
> messages?
The referer header is optional, and when it is used there are a number
of
Wiggins d Anconia wrote:
You haven't shown us your 'use' statements, I suspect you didn't import
the LOCK_ constants,
perldoc -f flock
Adding:
use Fcntl ':flock'; # import LOCK_* constants
Should help.
I think you need to do:
use Fcntl qw(:DEFAULT :flock);
or else Perl will complain about O_RDW
> Variations on the following code snippet have run successfully before,
> but now the compiler halts with the complaint
> " Bareword "LOCK_EX" not allowed while "strict subs" in use at
> student_info_viewer.cgi line 47"
> Can someone help me see what I am overlooking?
>
You haven't shown us you
Kasturirangan Rangaswamy wrote:
I have a perl program that has an include directive calling another Perl program in
it. The
structure is somewhat as follows
first.pl
--
#!/usr/local/bin/perl
require "second.pl"
$q = new CGI;
print $q->hidden(-name='first', value='1');
second($q);
End of f
Octavian Rasnita wrote:
Hello all,
Does anyone know how can I configure the installation for a perl module if I
want to install it using CPAN library?
I want to install the perl module DBD::mysql and if I try:
perl -MCPAN -e "install DBD::mysql;"
It fails installing the module and it tells me th
Shalabh wrote:
> i have a | delimited text data file and i want a perl script which
> accepts an input from a textbox on a html page(search.html) and
search the
> lines containing that string and displays them in a html page
> format(show.html). Any help is appreciated. the html code for search
> many ways to solve the problem. Amongst the real issues that
> the person will ultimately need to work out is whether it is
> really SANE to be writing temp files to begin with I mean
Yes! That is the other thing. If you write a script that writes temp
files you should consider it LOCAL ON
On Wednesday, Sep 17, 2003, at 18:02 US/Pacific, Dan Anderson wrote:
[..]
It is possible to use .htaccess files, apache config directives, and
burying 777 directories in 700 directories to add to the security of
having a 777 directory.
dan,
my complements! on the XML.document - and yes, there ar
> less acceptable on more and more web-sites. Prudence
> generally dictates 755 where other members of your group
> and the rest of the world can read and execute.
It is possible to use .htaccess files, apache config directives, and
burying 777 directories in 700 directories to add to the securi
On Wednesday, Sep 17, 2003, at 14:15 US/Pacific, John Park wrote:
[..]
Although I don't understand why I can't write to the same directory
my CGI scripts are located in. I've done this before on Free Webhosts
like tripod and netfirms.
[..]
while we are all deeply and emotionally committed
to our
On Wednesday, Sep 17, 2003, at 18:50 US/Pacific, ram Osuri wrote:
I agree with your assesment .. to solve this problem you might want to
do a
chmod 777 newfile.txt and then run the program it will work then
Actually there are two problems with this.
a. there is no reason to set the execute bits
On Wednesday, September 17, 2003, at 03:56 PM, drieux wrote:
Remember that most web servers are running as the
web-server uid - www or apache - and so can only 'write'
where that uid has 'write permission'. It can of course
read/execute anything that is 'world readable/executable'
but as a genera
On Wednesday, Sep 17, 2003, at 11:59 US/Pacific, John Park wrote:
[..]
This is what my script looks like:
#!/usr/bin/perl
use CGI;
...
...
open(FILE,">newfile.txt") || die("newfile.txt: $!"); #script stops
here due to permissions
[..]
that is the correct syntax - although you might
not want to '
John,
I may be a little old fashioned, however, the code below seems to work
OK.
>open(INFILE, "@info = ;
>close(INFILE);
Sincerely in Christ,
Mark-Nathaniel Weisman
President / Owner
Outland Domain Group Consulting
Anchorage / Washington DC / Bellevue
[EMAIL PROTECTED]
-Original Message
"Nicholas Davey" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> List: news.cgi, open.cgi, login.cgi, home.cgi, zip.cgi, cloute.cgi, and
> about 30 others
>
> All these files are chmod 755, as are the directories they are contained
in,
> and the ones above them as well.
>
> I hope I
--
> From: "Bob Showalter" <[EMAIL PROTECTED]>
> To: "'Nicholas Davey'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Wednesday, June 18, 2003 8:41 AM
> Subject: RE: Problem with script headers.
>
>
> > Nicholas Davey wrote
www.vadtec.net
[EMAIL PROTECTED]
- Original Message -
From: "Bob Showalter" <[EMAIL PROTECTED]>
To: "'Nicholas Davey'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 8:41 AM
Subject: RE: Problem with script headers
Nicholas Davey wrote:
> Hi.
>
> Okay, I have been over my script about a hundred times, and
> all my syntax is perfect. However, when I view my page on the net, I
> get this:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration
> and was unable to complete you
uot; <[EMAIL PROTECTED]>
Newsgroups: perl.beginners.cgi
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 2003 12:57 AM
Subject: RE: Problem with script headers.
> Nicholas Davey <[EMAIL PROTECTED]> wrote:
> :
> : I hope I gave you enough info to maybe see
> : why inde
aders" which means the script isnt even running
fully before the problem arises.
www.vadtec.net
[EMAIL PROTECTED]
- Original Message -
From: "Charles K. Clarkson" <[EMAIL PROTECTED]>
Newsgroups: perl.beginners.cgi
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 18, 20
Nicholas Davey <[EMAIL PROTECTED]> wrote:
:
: I hope I gave you enough info to maybe see
: why index.cgi is the only freaking page that
: doesnt work.
IMO you have two choices.
1 - Hire a programmer to debug it and
have her sign a confidentiality agreement.
2 - Post the code for index.c
uot; <[EMAIL PROTECTED]>
Newsgroups: perl.beginners.cgi
To: "Nicholas Davey" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Sunday, June 15, 2003 1:26 AM
Subject: RE: Problem with script headers.
> What are the permissions set to? Have you chmod'd to 755 (-r-x)?
Permissi
On Friday, Jun 13, 2003, at 07:45 US/Pacific, Nicholas Davey wrote:
[..]
failed to open log file
fopen: Permission denied
[Fri Jun 13 07:45:57 2003] [error] [client 64.207.81.146]
Premature end of script headers: /cgi-bin/index.cgi
Don't worry about the path. All that matt
--- Nicholas Davey <[EMAIL PROTECTED]> wrote:
> Hi.
>
> Okay, I have been over my script about a hundred times, and all my
> syntax is perfect. However, when I view my page on the net, I get
> this:
>
> Internal Server Error
> The server encountered an internal error or misconfiguration and was
What are the permissions set to? Have you chmod'd to 755 (-r-x)? Permission
will be denied unless the script is set to executable.
How can we verify that your content headers are perfect unless you post the
code? You tell us not to worry about the path and ask us to figure out what
could be wrong,
none).
$test =~ /foo.*?bar/;
Also...
+ = 1 or more (greedy)
+? = 1 or more, non-greedy.
Rob
-Original Message-
From: Rob Benton [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 2:07 PM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Problem with regular expressions!!!
H
How does it translate?
* = 0 or more of preceding char
? = 1 or 0 of preceding char
*? = ???
On Tue, 2003-03-18 at 21:41, Michael Kelly wrote:
> On Tue, Mar 18, 2003 at 05:53:45PM -0600, Rob Benton wrote:
> > It looks odd to me b/c * and ? are both quantifiers...
>
> * and ? alone are both quan
On Tue, Mar 18, 2003 at 05:53:45PM -0600, Rob Benton wrote:
> It looks odd to me b/c * and ? are both quantifiers...
* and ? alone are both quantifiers, but *? is a non-greedy *.
--
Michael
[EMAIL PROTECTED]
http://www.jedimike.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional c
On Tuesday, Mar 18, 2003, at 15:46 US/Pacific, Peter Kappus wrote:
I also had no problem...
"myfile.jpeg" =~ /(.*?)\.(.*)/;
print $2;
gives me "jpeg"
Can we see the rest of your code?
I think the problem may be in the value of $file_completename...
[..]
I think the OP may have a problem with wh
Hughes, Andrew wrote:
This is a newbie observation, but aren't you not supposed to name one of
your own variables with a number as the first value after a $, @, or % as in
the case of $2? Could this be part of the problem?
Just to make sure this doesn't slip through, in his case $2 refers to
th
I also had no problem...
"myfile.jpeg" =~ /(.*?)\.(.*)/;
print $2;
gives me "jpeg"
Can we see the rest of your code?
I think the problem may be in the value of $file_completename...
-Peter
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
ll keep looking at it.
A questio: Should the 'split' version of the same code be faster?
Original Message Follows
From: "Kipp, James" <[EMAIL PROTECTED]>
To: "'Marcelo Taube'" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
Subject: RE: Problem
It looks odd to me b/c * and ? are both quantifiers which usually
triggers an error when you try to run it. See if this works for you:
$file_completename =~ /([^.]*)\.(.*)/;
On Tue, 2003-03-18 at 15:28, Marcelo Taube wrote:
> As u probably have guessed some part of my code is not working proper
On Tue, 18 Mar 2003, Marcelo Taube wrote:
> As u probably have guessed some part of my code is not working properly and
> i don't understand why!!
>
> This is the code.
> #
> $file_completename =~ /(.*?)\.(.*)/;
> if ($2 eq $extension]) {
> #DO SOMETHING!!!
>
>
> This is the code.
> #
> $file_completename =~ /(.*?)\.(.*)/;
> if ($2 eq $extension]) {
> #DO SOMETHING!!!
> }
> #
did u turn on warnings and use strict ??
did you catch the ] at the end of $extension?
i tried this on
This is a newbie observation, but aren't you not supposed to name one of
your own variables with a number as the first value after a $, @, or % as in
the case of $2? Could this be part of the problem?
Andrew
-Original Message-
From: Marcelo Taube [mailto:[EMAIL PROTECTED]
Sent: Tuesday,
On Wednesday, Mar 5, 2003, at 17:44 US/Pacific, mel awaisi wrote:
[..]
Could someone please look at my script and tell me why i am getting
this!!! please
[EMAIL PROTECTED] cgi-bin]# ./renamer.pl&
[2] 11033
[1] Exit 127renamer.pl
[EMAIL PROTECTED] cgi-bin]# usage: ./renamer.pl in
Hi Mike,
Are you sure sendmail is up and running ok on the box?
joel
-Original Message-
From: Mike Butler [mailto:[EMAIL PROTECTED]]
Sent: 13 January 2003 14:18
To: [EMAIL PROTECTED]
Subject: Problem Installing the NMS FormMail program
I'm trying to install the NMS FormMail program on
Anette Seiler wrote:
Is there some central variable in Linux which gives the character set
used? I ask, because I seem to have this problem all over. Nedit or Vim
cannot display diacritics, even the console has problems.
Yes, the (my) variables are:
LANG=cs_CZ
LANGUAGE=cs
LC_ALL=cs_CZ
LC_CTY
$self->{_Email} =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ || $self->{_Email} !~
/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,3}|[0-9]{1,3})(\]?)$/
should be
$self->{_Email} =~ /(@.*@)|(\.\.)|(@\.)|(\.@)|(^\.)/ || $self->{_Email} !~
/^.+\@(\[?)[a-zA-Z0-9\-\.]+\.([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/
Regards,
on Sat, 10 Aug 2002 07:41:39 GMT, Soheil Shaghaghi wrote:
> The following sub checks for bad e-mail address, and reports it:
[code snipped]
> However, the code is rejecting the domains ending with .info, and
> .name (the reason is that it has 4 digits after the zero)
> Can someone please tell m
> -Original Message-
> From: Soheil Shaghaghi [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, July 27, 2002 1:43 AM
> To: [EMAIL PROTECTED]
> Subject: problem with O_RDONLY
>
>
> Hello everyone,
> I have a program that uses "O_RDONLY" extensively.
> After upgrading to Perl 5.6.1, every time
> -Original Message-
> From: CMS [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, April 27, 2002 10:11 PM
> To: cgi
> Subject: problem with #exec
>
>
> Here one,
>
> I have the
> on our web page,
>
> this error is display were the tag is:
>
> [an error occurred while processing this direc
7;Phinney" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 4:10 PM
Subject: Re: problem with #exec
On Sat, 27 Apr 2002 22:11:18 -0400, Cms wrote:
> I have the on our web page,
> this error is display were the tag is:
> [an error occurred while processing t
On Sat, 27 Apr 2002 22:11:18 -0400, Cms wrote:
> I have the on our web page,
> this error is display were the tag is:
> [an error occurred while processing this directive] on the website,
> and this is the error in the log file;
>
> [Sat Apr 27 20:37:18 2002]
> httpd: exec used but not allowed
>
> 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 < To:
[EMAIL PROTECTED] (T3tsu0) writes:
> sub send_mail {
> open(MAIL,"|$mail_prog -t") || &error("unable to send mail to:
> $to_name - $to_addr");
[...]
> close(MAIL);
you really want to put error checking on the close() too. In many
cases you won't be told until then if the open fa
print MAIL "Subject: $subject\n";
print MAIL "$content\n";
close(MAIL);
print "Mail to: $to_name - $to_addr, completed.";
}
-Original Message-----
From: Aman Raheja [mailto:[EMAIL PROTECTED]]
S
Aman Raheja [[EMAIL PROTECTED]] quoth:
*>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") || di
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]>
>To: [EMAIL PROTECTED], [EM
t; <[EMAIL PROTECTED]>
To: "ChaoZ InferNo" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, April 10, 2002 9:20 PM
Subject: Re: Problem in retrieving param from cookie
> Have you tried the following?
>
> my %answers = $q->cookie("my_cookie
Have you tried the following?
my %answers = $q->cookie("my_cookie");
print "$answers{q1} $answers{q2} $answers{q3}"; #etc...
Carl
> Let's say if I create a cookie with $questions and $answers value pairs
> where $questions consists of q1, q2, q3, q4, q5, while $answers consists of
> a1, a2, a3,
Is that PWS in terms of Personal Web Server by MS ? If I didn't remember
it wrongly,
you can't run perl script there, but ASP instead.
Anyway, if you try to run CGI, I would like to tell the CGI-BIN is just the
location
where your scripts are putting in ( Maybe a virtual directory, depends on
y
--- Charles Waterman <[EMAIL PROTECTED]> wrote:
> When I try to run a CGI script on my webhost server with "use CGI
> qw/:standard/;" it does not work. What up with that
"use CGI qw/:standard/;" is perfectly valid syntax (and even good practice). However,
"it does
not work" does not give
--- fliptop <[EMAIL PROTECTED]> wrote:
> try doing this:
>
> use CGI;
> use Data::Dumper;
> my $Q = new CGI;
> my $ACTION = $Q->param('action') || '';
> print "ACTION: ", Dumper($ACTION);
>
> and see what you're getting for $ACTION
Perhaps even better would be to do this:
print Dumper( $Q
[reply cc'd to list]
Kris Seraphine wrote:
> yes it is.
unless you have it spelled wrong in the form, i don't see why it
shouldn't be working.
try doing this:
use CGI;
use Data::Dumper;
my $Q = new CGI;
my $ACTION = $Q->param('action') || '';
print "ACTION: ", Dumper($ACTION);
and see what
Kris Seraphine wrote:
> I want to use one script with multiple functions to
> process a variety of forms/information.
>
> in my script I declare the action variable and give it
> instructions:
>
> # get the action
> my $ACTION = $Q->param('action') || "";
> if ($ACTION eq "check_password")
is
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 24, 2001 4:56 AM
> To: [EMAIL PROTECTED]
> Subject: Problem in require function with strict
>
>
> Here the situation:
>
> I am doing a perl program to do some exams and quiz to the
> em
perl.beginners.cgi
> Date: Sun, 3 Jun 2001 00:59:20 -0300 (ADT)
> To: Derek Duhon <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: Re: problem
>
> You should escape all of the quotes that you want printed.
>
> print "Content-type:
> text/html\n\nEn
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 11:23 AM
> To: CGI Beginners
> Subject: problem using script as ssi
>
>
> i have the following script:
>
> #!/usr/bin/perl -w
>
> use strict;
>
> my $file = /path/to/pancho-u
--- Craig Monroe <[EMAIL PROTECTED]> wrote:
> Folsk,
> Forgive me. I am new to the list and cgi's in general.
> I decided that I wanted to test my scripts locally,
> before I implement them and/or debug them on the remote server.
> So, I build a unix box for my house. My problem is that when
> I
[reply posted to list]
Daniel Falkenberg wrote:
>
> Sorry mate. I run an apache webserver on a Linux 7.1 server.
>
> Does this make any real difference though?
if you run apache, consider adding mod_perl. then consider using
authentication and authorization to solve your problem. with about
First you should always use strict. It'll help catch things like your misspeling
of jonh. The request you are sending is for a POST, which means that the
form data has to be passed in the body of the request, which you forgot to do.
So just add:
$req->content($john);
Correct the spelling mista
St.
Georgetown, TX 78626
email: [EMAIL PROTECTED]
-Original Message-
From: Bill Wood [mailto:[EMAIL PROTECTED]]
Sent: June 04, 2001 19:19
To: Derek Duhon; [EMAIL PROTECTED]
Subject: Re: problem
Derek,
I think your best solution is to use print qq(.); instead of print
"
Derek,
I think your best solution is to use print qq(.); instead of print ".";
print (Content-type:
text/html\n\nEndless!$currentPrevious Page | Next
Page);
>- Original Message -
>From: Derek Duhon <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Sunday, June 03, 2001 11:2
I think you may try to use :
print "Content-type: text/html\n\n";
print "...";
print "other statements";
- Original Message -
From: Derek Duhon <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 03, 2001 11:29 AM
Subject: problem
I have a print statement that pr
ED]>
To: Derek Duhon <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 2:23 PM
Subject: Re: problem
>
> - Original Message -
> From: "Derek Duhon" <[EMAIL PROTECTED]>
> To: "Ãèªá¤ô¤ë" <[EMAIL PROTECTED]>
&g
- Original Message -
From: "Derek Duhon" <[EMAIL PROTECTED]>
To: "Ãèªá¤ô¤ë" <[EMAIL PROTECTED]>
Sent: Sunday, June 03, 2001 11:22 PM
Subject: Re: problem
> An update on my little problem
> I took the advice many of you gave me, and escaped out
The query string holds the contents of all variables passed to the script, not
a single variable. It's a string. In the lines:
$next = ++$current;
$prev = --$current;
what you're doing really is increment the value of $current and assign the new
value to $next. Same thing for $prev which equ
You should escape all of the quotes that you want printed.
print "Content-type: text/html\n\nEndless!$currentPrevious Page | Next
Page";
Johnathan Thibodeau
Pound bang user bin perl
fork while true
On Sat, 2 Jun 2001, Derek Duhon wrote:
> I have a print statement that prints out an html pag
86 matches
Mail list logo