ftp Red Hat

Whether you are using Linux on the desktop or as a server, it's still good that you're using Linux. Linux related questions go here.

Moderator: General Moderators

Post Reply
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

ftp Red Hat

Post by ol4pr0 »

Oke i got the following problem..

Red Hat installed..

including with the ftp..

The box is currenly not besides me anymore and now it seems that ftp is installed but i can not get in.

What can be my problem
m3rajk
DevNet Resident
Posts: 1191
Joined: Mon Jun 02, 2003 3:37 pm

Post by m3rajk »

what's your firewall set to?
User avatar
ol4pr0
Forum Regular
Posts: 926
Joined: Thu Jan 08, 2004 11:22 am
Location: ecuador

Post by ol4pr0 »

WEll i had it turned off for a minuut to see if that was the thing cuasing it..

turned out i had some ftp installed however after installing the wu-ftpd everyting was c00l ;-)


next question

Code: Select all

mysql_connect_?( // worked fine on my win2k
after uploading it all to linux and changing the $localhost it fall apart like Grrrr...


Any solution?

Code: Select all

errror message ( more of them lol )

Fatal error: Call to undefined function: mysql_connect() in /var/www/html/mail/joinnewsletter.php on line 7

I do have to add that the mysql is not running on the same machine.

Code: Select all

// example of one of the scripts that worked fine before and now ;-(

$host = '10.10.10.2';
$port = '3306';
$user = 'root';
$pass = '';

$connection = mysql_connect($host, $port, $user)
or die("cannot make connection");
//select our database email 
$db = mysql_select_db("email" , $connection)
or die("cannot find database");
//insert the values of our form into our database
$sql_query = "INSERT INTO email VALUES ("$company","$name","$email")";
$results = mysql_query($sql_query);
Post Reply