[PHP] String termination

2002-04-12 Thread Marco Laponder

Hi All,

I have the following question. I have been developing with C for a
while and I was used that the \0 indicated the end of a string. So if
I had a variable containing 1234\056789 and the variable was printed,
only 1234 was printed.

As I can see in PHP (version  4.0.6 ), when I echo such a variable
also the characters are printed, even the characters after \0. Is this
the case PHP should work or is it a bug ? Isn't \0 really a string
termination character in PHP ?

I have been searching for documentation on this matter so if anyone
could help me...

Kind Regards,


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Sending data from java applet on client ?

2002-05-16 Thread Marco Laponder

Hi All,
 
Does anybody know how to send binary data from an applet to a php page and
save this into a blob ? Or is using  afile upload my only option ( would
like that because then it would have to be a signed applet :-( )
 
Any suggestions welcome !

Marco Laponder
( [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] )
 
 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Multiple odbc queries

2003-04-03 Thread Marco Laponder
Hi All,

I have the problem. We have an application and we are using PHP. The startup
page provides the user with a number of links. A link calls a php page where
a call to the database is issued. The problem is with difficult queries,
then it takes some time to process and the user is a little imaptient and
before the request is processed anoter request is done, and if the user is
very impatient the multiple times. So for one user on the server a number of
database connections and transactions are running which is slowwing down the
complete server. WHat is a neat way to solve this ? 

Kind regards, 
 

Marco Laponder
[EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php