> I want to write to a given file using the code below. Somehow I get the
> parse error. I thnk it has something to do with --- @Listing ----
> Is this a setting in my php.ini which is wrong or is the code maybe wrong (I
> copied it out of a php text book.)
What is this @Listing thing supposed to do? The @ character is used to
swallow errors/warnings from a function call. The way you are using it is
completely invalid.
It is documented here:
http://www.php.net/manual/en/language.operators.errorcontrol.php
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]