Hi, could someone PLEASE help!
I am trying to write a script that if accessed through
http://server/script/
would produce HTML, where-as:
http://server/script/wap/
would produce WML.
That all worked fine until i converted to mod_perl. I did change
$ENV{'PATH_INFO'} to the $query->path_info
On Sat, 3 Mar 2001, Andrew Clark wrote:
> Hi, could someone PLEASE help!
>
> I am trying to write a script that if accessed through
>
> http://server/script/
>
> would produce HTML, where-as:
>
> http://server/script/wap/
>
> would produce WML.
>
>
> That all worked fine until i converted
Thanks but it's nothing to do with global variables I don't think
eg.
my $query = new CGI;
print $query->path_info();
works when a path info has been added to the URL but returns random
results when there isn't one.
Andrew
In message <[EMAIL PROTECTED]>,
Matt Sergeant <[EMAIL PROTECTED]>