Jump to content

ExSpirit

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

ExSpirit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I would never get this together. sasa you rock Thank you very much, it works great now.
  2. I am having problems extracting some "code" with preg_match and I hope someone can help me how to extract the correct "code/word" from html code which looks like this: My code: <b>ss.34-some<img src='http://mydomain.com/images/slash.gif' alt='$'>anothernum.123.word</b> My code: <b>other<img src='http://mydomain.com/images/slash.gif' alt='$'>code.1234.test</b> My code: <b>and.another<img src='http://mydomain.com/images/slash.gif' alt='$'>code</b> ... So from this HTML code I should get this: ss.34-some$anothernum.123.word other$code.1234.test and.another$code If anyone can help me I would really appreciate it.
  3. I have this code on my site: <img class="round" src="image.jpg" /> What I would now like to do is to have round corners in this image, so I tried to place this in my CSS but that doesn't work (only works if I add this to DIV): .round { -moz-border-radius:8px; -webkit-border-radius:8px; border-radius:8px; } I have also tried to place some image (PNG which only has white borders) on top of image with this code: .round { background-image:url('ontop.png'); } But that also doesn't work - nothing is shown... What else can I try?
  4. I managed to get most of the data, but now I'm a bit stuck at a few values: Clan Name (uses href) Clan Tag Recruitment (uses span) Beside that if Clan name or tag is empty then the code shows me input box - probably because there's another "Clan tag" and "Clan name:" in code which has input field after... To get better view of the code you should check THIS LINK, where all fields are checked. Can you help me how to get those values?
  5. freeloader you rock This works like a charm now. Thank you very much!
  6. The bottom error is gone, but the internal Server Error is still there... I have no idea why...
  7. I tried this code and I get this error: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. ... Warning: preg_match() [function.preg-match]: Unknown modifier 't' in /home/content/test.php on line 8
  8. Ups, the comma at the end of URL is not needed, so url is - http://www.gamersfirst.com/warrock/?q=Player&nickname=soldier I was reading a few tutorials about curl but couldn't get much progress..
  9. I am wondering if it's possible to get some data from another website via PHP? I would like to get data from website http://www.gamersfirst.com/warrock/?q=Player&nickname=soldier, and the exact data which I need is "Level" which is in this case 2. Can this value be grabbed and if it can, where can I get some info about how to do it?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.