| | |
Connecting to a php file
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 based binary bitmap business c++ c/c++ char class classes code coding commentinghelp compile console conversion count decide delete deploy desktop developer directshow dll download dynamic dynamiccharacterarray email encryption error file forms fstream function functions game givemetehcodez graph guess gui homeworkhelp homeworkhelper iamthwee ifpug ifstream incrementoperators infinite input int integer java lib linkedlist linker loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem proficiency program programming project python random read recursion reference rpg string strings temperature template templates test text text-file tree url variable vector video win32 windows winsock word wordfrequency wxwidgets





