ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-web
perl-win32-web
Re: Why does this CGI process hang?
by Newton, Philip other posts by this author
Aug 27 2001 1:02PM messages near this date
view in the new Beta List Site
RE: Why does this CGI process hang? | Why does this CGI process hang?
Kamphuys, ing. K.G. wrote:
> 
>  $query = new CGI(\*STDIN);

What do you expect that to do?

The way I understand it, this tries to initialise a CGI object with
TAG=VALUE pairs read from standard input where they were previously saved.
But if you use multipart/form-data encoding, that's not the format they come
in -- and even if you use standard text/www-url-encoded (or whatever it's
called), you probably just want to use plain

    $query = new CGI;

. Try that and see whether it then works.

Cheers,
Philip
-- 
Philip Newton <Philip.Newton@[...].de> 
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.
_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@[...].com
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved