![]() |
![]() |
![]()
Post
#1
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 24.01.2011 Ostrzeżenie: (0%) ![]() ![]() |
Chcę wstawić w stronę obrazek, który leży na innym dysku niż PHP.
Plik nazywa się image.php:
Po wpisaniu http://.../image.php tworzony jest plik test.jpg ale nie pokazuje się nic w przeglądarce (IMG:style_emoticons/default/sad.gif) |
|
|
![]() |
![]()
Post
#2
|
|
Grupa: Zarejestrowani Postów: 6 Pomógł: 0 Dołączył: 24.01.2011 Ostrzeżenie: (0%) ![]() ![]() |
Część php.ini wygląda ta:
;;;;;;;;;;;;;;;;;; ; Fopen wrappers ; ;;;;;;;;;;;;;;;;;; ; Whether to allow the treatment of URLs (like http:// or ftp://) as files. ; http://php.net/allow-url-fopen allow_url_fopen = On ; Whether to allow include/require to open URLs (like http:// or ftp://) as files. ; http://php.net/allow-url-include allow_url_include = Off ale i tak nie działa (IMG:style_emoticons/default/sad.gif) i jeszcze jedno: jak usunę linię header("Content-type: image/jpg"); to pokazuje się zawartość (oczywiście w postaci "krzaków") |
|
|
![]() ![]() |
![]() |
Aktualny czas: 16.10.2025 - 08:40 |