Nope.
Can [you] please post some code?
Can you write a minimal script -- even just
#!perl
print "Content-type: text/plain\n\nTesting 1 2 3\n";
that does work on the server?
If so, that helps narrow down whether it's a server config issue, a
script issue, or what have you.
But so far there isn't enough information to provide more feedback.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
b.
>
> Anyone could help me ?
Probably.
Are you examining the %ENV hash ?
It will have hints as to how the script was invoked.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
il. Maybe I
wasn't looking hard enough.
Demonstrate that you're trying to solve this yourself, and we will be
happy answering any questions that come up as you're learning.
Starting points: <http://learn.perl.org/>, O'Reilly books, Google.com.
--
Chris Devers
--
To
ys to get access to these books, including O'Reilly's
Safari book subscription service, your favorite local or online
bookstores, and good old public libraries.
I'd have expected someone with a .gov address to be more cognizant of
such flagrant circumvention of copyright law... :-)
running is broken.
Either way, it sounds like a SQL Server admin config issue, not CGI.
--
Chris Devers
by¯LcìØL è
8
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
didn't really mean | | over ||, right ? :-)
I still think 'or' is clearer than '||' for this kind of thing, but if
PBP had a different rationale I can't remember what it was...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
On Tue, 1 Nov 2005, Adedayo Adeyeye wrote:
> my $action = param('form_action');
Try setting a default value when 'form_action' isn't specified:
my $action = param('form_action') or '';
Or set it to 0, or 'do nothing' or und
a CGI question; your first priority here seems to be to sort
out exactly how this is all supposed to be interoperating in the first
place. Once you have a clearer sense of that, implementing the specific
components of the system should get easier for you.
--
Chris Devers
--
To unsubscribe, e-
tions.
Is there a module which works in this way?
Yes: Expect.pm
How can I do?
Read the documentation, then write a program that uses Expect.pm.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org
and getting everything
working together from there? Give it a try, then if you get stuck feel
free to come back to the list with specific questions and code.
--
Chris Devers
ÁS¶9êN¢9
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Wed, 21 Sep 2005, David Dorward wrote:
> XHTML 1.1 is XHTML 1.0 Strict with Ruby added.
Really?
As in the scripting language Ruby?
Weird...
--
Chris Devers
öQKÂmÝg5¾ÿ
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
&l
You may be able
to come with some kind of Javascript hack that works with both of them
as well as Internet Explorer, but have fun trying to maintain it.
What have you tried so far?
--
Chris Devers
ÌEÚĹ©
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
s into smaller scripts -- just as when to
start breaking things into smaller subroutines -- is largely a matter of
personal preference, based on your own personal experience with writing
and maintaining your code over time.
--
Chris Devers
5dåt²Ä»C"
--
To unsubscribe, e-mail: [EMAI
a *page* (though that file can be accessed
as a page, depending on where it is and how your web server is set up).
I'm not sure what you mean by "must be a file ... or ... normal variable
... or ... filehandle"; the way you write this implies that it's one, or
the other, or t
nt
across the internet in the clear for anyone to see.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
qq|\n|
qq|2\n|,
qq|\n|;
}
Or something like that.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
not least because it is bundled with Perl itself,
so you shouldn't have to install anything extra to run it.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Thu, 7 Jul 2005, David Dorward wrote:
> On Thu, Jul 07, 2005 at 11:42:29AM -0400, Chris Devers wrote:
>
> > > It isn't possible. For that sort of thing you'll need something like
> > > an ActiveX control with permission to read the user's file system
d you get the result you need by some way other
than figuring out remote file paths ?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Tue, 28 Jun 2005, Bill Stephenson wrote:
> On Jun 28, 2005, at 12:40 PM, Chris Devers wrote:
>
> > No, but it can be done trivially in software.
> >
> > $ lynx -dump -source http://devers.homeip.net:8080/frametest.html
> >
thing exotic on the clickthrough target to
obscure things, because the frameset is already providing, for free, as
much obfuscation as you can reasonably expect to be possible. So, no
need to force all data through as POST data, no Apache trickery, etc.
--
Chris Devers
--
To unsubscribe,
$diskKey) ) {
...
}
foreach $subKey ( $diskKey->SubKeyNames ) {
...
}
$diskKey->AllowSave( 1 );
$diskKey->RegSaveKey( "C:/TEMP/DiskReg", [] );
I'm not a Windows programmer, so I can't vouch for how well this stuff
ill work just fine.
> Thank you.
You're welcome.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
27;re trying to work on a file in a nonexistent directory, you
probably won't get very far... :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
T_NTOA('STR')
I assume you're describing things like gethostbyaddr / gethostbyname /
getnetbyaddr / getnetbyname / etc.
All of these have perldoc -- `perldoc of gethostbyaddr` etc -- as well
as sections in all the main Perl books: _Programming Perl_, _Perl in a
Nutshell_, _Perl Co
way is this a CGI question?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
return just the data you want,
rather than return too much and throw some of it away in your code.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
directMatch /pages?id=(.*) http://mysite.com/pages/$1
Won't that work?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ebminguide/>
This may be an easier approach to the problem...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
thon's main offering) or the many suites
that are now available with PHP.
I'd be delighted to be corrected about this, but it seems like most of
the people that are working on such frameworks are using other languages
these days.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL
list and ONLY to
that list. It helps nothing to cross-post, and only annoys people.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
he pages and the client -- both Apache and Squid can do this,
among others.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
end up having to constantly adjust
it to handle all the special cases that come up over time.
If you just parse it at the outset, such as with HTML::SimpleLinkExtor,
then the code should be simple, robust, and useful for a long time.
--
Chris Devers
--
To unsubscribe, e-mail: [EMA
ers $URL`, or an
equivalent such as the command line tools that are installed [on Unix
systems] with Bundle::LWP from CPAN. In this way, you should be able to
see pretty clearly where things are breaking down, and you won't be
distracted by what the browser is doing in the background, because it
Don't bother; use WebDAV and let them mount a web folder as
a local directory tree in Windows Explorer or Mac Finder:
<http://www.webdav.org/>
<http://www.webdav.org/mod_dav/>
* If you're hell-bent on writing something, what have you got so far?
--
Chr
On Tue, 16 Nov 2004, Michael S. E. Kraus wrote:
> Err... how do I clear the browser's cache?
That depends on what browser you're using!
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.
On Tue, 26 Oct 2004, Adamiec, Larry wrote:
> This link may be of help to some people.
>
> http://www.samag.com/documents/s=9408/ur0411l/
I bet it would go over even better on the CGI list :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
gt; If you like them - you should buy them!
If you like them - you shouldn't pirate them!
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ore( $URL, "/var/www/html/$remote_user/$file );
will work better...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ral approach can be applied to lots of situations, including
the one that you're describing.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ash{$key};
}
etc.
Or just
foreach $key ( sort keys %hash ) {
my $value = $hash{$key};
}
to skip the temp variable.
Make sense ?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/&
downloaded from:
<http://nms-cgi.sourceforge.net/scripts.shtml>
If the formmail you are using is not this one, it probably should be.
Download that one and read over the documentation it provides, then try
to install it and let us know -- in some detail -- if anything breaks.
--
up:
<http://www.perl.com/pub/a/2002/12/04/mod_perl.html>
<http://perl.apache.org/docs/1.0/guide/performance.html#Preloading_Registry_Scripts_at_Server_Startup>
And for a Apache 2 / mod_perl 1.99 overview:
<http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts&
On Sat, 18 Sep 2004, Gunnar Hjalmarsson wrote:
> Chris Devers wrote:
> > if you need a speed boost then the best strategies are to [a] use a
> > smaller subset of CGI.pm,
>
> Does that really make a lot of difference?
That was my understanding, but I admit I haven't
n problems? Or is this somehow taken care
> of?
Yes, it's an issue. That's what `flock` is for.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
keep using the OOP style, I think I will
> start using the functional one... (hoping that it will work faster).
I don't *think* there should be a whole lot of speed difference here,
though of course the way to know that for sure is to benchmark them.
--
Chris Devers
--
To unsubscribe,
f the books, Shawn Wallace, has put samples online at:
<http://www.as220.org/shawn/PGP/>
There are some others, but I::M is the big one by far...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On Wed, 15 Sep 2004, hcohen2 wrote:
> Chris Devers wrote:
>
> > On Wed, 15 Sep 2004, hcohen2 wrote:
> >
> > > However, there is a reader's review of the first edition that seems to
> > > ring true and, moreover, is not complimentary.
>
> (main guide)
<http://bulknews.net/lib/mod_perl_guide/help.html> (supplements)
These give a decent overview of the documentation available. If you
really want to learn this stuff well, mod_perl is the way to go.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
ners list at the same time. Please do not do that.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
like the site still holds up
reasonably well on every browser I've wanted to try it on -- basically
anything newer than Netscape 4.7. That's good enough for me
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
On a modern browser, stylesheets should be much easier to control than
tables ever were, and will give much better results...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
nerate_and_stash( $stash_img, $CGI );
serve_image( $image );
exit 0;
Fleshing out these subroutines is an exercise for the reader :-)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
et you around the problem of
the images sometimes not showing up -- or so I would hope...
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
re-prepared image before reverting to making a new one. (This
amounts to caching again, but in a smarter way than the other case,
where it may be easier to just put Squid in front of your server...)
Make sense?
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional comma
ou didn't like it over time, you
can always switch to something else.
The best thing to do is just start making your site, using a template
module like HTML::Template to generate the XHTML + CSS layout, and let
the list know if you start having specific problems.
--
Chris Devers
--
To
t did in the cgi-bin directory. if
so, then try setting the name to index.pl, and see if you urls such as
http;//yoursite/project/index.pl
and
http;//yoursite/project/
end up being the same thing. They should be, but test it.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL
ow is going to be phased out. (Well ok
probably not phased out, but new tools will eventually stop supporting
it, so you'll have to use old browswers (etc) to view old documents.)
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<
On Thu, 9 Sep 2004, Gunnar Hjalmarsson wrote:
I can't see what this has to do with HTML parsing.
The immediate problem has nothing to do with parsing, but it seemed like
some of the suggestions given were starting to go in that direction.
Unless I was just misreading things...
--
Chris D
HTML parsing is a real bear to get right. For a limited problem like
this, mucking around with regular expressions isn't so bad, but if you
really want to do it right, it's worth pulling in a parsing engine like
HTML::Parser or HTML::TreeBuilder or something along those lines...
--
Chri
other template frameworks. If you actually,
literally need ASP support, then it is your best bet, but if not you'll
probably find much more mature software and much broader support if you
decide to go with something like Mason or Template Toolkit instead.
--
Chris Devers
--
To unsubsc
but some people like it.
There are others, but these are the big ones.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
If Outlook is doing something funny that you need to replicate or
induce, then maybe the best approach would be to get Perl to drive
Outlook to send your mail by using COM or OLE or something, but I don't
know enough about Windows/Perl programming to walk you through this.
--
Chris Devers
--
thing else might be more appropriate. But
for the common case -- CGI scripts & mod_perl modules -- something like
CGI.pm should do the job just fine.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> &l
near
the stated requirements of the system.
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Christmas Freud'
by David Rakoff
from 'This American Life: Lies, Sissies, and Fiascoes'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional co
oblem...
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Drama Bug'
by David Sedaris
from 'This American Life: Lies, Sissies, and Fiascoes'
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<h
environment variables will be seen by any script that runs on that
server.
How is this supposed to scale for a system that is going to have lots of
users? Update the environment variables with each request? That doesn't
sound very reliable to me...
--
Chris Devers [EMAIL PROTECTED]
get around this is
probably to use mod_perl instead of regular CGI scripts, and then turn
on Apache::DBI for database connection pooling. This can help a lot.
Does this help ? More questions ?
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Mr. Loh's
er the dust has (apparently) settled, I'm still not
keeping all the names straight :-)
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Sesame Street Theme Song (in German / auf Deutsch: "Sesamstrasse")'
by Sesame Street
from 'Ses
use of Access (or a
similar desktop database) is an inappropriate kludge that should not be
used for anything meant to be taken seriously.
From what I've heard, Microsoft makes it very easy for people to upgrade
databases from Access to SQL Server; you should please consider this.
--
that we control, or maybe drive it with OLE or something.
Please show the list what you have so far, and what you're getting stuck
on, including any relevant Perl code and whatever information you have
about this .exe file. With that available, we might be able to help.
--
Chris Devers
On Tue, 24 Aug 2004, Siegfried Heintze wrote:
How do I get the browser's IP address in a server side cgi perl script?
It's in $ENV{'REMOTE_ADDR'}.
Poke at your %ENV hash for other possibly useful values.
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/b
On Sun, 15 Aug 2004, hcohen2 wrote:
Chris Devers wrote:
You're saying that Apache is responding to requests, but you want it
to respond to your CGI script. You need to configure it to do this,
and you need to give it a URL that correctly translates into the
location of a file that Apache
/etc/httpd/httpd.conf # (or wherever it is)
This may help narrow things down.
--
Chris Devers [EMAIL PROTECTED]
http://devers.homeip.net:8080/blog/
np: 'Bright Sunny South'
by Alison Krauss & Union Station
from 'New Favorite'
--
To unsubscribe, e-mail: [EM
set up a challenge / response spam filter on the
email address that he's receiving list mail from.
These messages can be safely ignored.
--
Chris Devers
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://
won't work anywhere else) and some other IP
address which can be reached on the local network & possibly anywhere.
So -- you're not using your server's "real" address, and nothing else
you've done is going to get around this :-)
Make sense?
--
Chris Devers
--
To uns
Another possiblity: you may need to run this with root priviliges, either
by prefixing that line or the whole script with 'sudo' (and using your
account password when prompted) or by placing this in root's crontab.
--
Chris Devers[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
77 matches
Mail list logo