note 114527 added to function.str-replace

From: Date: Tue, 04 Mar 2014 10:21:15 +0000
Subject: note 114527 added to function.str-replace
Groups: php.notes 
Request: Send a blank email to php-notes+get-198778@lists.php.net to get a copy of this message
Can someone please help me with this script? ------ <?php $html = file_get_contents('uk3.php.net'); echo $cookie_file_path = str_replace("docs.php.net", "www.google.co.uk/?", $html); ?> ----- How to I add str_replace for a second like in the same html, for example downloads.php.net to be replaced with www.google.com Thank you ---- Server IP: 188.241.113.74 Probable Submitter: 109.166.138.183 ---- Manual Page -- http://php.net/manual/en/function.str-replace.php Edit -- https://master.php.net/note/edit/114527 Del: integrated -- https://master.php.net/note/delete/114527/integrated Del: useless -- https://master.php.net/note/delete/114527/useless Del: bad code -- https://master.php.net/note/delete/114527/bad+code Del: spam -- https://master.php.net/note/delete/114527/spam Del: non-english -- https://master.php.net/note/delete/114527/non-english Del: in docs -- https://master.php.net/note/delete/114527/in+docs Del: other reasons-- https://master.php.net/note/delete/114527 Reject -- https://master.php.net/note/reject/114527 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#198778) next »