Ceturtdiena, 2025. gada 20. marts
If you want a simple example to ask the server for all the content, but only save a portion of it, do it this way:
<?php
$content=file_get_contents("http://www.google.com/",FALSE,NULL,0,20);
echo $content;
?>
This will echo the 20 first bytes of the google.com source code.
BH @ 2007. gada 30. janvāris [08:29:13]
Nav komentāru
Komentāra pievienošanas forma:
TrackBack: