View Single Post
Old 08-06-2011, 05:23 PM  
raymor
Confirmed User
 
Join Date: Oct 2002
Posts: 3,745
It appears one problem is that you've anchored the grep:

Code:
grep "^?item_id="
In your example "?item_id" isn't the beginning of a line, so the ^ anchor means
nothing matches. Also, remember ? is a metacharacter.

You'll probably not get much more help without posting your actual code with the
real URL so somebody can see what is going on. When you obfuscate things you may
as well ask why this doesn't work:

Code:
some code
   some more code 
 also code
if code then
do some stuff
fi 
< input I'm not showing you
__________________
For historical display only. This information is not current:
support&#64;bettercgi.com ICQ 7208627
Strongbox - The next generation in site security
Throttlebox - The next generation in bandwidth control
Clonebox - Backup and disaster recovery on steroids
raymor is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote