Actually, what I am referring to is that whenever one of the Nigerian
scams comes through this list, someone's spam filter sends back an
email indicating that Spamassasin has determined that it's SPAM. But
I can't find any indication in the emails or headers that says where
the notice is coming
Does anyone know if it is possible to suppress MySQL error messages?
For example
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /var/www/killerspin/public/preview_checkout.php on line 25
Stop using mysql functions on invalid result sets?
This is
Ex.
$number = @mysql_num_rows($result_var);
Having a bit of a brain cramp right now as I normally do not suppress
errors. My apologies if I'm wrong.
The at sign works fine for suppressing error messages from mysql, but I usually have
it at the beginning of the assignment, as in:
@ $number
Does anybody knows any kind of odbc for c-treeĀ“s databases in linux ?
Thanks in advance,
Gabriel.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Matt,
The only thing I could think of is that since it's the mysql function that
you don't want to return the error, it's cleaner to put the @ right before
the function call. That way it's crystal clear what's not supposed to return
the error.
And John was right, I incorrectly referred to the @
Having a member login is just checking the password against the database and
starting a session for that person, right?
Rick
_
Protect your PC - get McAfee.com VirusScan Online
Having a member login is just checking the password against the database
and
starting a session for that person, right?
Sure... might want to check the username, also. :)
---John Holmes...
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
I have a message box, where user can write more lines of comment. I store it
in a mysql db in a TEXT field.
But if I use echo command to display the value of the field I become the
value without linebreaks. How can I display the value in the same style as
input was?
Thanks!
Example:
User
if i'm understanding you correctly, you're looking for this???
nl2br()
http://www.php.net/manual/en/function.nl2br.php
John M.
Hi there everyone,
Is it possible to control user access to directories on Linux via PHP and MySQL? I
mean the basic authentication which pops up a username and password, is it possible
that it gets this info from a database rather than from the standard Linux user
scheme? (Phrasing may be
I am using a ISP that provides php and mysql but doesn't allow me to edit
the php.ini. I cannot change the include path to point to a directory I
have access to. Is there a way to set ini setting in a script ?
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit:
On Tue, 27 May 2003 14:15:58 -0400
CPT John W. Holmes [EMAIL PROTECTED] wrote:
Having a member login is just checking the password against the
database
and
starting a session for that person, right?
Sure... might want to check the username, also. :)
---John Holmes...
Elementary,
On Tue, 27 May 2003 20:13:52 -0400
Harlan Lax [EMAIL PROTECTED] wrote:
I am using a ISP that provides php and mysql but doesn't allow me to
edit the php.ini. I cannot change the include path to point to a
directory I have access to. Is there a way to set ini setting in a
script ?
Harlan,
on 05/27/2003 8:13 PM, Harlan Lax at [EMAIL PROTECTED] appended the
following bits to my mbox:
I am using a ISP that provides php and mysql but doesn't allow me to edit
the php.ini. I cannot change the include path to point to a directory I
have access to. Is there a way to set ini setting
That makes sense ... guess I shouldn't respond to questions so late at night
and with any bit of alcohol. :P
S.: did you find a workaround?
Regards,
Matt.
x116
-Original Message-
From: Leif K-Brooks [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 27, 2003 2:47 AM
To: Matthew Moldvan
Cc: S.
Hello All,
I am new to working with classes and have created to classes. I have a
session class which writes the sessions to a table and I have a login
class which is used to determine if you can login or not or if a session
currently exists. The issue I am running into is that I would like to
Look in the reference directory.
There is INSTALL.txt (change AuthMySQLDB 'crm' to 'crimson') and CRM
database.sql.
Sorry I didn't reply. All the mail with PHP in the subject gets procmail
filtered into there.
-Original Message-
From: Matthew Moldvan [mailto:[EMAIL PROTECTED]
Sent:
17 matches
Mail list logo