probelma en mysql o iplanet

From: Date: Thu, 31 Jul 2003 03:04:12 +0000
Subject: probelma en mysql o iplanet
Groups: php.general.es 
Request: Send a blank email to general-es+get-38895@lists.php.net to get a copy of this message
Que tal, estoy teniendo problemas con el uso de mysql, 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 _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail

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