www.webdeveloper.com

Search:

Type: Posts; User: Wogan

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    607

    You may want to use REQUEST_ADDR instead: ...

    You may want to use REQUEST_ADDR instead:


    $_SERVER['REQUEST_ADDR']

    That'll give you the URL, as opposed to the script being executed (the two won't always be the same).
  2. Replies
    1
    Views
    637

    Tricky preg_match problem

    I'm trying to get at some HTML using preg_match, but obviously the following code isn't working:


    preg_match("/<!-- start story -->(.*)<!-- end story -->/U", $data, $matches);

    I can't figure...
Results 1 to 2 of 2
HTML5 Development Center



Recent Articles