Jump to content

bluekid239

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

1 Neutral

About bluekid239

  • Rank
    Newbie
  1. *sigh* Once again I fail to see the obvious. (if I could find a headsmack emoticon I would use it) I guess I didn't fully read the intro at the top of the php.ini file. I figured out my problem, though:Problem A: php_mysql.dll was disabled.Problem B: extension_dir was not set, so it could not find any of the extensions.SOLUTION: I rid the two statements of their ; prefix.Now it works, and I am satisfied. Thank you for helping me out, I greatly appreciate your time!
  2. I have MySQL installed and set up (I can run the command-line client perfectly fine and do everything with it). In fact, I already have a database and a couple of tables set up and ready to be read/written to by my PHP script. I'm pretty sure I have php_mysql.dll enabled. Here is the list of extensions, exactly as it appears in php.ini:;extension=php_bz2.dll;extension=php_curl.dll;extension=php_dba.dll;extension=php_exif.dll;extension=php_fileinfo.dll;extension=php_gd2.dll;extension=php_gettext.dll;extension=php_gmp.dll;extension=php_intl.dll;extension=php_imap.dll;extension=php_interbase.dll;
  3. Does it make a difference that I use IIS and not apache? I'm still not sure what phpmyadmin is.
  4. Well, I turned off Friendly Error Messages in IE, but it showed me the same webpage it did before I started getting the HTTP 500 page. I went to the php.ini file and modified these settings to the values shown:error_reporting = E_ALL | E_STRICTdisplay_errors = Ondisplay_startup_errors = Onhtml_errors = OnI also modified the file again to include an echo statement before the connect statement, and it worked perfectly fine. However, the echo statement I placed just after the connect statement didn't happen. I found the error logs, and I'm trying to make sense of them now. This is the most recent
  5. For some odd reason beyond my knowledge, my PHP script will not connect to the MySQL server, and then stops running all-together. This is my code: <html> <head> <title>Testing MySQL Connection</title> </head> <body> <h1>Hello World!</h1> <?php $dat = mysql_connect("localhost:3306","root","******"); if(!$dat){ die("Could not connect to MySQL: ".mysql_error()); } else{ echo "Connected successfully!"; } mysql_close($dat); ?> </body></html> When I load this (by going to http://localhost/TestPHP/testSQL.php) , the f
  6. Previously I had this in the ASP forum, but now I realize my problem lies with IIS and not ASP. I have IIS 7.5 installed on a Windows 7 Home Premium OS. I open the IIS Manager, and it says that my server is running. However, when I try to connect to http://localhost/, Internet Explorer (version 8.0) gives me an HTTP 404 Not Found error page. Here's the description it gives me:This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the websit
  7. I've tried connecting to http://localhost/, but it give me an HTTP 404 Not Found error page. Also, I just checked it again AND checked IIS, and IIS says the server is running. Thank you for pointing out the flaw in double-clicking on the ASP file, I'll keep that in mind. Here's the exact description IE gave me of the 404 error.This error (HTTP 404 Not Found) means that Internet Explorer was able to connect to the website, but the page you wanted was not found. It's possible that the webpage is temporarily unavailable. Alternatively, the website might have changed or removed the webpageEDIT: I
  8. Hello, I'm relatively new with ASP, and I'm having trouble. Last weekend, I was learning ASP and doing rather well. I had an HTML page with a form and an ASP file to process it. It worked fine and dandy. Now I go back to check it again today (and yesterday), and all of a sudden it doesn't work any more! Everytime I click the submit button, Internet Explorer tries to download the ASP file, unless the HTML page is viewed in a frame and scripting is allowed. In that case it just shows the HTML parts of the ASP and doesn't do anything between the <% %> tags. I've even tried the simplist "Hel
×
×
  • Create New...