Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6983809
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:28:05+00:00 2026-05-27T18:28:05+00:00

When my program is running localhost, its working perfect. When it’s on 000webhost.com, via

  • 0

When my program is running localhost, its working perfect. When it’s on 000webhost.com, via php admin, this correct statement:

select * from table where name like ‘testi%’;

is changed to (\ is injected before all ‘)

select * from table where name like \’testi%\’;

and will generate an error. the version of mysql and php they are using is mysql 5.5 and php 5.2. anyone knows how to fix this stupid problem? I’m positive the error is not within my code since its working fine on localhost.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T18:28:05+00:00Added an answer on May 27, 2026 at 6:28 pm

    You are running into the evil, evil Magic Quotes. Consult your host’s documentation for exactly which method they use to turn it off, but you will either create an .htaccess file or a php.ini file in the root of your domain’s www/ directory.

    PHP manual info: http://www.php.net/manual/en/security.magicquotes.disabling.php

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've got a PHP command line program running. And I want to connect to
I'm working on a project where a program running on the mobile phone needs
I'm working on a Java 2D rendering program (running on 1.6.0_11), which uses external
was followin this tutorial http://code.google.com/intl/et-EE/webtoolkit/usingeclipse.html when i run my program in browser by IP
I tried running the following code: (http://localhost/read.php) <html> <body> <?php $link = mysql_connect('localhost', 'root',
Could somebody help me with this problem. I just trasferred my PHP/MYSQL program to
I have a .NET CF program (running on a Smartphone) and I have written
What is the best way to have my C# Compact Framework program running in
I have a situation where I might have multiple instances of a program running
I have a program 'foo' running different threads, fooT1, fooT2, .. fooTn. Now if

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.