What do you send to MySQL? $query is just a string.

Sie schrieben am Montag, 9. Juli 2001, 12:45:48:

> MySQL pops out a error message - "unable to save result set in example.php
> on line xxx"
> but the data gets put inside the database anyway...

Why should php try to save something into a file? You must tell
it to do so. And if you do, you have bad luck. php runs as
nobody, and nobody should not be able to write to files.

The problem is not with MySQL, as is obvious.

You should look for line xxx. Here you will try to write to the
file, which cannot work unless you define the rights accordingly.
You may chmod the rights on the file you want to write to or put
that file into a directory open for nobody.

Will this be a good idea? I'm not sure. There are good reasons to
run php as nobody. If you want to save data from input, you will
rather use MySQL, which is a controlled procedure.

As you do already, I wonder why and what you want to write to a
file.

-- 
Herzlich
Werner Stuerenburg            

_________________________________________________
ISIS Verlag, Teut 3, D-32683 Barntrup-Alverdissen
Tel 0(049) 5224-997 407 ˇ Fax 0(049) 5224-997 409
http://pferdezeitung.de



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to