Help send file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

I don't know why tcp packets are blocked between your two computers.
But I doubt that the service at port 5050 will accept a udp "connection".

$out = "GET / HTTP/1.1\r\n";
GET? I thought it was POST.

The manual tells you how to install PEAR and its components, see http://pear.php.net/manual/en/installation.php
roby2411
Forum Newbie
Posts: 13
Joined: Tue Sep 12, 2006 9:52 am

Post by roby2411 »

Dear Volka

if i create a variable like the one below


Code: Select all

$msg = "<?xml version=\"1.0\"?><SIGNData><SIGNMessage><Submit DeliveyReport=\"Yes\" ReadReply=\"No\" ReplyCharging=\"No\" Adaptation=\"Yes\" Redistribution=\"No\"><ID>-1</ID><Type>MT_TEST</Type><From AddrType=\"AT_EMAIL\" UserID=\"test\" UserCredit=\"10\">test</From><Recipients><To AddrType=\"AT_MISSDN\">202</To></Recipients><Subject>PHP</Subject><ObjectList><Object></Object></ObjectList><SmilFrame ID=\"0\"><Duration>3</Duration></SmilFrame><SmilFrame ID=\"1\"><Duration>3</Duration></SmilFrame><ServiceCode></ServiceCode><LinkedID></LinkedID><ClassType> MM_CT_PERSONNEL</ClassType><Priority> MM_PT_NORMAL</Priority><SubmitTime>2006-07-05T12:25:14-0400</SubmitTime><ExpiryTime>2006-07-08T00:00:00-0400</ExpiryTime><DeliveryTime>2006-07-05T00:00:00-0400</DeliveryTime><ReplyDeadLine></ReplyDeadLine></Submit></SIGNMessage></SIGNData>";
may u help me sending $msg to http://192.168.1.1:5050 without using form or need to submit i need code that once find $msg deliver it to the URL
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

I really don't know what's goning on on your network and why the connection is blocked. Can't tell, simply can't.
Post Reply