pannlann Posted November 22, 2006 Share Posted November 22, 2006 Hi Everyone this is my first time i be here and here is my problemi would like to send xml script to exact ip and port through TCP protocal.I have no idea to do this task :( so if there is anybody got some solution or any suggestion of the problem please reply in this topic or send me an e-mail ([email protected])Thankz lotPS here is my xml script POST / HTTP/1.1Host: 172.16.74.234Content-type: text/xmlConnection: Keep-AliveAuthorization: Basic MDMwMDIyMDAwMTpLWDl6MHl2aQ==Content-length: 426<?xml version="1.0" encoding="TIS-620"?><message> <sms type="mt"> <service-id>0300220001</service-id> <destination> <address> <number type="international">6691006414</number> </address> </destination> <source> <address> <number type="abbreviated">9666</number> </address> </source> <ud type="text" encoding="default">Test SID:0300220001 by PUT2CPx.pl</ud> <scts>2005-12-22T12:32:37Z</scts> <dro>true</dro> </sms></message> Link to comment https://forums.phpfreaks.com/topic/28067-about-tcp/ Share on other sites More sharing options...
Vikas Jayna Posted November 22, 2006 Share Posted November 22, 2006 You can try the [b]fsockopen()[/b] function.See the link http://in.php.net/manual/en/function.fsockopen.php Link to comment https://forums.phpfreaks.com/topic/28067-about-tcp/#findComment-128418 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.