matfish Posted February 9, 2009 Share Posted February 9, 2009 Hi there, What I'm looking to do is when a contact on my local Intranet is updated, it then posts the query to a script running on my website so it updates the contact externally on my website as well as internally. Is there any way to post a string to an external script? When I use the "header ();" function, it jumps off the internal system to the external system. Any way of doing this without it going off to another site? Many thanks Quote Link to comment Share on other sites More sharing options...
matfish Posted February 9, 2009 Author Share Posted February 9, 2009 With the above in mind, is it possible to FTP from the local Intranet images to the external website in PHP? So when something is updated internally, it posts everything externally too? Many thanks Quote Link to comment Share on other sites More sharing options...
trq Posted February 9, 2009 Share Posted February 9, 2009 Do these applications share the same database schema and data? Why not use one database for both of them? Quote Link to comment Share on other sites More sharing options...
matfish Posted February 9, 2009 Author Share Posted February 9, 2009 Hi, many thanks for the reply. Yes they share the same database schema, but I'm having trouble with my website hosts - some security issue crap. Which is why I could only find a "work around" by posting a string which would be the local query to a script which would run the query. Many thanks Quote Link to comment Share on other sites More sharing options...
trq Posted February 9, 2009 Share Posted February 9, 2009 Take a look at curl then. Quote Link to comment Share on other sites More sharing options...
matfish Posted February 9, 2009 Author Share Posted February 9, 2009 I thought curl was for pulling data? Are you able to post data with curl? Many thanks Quote Link to comment Share on other sites More sharing options...
trq Posted February 9, 2009 Share Posted February 9, 2009 Are you able to post data with curl? Indeed you are. Quote Link to comment Share on other sites More sharing options...
matfish Posted February 9, 2009 Author Share Posted February 9, 2009 That's great thank you. Now I know which way to go, I will look into Curl. Thanks again Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.