Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jul 2002
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Hoping PHP can do this...

    Greetings all!

    At work we have a demonstration system for new products that we are developing, we have our own domain name but we would like to link one of the pages on out website to the demo system at work, the only problem is this system is on a random ip so it changes every few hours.

    The system at work uses it’s own built in web server for certain aspects of the software, so I was hoping I could put together some code to help.

    Any help on this would be great, I am not an expert on this, the guy who used to do it has left so I have been given the job of finishing it all of, unfortunately this is not my speciality.

    Please help me

    Thanks all

    Edit

    Sorry, I forgot to mention this.

    Would it also be possible to have one website and it has a db of all the ip address of all the clients, the some sort of idea but moved into one central website.

    Thanks again.
    Last edited by _Spud_; 04-23-2003 at 08:51 PM.

  • #2
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    You need your demo system to check its IP from time to time and then submit that data to your website , how you go about that is another matter.

    PHP or VB scripts , whatever, can check your IP etc though I am sure there must be some freeware apps out there that do this sort of thing.

    If you can get the IP you could send it via GET or POST to your online server which could then store the information as required.
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Iran
    Posts
    695
    Thanks
    0
    Thanked 0 Times in 0 Posts
    If you can get the IP you could send it via GET or POST to your online server which could then store the information as required.
    How?! You mean directly from PHP sending something via GET or POST to another PHP page? Exactly like it's sent by a form? how? I can only send things via my HTML form, not any PHP script, how do you do that?!

  • #4
    New Coder
    Join Date
    Mar 2003
    Location
    Somewhere far beyond
    Posts
    99
    Thanks
    0
    Thanked 0 Times in 0 Posts
    WBR, Weirdan.

  • #5
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Spud,

    In the future use more descriptive subject titles for your thread as per our posting guidelines:

    http://www.codingforums.com/postguide.htm
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #6
    New Coder
    Join Date
    Jul 2002
    Posts
    29
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Sorry dude. will do

  • #7
    Super Moderator
    Join Date
    May 2002
    Location
    Perth Australia
    Posts
    4,108
    Thanks
    11
    Thanked 101 Times in 99 Posts
    Originally posted by Weirdan
    http://www.php.net/manual/en/ref.curl.php
    Open a socket.... or use something like snoopy
    resistance is...

    MVC is the current buzz in web application architectures. It comes from event-driven desktop application design and doesn't fit into web application design very well. But luckily nobody really knows what MVC means, so we can call our presentation layer separation mechanism MVC and move on. (Rasmus Lerdorf)


  •  

    Posting Permissions

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