>>well, i've been trying to grap a page from my own site, and it gives
me
>>the same error.
Hi Shahar,
This sends like a code problem then.
Can you post a relevant snippet of your code?
joel
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
V
Shahar,
Can you hit web.icq.com from your web browser (I can) - if so then its
not a web server problem.
Would sound more like that web.icq.com don't like your
useragent/headers/cookies or something (a sort of anti bot/spider
tactic) and are giving you a 500 error.
Can you show us your code?
Are
>Is it possible for a server to see the difference between a browser and
a
>script using the LWP::UserAgent module ? Can I fix this ?
Hi Rene,
I have come across this kind of problem before.
Usually it is the useragent string (try pretending to be IE!) or because
your not sending any cookies.
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
Hi Wagner,
This should do the trick...
$List =~ /^(?:([\d|\.]+)\*)?(\w+)\/(?:([\d|\.]+)\*)?(\w+)$/;
Basically looks like you need a character class to accept a '.' as well.
(However, this reg exp looks like it will let thru 100.0.0.1 is a
number!)
Joel
-Original Message-
From: Wagn
Umm???
Any reason why you don't simply use LWP on Win32?
Think it might even come as standard with ActiveState (if thatÂ’s what
your using).
I've used LWP on Win32 for ages without a hitch.
joel
-Original Message-
From: T. Murlidharan Nair [mailto:nair@;sdsc.edu]
Sent: 28 October 2002 2
Hi,
I need to set up a perl job which will process the lastest entries on an
IIS web logfile.
E.g. every (say) 5 mins, a job will run processing new additions to the
file.
What is the best way to go about this?
Should I (when the process runs):
1) read thru the IIS logfile until I reach the des
Alex,
the answer to this one is probably imagemagick. I have a small photos site
as well and use imagemagick to create all the other sizes from the master
image.
After you have install image magick, the basic syntax is...
use Image::Magick;
$p = new Image::Magick
Octavian,
you could always use LWP::Simple to do a HTTP request (from your main
script) to your function perl cgi program.
e.g.
use LWP::Simple;
$content = get("/cgi-bin/myscript.pl?name=joel&age=32";)
joel
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: 1
Hi Rob,
I'm not a 100% sure of the setup your trying to achieve here but if you are
asking "can I perform an HTTP request over an SSH connection" then I believe
the answer is yes and is achieved via SSH port forwarding which basically
means that you connect to the SSH server on your local machine
Hi Ker,
It'll be the web server which is handling the requests obviously - probably
Apache. If your running Perl CGI without mod perl installed in Apache then
each request for the CGI will, I believe, cause another external process to
be created invoking the system Perl compiler, the compiled resu
Hi Steve,
is this the HTTP PUT method we are talking about which allows resources to
be written to a web server?
If so, obviously the 'out of the box' config for most webservers (inc
Apache) wont allow the anonymous user to write files to the servers file
system (security risk no?). To alter this
Theresa,
one way to go about this is to create your own module which has the
connection details in it (or reads from ENV/external XML file etc) and also
has your data access subroutines. Then instantiate instances of this modules
whereever you need to.
This is the best URL I can find which talks
Hi,
does anyone know of a good (hopefully with GUI) HTTP transaction viewer -
i.e. it proxies between your browser and the internet so that you can view
the HTTP interchange (you can view the request/response etc)
On win32 I have been using the handy HttpTracer but this is not able to
decrypt SSL
Hi Jon,
this sounds like a job for LWP.
e.g.
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
my $req = HTTP::Request->new(POST =>
'http://www.perl.com/cgi-bin/BugGlimpse');
$req->content_type('application/x-www-form-urlencoded');
$req->content('match=www&errors=0');
my $res = $ua->requ
Hi Carlos,
I think mysql, up to a certain amount of concurrent conenctions, will be
faster at returning data than Postgres but Postgres will scale a lot better
than MySQL and can handle many more concurrent requests before showing the
strain. PG also offers stored procedures which I don't think my
John,
are you able to dump the total output (including headers) for this CGI?
joel
-Original Message-
From: John Pitchko [mailto:[EMAIL PROTECTED]]
Sent: 04 July 2002 15:56
To: [EMAIL PROTECTED]
Subject: too many headers from CGI script (max 200)
Hello, I keep receiving the following e
it depends JP, what is your current skill base? what is your shops current
technical strategy?
Also, you would be wise to steer clear of any "I hate microsoft " type
'arguments' - these are not helpful in assessing technical strategies.
joel
-Original Message-
From: joao silva [mailto:[
MySQL sounds like your answer Teddy. Runs perfectly well on Linux and
Windows.
-Original Message-
From: Octavian Rasnita [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 03:59
To: [EMAIL PROTECTED]
Subject: What database would your recommend?
Hi all,
I want to start learning a database t
No, the subroutinue body can occur before or after the invokation point with
or without the &.
joel
-Original Message-
From: Camilo Gonzalez [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 14:24
To: 'Janek Schleicher'; [EMAIL PROTECTED]
Subject: RE: subroutine or &subroutine
Janek,
Woul
the dark side? would that be Python or C++?
joel
-Original Message-
From: matt stewart [mailto:[EMAIL PROTECTED]]
Sent: 06 June 2002 09:24
To: 'drieux'; cgi cgi-list
Subject: RE: First and second rate programmers
So much bitterness, i FEEL your pain - let it all out.
Strike down yo
because Perl has evolved over time?
joel
-Original Message-
From: Jake [mailto:[EMAIL PROTECTED]]
Sent: 05 June 2002 13:56
To: [EMAIL PROTECTED]
Subject: Why do we even HAVE to... (was: Why using use strict;)
So, in post after post after post I see the comment "always use strict"...
I
why would you want to do that Octavian?
"use strict" is a sanity safety net. What your saying is like "I know why I
should use safety belt whilst driving my car but what if I took it off?" -
of course you can do it but beware of the consequences.
joel
-Original Message-
From: Octavian R
ee that. I'm still hitting my self over here after realizing that I
called a Microsoft product "smart"...:-(
--Phil
-Original Message-
From: Joel Hughes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 21, 2002 10:18 AM
To: [EMAIL PROTECTED]
Subject: RE: Netscape vs. IE Di
Scot's right Phil, IE wasn't being 'smarter' it was being 'slacker'
:-)
joel
-Original Message-
From: Scot Robnett [mailto:[EMAIL PROTECTED]]
Sent: 21 May 2002 15:11
To: Phil Fickas; [EMAIL PROTECTED]
Subject: RE: Netscape vs. IE Discrepancy FIXED
That depends on how you look at it...
is this URL externall visible so we can look at it?
Failing that can you copy in your EXACT code please?
have you ran through a proxy (such as http sniffer) so you can see exactly
the HTTP conversation that takes place?
It sure as heck looks like NS is being stricter about processing the
header
...it certainly looks like a regex to me
-Original Message-
From: Shawn [mailto:[EMAIL PROTECTED]]
Sent: 17 May 2002 16:03
To: Scot Robnett; ChaoZ Inferno; [EMAIL PROTECTED]
Subject: Re: regular expression
Ok, first, thanks for the correction and input David... I agree 100% with
what y
Sorry Lynn,
should have specified a bit more why your form action
'didn't look right' to me.
Basically you put an absolute file path to the perl
file - specifying the drive letter etc. web servers
deal in urls http:// or / or myfolder/file etc.
"c:\inetpub\wwwroot" is the default document root f
you could just do a `ping hostname` - escapes into shell and returns the
result to perl.
joel
-Original Message-
From: James Kelty [mailto:[EMAIL PROTECTED]]
Sent: 28 August 2001 17:22
To: [EMAIL PROTECTED]
Subject: System Health Checks...
So I have a bunch of systems in my network tha
maybe you've made a mistake with your HTTP headers which IE5.5 is being
forgiving about but Opera and Netscape are complaining about (Opera is quite
strict - which is good of course!).
Can you check the headers that you are producing and post them to the group?
regards
Joel
-Original Messa
Hi David,
I don't quite understand the problem you are trying to solve but if your
question is "how do I parse and modify an XML document from Perl?" then have
you looked at CPAN?
http://search.cpan.org/search?mode=module&query=XML
regards
Joel
-Original Message-
From: David Simcik
state hard to do with Embperl,
and mod_perl?
matt
-Original Message-
From: Joel Hughes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001 3:01 PM
To: Boex,Matthew W.; CGI Beginners
Subject: RE: cgi and html
Max,
Embperl wont "break out the html from the cgi" if I'm gues
Max,
Embperl wont "break out the html from the cgi" if I'm guessing that you want
to seperate the server side code from the html presentation.
Embperl is embedded perl in html pages (much like ASP in IIS or PHP).
What are your requirements for your project?
regards
Joel
-Original Message-
Hi,
which perl editors/IDEs on unix/linux does the group use?
regards
Joel
-Original Message-
From: Richard Hulse [mailto:[EMAIL PROTECTED]]
Sent: 09 August 2001 07:36
To: [EMAIL PROTECTED]
Subject: RE: Perl Editors
Al,
Try OptiPerl www.xarka.com
It is very fast (compared with Komodo
Linux is free, but I don't
know if the Non-Commercial license for Windows is free. Could anyone (Joel,
perhaps) shed some light on this?
David T. Kuchler
Technical Configurator
Pioneer Standard Electronics
[EMAIL PROTECTED]
-Original Message-
From: Joel Hughes [mailto:[
e Non-Commercial license for Windows is free. Could anyone (Joel,
perhaps) shed some light on this?
David T. Kuchler
Technical Configurator
Pioneer Standard Electronics
[EMAIL PROTECTED]
-Original Message-
From: Joel Hughes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 2:36
I've used ActiveStates Komodo editor which is nice & free
joel
-Original Message-
From: Al Hospers [mailto:[EMAIL PROTECTED]]
Sent: 08 August 2001 18:49
To: [EMAIL PROTECTED]
Subject: RE: Perl Editors
I'm assuming that what is meant by /compiling/ is really syntax
checking...
Al Hospe
Curtis,
are you sure that sending the digest back to the client in cookie form is a
good idea?
I mean, if I were a hacker, could I not register and then retrieve the
digest - you then have the plain text and the cipher text. (admittedly you
would have to know that whats in your cookie is a digest
Sidrath,
is there any need to adopt that surly attitude when responding?
joel
-Original Message-
From: Sidharth Malhotra [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2001 13:23
To: 'Francesco Scaglioni'
Cc: '[EMAIL PROTECTED]'
Subject: RE: href arguments
Once again. This is a problem th
39 matches
Mail list logo