Problemas con el uso de php y mysql en servidores web iPlanet

From: Date: Wed, 30 Jul 2003 06:31:32 +0000
Subject: Problemas con el uso de php y mysql en servidores web iPlanet
Groups: php.general.es 
Request: Send a blank email to general-es+get-38840@lists.php.net to get a copy of this message
Hola que tal, estoy teniendo problemas con el uso de mysql, no puedo acceder a la base de datos. el crear una tabla no tengo ningun problema, he aqui lo que hago: <? $user="username"; $password="password"; $database="database"; mysql_connect(localhost,$user,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="CREATE TABLE contacts (id int(6) NOT NULL auto_increment,first varchar(15) NOT NULL,last varchar(15) NOT NULL,phone varchar(20) NOT NULL,mobile varchar(20) NOT NULL,fax varchar(20) NOT NULL,email varchar(30) NOT NULL,web varchar(30) NOT NULL,PRIMARY KEY (id),UNIQUE id (id),KEY id_2 (id))"; mysql_query($query); mysql_close(); ?> Muy rustico pero solo es una simple creacion de una tabla, mi problema esta cuando trato de insertar datos a esta tabla, o a cualquier otra tabla en sql, me aparace el siguiente error en el webserver: Method Not Allowed An error has ocurred cuando checho la bitacora de mi servidor web me aparece: [29/Jul/2003:18:50:28] config ( 325): for host bla.bla.bla.ybla trying to POST /~raulms/test/test1/, handle-processed reports: The request method is not applicable to this requested resource. tengo instalado todo apropiadamente en mi equipo, pero no puedo hacer una simple insercion en mysql, alguna sugerencia? saludos. morales_salcedo_raul@hotmail.com _________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

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