Hi all,

I have a very small example which was working on php-4.0.6 (actually taken from the 
documentation, was one of the user examples) - please find it below:

Files in directory: 
writer.php
textfile.txt
--------------------------
<?
$text = "hello";
$fpop=popen("vi testfile.txt","w");
fputs($fpop,"i");
fputs($fpop,"$text");
fputs($fpop,chr(27));
fputs($fpop,":wq\r");
pclose($fpop);
?>

This little snippet simply refuses to work on php-4.1.1. I had a look at the ChangeLog 
and bug reports, but couldn't find anything which would help. 

Any assistance would be appreciated!

-m.


_____________________________________________________________
Sign up for FREE email from 'Probed By Aliens' and other insane addresses at 
http://www.tshirthell.com

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

Reply via email to