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 7402701
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T04:48:31+00:00 2026-05-29T04:48:31+00:00

I shifted my hosting from Hostgator Shared to FDC Dedicated recently. But since then

  • 0

I shifted my hosting from Hostgator Shared to FDC Dedicated recently.
But since then I’m facing many problems in my php autoindex script. I managed to solve most of them, still a few are eating my head.

One of them is this:

Old Shared Hosting:
http://old.mp4.desiden.mobi/file.php?p=1&file=load/English%20Song%20Videos/Top%20Songs/Pitbull%20FtLil%27%20Jon%20-%20Krazy%28DesiDen.Mobi%29.mp4&sort=0

Current FDC Server:
http://desiden.mobi/Mp4_Song_Videos/file.php?p=1&file=load/English%20Song%20Videos/Top%20Songs/Pitbull%20FtLil%27%20Jon%20-%20Krazy%28DesiDen.Mobi%29.mp4&sort=1

The second one shows error for the same file and same script. This happens only if filename has single quote.

My script shows that error when a file is not found. So what I guess is, the script cannot find the file.

Any idea ?

  • 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-29T04:48:32+00:00Added an answer on May 29, 2026 at 4:48 am

    As with the comments above, there must be a mismatch on server settings with magic_quotes. You’ll need to change the code on the new server to use either of the following:

    $var = stripslashes($var);
    $var = addslashes($var);
    

    I can’t tell you which as we don’t know the setup of the servers. Also, of course, make sure you use use your own variable name.

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

Sidebar

Related Questions

I am a .Net developer but recently shifted to PHP world. I have worked
When i shifted my working code from local to my dedicated host, none of
We have recently shifted to asp.net mvc, but we still need to support some
I am a newbie at J2ME. Recently, I've shifted from Netbeans to Eclipse because
I recently shifted from JAVA development environment to .net development environment. I am developing
servlet-api.jar I shifted this jar file from one system to the other. But I
I recently shifted my project library from Emgu CV to OpenCVSharp. The code for
An Int64 variable needs to be shifted. I am parsing pseudo mathematical functions from
I recently shifted to a new organization that follow Agile mode of development. The
I would like to plot the shifted logistic function as shown from Wolfram Alpha

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.