Click to See Complete Forum and Search --> : anyone good with php?
hsuballer42
02-03-2005, 10:47 PM
is anyone pretty good with php that could help me out...we are having some probs and need some help in some areas..anyone got any type of instant messengar that would be willing to help a guy out? would be deeply appreciated...thanks alot
phpnovice
02-04-2005, 08:26 AM
Why not just ask your question here?
AdamBrill
02-04-2005, 10:23 AM
Are you saying you have a problem that you want to pay someone to fix? Or are you saying that you have a problem that you want fixed for free? Or do you just have a question about how to fix something? If that is the case, just ask the question here.
hsuballer42
02-04-2005, 12:28 PM
i was just saying cuz its hard working something out through this cuz messages travel so slow.....
AdamBrill
02-04-2005, 01:16 PM
It makes it take even longer when you don't ask any questions...
ShrineDesigns
02-04-2005, 01:59 PM
there are quite a few people here devoted to help others and we tend to these forums fairly quickly
the more time you waste the longer the answer will take to get posted
hsuballer42
02-04-2005, 02:06 PM
aight then..well people have tried helping on this topic...but when i do what they say i get nothing...aight....our provider is through yahoo....we have our database setup through them and got out phpadmin tool installed on our site....we made a login form for our site...we got it to where u can sumbit information....but as soon as you submit the info it says "cannnot connect to server"..now i called yahoo and they gave me a email address and told me to address the problem with them..in which i did..but u know how that goes..who knows when i will get a reply..once again..here is cope of the code....we just dont know where to find the host...have our ftp.server host name and the alternative hostname ...but we know that wont be the host its looking for..it needs to connect to our database(im pretty sure anyways)....anyways..here it is...tell me what u think..and what you would do...the username,password and database name is right....or would the database name look diffrent?? anyways..tell me what u think..
<?
/* Database Information - Required!! */
/* -- Configure the Variables Below --*/
$dbhost = 'localhost';
$dbusername = '2003p';
$dbpasswd = '2004c';
$database_name = 'reg.php';
/* Database Stuff, do not modify below this line */
$connection = mysql_pconnect("$dbhost","$dbusername","$dbpasswd")
or die ("Couldn't connect to server.");
$db = mysql_select_db("$database_name", $connection)
or die("Couldn't select database.");
?>
NogDog
02-04-2005, 02:17 PM
My best guess at this point is that your database is hosted on a server which is not the same as the web server where PHP is being run. Therefore you will need the web host (Yahoo?) to tell you what the dbhost name is so that you can plug it in where you currently have "localhost". But as I said, it's just a guess.
ShrineDesigns
02-04-2005, 03:44 PM
find a better host
LiLcRaZyFuZzY
02-04-2005, 03:55 PM
whats that mysql_pconnect()
LiLcRaZyFuZzY
02-04-2005, 03:57 PM
and nogdog, if th db is on another server, wouldnt the host be something else than localhost?
NogDog
02-04-2005, 04:00 PM
Originally posted by LiLcRaZyFuZzY
and nogdog, if th db is on another server, wouldnt the host be something else than localhost?
Uh...yeah...I think that's what I said, wasn't it? :confused:
LiLcRaZyFuZzY
02-04-2005, 04:03 PM
sry...:p , didnt read!my bad...sry sry sry