List Info

Thread: note 61584 added to ref.mail




note 61584 added to ref.mail
user name
2006-02-07 10:33:44
In reaction to Anton_at_Basehost (05-Feb-2006 12:53):

 This workaround is really smart, anyway in your function
_local_replace_bad($value) is small programming error. 

In case $value is not problematic, function returns stripped
value causing problems in same scripts of our clients. I
corrected 3 lines:

-----
function _local_replace_bad($value_orig) {
-----
$value = stripslashes($value_orig);
-----
   } # if suscpect found
   else { $value = $value_orig;}   # this line to correct
   return($value);
}
-----

Libor Seidl
EuroMISE s.r.o.
Czech Republic
----
Server IP: 64.246.30.37
Probable Submitter: 62.168.15.209
----
Manual Page -- http://www.
php.net/manual/en/ref.mail.php
Edit        -- http://master.php.net/manage/user-notes.php?action=
edit+61584
Delete: added to the manual -- htt
p://master.php.net/manage/user-notes.php?action=delete+61584
&report=yes&reason=added+to+the+manual
Delete: bad code            -- http://master.
php.net/manage/user-notes.php?action=delete+61584&report
=yes&reason=bad+code
Delete: spam                -- http://master.php.
net/manage/user-notes.php?action=delete+61584&report=yes
&reason=spam
Delete: useless             -- http://master.p
hp.net/manage/user-notes.php?action=delete+61584&report=
yes&reason=useless
Delete: non-english         -- http://mast
er.php.net/manage/user-notes.php?action=delete+61584&rep
ort=yes&reason=non-english
Delete: already in docs     -- http://
master.php.net/manage/user-notes.php?action=delete+61584&
;report=yes&reason=already+in+docs
Delete: other reasons       -- http://master.php.net/manage/user-
notes.php?action=delete+61584&report=yes
Reject      -- http://master.php.net/manage/user-
notes.php?action=reject+61584&report=yes
Search      -- http://ma
ster.php.net/manage/user-notes.php

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

note 61584 deleted from ref.mail by didou
user name
2006-04-23 22:44:30
Note Submitter: seidl at euromise dot com 

----

In reaction to Anton_at_Basehost (05-Feb-2006 12:53):

 This workaround is really smart, anyway in your function
_local_replace_bad($value) is small programming error. 

In case $value is not problematic, function returns stripped
value causing problems in same scripts of our clients. I
corrected 3 lines:

-----
function _local_replace_bad($value_orig) {
-----
$value = stripslashes($value_orig);
-----
   } # if suscpect found
   else { $value = $value_orig;}   # this line to correct
   return($value);
}
-----

Libor Seidl
EuroMISE s.r.o.
Czech Republic

-- 
PHP Notes Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
.php

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )