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

  • SEARCH
  • Home
  • 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 8793313
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:06:25+00:00 2026-06-13T23:06:25+00:00

I have a CentOS 5 VPS and I have just installed my website there.

  • 0

I have a CentOS 5 VPS and I have just installed my website there. But I have problems that when I’m inserting special characters into the password field like: ‘ (apostophe) or something like that, I always get the error, that this password is incorrect :/ I guess this is because of the Linux System. Am I right? Or maybe because of te sanitizing I’m doing?

I’d be gald if anyone could help me.

EDIT:

function array_sanitize(&$item) {
    $item = htmlentities(strip_tags(mysql_real_escape_string($item)));
}
  • 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-06-13T23:06:25+00:00Added an answer on June 13, 2026 at 11:06 pm

    If your magic quote is enabled, then you should turn it off:
    Edit these in your php.ini:

    ; Magic quotes
    ;
    
    ; Magic quotes for incoming GET/POST/Cookie data.
    magic_quotes_gpc = Off
    
    ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
    magic_quotes_runtime = Off
    
    ; Use Sybase-style magic quotes (escape ' with '' instead of \').
    magic_quotes_sybase = Off
    

    Or you can put this in .htaccess in document root:

    php_flag magic_quotes_gpc Off
    

    If you want to know about magic quote:
    http://php.net/manual/en/security.magicquotes.php

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

Sidebar

Related Questions

Have just installed WHMCS on my CentOS 6.0 x86 VPS server with cPanel. I've
I have just installed CentOS, Apache and PHP. When I visit my site http://example.com/myapp/
[Python/MySQLdb] - CentOS - Linux - VPS I have a page that parses a
I have centos 5.3 with Mozilla Firefox 3.5.5 and installed java jre-1.6.0_14 but when
I have linux centos 5.3. I am in progress to create a website but
I have a vps with cPanel/Whm/CentOS 5.5 and the problem is that all parameters
I have just installed CentOS 6 64bit version, I'm trying to install a 32-bit
I have a new Red5 server installed on my VPS, I'm running CentOS 5.7
I have installed nginx on centos. When I try to open a website I
I looked around but haven't found an answer to this. I have a CentOS

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.