Jump to content

[SOLVED] How to deploy the project of PHP on internet...!


asad_black

Recommended Posts

hi i complete my project on PHP now i want to upload it on internet...!

i have a domain...!

 

and i want to upload on this site http://jugnoo.tv

 

my project running on localhost succesfully.

 

Project contain xml file and database of MySQL .

 

 

Kindly reply me as soon as possible.

Find out what the dns of your webhosting account is.  Then, you have to point your domain to that dns via your domain's control panel.  After that, it takes 24-48 hours for the dns records to update. 

 

Note:  You will need a web host.

i have already a domain in PHP is enable.

 

now i want to try to connect a database by following coding..!

 

<?php

$link = mysql_connect('myhostname', 'myusername', 'mypw');

if (!$link) {

die('Could not connect: ' . mysql_error());

}

echo 'Connected successfully';

mysql_select_db('asad_black');

?>

 

 

i also upload the folder of my user name which is i was user on localhost..!

 

 

Could not connect: Lost connection to MySQL server at 'reading initial communication packet', system error: 104

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.