REGISTER
|
Search Tycoon Talk
|
Freelancer.com
|
Members
Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.
Register Here
Forum Rules
PHP Forum
You are currently viewing our PHP Forum as a guest. Please
register
to participate.
Login
Remember Me?
Login via Freelancer.com
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
mysql_real_escape_string vs addslashes
Link Back
Thread Tools
Search this Thread
mysql_real_escape_string vs addslashes
05-06-2009, 01:40 PM
#
1
(
permalink
)
mysql_real_escape_string vs addslashes
Truly
Ultra Talker
Posts: 322
Trades:
0
Talkupation:
Hey,
If I am using mysql_real_escape_string and the server automatically adds slashes does that mean I am double escaping some characters?
Thanks
__________________
DVD Movie Release Database:
Please login or register to view this content.
Registration is FREE
Register
now for full access!
05-07-2009, 10:58 AM
#
2
(
permalink
)
Re: mysql_real_escape_string vs addslashes
Onkel E
Experienced Talker
Posts: 44
Trades:
0
Talkupation:
i doubt so, but what about taking a look in phpmyadmin and see if it's \' or \\'
05-07-2009, 12:18 PM
#
3
(
permalink
)
Re: mysql_real_escape_string vs addslashes
anderswc
Super Talker
Latest Blog Post:
WeblogToolsCollection Plugin Competition
Posts: 132
Name: Will Anderson
Location: Terre Haute, IN
Trades:
0
Talkupation:
Yes, you most likely are if the server automatically adds slashes. You can check if slashes are automatically being added by calling the following PHP function
get_magic_quotes_gpc
()
__________________
Will Anderson
Please login or register to view this content.
Registration is FREE
|
Please login or register to view this content.
Registration is FREE
|
Please login or register to view this content.
Registration is FREE
« Reply to
mysql_real_escape_string vs addslashes
Previous Thread
|
Next Thread
Tycoon Talk
>
Web Development and Programming Support
>
PHP Forum
>
mysql_real_escape_string vs addslashes
Thread Tools
Search this Thread
Show Printable Version
Email this Page
Search this Thread
:
Advanced Search
Posting Rules
You
may not
post new threads
You
may not
post replies
You
may not
post attachments
You
may not
edit your posts
BB code
is
On
Smilies
are
On
[IMG]
code is
On
HTML code is
Off
Trackbacks
are
Off
Pingbacks
are
Off
Refbacks
are
Off
Forum Rules
Feeds:
RSS
JS
XML
Feeds for this forum:
RSS
JS
XML
LinkBack
LinkBack URL
About LinkBacks
Bookmark & Share
Digg this Thread!
Add Thread to del.icio.us
Bookmark in Technorati
Tweet this thread
Page generated in
0.11426
seconds with
12
queries