| | | | |
| | |
| Gast
Beiträge: n/a
| Mojens, Denke das ich diese Funktion für eine automatische post - Absendung brauche, hab sie aber leider noch nicht richtig verstanden. Was ich machen will: die simulierung eines ausgefüllten Formulars, also im Grunde nur den post abschicken. wollte mir einfach mal das Ergebnis ausgeben lassen. $open = fsockopen("http://www.example.de/"); //da steht eine echte domain drin echo $open; und bekomme diese Fehlermeldung: Warning: fsockopen() [function.fsockopen]: unable to connect to http://www.example.de/ (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in Welche Einstellung in phpinfo ist das oder blockiert der Zielserver (Host)? Kennt sich jemand mit der Funktion aus laut php.net Die Funktion fsockopen() gibt einen Zeiger auf eine Datei zurück, der in Verbindung mit anderen Datei-Funktionen (wie z.B. fgets(), fgetss(), fputs(), fclose(), feof()) gebraucht werden kann. was kann ich damit anfangen woher weis ich welchen post ich im endeffekt senden muss um eine automatische Eintragung zu schaffen? Ich glaube sowas net man bot ich möchte mich in der Zunkunft stärker mit dem Thema beschäftigen auf verschiedene Weise. suchen, eintragen usw Kennt jemand ein spezielles Buch dazu oder Seiten oder oder .... mbg rotmilan |
| | |
| PHP Code Flüsterer Registriert seit: 21.08.2005 Beiträge: 4682 PHP-Kenntnisse: Fortgeschritten | |
| | |
| Gast
Beiträge: n/a
| Und dabei gibt es so wunderbare Beispiele: http://www.php.net/manual/de/function.fsockopen.php |
| | |
| Gast
Beiträge: n/a
| $open = fsockopen(http://www.tvtoday.de,80); naja aus der Doku bin nich ganz schlau geworden aber das habt ihr ja oben gelesen!! was ist mit errno und errstr gemeint nt fsockopen ( string target, int port [, int errno [, string errstr [, double timeout]]] ) mbg rotmilan |
| | |
| Gast
Beiträge: n/a
| Wenn das Script ohne error laufen würde dann hätte ich die Frage worauf die Fehlerausgebe hindeutet Warning: fsockopen() [function.fsockopen]: unable to connect to http://www.tvtoday.de:80 (Unable to find the socket transport "http" - did you forget to enable it when you configured PHP?) in C:\Apache2\htdocs\file.php on line 11 did you forget to enable it when you CONFIGURED PHP, wo könnt ich das einstellen? ausgelassen! und unklar is für mich für was $errno, $errstr steht.? |
| Themen-Optionen | |
| Thema bewerten | |
|
|
Ähnliche Themen | ||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| Frage zu fsockopen() | Pennywise | PHP Tipps 2008 | 2 | 27.07.2008 14:50 |
| fsockopen - timeserver | chinchiller | PHP Tipps 2008 | 8 | 07.06.2008 11:15 |
| fsockopen() - Problemdomains | dragon1402 | PHP Tipps 2006 | 9 | 30.08.2006 11:57 |
| fsockopen: broadcast nicht erlaubt (WOL) | HStev | PHP-Fortgeschrittene | 0 | 07.02.2006 20:18 |
| fsockopen() Problem - weis nicht mehr weiter :( | web2 | PHP Tipps 2005-2 | 22 | 21.10.2005 15:31 |
| fsockopen problem | PHP Tipps 2005-2 | 1 | 24.09.2005 21:41 | |
| fsockopen problem | PHP Tipps 2005 | 4 | 09.05.2005 01:03 | |
| php fsockopen fgets response check: 404 und 403 warum? | ff-webdesigner.de | PHP Tipps 2005 | 4 | 17.04.2005 14:06 |
| [Erledigt] fsockopen über socks proxy | PHP-Fortgeschrittene | 1 | 17.03.2005 09:38 | |
| fsockopen - Fehlermeldung ausschalten | PHP-Fortgeschrittene | 2 | 09.11.2004 20:12 | |
| fsockopen, verbindung ins netzwerk? | PHP-Fortgeschrittene | 5 | 30.10.2004 12:42 | |
| Probleme mit fsockopen() | PHP Tipps 2004 | 5 | 22.10.2004 13:55 | |
| fsockopen: while(!feof($fp)) dauert bei manchen Servern 15 s | tapferesschneiderlein | PHP-Fortgeschrittene | 7 | 13.09.2004 18:47 |
| Was bedeutet mit fsockopen: Resource id #2 | PHP Tipps 2004 | 3 | 13.09.2004 17:26 | |
| fsockopen | PHP Tipps 2004 | 2 | 22.06.2004 14:46 | |
| Besucher kamen über folgende Suchanfragen bei Google auf diese Seite |
| unable to find the socket transport \http\, unable to find the socket transport \http\ - did you forget to enable it when you configured php?, unable to find the socket transport \http\ - did you forget to enable it when you configured php, php unable to find the socket transport \http\, fsockopen unable to find the socket transport \http\, fsockopen, fsockopen erlauben, php fsockopen einstellung, unable to find the socket transport http did you forget to enable it when you configured php, (unable to find the socket transport \http\ - did you forget to enable it when you configured php?), unable to find the socket transport http, (unable to find the socket transport \http\, unable to find the socket transport \http\ - did you forget to enable it when you configured php?), fsockopen einstellen, did you forget to enable it when you configured php, unable to find the socket transport \http, php fsockopen erlauben, unable to find the socket transport \http\ -, php fsockopen einstellen, fsockopen php |

Dieser Inhalt ist unter einer Creative Commons-Lizenz lizenziert.