Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> fsockopen i cookies...
Supol
post
Post #1





Grupa: Zarejestrowani
Postów: 33
Pomógł: 0
Dołączył: 20.09.2003

Ostrzeżenie: (0%)
-----


Czy mozna oderbac (odczytac) cookies wysylany przez stronke otwierana przez fsockopen() (IMG:http://forum.php.pl/style_emoticons/default/questionmark.gif)
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
hwao
post
Post #2


Developer


Grupa: Moderatorzy
Postów: 2 844
Pomógł: 20
Dołączył: 25.11.2003
Skąd: Olkusz




Sorka zapomnialem kawałku
  1. <?php
  2. if ( $method == &#092;"POST\" ) {
  3.  $lenght = strlen( $postValues );
  4.  $request .= &#092;"Content-Type: application/x-www-form-urlencodedrn\";
  5.  $request .= &#092;"Content-Length: $lenghtrn\";
  6.  $request .= &#092;"rn\";
  7.  $request .= $postValues;
  8. }
  9. ?>


Poczytaj manuala i komentarze tam masz calosc "tego"
http://pl.php.net/fsockopen
Go to the top of the page
+Quote Post

Posty w temacie


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 11.10.2025 - 15:39