Lukas,
Are comments working on the wiki? I posted several, eg to
http://oss.backendmedia.com/index.php?area=PDO&page=bindParam
Thanks, John
PS: I agree with you about your issues, eg. bindParam, DSN, etc.
"Lukas Smith" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi,
>
> with
Hi Marcus,
For 32 bit architectures, normally:
sizeof(float) == 4, sizeof(double) == 8 or 10
So there is no floating point overflow fortunately.
E.g. http://www.iota-six.co.uk/c/b3_float_double_and_sizeof.asp
PS: i think the date() and mktime() functions could be extended using the
algorith
Hi
There's a library that i wrote that supports timestamps > 2037.
It takes advantage of the fact that PHP converts integers to floats on
overflow. It uses the nearly the same api as date() and mktime(), to make
porting easier.
Regards, John
See http://phplens.com/phpeverywhere/adodb_date_libra
A bulb lights up! Now i understand. I hand-coded the extension source code
based
on Rasmus' PHP book, and did not use the skeleton.
Thx Andrey
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It is for thread safety access of globals. Defined in basic_functions.h :
"Andrey Hristov" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> G usually comes from Globals and I have seen BG in ext/standard
> so maybe BG means Basic functions Globals.
>
> andrey
>
> John Lim wrote:
> > Andi,
> >
> > Just
Andi,
Just a few quick questions. What is the BG macro for? Eg.
if (zend_call_function(&fci, &BG(fci_cache) TSRMLS_CC) == SUCCESS)
Secondly, I think i need to initialize the fci_cache structure first with
fci_cache = empty_fcall_info_cache;
Can I do so in my PHP_MINIT_FUNCTION? Thx.
"Andi
Thanks to everyone. I will have a look.
I'm porting the adodb extension to php5, so i thought i might as well ask
this question that's been bugging me for some time.
"Andi Gutmans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> php5/Zend/zend_execute_API.c.
> It's quite simple. I
Hi George,
2 reasons.
High learning curve to learn all client API's. Secondly because of linking
issues with the client. E.g. oracle might not be installed on the server.
John
>
> If performance is your concern, why not simply call the various RDBMS
> API functions directly?
>
> George
--
PH
Hi,
I am using call_user_function_ex() to call mysql_fetch_array, ocifetchinto,
etc.
error = call_user_function_ex(EG(function_table),
NULL,
&function_name_zval,
&retval, 2, ¶ms[1], 0, NULL TSRMLS_CC);
This is not giving me the performance I am looking for because the Zend
En
Hi,
I would suggest another name for ifsetor.
In relational databases, there is a similar function, called NVL in oracle,
and
IFNULL in MySQL and coalesce in postgresql for testing for null, and
returning
a default value if the variable is null.
I think ifsetor sounds a big ugly. I would suggest
Hi Masoud,
It's already available. See
http://www.phppatterns.com/index.php/article/articleview/28/1/2/
"Masoud" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> It's just a suggestion to have a syntax like this in PHP5!
>
> A property is similar to a field (a member variable), with
Hi Greg,
Actually it is possible to have both installed. Just make sure all php4
files
are in the same directory, say c:\php4\php432 including your php.ini, while
the php.ini in the windows directory is for php5.
Regards, John
"Greg Beaver" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTEC
Thanks for all the answers everyone. I will look into ActiveScripts. Looks
interesting.
"Derick Rethans" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wed, 25 Jun 2003, Oscar Rylin wrote:
>
> > Something that would be interesting would be to make it possible to use
> > PHP with
Hello,
I'm writing some windows apps that require a scripting language to control
various info. Has anyone had any experience or source code showing how to
embed PHP as a scripting language for a windows app? I'm
sure there's some neat way to link to php4ts.dll and pass a script to it.
Thanks aga
14 matches
Mail list logo