ErikB Posted March 30, 2006 Share Posted March 30, 2006 Hello I hope you guys can help me. i'm sure it's pretty basic but i'm pretty new to php in general and never tried the fsockopen before, but i need to learn how to post to this API for work so i would greatly appreciate any help or pointing me in the right direction. (tried searching but i probably don't know the right thing to search for)anyway here is the code that i attempted to rig together from a few different tutorials. ultimately it has to go to marketer2.silverpop.com/servlet/XMLAPI and port 80. thanks again!for some reason it won't let me post the actual code so i tried at this php help forum and if you'll take the extra step you'll find it here. thanks again![a href=\"http://codewalkers.com/forum/index.php?action=displaythread&forum=phpcoding&id=16760&realm=default\" target=\"_blank\"]http://codewalkers.com/forum/index.php?act...0&realm=default[/a] Quote Link to comment https://forums.phpfreaks.com/topic/6156-socket-and-xml-help-please/ Share on other sites More sharing options...
Guest footballkid4 Posted March 30, 2006 Share Posted March 30, 2006 Sockets can be sort of tricky sometimes. I would suggest using curl() (if you have access to it) it's a much easier set of functions to deal with, there is no fgets() and fread(), it's just one curl_exec Quote Link to comment https://forums.phpfreaks.com/topic/6156-socket-and-xml-help-please/#findComment-22304 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.