PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Warning: fopen(http://localhost/file.php) [function.fopen]: failed to open stream: HTTP wrapper does not support writeable connections in X:\xampp\htdocs\editor.php on line 27
You cannot access remote file for writing (unless the remote file is not mounted by the operating system). You have to access a PHP script on the remote server, that works with the file...
If you want to read file, use:
fopen("http://localhost/file.php", "r")
If you want to write to the file... you can't
What will happen if everyone could write to every site he wants?