Hi there
I've a PHP script that searches for a string in a text file and overwrites that string with a different string if the first string exists - standard find and replace stuff. This works fine on my windows machine test machine, but does not work on the server.
Both local and server run PHP 4.2.1.
I'm using str_replace() to replace the string.
The permissions on the server I've tried are 777, 755, 666.
Any thoughts on what I may be doing wrong?
Thanks!
-Colin
I've a PHP script that searches for a string in a text file and overwrites that string with a different string if the first string exists - standard find and replace stuff. This works fine on my windows machine test machine, but does not work on the server.
Both local and server run PHP 4.2.1.
I'm using str_replace() to replace the string.
The permissions on the server I've tried are 777, 755, 666.
Any thoughts on what I may be doing wrong?
Thanks!
-Colin