PDA

View Full Version : Httpsocket problem



simon186
04-15-2008, 01:58 PM
I have a problem with a script which creates accounts automaticly. Aftrer running script i see
Class 'HTTPSocket' not found in /home/michalk/domains/kjtt.eu/public_html/cod/index.php on line 23


This is the whole file which I found http://www.directadmin.com/sample_api.txt (http://www.directadmin.com/sample_api.txt) . Please help me

pkilam
04-15-2008, 09:05 PM
Do you have the line:

include 'httpsocket.php';

in your script?

You need to have the file httpsocket.php there and include that file on your script in order to be able to call the class.

simon186
04-16-2008, 02:10 PM
yes, I have the line with include. But the problem is that I dont know how to find the httpsocket.php file? Or maybe how to make it by my own

pkilam
04-16-2008, 07:59 PM
You have to download the class, the link to the download is in this thread

http://www.directadmin.com/forum/showthread.php?t=258