note 14067 added to function.urldecode.php

From: Date: Mon, 16 Jul 2001 03:05:38 +0000
Subject: note 14067 added to function.urldecode.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15411@lists.php.net to get a copy of this message
HI, I have some troubles trying to send some javascritp to php $INFO = urlencode("<SCRIPT LANGUAGE='JavaScript'><!-- start \n image1=new Image(); \n image1.src='$row[0]'; \n End--></SCRIPT>" . "\n<img name='image1' src='$row[0]' border=0>"); and then urldecode ($INFO); but urldecode returns: <SCRIPT LANGUAGE=\'JavaScript\'><!-- start image1=new Image(); image1.src=\'http://www.agualoca.8m.com/lobo6.jpg\'; End--></SCRIPT> <img name=\'image1\' src=\'http://www.agualoca.8m.com/lobo6.jpg\' border=0> Does Anybody knows how to fix this?... thanks! http://www.php.net/manual/en/function.urldecode.php

« previous php.notes (#15411) next »