Error - Cannot redeclare connect()

From: Date: Wed, 05 Sep 2001 03:26:51 +0000
Subject: Error - Cannot redeclare connect()
Groups: php.general.es 
Request: Send a blank email to general-es+get-13424@lists.php.net to get a copy of this message
Me Sale eso que es , yo en win uso este fuente y anda bien.Pero cuando lo subi al server linux me da ese error. config.php Fatal error: Cannot redeclare connect() in /home/httpd/vhost/comoeseso/html/news/config.php on line 7 <? $host="localhost"; $user="root"; $pass="root"; $db="vhost_turismo"; function connect (){ global $host,$user,$pass; } ?>

« previous php.general.es (#13424) next »