Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: shobert09
  • Order by date
  1. shobert09

    looking for a proxy that works with flash applications

    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...
  2. shobert09

    Help outputing xml in correct format using php

    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"); ...
  3. shobert09

    Help parsing artist,songname and image url from remote html

    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...
  4. shobert09

    Help outputing xml in correct format using php

    tsuij thanks for u reply.I tried it but now it tries to download a file instead of showing any thing!!!
  5. shobert09

    Help parsing artist,songname and image url from remote html

    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));
  6. shobert09

    Help outputing xml in correct format using php

    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"...
  7. shobert09

    Help parsing artist,songname and image url from remote html

    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'...
  8. shobert09

    Help parsing artist,songname and image url from remote html

    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...
  9. shobert09

    Help parsing artist,songname and image url from remote html

    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...
  10. shobert09

    Help parsing artist,songname and image url from remote html

    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...
  11. shobert09

    Help parsing artist,songname and image url from remote html

    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...

Part and Inventory Search

Back
Top