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

Hi f00li5h, Thanks for that comment.I'm thinking you may be right about using get instead of cookies. I may have bitten off more than I can chew at this point (pun intended).
The catch is that I skipped over that bit of the tutorial when I was learning about forms and I can't find anything to learn about capturing the data from. Do you have any suggestions?
Cheers,
  • Comment on Re^2: IE not setting or retireving cookies

Replies are listed 'Best First'.
Re^3: IE not setting or retireving cookies
by f00li5h (Chaplain) on Nov 13, 2006 at 21:40 UTC

    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;
      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.
Re^3: IE not setting or retireving cookies
by f00li5h (Chaplain) on Nov 14, 2006 at 11:54 UTC

    In other news, Ovid wrote a failry security focused CGI tutorial that you may want to read over

    @_=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;