php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #28759 porn redirect on php.net
Submitted: 2004-06-12 20:51 UTC Modified: 2004-06-12 20:59 UTC
From: cnfusion at starrtech dot net Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: - OS: xp
Private report: No CVE-ID: None
 [2004-06-12 20:51 UTC] cnfusion at starrtech dot 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. 




Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-12 20:59 UTC] tomsommer@php.net
Cannot reproduce, what mirror were you using?

Perhaps this is due to some kind of spyware on your computer?

Please do a system scan, this does not appear to be a problem with the documentation
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 15:01:30 2024 UTC