Hi peopole.
I have some php code that won’t execute properly online, however it works perfectly on my local test server.
Can anyone help me?
this is the code…
[code]
$text = ‘<div><object width=”425″ height=”335″><param name=”movie” value=”http://www.dailymotion.com/swf/6TMx6A6bDKSlyikB7″></param><param name=”allowfullscreen” value=”true”></param><embed src=”http://www.dailymotion.com/swf/6TMx6A6bDKSlyikB7″ type=”application/x-shockwave-flash” width=”425″ height=”335″ allowfullscreen=”true”></embed></object><br /><b><a href=”http://www.dailymotion.com/video/x2ln7h_gagner-de-l-argent-en-restant-chez_videogames”>GAGNER DE L ARGENT EN RESTANT CHEZ SOI</a></b><br /><i>Uploaded by <a href=”http://www.dailymotion.com/zdax6″>zdax6</a></i></div>’;
echo preg_replace(“/.*?value=”(.*?)”.*/si”, “$1”, $text);
It basically takes the line “
It works locally on my test server, but when i put it online it doesn’t seem to be having any effect on it.
PLEASE SOMEONE HELP! IT WOULD BE MUCH APPRECIATED!!