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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:49:51+00:00 2026-05-17T23:49:51+00:00

I have been working on an app for a couple weeks now, using GoDaddy,

  • 0

I have been working on an app for a couple weeks now, using GoDaddy, Windows Server (I know it sucks) everything seemed ok, I have been a PHP programmer for about a year now and have never come across something like this, I have been connecting to a mysql db all day and all of a sudden I’m getting this error:

Call to undefined function mysql_connect() on Line 6

Could some type of a syntax error be causing this?

I was coding a curl that pulled an XML Feed because I couldn’t use file_get_contents due to allow_url_fopen = off which seems to be impossible to change on godaddy with a windows server, and all of a sudden I got this error.

What could be causing this?

Here’s the Code in question:

session_start();

$hostname = “test.com”;
$user = “root”;
$pw = “passwd”;

$connection = mysql_connect($hostname,$user,$pw)
or die(“couldnt connect to db”);
$db = mysql_select_db (‘mydb’,$connection)
or die(“couldnt find db”);

I created a PHP5.ini to try to fix the allow_url_fopen and just found this question which could be related: Updating PHP.ini on a GoDaddy Hosted site

I have deleted the PHP5.ini file from the server, but the error still hasn’t gone away, maybe it needs some time?

  • 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-17T23:49:52+00:00Added an answer on May 17, 2026 at 11:49 pm

    This was the problem god window sucks

    Updating PHP.ini on a GoDaddy Hosted site

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

Sidebar

Related Questions

I have been working on an iPhone App for a couple of weeks now
I have been working on a Windows Mobile app for a little while now
I've only been working on an iOS app now for a couple weeks so
I've been working with Android for just a couple of weeks now and have
Okay so i have been working on this app for a couple months now
I have been working on an iOS App for sometime now and its almost
I have been working with a Windows Mobile 6 app that is built with
We have been working for several months on a fairly substantial iOS app using
I have been working on an app which includes using the devices camera. After
I'm currently working on a web app, and have been inspired by a couple

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.