#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    How do you make this in php:

    Html version:
    <img src="http://wwp.icq.com/scripts/online.dll?icq=5644842&img=5">

    its the line from the icq active service to see if the user are online or not!
    I wanna replace the number so by the login I got on my pages it retrives the number with this "$UserIcq" but how do I make it in php?
    someone help!


    ...just to show you what I mean:
    <img src="http://wwp.icq.com/scripts/online.dll?icq=$UserICQ&img=5">
  2. #2
  3. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    I would be happy if anyone could help!
  4. #3
  5. No Profile Picture
    ledjon
    Guest
    Devshed Newbie (0 - 499 posts)
    That should be easy... but I can't do it untill I get home (I'm at work now). Look for an answer in about 2 hours!
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    thx =) would be great!
  8. #5
  9. No Profile Picture
    ledjon
    Guest
    Devshed Newbie (0 - 499 posts)
    Here you go:
    ############
    <html>
    <?
    if($UserICQ != "") :
    print "<img src="http://wwp.icq.com/scripts/online.dll?icq=$UserICQ&img=5">";

    else :
    PRINT "<form action=$PHP_SELF method=GET>";
    PRINT "<input type="text" name="UserICQ"><br>";
    PRINT "<input type="submit" value="Submit"></form>";
    endif;
    ?>
    </html>
    ###########
    That will display the status for the input ICQ number.

    Hope this helped.
  10. #6
  11. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Posts
    10
    Rep Power
    0
    Yea it worked =) thx alot!

Similar Threads

  1. Replies: 1
    Last Post: January 11th, 2004, 11:28 PM
  2. simple image gallery
    By runnerboy800 in forum PHP Development
    Replies: 2
    Last Post: November 14th, 2003, 06:02 AM
  3. Replies: 2
    Last Post: October 16th, 2003, 03:00 PM
  4. Best Database/interface for simple queries
    By tylerparrott in forum MySQL Help
    Replies: 1
    Last Post: September 29th, 2003, 05:26 AM
  5. simple script help
    By pldwelle in forum HTML Programming
    Replies: 9
    Last Post: September 27th, 2003, 12:48 AM

IMN logo majestic logo threadwatch logo seochat tools logo