Hi

I have this

***********
line 1
line 2
...
***********

and i want have this after my script ...
***********
MY NEW TEXT
line 1
line 2
...
***********

i had test this but it seems not work :

$fp = fopen("test", "a+");

fseek ($fp,0);

fputs($fp,"set IP=192.11.11.11\n");

fclose($fp);



i had test the same script with w+ and rewind($fp) but it didnt work ...



thx .....



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to