SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2001
    Location
    Modesto, CA
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Sending Info from you to me with $_POST

    Here is my idea..

    my site (www.mywebsite.com) holds the main db, you can download the sql db and put it on (www.yoursite.com). But now you want to update the db with new info, but I want to get the new info on mysite too.

    Could I use a form that POST's the info to like (mywebsite.com/update_sql.php?name=Joe Blow&phone=555-5555) and it can update my db and then send out a POST back to yoursite.com with the same query so now you have the new info.

    Will this work? Is there a better way to do it, other software maybe? Security issues?

  2. #2
    Web development Company chrisranjana's Avatar
    Join Date
    Jan 2001
    Location
    chennai , tamil nadu , India
    Posts
    705
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    updating mysql database in one server using php script in another server

    why not make the php script in yoursite.com connect directly to the mysql database present in mywebsite.com and do the updation ?
    Chris, Programmer/Developer,
    www.chrisranjana.com


Bookmarks

Posting Permissions

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