Help - Search - Members - Calendar
Full Version: mysql, php or cobalt problem?
The Planet Forums > System Administration > Server Hardware > RaQ Support
Berlin
I moved my php wmnews system on a cobalt raq4i with php4.1-1 and MySQL 3.23.37 (yes I will upgrade)

It worked fine in my old system. But in my Cobalt, my php wmnews will not save articles with single quotation marks.

wmnews uses FixQuotes... I already tried replacing Fixqoutes with addslashes, but addslashes only duplicates the entire page upon clicking preview and will not also save.(Found this in php bug summary report.
http://www.zend.com/lists/php-dev/200111/msg00144.html
bug: 10372 Duplicate php addslashes() the entire page)

I even tried turning on magic quotes gpc but it didn't work. Could this be a mysql problem instead of php? what's wrong with cobalts?
Powerlord
QUOTE
Originally posted by Berlin
I moved my php wmnews system on a cobalt raq4i with php4.1-1 and MySQL 3.23.37 (yes I will upgrade)  

It worked fine in my old system. But in my Cobalt, my php wmnews will not save articles with single quotation marks.  

wmnews uses FixQuotes... I already tried replacing Fixqoutes with addslashes, but addslashes only duplicates the entire page upon clicking preview and will not also save.(Found this in php bug summary report.
http://www.zend.com/lists/php-dev/200111/msg00144.html
bug: 10372 Duplicate  php addslashes() the entire page)

I even tried turning on magic quotes gpc but it didn't work. Could this be a mysql problem instead of php? what's wrong with cobalts?

PHP 4.0.3 and higher has a mysql_escape_string function. Maybe that would work better for you.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.