On Fri, 2002-02-01 at 02:46, Jean-Arthur Silve wrote: > Hi ! > > I m using PHP 4.0.5 and I try to create a function called "connect" : > > function connect() { > ... > > } > > My problem is I get this : > > Fatal error: Cannot redeclare connect() in > /opt2/htdocs/www.mydomain.com/html/connexion.php on line 6
In PHP 4.0.5, the function currently known as socket_connect() was named connect(). You can solve your problem by upgrading, renaming your function, or disabling the socket functions (either at compile time or in php.ini). Cheers, Torben > In connexion.php there is only the function declaration and no require or > include. > > I checked the PHP manual, and there is no connect() function ! > > Any idea ? > > thank you ! > > Jean-arthur > > ---------------------------------------------------------------- > EuroVox > 4, place Félix Eboue > 75583 Paris Cedex 12 > Tel : 01 44 67 05 05 > Fax : 01 44 67 05 19 > Web : http://www.eurovox.fr > ---------------------------------------------------------------- > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > To contact the list administrators, e-mail: [EMAIL PROTECTED] > -- Torben Wilson <[EMAIL PROTECTED]> http://www.thebuttlesschaps.com http://www.hybrid17.com http://www.inflatableeye.com +1.604.709.0506 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]