Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP] Header, podpięcie
desavil
post
Post #1





Grupa: Zarejestrowani
Postów: 339
Pomógł: 3
Dołączył: 15.10.2008
Skąd: Internet

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


Witam, czy da się podpiąć takie coś:
Cytat

Do swojego hedera żeby pobierać np. @readfile(); czy jakoś.
Proszę o pomoc, jakieś porady, przykłady.

Pozdrawiam,
Go to the top of the page
+Quote Post
 
Start new topic
Odpowiedzi
desavil
post
Post #2





Grupa: Zarejestrowani
Postów: 339
Pomógł: 3
Dołączył: 15.10.2008
Skąd: Internet

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


Mam takie coś:
  1. <?php
  2. $genlink = file_get_contents("http://www.vidster.pl/I5I23VBI.flv");
  3.  
  4. header("Pragma: public"); // required
  5. header("Expires: 0");
  6. header("Cache-Control: private",false);
  7. header("Content-Type: video/flv");
  8. header("Content-Disposition: attachment; filename=I5I23VBI.flv");
  9. header("Content-transfer-encoding: binary");
  10. @readfile($genlink);
  11. ?>

Co proponujesz tutaj zmienić(IMG:style_emoticons/default/questionmark.gif)
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: 12.10.2025 - 08:54