add slashes - stip slashes - magic quotes - etc.

Okay seems like I should be able to get this to work, but…

The server has both the magic_quotes_gpc and magic_quotes_runtime off.

I have a .htaccess file like so:
php_value magic_quotes_gpc on
php_value magic_quotes_runtime on

in a domains htdocs folder.

I get an error with a script on a MySQL insert dealing with a ’ in the form input.

Cannot solve it with (add)stripslashes…

I know I have done this before but I am having vapor lock and have a deadline.

Any help out there, pointers to samples online, etc?

I got it…

But writing it out helped :slight_smile:

Jtk

Re: add slashes - stip slashes - magic quotes - etc.

jtk wrote:
>
> I get an error with a script on a MySQL insert dealing with a ’ in the
> form input.

I think you can fix that by substituting all ’ chars with ’


Peter N. Go - mailto:peter@icthus.net

http://CGI-City.net http://ArticleCity.com
http://ZenSearch.com http://BannerBuild.com
http://RegisterGuy.com http://BudgetWebHost.com
http://NewsCuts.com http://FreeMailWeb.com

2,500 Qualified Visitors to your website for only $25.
http://www.icthus.net/pay-per-click/

Accept Credit Cards Online. Run An Affiliate Program.
http://www.icthus.net/cgi-city/clickbank.html