[PHP] error_append_string and error_log

2009-07-15 Thread Javier Ruiz
Hi! I'm trying to append some extra info to my php errors. It works well when I'm displaying errors on screen, but it doesn't work to log the extra info into an error file (log_errors and error_log). I mean, if I use this: ?php ini_set('display_errors', 1); ini_set('log_errors', 1);

Re: [PHP] error_append_string and error_log

2009-07-15 Thread Javier Ruiz
: On Wednesday 15 July 2009 12:44:21 Javier Ruiz wrote: Hi! I'm trying to append some extra info to my php errors. It works well when I'm displaying errors on screen, but it doesn't work to log the extra info into an error file (log_errors and error_log). I mean, if I use this: ?php ini_set

Fwd: [PHP] pdo-oracle + nls_lang environment variable...

2007-05-17 Thread Javier Ruiz
sorry, forgot to CC to the list... -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: May 17, 2007 9:46 AM Subject: Re: [PHP] pdo-oracle + nls_lang environment variable... To: Miguel J. Jiménez [EMAIL PROTECTED] Thanks for the answer. Nah I checked and apache has

[PHP] pdo-oracle + nls_lang environment variable...

2007-05-16 Thread Javier Ruiz
Hi, I'm using pdo-oci on php-5.2.2 against an oracle-10g server, using oracle-instantclient (compiled oracle with '--with-oci8=instantclient,/usr/lib/oracle/10.2.0.3/client/lib'). The problem...: I make a simple php script that makes a select from a table. The table contains spanish characters

[PHP] php + db2

2007-04-26 Thread Javier Ruiz
Hi I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times already without any problem, but in this concrete machine I cannot pass the configure script... My problem is with the db2 enviroment. Before issuing configure with all the options, I sourced the db2profile file as

[PHP] Fwd: php + db2

2007-04-26 Thread Javier Ruiz
? -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: Apr 26, 2007 10:39 AM Subject: php + db2 To: php-general@lists.php.net Hi I'm trying to install php-5.2.1 using ibm-db2. I made this a couple times already without any problem, but in this concrete machine I

Fwd: [PHP] PDO mssql + multiple rowsets

2007-04-04 Thread Javier Ruiz
: Javier Ruiz [EMAIL PROTECTED] Date: Apr 2, 2007 9:54 AM Subject: Re: [PHP] PDO mssql + multiple rowsets To: Frank M. Kromann [EMAIL PROTECTED], php-general@lists.php.net Hi again. Sorry I was out of my city during the weekend and had no connection available... So Frank, please lemme know

Fwd: [PHP] PDO mssql + multiple rowsets

2007-04-04 Thread Javier Ruiz
btw... the bug: http://pecl.php.net/bugs/bug.php?id=10530 -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: Apr 4, 2007 9:10 AM Subject: Fwd: [PHP] PDO mssql + multiple rowsets To: php-general@lists.php.net I've seen there's an open bug on the missing feature I

[PHP] PDO mssql + multiple rowsets

2007-03-28 Thread Javier Ruiz
Hi! I want to use PDO in my apps for connecting to several RDBSs, one of them, sql server 2000 and 2005. I tried to use as DSN something like mssql:... (as I've seen in the php manual pages) but I get a PDOException with the message Unable to open PDO connection [wrapped: could not find driver].

Fwd: [PHP] Problems with Zip+IE6

2006-12-18 Thread Javier Ruiz
Apologies... forgot to CC to the list... -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: Dec 18, 2006 11:25 AM Subject: Re: [PHP] Problems with Zip+IE6 To: [EMAIL PROTECTED] Hi, Nah, the only thing I'm trying to do is to serve a regular zip file to the user

Re: [PHP] Problems with Zip+IE6

2006-12-12 Thread Javier Ruiz
, December 5, 2006 2:07 am, Javier Ruiz wrote: Hi all! I have a problem with zip files and Internet Explorer 6. I try to send to the user a dinamically generated zip file writting the http headers and using file_put_contents for the zip content. It works fine when downloading the file

[PHP] Problems with Zip+IE6

2006-12-05 Thread Javier Ruiz
Hi all! I have a problem with zip files and Internet Explorer 6. I try to send to the user a dinamically generated zip file writting the http headers and using file_put_contents for the zip content. It works fine when downloading the file with firefox, opera, etc... even it works well if I

[PHP] Fwd: Problems with Zip+IE6

2006-12-05 Thread Javier Ruiz
BUMP! -- Forwarded message -- From: Javier Ruiz [EMAIL PROTECTED] Date: Dec 5, 2006 9:07 AM Subject: Problems with Zip+IE6 To: php-general@lists.php.net Hi all! I have a problem with zip files and Internet Explorer 6. I try to send to the user a dinamically generated zip file

[PHP] guess documentroot

2006-10-05 Thread Javier Ruiz
Hey all! Is it possible to get the path of a file relative to the document root of the webserver using php? For example... if we have a script like http://localhost/mydir/myseconddir/index.php is there a way to get that it's runing on /mydir/myseconddir/ ?? something like getcwd() but

Re: [PHP] guess documentroot

2006-10-05 Thread Javier Ruiz
Perfect! got it using the following: /* 1 - remove the query string just in case it contains a '/' in it 2 - like Clive said, substr() and strrpos() 'clean' the path to provide the directories only */ $aPath = str_replace($_REQUEST['QUERY_STRING'], '', $_SERVER['SCRIPT_NAME']); $aPath =

Re: [PHP] Re: remove SimpleXML nodes

2006-09-01 Thread Javier Ruiz
no luck with xml I will use of course DOM for this, but I'm really curious now :P Again, thanks a lot for the help. Javi Ruiz. On 9/1/06, Curt Zirzow [EMAIL PROTECTED] wrote: On 8/31/06, Adam Zey [EMAIL PROTECTED] wrote: Javier Ruiz wrote: Hi all, So I want to do... $xmlDatabase = new

[PHP] remove SimpleXML nodes

2006-08-31 Thread Javier Ruiz
Hi all, Is there any way to remove a non-unique* *node using SimpleXML? For example, let's say I have: $myXML = ENDXML database ... table name='one' ... /table table name='two' ... /table table name='three' ... /table /database ENDXML; So I want to do... $xmlDatabase =

Re: [PHP] pear constants

2006-08-18 Thread Javier Ruiz
thank you for the link, I'm already subscribed to the pear general list and I sent the same email to that list, but I got no any answer yet... I just sent it to the PHP list in case anybody in this list has or had the same problem... I put here the problem I'm having: I have a problem with some