Results 1 to 13 of 13
  1. #1
    Join Date
    Jul 2003
    Posts
    640

    Idea to run PHP scripts in AIM profile. Would this work?

    Before reading, please note, my intent is not to do anything malicious.

    Currently, I have a PHP countdown script that loads in the profile window AFTER someone clicks a link. It opens my web site window and runs the PHP script.

    I was wondering if the following would work. Or if someone has tried it to save me time because I don't feel like trying

    Could you install PHP on your windows server. Then put PHP scripts directly in your info.html file (that's the AIM profile file).

    It seems to make sense that doing that would cause your windows computer to parse the PHP scripts since people viewing your profile are running the info.html file from a computer with PHP on it.

    Think it would work? Anyone tried? Let me know.

  2. #2
    Join Date
    Aug 2003
    Location
    Pittsburgh
    Posts
    3,490
    I think it'd work, as AIM profiles do consist of HTML. Give it a go!

  3. #3
    Join Date
    Jul 2003
    Posts
    640
    Yes, but then again using <ims src tags in the profiles does not work. I'm not sure how that's blocked.

  4. #4
    Join Date
    Feb 2003
    Location
    United States
    Posts
    1,435
    Well there are certain elements of an AIM profile that allow HTML scripting. I'm not sure if php would work. Give it a try and see.

    Regards,
    Waylon

  5. #5
    Join Date
    Feb 2002
    Posts
    3,696
    Only certain tags are allowed. (The non-malicious tags)
    Don't look for a way out.

  6. #6
    Join Date
    Aug 2003
    Location
    Pittsburgh
    Posts
    3,490
    Originally posted by RDX Media
    Only certain tags are allowed. (The non-malicious tags)
    Malicity (is that a word?) is in the eye of the beholder.

    Many things can be malicious depending on the intent of the coder.

  7. #7
    Join Date
    Dec 2002
    Location
    NY, NY
    Posts
    3,974
    Where is the info.html file located?

  8. #8
    Join Date
    Feb 2002
    Posts
    3,696
    Only HTML allowed is what you can make using the AIM protocol itself. (Colors, Text, HR)
    Don't look for a way out.

  9. #9
    Join Date
    Dec 2002
    Location
    chica go go
    Posts
    11,876
    you couldn't put php code right in the info.html file, but you could setup a php web server on yoru own system, and then link to pages from your info.html profile.

    My buddy used to have a system that would log the user's ip address, as well as screen name after the user clicked the link in his profile.

  10. #10
    Join Date
    Feb 2003
    Location
    Connecticut
    Posts
    5,460
    I'll second ub3r. As long as you use a target="_self" link in AIM, you can use basic HTML and any code you want -- if it's serverside, it doesn't matter to AIM. You can also launch it in the AIM Today window which is very close to, if not IE.

  11. #11
    Join Date
    Dec 2002
    Location
    NY, NY
    Posts
    3,974
    You can use java to have the JVM write to the info.html file.
    That would work.
    I am interested as to where the info.html file is located...

  12. #12
    Join Date
    Jun 2003
    Location
    FT Worth, TX
    Posts
    5,096
    They already have something of what your describing...

    http://www.buddyprofile.com
    Kerry Jones

  13. #13
    could you Iframe to a site with the php?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •