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:
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
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
------
From: Javier Ruiz <[EMAIL PROTECTED]>
Date: Apr 2, 2007 9:54 AM
Subject: Re: [PHP] PDO mssql + multiple rowsets
To: "Frank M. Kromann" <[EMAIL PROTECTED]>,
Hi again. Sorry I was out of my city during the weekend and had no
connection available...
So Frank, please lemme k
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 m
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 alwa
.
Anybody?
-- 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 th
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 s
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 answ
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
Hi all,
Is there any way to remove a non-unique* *node using SimpleXML?
For example, let's say I have:
$myXML = <
...
...
...
ENDXML;
So I want to do...
$xmlDatabase = new SimpleXMLElement($myXML);
foreach ($xmlDatabase as $oneTable)
{
if ($oneTable['name'] == 't
- node is
still there
If there's 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 Ru
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 webserv
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 = subst
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 downlo
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 zi
Lynch <[EMAIL PROTECTED]> wrote:
It's kinda long, but this will probably save you some grief:
http://richardlynch.blogspot.com
On Tue, 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 di
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
18 matches
Mail list logo