Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 3 of 3

Thread: PHP Script

  1. #1
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534

    PHP Script

    Ok, I have a script on my website (copied from someone else) that gets the user's ip address and echos it to them. How do I retrieve that info from the script and send it to my application with HTTP.Submit?

    Code:
    <p align="center">
                  
    <?php $ip=@$REMOTE_ADDR;
    echo "<b>$ip</b>";  ?></h1>
    
    </p>

  2. #2
    Join Date
    May 2006
    Posts
    5,380
    Open your eyes to Narcissism, Don't let her destroy your life!!

  3. #3
    Join Date
    Oct 2007
    Location
    Gensokyo
    Posts
    1,324
    Code:
    Dialog.Message("Your IP address", HTTP.Submit("http://shadiku.com/ip.php", {}, 1, 20, 80));
    Replace my site with your script URL, If you want to test it. Use my URL as it still works.

  4. #4
    Join Date
    Jun 2007
    Location
    Delphi II
    Posts
    1,534


    Thanks, guys: works beautifully!

Similar Threads

  1. new PHP script question
    By mystica in forum AutoPlay Media Studio 7.5
    Replies: 15
    Last Post: 11-07-2008, 05:36 AM
  2. Example: Sending Email Using a Remote PHP Web Script
    By Corey in forum AutoPlay Media Studio 5.0 Examples
    Replies: 36
    Last Post: 06-10-2007, 02:07 PM
  3. i need a php script, list files on server
    By RizlaUK in forum AutoPlay Media Studio 6.0
    Replies: 4
    Last Post: 07-02-2006, 12:36 PM

Posting Permissions

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