Hi all. i am looking for a way to use proxy with flash applications such as flash chat rooms and ... i used a few web proxies(such as cgi proxies) but non of them work and the application found my real ip. A friend of me told me that web proxies only work with mirc but not with flash!!
could...
actually i added :
header("Content-Type: text/xml");
just before the :
echo" <playing>\n";
and it worked fine and also added :
<?
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Content-type: image/png");
...
jadie since some of the image urls have spaces and strange characters i used that str_replace reduce the problem.when the image url has space i get this error:
br />
<b>Warning</b>: imagecreatefromjpeg(http://www.radiojavan.com/static/artists/parviz rahman panah.jpg): failed to open stream...
jpadie thanks once agine. Buti want to keep the str_relace since some of the image names has spaces on it. how should i add that http:// to the following line and keeping str_replace?
$insert = imagecreatefromjpeg(str_replace(' ', '%20', $imageURL));
Hi all. i try to output xml data using the following php code but
when i run the php script i don't get the xml output in correct format.
<?
echo" <playing>\n";
echo" <artist>Kambiz</artist> \n";
echo" <song>Shookolat</song> \n";
echo"...
jpade thanks since i am using that image in the following code. is it possible to add http:\\ at start of image url since the follwoing code fails wihtout it:
$background = imagecreatefrompng("./backround_image3.png");
$insert = imagecreatefromjpeg(str_replace(' ', '%20'...
jpadie do you mean i need to put \ or / at :
$pattern = '/<a.*?\\bhref\\s*=\\s*(\'|")(.*?)\\1/i>';
The actual url is :
http://services.radiojavan.com/rss.php?html=280
i want to get image url and song name and artis name as varibles not just displaying them. I be happy if you be able to...
i tried it and got this error at first:
Warning: preg_match() [function.preg-match]: No ending matching delimiter '>' found in on line 6
Then i added > at the end of that line and i got this:
Array()
$pattern = '<a.*?\\bhref\\s*=\\s*(\'|")(.*?)\\1/i>';
Furthemore, do you think this will...
jpadie thanks for reply. I tried you solution but i keep getting the following error. could you also tell me how to get image tag,song name,artist name using this method as variables?Thanks
Warning: preg_match() [function.preg-match]: Compilation failed: reference to non-existent subpattern...
Hi all there is a remote html page that has artist,songname and image url .
I want to get these infromation as variables when ever i pull that page .
i tried the following solution but it doesn't output the image url for me(http://www.somesite.com/static/artists/rj_box.jpg) .
could any one...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.