Re: address bar contain database names

2010-02-12 Thread WebbedIT
Hard to tell from a URL alone, but looks like the site is searching
using javascript and serialized data, how about using a form and
posting that data?

Not sure why a search request would include all those field names
mind?!?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


address bar contain database names

2010-02-11 Thread 256300
Hello everyone..
actually i'm totally new for the cakephp and i employed to develop
huge website accomplished by cakephp  
everything is ok so far ... but i've noticed some variables passed in
the address bar contain database names  especially when i'm using
forms to filter or search somethings like  so:

http://www.mywebsite.com/controller/search?data%5BHospital%5D%5BcountryID%5D=13data%5BHospital%5D%5BcityID%5D=226data%5BHospital%5D%5BhospFID%5D=27data%5BHospital%5D%5BhospitalName%5D=tyutyutyulang=ar

we can see here many database columns names like (cityID, hospFID,
etc) how could i encapsulate this variables...

thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
CakePHP group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en