question about php and willing to hire

Discussion in 'Services' started by DoMainTrader, Apr 21, 2006.

  1. #1
    question i have a sever with 7 ip addresess, i have 7 domains each assigned a different ip. i have a php script running on each domain name. what i need is to force those scripts to run off a certain ip address these small php scripts submit small bits of info to a bunch of sites that record submitted info and recored the submitters ip address, thats why i need each set of scripts to be forced to use a certain ip so i can submit multiable times to the same site.

    if anyone know how to make this happen i would be willing to pay for the working info. or hire you to do the work.
     
    DoMainTrader, Apr 21, 2006 IP
  2. GeorgeB.

    GeorgeB. Notable Member

    Messages:
    5,695
    Likes Received:
    288
    Best Answers:
    0
    Trophy Points:
    280
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    If you are trying to read information from a specific IP address I'd use readfile();

    Like readfile("http://12.34.56.78/myfile.php");

    Or heck, skip the file reading and tell the PHP file to connect directly to the mysql database on the IP address you want. Then you can read and post all the data you like in one spot. Since this is the same server I'd just set all the PHP files to use a common database.

    I'd be interested in the project, seems pretty straight forward.
     
    GeorgeB., Apr 21, 2006 IP
  3. DoMainTrader

    DoMainTrader Banned

    Messages:
    920
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    pm sent, but i need these scripts to submit data to other sites i have the scripts already but when they run via cron jobs from my server they seem to use the server main ip and not the ip assigned to the domain name on the server....
    i need to force the scripts to use the ip of the assigned domain name.
     
    DoMainTrader, Apr 21, 2006 IP