FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » PHP mysql_excape but need to search for those items
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: PHP mysql_excape but need to search for those items [message #178362 is a reply to message #178360] Mon, 11 June 2012 17:01 Go to previous messageGo to previous message
mrgushi is currently offline  mrgushi
Messages: 3
Registered: June 2012
Karma:
Junior Member
Jerry,
This is what I'm working with so far.

not sure if I've escaped everything I needed too.

$ENG = mysql_real_escape_string($ENG);
$result = mysql_query("SELECT * FROM br_test WHERE ENG LIKE '$ENG' ");
$row = mysql_fetch_array( $result );

The $ENG is the input from the search form..
The JS problem is valid but then again it will be in a locked down iOS
app using PhoneGAp. An I'll be using a HTTPs tunnel to the PHP
scripts.. use some sort of cookie with a SSL flag to lock it down. So
someone could JailBreak an iOS app and dig down in my settings and
figure out the JS but I don't think that likely but ur right I want to
take every precaution.

-dw
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Using count() as an array index
Next Topic: can't modify include path
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 06:41:11 GMT 2024

Total time taken to generate the page: 0.04583 seconds