![]() Preserved Topic: mySQL... huh? (Page 1 of 1) |
|
---|---|
Maniac (V) Inmate From: Brisbane, Australia |
![]() I came accross an odd problem recently: code: $string = ereg_replace ("\'", "\\'", $string);
|
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() AddSlashes() is your friend... |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() I had a similar problem with slashes getting added automatically on Windows. For that I needed to add stripslashes in the code to keep slashes from getting added everytime I updated something. |
Maniac (V) Mad Scientist From: Rochester, New York, USA |
![]() mysql_escape_string() is also your friend. |
Maniac (V) Inmate From: Brisbane, Australia |
![]() Ok. Everything worked fine in Windows without touching anything. I wrote and tested the script on windows. |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() |
Maniac (V) Inmate From: Brisbane, Australia |
![]() mr.maX: Shit hay, that many inbuilt functions... Oh, and I just used the standard FoxServe install, didn't touch nothing cause I didn't want to break nothin (If it ain't broke don't fix it). I don't have any experience running server software of any kind on any system either so.... But I'll devote some time to reading up on the PHP config section of the manual. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
![]() No worries |