Re: [PHP] url string being split

2012-04-27 Thread Chris Stinemetz
On Fri, Apr 27, 2012 at 11:09 AM, Shawn McKenzie wrote: > On 04/27/2012 10:56 AM, Chris Stinemetz wrote: >> I still haven't been able to find a solution. Is there anyone out >> there that knows how to keep the query string intact? >> >> Thank you, >> >> Chris > > urlencode($storerow['store_subject

Re: [PHP] url string being split

2012-04-27 Thread Tim Streater
On 27 Apr 2012 at 16:56, Chris Stinemetz wrote: > On Thu, Apr 26, 2012 at 12:58 PM, Stuart Dallas wrote: >> On 26 Apr 2012, at 18:37, Jim Giner wrote: >> >>> I"m no expert, but why would you expose a query to the world thru the use of >>> a GET?  Why not just collect the params and build the st

Re: [PHP] url string being split

2012-04-27 Thread Shawn McKenzie
On 04/27/2012 10:56 AM, Chris Stinemetz wrote: > I still haven't been able to find a solution. Is there anyone out > there that knows how to keep the query string intact? > > Thank you, > > Chris urlencode($storerow['store_subject']) -- Thanks! -Shawn http://www.spidean.com -- PHP General Ma

Re: [PHP] url string being split

2012-04-27 Thread Chris Stinemetz
On Thu, Apr 26, 2012 at 12:58 PM, Stuart Dallas wrote: > On 26 Apr 2012, at 18:37, Jim Giner wrote: > >> I"m no expert, but why would you expose a query to the world thru the use of >> a GET?  Why not just collect the params and build the string in your code? >> That is how people hack into your d

Re: [PHP] url string being split

2012-04-26 Thread Stuart Dallas
On 26 Apr 2012, at 18:37, Jim Giner wrote: > I"m no expert, but why would you expose a query to the world thru the use of > a GET? Why not just collect the params and build the string in your code? > That is how people hack into your database - via a re-formed query. You're > giving someone a

Re: [PHP] url string being split

2012-04-26 Thread Jim Giner
I"m no expert, but why would you expose a query to the world thru the use of a GET? Why not just collect the params and build the string in your code? That is how people hack into your database - via a re-formed query. You're giving someone an open invitation. -- PHP General Mailing List

Re: [PHP] url string being split

2012-04-26 Thread Vikash Kumar
On 26 April 2012 22:27, Chris Stinemetz wrote: > Hello list, > > I'm trying to pass a query string through $_GET but for some reason > the array is being split on '&'. How may I avoid this so it stays > intacted? > > user selection portion: > > while($storerow = mysql_fetch_assoc($storesresult))