On Friday, July 22, 2011, Floyd Resler wrote:
I did a fresh install of PHP on a new server. I had gotten used to
PHP automatically adding a backslash before single quotes when form
data is submitted. It seems that is shut off in my new install.
How do I turn it back on?
Check the manual
On 22 July 2011 16:56, Geoff Lane ge...@gjctech.co.uk wrote:
On Friday, July 22, 2011, Floyd Resler wrote:
I did a fresh install of PHP on a new server. I had gotten used to
PHP automatically adding a backslash before single quotes when form
data is submitted. It seems that is shut off in
Haven't seen it either, but you could use:
echo '' . '?';
So is separated from ?. Or ? from for the matter.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
On Wednesday, March 27, 2002, at 12:03 PM, Julio Nobrega Trabalhando
wrote:
Haven't seen it either, but you could use:
echo '' . '?';
So is separated from ?. Or ? from for the matter.
That's a good workaround. I'll use that until I hear from above.
Erik
Erik Price
Look up addslashes and stripslashes in the manual. Normally you'd use
addslashes going into the db, and stripslashes coming out for display.
HTH Joe :)
Anton Kolev [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Any idea why when I print the value of $text, I
oh yes
and I had some magic_quote_smth=Yes parameter set by default in php.ini :)
it's really not very smart to use it, it's very misleading
one can see hundreds websites, which fill textareas with backslashes on
re-submit to the same form
Lerp [EMAIL PROTECTED] wrote in message
[EMAIL
I have a form that submits data to a database, works great until
someome
puts in an apostrophe in the comments area...how do i escape this
charecter upon
insert?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
http://www.php.net/manual/en/function.addslashes.php
That should work fine.
-Andy
[EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I have a form that submits data to a database, works great until
someome
puts in an apostrophe in the comments area...how do i
Tried addslashes also urlencode, neither worked...
the input is from a comment area in a form...that adds data to a mysql
database...the comments contain commas and apostrphes, that when
you try to subit, screw up the execution of the insert
Any help would be very very very very
On 26-Aug-2001 [EMAIL PROTECTED] wrote:
Tried addslashes also urlencode, neither worked...
the input is from a comment area in a form...that adds data to a mysql
database...the comments contain commas and apostrphes, that when
you try to subit, screw up the execution of the insert
mine always says ask don lol...actually got it figured out right after muy
last post rawurlencode worked great
Thanks though!
On 26-Aug-2001 [EMAIL PROTECTED] wrote:
Tried addslashes also urlencode, neither worked...
the input is from a comment area in a form...that adds data
, 2001 2:49 PM
To: Sunil Jagarlamudi; [EMAIL PROTECTED]
Subject: [PHP] Re: escaping special charecters upon submit
I have a form that submits data to a database, works great until
someome
puts in an apostrophe in the comments area...how do i escape this
charecter upon
insert?
--
PHP
12 matches
Mail list logo