Hi,
I am using XAMPP software and have appache and mySQL running for my PHP files. I want to be alble to login and register users online and have the code needed to do this which is working fine but when I transfere to my PHP "LOGINREGISTER" files to the server I hire from LCN, I get an error from Filezilla.
I have a file called connect.php in my XAMPP>HTdocs>Loginregister>core>database>connect.php: with this code for my local connection:
connect.php
<?php
$connect_error = 'sorry, we\'re exeriencing conection problems';
mysql_connect('localhost','root') or die ($connect_error);
mysql_select_db('lr') or die ($connect_error);
?>
and
Please help,
I am new to FILEZILLA and to XAMPP
Mercedes
how to connect databse to a remote host rather than a local
Moderator: Project members
- audiopro
- 226 Transfer OK
- Posts: 295
- Joined: 2013-03-23 12:55
- First name: Keith
- Location: Morecambe, England
Re: how to connect databse to a remote host rather than a lo
Are you trying to connect into your local database from a remote server?
Morecambe - Where the sun goes at night
Re: how to connect databse to a remote host rather than a lo
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org