Hello.
I am having a weird issue:
I have a laptop where I do most of the coding and test all the stuff I read or like to learn about. On this laptop I have xamplite installed on WinXP I have a script when ran on the laptop it works fine but when run on my server on Linux is not working as on the laptop.
Here's a snip:
$query = "insert into ows_ticket( id, cust_id, name, cat, priority, source, rep, subj, problem ) " .
"values ( $id, $cust_id, '" . $_REQUEST['name'] . "', " . $_REQUEST['cat'] .
", '" . $_REQUEST['priority'] . "', '" . $_REQUEST['source'] . "', '" . $_SESSION['SESS_LOGIN'] .
"', '" . mysql_real_escape_string( $subject ). "', '" . mysql_real_escape_string( $_REQUEST['mesg'] ) . "')";
When ran on the Linux server the: mysql_real_escape_string( $subject ) and mysql_real_escape_string( $_REQUEST['mesg'] ) do not get saved on the DB.
I'm running PHP Version 5.2.6-1+lenny8 on Linux and PHP Version 5.2.9 on WinXP.
Any suggestions on what might be wrong?
Thanks in advanced for your help.