| Posted by aeg on 10/20/06 20:17 
Jerry Stuckle wrote:> aeg wrote:
 > > affiliateian@gmail.com wrote:
 > >
 > >>Just moved web hosts and noticed that this:
 > >>
 > >><?php echo "$f"; ?>
 > >>
 > >>used to work when there was an ?f= in the URL like so:
 > >>http://www.mydomain.com/index.html?f=yes
 > >>
 > >>Now it doesn't at the new host.
 > >>
 > >>I want to echo out "yes" in the HTML.
 > >>
 > >>Any ideas?
 > >>
 > >>TIA.
 > >
 > >
 > > Just at tip, for security reasons you may want to addslashes ie
 > > addslashes($_GET['f]) else people could inject into your site.
 > >
 >
 > Addslashes won't do a thing here - except maybe screwup the output he's
 > echoing.
 >
 > --
 > ==================
 > Remove the "x" from my email address
 > Jerry Stuckle
 > JDS Computer Training Corp.
 > jstucklex@attglobal.net
 > ==================
 
 He's relying on data from the url though, this could be dangerous
 unless processed correctly
  Navigation: [Reply to this message] |