Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Re: Reinventing wheels: query string parsing.

by BUU (Prior)
on Jul 27, 2003 at 21:10 UTC ( [id://278278]=note: print w/replies, xml ) Need Help??


in reply to Re: Reinventing wheels: query string parsing.
in thread Reinventing wheels: query string parsing.

hrm. Thats a good, if nasty, point. I was under the impression that most will do it that way, but your quite right that if they arbitraily inserted form elements then bad things could happen. Fortunately that will only affect <form>s so I can still use manual links to set the query string or something..

Replies are listed 'Best First'.
Re: Re: Re: Reinventing wheels: query string parsing.
by Chmrr (Vicar) on Jul 28, 2003 at 07:19 UTC

    If you're only using manual links, you can construct the link such that the parameters submitted use the "standard scheme." This may mean doing more processing before generating the URL, but the code will probably end up more understandable that way -- the translation code will make clear exacly how your variables will be used. Just a thought...

    perl -pe '"I lo*`+$^X$\"$]!$/"=~m%(.*)%s;$_=$1;y^`+*^e v^#$&V"+@( NO CARRIER'

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://278278]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-19 13:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found