RE: HTTP error 500

2003-02-05 Thread Joel Hughes
>>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

RE: HTTP error 500

2003-02-05 Thread Joel Hughes
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

RE: Why doesn't this work anymore ?

2003-01-27 Thread Joel Hughes
>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.

RE: Problem Installing the NMS FormMail program

2003-01-13 Thread Joel Hughes
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

RE: Regular Expression

2002-12-10 Thread Joel Hughes
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

RE: Writings PERL CGI in windows environment

2002-10-28 Thread Joel Hughes
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

Howto efficiently tail a win32 Logfile?

2002-10-14 Thread Joel Hughes
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

RE: Creating thumbnails (Newbie Question)...

2002-09-19 Thread Joel Hughes
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

RE: A function for running another Perl script?

2002-08-12 Thread Joel Hughes
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

RE: get data over ssh

2002-08-02 Thread Joel Hughes
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

RE: Couple of newbie questions

2002-07-16 Thread Joel Hughes
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

RE: cgi put script?

2002-07-16 Thread Joel Hughes
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

RE: Subroutines

2002-07-15 Thread Joel Hughes
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

HTTP debugging

2002-07-10 Thread Joel Hughes
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

RE: CGI to emulate HTML Post

2002-07-07 Thread Joel Hughes
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

RE: oracle/pgsql/mysql and dbi

2002-07-07 Thread Joel Hughes
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

RE: too many headers from CGI script (max 200)

2002-07-04 Thread Joel Hughes
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

RE: Please, ASP or PERL?

2002-06-21 Thread Joel Hughes
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:[

RE: What database would your recommend?

2002-06-07 Thread Joel Hughes
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

beginners-cgi@perl.org

2002-06-06 Thread Joel Hughes
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

RE: First and second rate programmers

2002-06-06 Thread Joel Hughes
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

RE: Why do we even HAVE to... (was: Why using use strict;)

2002-06-05 Thread Joel Hughes
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

RE: Why using use strict;

2002-06-05 Thread Joel Hughes
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

RE: Netscape vs. IE Discrepancy FIXED

2002-05-21 Thread Joel Hughes
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

RE: Netscape vs. IE Discrepancy FIXED

2002-05-21 Thread Joel Hughes
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...

RE: Netscape vs. IE Discrepancy

2002-05-21 Thread Joel Hughes
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

RE: regular expression

2002-05-17 Thread Joel Hughes
...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

RE: active perl on IIS

2001-09-03 Thread joel hughes
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

RE: System Health Checks...

2001-08-28 Thread Joel Hughes
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

RE: Browser Problem

2001-08-23 Thread Joel Hughes
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

RE: Searching for Particular XML Element Values???

2001-08-22 Thread Joel Hughes
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

RE: cgi and html

2001-08-15 Thread Joel Hughes
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

RE: cgi and html

2001-08-15 Thread Joel Hughes
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-

RE: Perl Editors

2001-08-08 Thread Joel Hughes
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

RE: Perl Editors

2001-08-08 Thread Joel Hughes
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:[

RE: Perl Editors

2001-08-08 Thread Joel Hughes
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

RE: Perl Editors

2001-08-08 Thread Joel Hughes
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

RE: Cookies and Security

2001-08-08 Thread Joel Hughes
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

RE: href arguments

2001-08-07 Thread Joel Hughes
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