abs0lut Posted January 4, 2009 Share Posted January 4, 2009 is it possible to insert data in another server? I need to insert the value of a variable from other server to my server. could you please help me? Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/ Share on other sites More sharing options...
premiso Posted January 4, 2009 Share Posted January 4, 2009 Be more descriptive of what you want...how do you get the data from the other server? cUrl? file_get_contents? Or have you thought of that? Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729147 Share on other sites More sharing options...
abs0lut Posted January 4, 2009 Author Share Posted January 4, 2009 I don't know how to get the data from the other server. I give my friend a file then I want to know the url if he upload it. is it possible? Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729149 Share on other sites More sharing options...
ratcateme Posted January 4, 2009 Share Posted January 4, 2009 what kind of data MYSQL, xml files, php file output? Scott. Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729152 Share on other sites More sharing options...
abs0lut Posted January 4, 2009 Author Share Posted January 4, 2009 what kind of data MYSQL, xml files, php file output? Scott. I want to insert the data in the database (mysql). Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729154 Share on other sites More sharing options...
ratcateme Posted January 4, 2009 Share Posted January 4, 2009 well if port 3306 is not being blocked by the other server you should be able to connect to it but first you would have to allow the IP of the first server access to the mysql databse http://dev.mysql.com/doc/refman/5.1/en/adding-users.html if you have root access you can do it by using what is shown in that link replace locahost with the IP of the first server if you have CPanel or something similar you should be able to add mysql users with a IP Scott. Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729158 Share on other sites More sharing options...
abs0lut Posted January 4, 2009 Author Share Posted January 4, 2009 well if port 3306 is not being blocked by the other server you should be able to connect to it but first you would have to allow the IP of the first server access to the mysql databse http://dev.mysql.com/doc/refman/5.1/en/adding-users.html if you have root access you can do it by using what is shown in that link replace locahost with the IP of the first server if you have CPanel or something similar you should be able to add mysql users with a IP Scott. if port 3306 is not being blocked by my server or other server? I give a file to my friend then I want to know the url if he upload it. is it possible? what will I put in the file that I will give? Quote Link to comment https://forums.phpfreaks.com/topic/139396-inserting-data-to-other-server/#findComment-729250 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.