MicahR79
May 24 2005, 03:50 PM
I am trying to connect to mysql database. I am using this code
<!DOCTYPE html PUBLIC "-//W3C// DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1" />
<title>Connect to MySQL</title>
</head>
<body>
<?php // Script 1.1 mysql_connect.php
ini_set ('display_errors', 1);
error_reporting (E_ALL $ E_NOTICE);
if ($dbc = mysql_connect ('localhost','usernam','password'))
{
print '<p>Successfully connected to MySQL.</p>';
mysql_close();
if (@mysql_select_db ('turnin'))
{
print '<p>The Database has been Selected<p>'
}
else {
die('<p>Could not select the database because: <b> mysql_error() .'</b></p>');
}
}
else
{
print '<p>Could not connect to MySQL.<p>';
}
?>
</body>
</html>
Obviously with the user name and password filled in;
but for some reason even when i simplify it down to just the php section without error commands I still get...
"No input file specified."
I am on a windows server, and I am using IE as explorer to view page. If anyone can help I would greatly appreciate it.
Thanks,
Micah
Lehrer
May 25 2005, 12:35 PM
Micah, the matter is that we upgraded php(now we have PHP-SUEXEC) on the server for security matters and some problems with cgi scripts are possible. This problem should be fixed this weekend.
MartinB
May 25 2005, 03:30 PM
QUOTE(Lehrer @ May 25 2005, 09:35 AM)
G R E A T
Lehrer
May 25 2005, 07:03 PM
egelderen
Jun 6 2005, 03:59 PM
I get this same error ("No input file specified") for many days now.
Lehrer
Jun 7 2005, 08:36 PM
You should probably check the apache error_log to see if there is a more informative message. Btw, if it's a php application that uses Zend Optimizer you should probably check that that is running the latest release.
egelderen
Jun 10 2005, 02:53 PM
[10-Jun-2005 14:48:32] PHP Warning: Cannot stat license file: /home/seekworl/public_html/smartppc4 in Unknown on line 0
That is weird, because my dir is /home/noorwege/public_html
???
Lehrer
Jun 11 2005, 09:41 AM
Please give us the exact link where you get this mistake. We'll see to it.
Lehrer
easycall
Jun 22 2005, 10:35 PM
I am getting this same "No input file specified error" since the change to php. My Database populates my link exchange directory pages. The main directory is ok at
http://www.easycall.net/lma/directory but the category pages produce this error. I've not been able to get any suggestions from support tickets. Can someone tell me what I need to do get my category pages working. PHP is a foreign language to me and I was thrilled when I installed this program back in April to find it worked perfectly. Now I'm at a total loss as to how to access my category pages. My category pages are generated "on the fly" via php.
artrocity
Jun 23 2005, 01:30 AM
QUOTE(easycall @ Jun 22 2005, 06:35 PM)
I am getting this same "No input file specified error" since the change to php. My Database populates my link exchange directory pages. The main directory is ok at
http://www.easycall.net/lma/directory but the category pages produce this error. I've not been able to get any suggestions from support tickets. Can someone tell me what I need to do get my category pages working. PHP is a foreign language to me and I was thrilled when I installed this program back in April to find it worked perfectly. Now I'm at a total loss as to how to access my category pages. My category pages are generated "on the fly" via php.
Script looks interesting .
Tried to download it but something is wrong with their website.
Without seeing the code my guess it has something to do with your .htacess file
Can you run the script without mod-rewrite?
easycall
Jul 5 2005, 02:25 AM
According to Hostony support the script does not work with PHP CGI so after hours and hours of work getting this set up last spring, I'm now forced to upgrade and pay more money for VPS hosting or change hosts.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.