SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Query.php
-
Feb 21, 2006, 18:41 #1
- Join Date
- Feb 2006
- Posts
- 11
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Query.php
Hi my name is Bill and this is my first post. So I hope Ive got it the right spot.
I am building a Article host site and purchased a script to run it.
The problem I am having is I cant see the file Query.php I know I have downloaded this file because when I do a search it is where it is meant to be.
But If I go to folder I cant see this file. Can any help me as this is very frustrating. When I run my site articlehaunt.com It says file query.php is missing. I cant see the file on my host site either. But I think it is there.
TIA Bill
-
Feb 21, 2006, 19:07 #2
- Join Date
- Feb 2006
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
i could be wrong but i think u are indeed missing the file.
i would say it would have been a conn.php file which most of us call it.
anyway try and see if this works.
call this file query.php
PHP Code:<?
$db_host = "localhost";
$db_username = "xxxx"; //replace xxxx with username
$db_password = "xxx"; //replace xxxx with password
$db_name = "xxx"; //replace xxxx with DB name. usually username_dbname
//////////////////////////
$connection = mysql_connect($db_host, $db_username, $db_password) or die(mysql_error());
$db = mysql_select_db($db_name, $connection);
?>
-
Feb 21, 2006, 19:10 #3
- Join Date
- Feb 2006
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
OOOPS SORRY
thats not the problem.
just realized that there is a config.inc file in the include folder.
disregard my previous post.
-
Feb 21, 2006, 22:55 #4
- Join Date
- Feb 2006
- Posts
- 41
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
check ur pm. i have sent u a way to find out if file exists or not.
-
Feb 22, 2006, 04:53 #5
- Join Date
- Feb 2006
- Posts
- 11
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
This is driving me crazy. I had someone email me the file. When I try saveing the file to a test folder it says do you wish to replace file. I go yes and then when I look in test folder there is no file. I check the properties of the folder it says it has no bytes. Could I please forward the email with the attached file and couls someone rename the extention and email it back to me.
Or do query.php files have some special property that makes them dissappear.
Please help
Bookmarks