Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-16-2006, 12:42 PM   PM User | #1
rhytha
New to the CF scene

 
Join Date: Jun 2005
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
rhytha is an unknown quantity at this point
Unhappy Strange error while connecting other server.... Plz help me

Hi

I got a strange error when i used connect other server file using socket in PHP.... This error come only in some times i hope alternatively

Error : Not Acceptable
An appropriate representation of the requested resource /cp/CreateWHMSAcct.php could not be found on this server.


This is the code i used to connect other server which will return back result:-

$req=new HttpRequest($POST_URL);
$req->addRequestHeader("User-Agent: PostIt");
$req->sendRequest("POST",$postdata);
$result=$req->getResponse();
$result=$req->getResponseBody();

Will any one help me to solve this problem.....


Thaks in Advance....

Last edited by rhytha; 11-16-2006 at 12:43 PM.. Reason: Alighnment misatake
rhytha is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:52 PM.


Advertisement
Log in to turn off these ads.