[PHP] Problems of conversion with strftime()

2001-03-28 Thread Evelio Martinez
";-> 28-03-2001 ok $fecha = "2001-03-28 18:22:00"; print (date("d m Y H:i:s",$fecha)) ."";->01 01 1970 01:33:21wrong print (date("Y m d H:i:s",$fecha)) ."";->1970 01 01 01:33:21wrong print (strftime("%d-%

[PHP] Sessions question

2001-02-26 Thread Evelio Martinez
How can I have an new session id without closing the browser? session.inc contains basically the postgresql session functions (user handler) in http://www.php.net/manual/en/ref.session.php I have change pg_pconnect for pg_connect and I have added pg_destroy_session. 1. There is a login/passw

[PHP] How to issue a new session without closing the browser?

2001-02-21 Thread Evelio Martinez
Hi! I have used your postgresql session functions in http://www.php.net/manual/en/ref.session.php with few changes. I have a login.php page that register 3 things - the pg_connect string, - a login flag to indicate that we already have done the login - actual time In a second php page

Re: [PHP] sessions and data missing browser message

2001-02-20 Thread Evelio Martinez
"Martin A. Marques" escribió: > Mensaje citado por: Evelio Martinez <[EMAIL PROTECTED]>: > > > > > Hi! > > > > is there any relation between use of sessions (php 4.0.4) and the > > following browser message ? > > > > Data Miss

[PHP] sessions and data missing browser message

2001-02-19 Thread Evelio Martinez
Hi! is there any relation between use of sessions (php 4.0.4) and the following browser message ? Data Missing This document resulted from a POST operation and has expired from the cache. If you wish you can repost the form data to recreate the document by pressing the reload button. I am ha

[PHP] HOWTO handle sessions ?

2001-02-09 Thread Evelio Martinez
Hi! Does anyone know of some good examples of sessions? -- Evelio Martínez -- 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]

[PHP] Possible bug in pg_connect (4.0.3.pl1) ?

2001-02-05 Thread Evelio Martinez
Hi! under 4.0.3pl1 Why this sentence works ? $conexion2 = pg_Connect("host=$servidor user=$usuario password=$pass dbname=$bd port=$puerto"); and this one does not ? $conexion2 = pg_Connect("host=$servidor port=$puerto user=$usuario password=$pass dbname=$bd"); It issues the following mes

[PHP] pg_Exec: Warning: 1 is not a valid PostgreSQL link resource.

2001-02-02 Thread Evelio Martinez
Hi! We have a host (host A) with PostgreSQL 7.0.3. and PHP 4.0.4 under Red Hat We have another host (host B) with PHP 4.0.3pl1 under Debian We are having an incomprehensible error with this code when the content of $sql is and "update" ... $resultado=pg_Exec($conexion,$sql); ... 1) The ph

[PHP] PostgreSQL + PHP + SQL warning messages

2001-01-25 Thread Evelio Martinez
Hi! Is there any way to get the equivalent sqlca.sqlcode value of informix in PostgreSQL from php ? I would like to use the sqlcode to print the messages in Spanish. Thanks in advance -- Evelio Martínez Testanet. Dept. desarrollo software. Av. Reino de Valencia, 15 - 5 46005 Valencia (Spain)

[PHP] is it possible to communicate javascript and php?

2001-01-19 Thread Evelio Martinez
I would like to know if it possible to pass in any way some values from javascript functions to php variables ? Any FAQ? Thanks -- Evelio Martínez Testanet. Dept. desarrollo software. Av. Reino de Valencia, 15 - 5 46005 Valencia (Spain) Tel: +34 96 395 90 00 Fax: +34 96 316 23 19