in reply to Re^2: IE not setting or retireving cookies
in thread IE not setting or retireving cookies

Well, the smart money is on use CGI and call the param method.

Odds are that you'll eventually have had enough of usign that for more complicated forms and you'll want CGI::FormBuilder

There are many good CGI tutorials out there, and even the bad ones are worth reading (if only once)

In other news $ENV{PATH_INFO} will give you all the extra stuff in the url, after your script name, so if your script is host/foo.pl, and the request is made for http://host/foo.pl/clothes/shirt/hawiian, `clothes/shirt/hawiian' will appear in $ENV{PATH_INFO} and you simply feed that to a split '/' or some more complicated sub somewhere to map that extra string to some content that matches. (sadly, I don't have a pre-wrapped nugget-o-code to show off with, although i'd love to)

merlyn also has some wicked-mad articlesl on stonehenge that you may be interested in oggling the now-defunct WebTechniques Magazine. - the Magazine is defunct, not the info therein.

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Replies are listed 'Best First'.
Re^4: IE not setting or retireving cookies
by greymoose (Beadle) on Nov 14, 2006 at 05:23 UTC
    Excellent! I've got that working fine, but...
    When I run the data through a SELECT query for a MySQL database it says that it is not in the database which is weird because that is where it came from in the first place. (This is a work around for an IE bug.) If I hard code the data it finds it in the database.
    This works: my ($cat) = "Animals";
    Even though the data is the same this doesn't: my ($cat) = param(butCat);
    I haven't been able to find an answer in MySQL or Perl tutorials so far. Do you have any ideas?
    Thanks.