Dale wrote:
Hi,
I'm hoping someone can help me with an issue I've got with, I assume,
sendmail.
I've copied part of a script below. If I use the first To: line (which
takes the e-mail address from a file - and this works) then a mail
doesn't arrive. If, however, I used the second To: line
Charles K. Clarkson wrote:
Scott R. Godin mailto:[EMAIL PROTECTED] wrote:
: Regrettably this isn't getting me any closer to a resolution --
: what about the code? can anyone see anything I might have
: overlooked? done wrong? should it, in fact, be working right
: now?
Did you test
Scott R. Godin wrote:
script is at http://phpfi.com/78748
Possibly used the wrong web browser to upload the file. Not all of them
support this feature. Firefox does not. It will however provide the CGI
script with the file name.
Firefox doesn't support file uploads? I use it all
Wiggins d'Anconia wrote:
Bill Stephenson wrote:
On Sep 16, 2005, at 7:51 PM, Scott R. Godin wrote:
Wiggins d'Anconia wrote:
Scott R. Godin wrote:
script is at http://phpfi.com/78748
I followed the instructions in CGI.pm as best I could, and from what I
read the upload() function is supposed
Wiggins d'Anconia wrote:
Scott R. Godin wrote:
script is at http://phpfi.com/78748
I followed the instructions in CGI.pm as best I could, and from what I
read the upload() function is supposed to return a filehandle ? (it
doesn't say whether this is a direct FH to the tempfile or not)
I had
Vance M. Allen wrote:
Sorry if the cross-posting wasn't appropriate, but I need help with this and
am not sure if it's more appropriate to post under CGI or DBI since it
involves both...I want to be sure that I can get help from the best source.
My question is probably a simple answer, but I
script is at http://phpfi.com/78748
I followed the instructions in CGI.pm as best I could, and from what I read the
upload() function is supposed to return a filehandle ? (it doesn't say whether
this is a direct FH to the tempfile or not)
I had dome some preliminary testing with one-liners
Todd W wrote:
Scott R. Godin [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[snip]
able to simply add ?step=confirm or ?step=finish to the form action
( -action=$htmlform{action}?step=confirm, ... )
[snip]
You could refer to the CGI.pm docs, specifically the part about mixing
I have a multi-stage cgi I'm currently working on, and as I progress thru the
stages (the form uses POST not GET for reasons of data-size) I was hoping to be
able to simply add ?step=confirm or ?step=finish to the form action
( -action=$htmlform{action}?step=confirm, ... )
However it's not
Scott R. Godin wrote:
Ovid wrote:
--- Scott R. Godin [EMAIL PROTECTED] wrote:
his example and in which case you want to get the params AFTER
creating the cgi-object
my %params = $cgi-Vars;
which ensures that you also get multi-value selects as separate
values. too.
$cgi-Vars
Scott R. Godin wrote:
Ovid wrote:
--- Scott R. Godin [EMAIL PROTECTED] wrote:
his example and in which case you want to get the params AFTER
creating the cgi-object
my %params = $cgi-Vars;
which ensures that you also get multi-value selects as separate
values. too.
$cgi-Vars
Bob Showalter wrote:
Scott R. Godin wrote:
under what circumstances is the CGI.pm's STORE autoloaded method
called?
is it used only when you assign values to the object, or is it only
used when receiving values (or multi-values) from the webserver query?
It is part of the tied hash
under what circumstances is the CGI.pm's STORE autoloaded method called?
is it used only when you assign values to the object, or is it only used
when receiving values (or multi-values) from the webserver query?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
Ovid wrote:
--- Scott R. Godin [EMAIL PROTECTED] wrote:
his example and in which case you want to get the params AFTER
creating
the cgi-object
my %params = $cgi-Vars;
which ensures that you also get multi-value selects as separate
values. too.
$cgi-Vars separates multiple values with a null
.
Or you may need to run somethings thru a dumb regex, which will
satisfy the taint checking. It's a dirty hack, but you can do
sub untaint_me{
my $in = shift;
$in =~ /(.*)/;
return $1;
}
which totally obviates the whole reason for using the -T switch to begin
with, but anyway...
--
Scott R
SOMETABLE; or however they do it.
--
Scott R. Godin
Laughing Dragon Services
www.webdragon.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
need to limit.
--
Scott R. Godin
Laughing Dragon Services
www.webdragon.net
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/ http://learn.perl.org/first-response
] there is a convenient shortcut for another
CGI.pm trick : passing an arraryref to one of the subs will span it
across the contents.
print Tr( td( [ qw{ cat dog bird fish } ] ));
results in
tr
tdcat/td
tddog/td
etc..
/tr
--
Scott R. Godin
Laughing Dragon Services
www.webdragon.net
--
To unsubscribe, e
from the
directory itself.)
);
push @table, ( p({-align='center'}, submit(-name='delete',
-label='Remove Selected Images') ), end_form() );
return @table;
}
then somewhere in the middle of the other html output I need merely do
print existing_images($requested_itemid);
--
Scott R. Godin
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Scott R. Godin) wrote:
Many thanks to all of you who responded. :-) One of the things I love
the most about these lists -- that one can get so many different
perspectives on a problem and solution, because it gives one so much
more
pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so
*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my mailbox
.
{MASSIVE snippage}
uh, not to mention REAMS of attributes and quoted text (ugh) that were
better left unposted. =:P
print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services
more frequently than the
one on the website is. (for mysterious reasons known only to Lincoln :-)
print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net
stupidly simple
it's like.. magic :)
print pack H*, 4a75737420416e6f74686572204d61635065726c204861636b65722c0d;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean
more use than attempting to include dozens of font tags and color tags
and whatnot.
Also a validator like http://validator.w3.org/ and the companion CSS
validator, are of inestimable use.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http
Specification V2.1//EN
http://www.w3.org/XML/1998/06/xmlspec-v21.dtd;
CGI.pm emits an XHTML header by default, unless you specify -no_xhtml in
the invocation of use CGI qw/ :blah -no_xhtml /;
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http
' warnings quite nicely though.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via nntp.perl.org, so as to get the stuff OUT of my
to that file, but if they have viewed it
before, they are getting the old file.
thanx
try the -expires=$value pair in the start_html() function of CGI.pm
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary
to test Perl
scripts only on servers or it can be done on my PC? And
what does it mean: Type % perl -e 'print join(\n,@INC)' ? Where should
I type it?
Thanks a lot.
get ActiveState's perl for Windows.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web
();
command-click the word 'vec' while in MacPerl and MacPerl hands it off
to Shuck which looks up the term in the pod files. (in this case,
perlfunc.pod)
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary
does.
MacPerl does have support for one-liners, but in a slightly different
manner from what you're used to, since the ClassicMacOS doesn't have and
never has had (or needed, IMHO), a command-line.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http
place, but perhaps I misunderstand the
end-result you're looking for.
:-)
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail unless you mean to speak off-group.
I read these via
^^
funny, I parsed this as 'complex paper folding' :-)
http://dbi.perl.org
http://www.mysql.com
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
It is not necessary to cc: me via e-mail
escapes)
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
1997.
Everyone's SO scared of scaring customers with broken web-browsers away
from their sites, that they practically ENCOURAGE the browser
manufacturers to continue their sloppy practices.
I curl my lip at you, you shoddy browser-manufacturing-person.
*snicker* :D
--
Scott R. Godin
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Ask Bjoern Hansen) wrote:
[EMAIL PROTECTED] (Scott R. Godin) writes:
aside from the mailing lists @apache.org I haven't seen much else, and
having a fair preference for a usenet-style discussion as opposed to a
mailing list format
version of the
latest... Lincoln doesn't always update the website link above, but what
comes with CGI.pm is *always* updated. :)
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED
of:
print $params{q001}\t$params{q002}\t ... $params{q100}; # 100 times
Perl is designed to give you several ways to do anything, so consider
picking the most readable one. - Larry Wall
heh =] darn skippy.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services
return
hehehe :)
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
, they
found a way to get off the list.
now you all know why I would choose a usenet newsreader over a mailing
list every. single. time. whenever possible.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
--
To unsubscribe, e
is there a reasonably simple way for a cgi script to tell whether it's
being accessed through SSL or not? just curious. I'd like to play with
the thought a bit, and want to have my test script report an error if it
gets accessed without SSL.
--
Scott R. Godin| e-mail : [EMAIL
script with CGI-compile(':all'); in it?
just curious.. the docs are a little vague on this point.
--
Scott R. Godin| e-mail : [EMAIL PROTECTED]
Laughing Dragon Services |web : http://www.webdragon.net/
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Guy Tubbs) wrote:
but it does the same thing, i.e. I get:
Line1br
Line2
What I need is:
Line1brLine2
Do you know how to get rid of the returns altogether?
s/\015\012|\015|\012/br/g;
--
Scott R. Godin| e-mail
44 matches
Mail list logo