Hi,
I was wondering how i can limit a script from waiting too long for
a database query to return.
The problem is that it will wait an infinite time while performing a query on a
database when there is for example a lock on a table. I want it to exit/fail
when a set amount of time has passed.
On 9/22/05, Michael Sims [EMAIL PROTECTED] wrote:
What RDBMS are you using? If you are using Postgres you can use
pg_send_query()
which is non-blocking. I don't think the other database backends/php drivers
support such functionality, but I could be wrong... Maybe someone else knows
of
On 9/22/05, Michael Sims [EMAIL PROTECTED] wrote:
What platform/driver? If Linux, are you using FreeTDS and if so what
version? It
looks like the timeout is handled in the TDS library, not at the PHP level.
I did
some poking through the FreeTDS mailing list archives and it seems that
On 9/22/05, Michael Sims [EMAIL PROTECTED] wrote:
http://lists.ibiblio.org/pipermail/freetds/2005q3/018774.html
According to that it's in 0.64
I'll have it a go tomorrow. Looks hopeful!
Will let you know.
--
Jeroen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
of count(*) and parse the result of count.
Since it only returns 10, it's correct the the total matched rows is 10.
sql query
Regards,
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
We have ordered Interbase 6.5 last week, but I was wondering if it is
even supported
by PHP at this moment since the 6.5 version is not open source.
Does anyone have experience with this version?
Kind regards,
Jeroen Geusebroek
Hi,
I'm trying to install GD2 in PHP, and can't get it compiled. It keeps
saying:
In file included from gd.c:36:
php_gd.h:69: warning: static declaration for `gdImageColorResolve'
follows non-static
gd.c:92: conflicting types for `gdIOCtx'
/usr/include/gd_io.h:18: previous declaration of
I am running apache and php. I want to create a custom 404 page for my
site. I have created a .htaccess file and ErrorDocument 404
/error.php3
line to it.
If someone tries to view www.myserver.com/thispagedoesnotexist.htm the
404
page is displayed without issue.
I guess you are using PHP
Hi there,
Is it possible with IIS4 to have PHP auto prepend a PHP script, similair to the way
Apache can do this
with for example a .htaccess file or a server directive?
I know i can do this also in the PHP.ini, but i'm running multiple virtual servers so
this is not an
option.
Thanks,
Hi there,
Does the current stable PHP (4.06) support the use of the newly released
Mysql 4?
Thanks,
Jeroen
--
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,
to a newsgroup they could use that
instead.
I agree filter software is needed to junk the spam.
And then the spammers can use NNTP again. I think it goes both ways.
NNTP LIST
A good spam filter (blacklist) would be a good option.
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net
While viewing my phpinfo() page, i got this:
QUERY_STRING
While viewing my phpinfo() page, i got this:
QUERY_STRING
Hi there,
Lately you see a lot of sites that detect the language of the client
browser.
For example if i visit google it's in dutch. I know they detect this using
the browser, but i'm not sure on how it's done.
Can someone shed some light on this?
Thanks,
Jeroen
--
PHP General Mailing List
) and if so just redirect the user to the
main page.
But i'm afraid that search engines will get redirected to the main page
everytime it try's to index
a page. What do you all think, and might there be another solution?
Thanks,
Jeroen Geusebroek
P.S. Please CC me in your reply, i'm not a member
Hi There,
How can i reverse the htmlspecialchars() functions?
I can't seem to find a function for that.
Thanks,
Jeroen Geusebroek
--
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
Hi Rasmus,
How can i reverse the htmlspecialchars() functions?
I can't seem to find a function for that.
There is no function to do that.
Maybe it would be a nice feature to add in PHP?
For the moment i'll just have to make my own version then :)
Thanks,
Jeroen
--
PHP General Mailing
for the advice,
Jeroen Geusebroek
--
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]
the new version will be better! Thanks for contributing to the
open source community. (My project will also be open source, but first it
has to be stable ;)
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail
= 1.0.9.
Needless to say, i am using a version higher then 1.0.9.
I would appreciate it if someone good give me some help. I did not
have this problem with PHP 4.04.
Thanks,
Jeroen Geusebroek
P.s. please CC me in your reply, because at the moment i'm not subscribed to
the
list.
--
PHP
appreciate it.
A link to a tuturial would also be nice.
Regards,
Jeroen Geusebroek
--
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]
Does anyone know a good regex tutorial? I'll probably bump into it again.
Regex'es seem to be very usefull.
Regards,
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact t
?=
How do i decode this?
Same goes for mime messages, is there any excisting code that
decodes mime messages?
Thanks for the help,
Jeroen Geusebroek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED
23 matches
Mail list logo