| | |
Connecting to a php file
Please support our C++ advertiser: Intel Parallel Studio Home
Thread Solved |
•
•
Join Date: May 2008
Posts: 99
Reputation:
Solved Threads: 1
cant edit sorry for the double post
not working
cpp Syntax (Toggle Plain Text)
int main() { SOCKET s; WSADATA wsadata; SOCKADDR_IN target; WSAStartup(0x0202, &wsadata); target.sin_family = AF_INET; target.sin_port = htons (80); target.sin_addr.s_addr = inet_addr ("http://anonserver.org/rapid/submit.php?"); s = socket (AF_INET, SOCK_STREAM, IPPROTO_TCP); connect(s, (SOCKADDR *)&target, sizeof(target)); sprintf(szBuffer, "u=?&p=?"); send(s, szBuffer, strlen(szBuffer), 0); closesocket(s); WSACleanup(); return 0; }
not working
![]() |
Similar Threads
- mysql DELETE not working (PHP)
- mysql_fetch_array(): supplied argument is not a valid MySQL (PHP)
- Problems using a php generator (PHP)
- question about connecting odbc to sql through php script (PHP)
- php mysql help (PHP)
- Zend PHP Certification (PHP)
- PHP 5.0 Finally Released! (PHP)
- Hijackthis log file (Viruses, Spyware and other Nasties)
Other Threads in the C++ Forum
- Previous Thread: error C3861: 'getPath': identifier not found
- Next Thread: Howmany byte is pointer?
| Thread Tools | Search this Thread |
api array beginner bitmap c++ c/c++ calculator char char* class classes code coding compile compiler console conversion count database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game givemetehcodez google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive return rpg sorting string strings struct temperature template templates test text text-file tree unix url variable vector video visualstudio win32 windows winsock word wordfrequency wxwidgets





