Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Page.cgi Passing in values

Quote Reply
Page.cgi Passing in values
Doing this:

page.cgi?p=send_page&words=XX&YY&ZZ

then on send_page.html

<%words%>

gives the result: XX

nothing after the & is present!

It's like page.cgi is using a post method to parse data.

Any ideas?

--------------------------------
Privacy Software
Quote Reply
Re: [BLOOD] Page.cgi Passing in values In reply to
I would suggest escpaing the values ... i.e;

page.cgi?p=send_page&words=<%GT::CGI::urlencode($words)%>

This should change the instances of things like & for %99 (or whatever its numerical value is... can't remember of the top of my head Pirate).

Hope that helps.

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!