Cytat(pietrov8 @ 3.08.2009, 14:34:05 )

<?php
$fp = fopen('http://www.agraven.pl/sklep/product_info.php?products_id=26', 'w');
?>
Zastosowałe to i...
Warning: fopen(http://www.agraven.pl/sklep/product_info.php?products_id=26) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections. in C:\Program Files\WebServ\httpd\skrypty\wyciaganie.php on line 3
Warning: fwrite(): supplied argument is not a valid stream resource in C:\Program Files\WebServ\httpd\skrypty\wyciaganie.php on line 4
Warning: fwrite(): supplied argument is not a valid stream resource in C:\Program Files\WebServ\httpd\skrypty\wyciaganie.php on line 5
Warning: fclose(): supplied argument is not a valid stream resource in C:\Program Files\WebServ\httpd\skrypty\wyciaganie.php on line 6
Otwierasz ten plik z atrybutem do zapisu , a fwrite zapisuje do tamtej strony, to nie ma prawa działać. Użyj file_get_contents tak jak Unik2psc radzi, nie pomyślałem o tym.
EDIT down:
No pewnie, że wyświetla Ci się normalna strona podana w skrypcie , bo to jest zadanie file_get_contents:
Cytat
file_get_contents — Reads entire file into a string
Teraz musisz otworzyć plik, tudzież go stworzyć , do tego posłuży Ci : fopen + fwrite, poczytaj manual, tam wszystko masz czarno na białym.