RE: [PHP-DB] Do data stored to MySql via SSL site
| From: | USA) | Date: | Wed, 16 Apr 2003 16:14:11 +0000 |
| Subject: | RE: [PHP-DB] Do data stored to MySql via SSL site | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-27123@lists.php.net to get a copy of this message | ||
If the SSL area is on a different server you may have database connection problems from there. You
may want to turn on error reporting in the vicinity of your insert/update query to be sure that you
have a connection and the query is being executed. If it is then there really isn't a good
reason that it would not work.
Two useful commands for this are: error_reporting(E_ALL); and echo mysql_error($connection);
Another possibility I can think of is that the php configuration is a tad different on the SSL
server. magic_quotes_gpc in php.ini controls whether or not slashes are automatically added to your
values. Try echoing your query to verify this.
<>< Ryan
-----Original Message-----
From: Dave Carrera [mailto:dave@ephgroup.com]
Sent: Wednesday, April 16, 2003 5:26 AM
To: php-db@lists.php.net
Subject: [PHP-DB] Do data stored to MySql via SSL site
Hi All
My script is not storing posted form data to my MySql db when in a SSL
area. Why?
My Script work ok outside of the SSL area so is there something I have
to do to enable form posted data to be stored?
Thank you in advance for any help
Dave C
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.471 / Virus Database: 269 - Release Date: 10/04/2003
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php