From:             cnfusion at starrtech dot net
Operating system: xp
PHP version:      4.3.7
PHP Bug Type:     Unknown/Other Function
Bug description:  porn redirect on php.net

Description:
------------
hello,  I was on www.php.net and searched preg_match
 
I clicked on the strpos() link in the tips and it redirected me to a porn
site!
 
Just thought I would let you know, I went back after I got out of them and
the link worked fine.

Tip: Do not use preg_match() if you only want to check if one string is
contained in another string. Use strpos() or strstr() instead as they will
be faster. 




-- 
Edit bug report at http://bugs.php.net/?id=28759&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28759&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28759&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28759&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28759&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28759&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28759&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28759&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28759&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28759&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28759&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28759&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28759&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28759&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28759&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28759&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28759&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28759&r=float

Reply via email to