[PHP] Re: Table exists?

2002-02-09 Thread Martin C. Petersen
Nick Wilson wrote: What would be the easiest way to see if a MySQL table exists with PHP? I can do it by checking against mysql_list_tables() but that seems a little clumsy. Is there a better way? Do a select on the table - if the query returns true the table exists otherwise the test is

[PHP] mail() - 7bit headers

2002-02-07 Thread Martin C. Petersen
How do i encode 8 bit text to 7 bit in php so that the mail server (courier) won't complain about 8 bit content in the header (From:) while still enabling mailreaders to decode it? Regards Martin Petersen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Re: Mail stopped working - Somewhat Urgent

2002-02-07 Thread Martin C. Petersen
Bryan Gintz wrote: All of a sudden Mail through PHP just stopped working, we can do it through the command line, but refuses to work in PHP. Any ideas? Does the maillog mention any errors? How about the webserver log? Best regards Martin -- PHP General Mailing List (http://www.php.net/)