php-general Digest 3 Dec 2009 08:26:43 -0000 Issue 6470

2009-12-03 Thread php-general-digest-help
php-general Digest 3 Dec 2009 08:26:43 - Issue 6470 Topics (messages 300211 through 300235): Re: Best way to read first 20 characters of a string? 300211 by: João Cândido de Souza Neto 300212 by: Daniel Brown 300213 by: Majk.Skoric.eventim.de 300214 by:

[PHP] Finding out the first possible booking date with php

2009-12-03 Thread Merlin Morgenstern
Hello everybody, I am pretty much stuck with a problem and I was hoping to find some help here with you guys. A PHP Script with MySQL as DB has to find out the first possible booking period available. I can't figure out the logic behind and if there is a trick with PHP to do it. Following

Re: [PHP] Compatiabilty issues

2009-12-03 Thread Julian Muscat Doublesin
Will Have Linux installed on a 64 bit machine effect Apaches functionality? On Wed, Dec 2, 2009 at 6:20 PM, Shawn McKenzie nos...@mckenzies.net wrote: Ashley Sheridan wrote: On Wed, 2009-12-02 at 12:17 +0100, Julian Muscat Doublesin wrote: Sorry about the reply to all. the htaccess files

Re: [PHP] remove namespace from xml

2009-12-03 Thread Frank Arensmeier
2 dec 2009 kl. 19.12 skrev Augusto Flavio: Hi all, i'm trying to connect to a SOAP Server but i'm having a problem. Look the xml that i need send to the server: // THIS IS THE XML CORRECT THAT NEED BE SENT TO THE SERVER ?xml version=1.0 encoding=utf-8? soap:Envelope

[PHP] XAMPP for windows (7)

2009-12-03 Thread Grega Leskovšek
Can smbd please explain me in XAMPP for windows what does SVC checkboxes at modules Apache, Mysql, FileZilla, Mercury ... stands for - when must they be checked and why? The first time I start a service (eg Apache) it asks me where should I allow it to communicate. Primarily it is checked only

Re: [PHP] imagettftext() and East Asian Font rendering

2009-12-03 Thread Ashley Sheridan
On Thu, 2009-12-03 at 03:12 +0700, shiplu wrote: Hello, I am creating an app where I have to show east asian text in image. Those are utf8. Problem is when I try to display কি হচ্ছে in image, it shows ক ি হ চ ্ ছ ে without the circles. How do I show it correctly. Note: I am generating

[PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
Hello again, I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start end 1.128.12 5.1212.12 9.1216.12 Obviously the first and last

Re: [PHP] amount of overlaping dates

2009-12-03 Thread David Otton
2009/12/3 Merlin Morgenstern merli...@fastmail.fm: I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start   end 1.12    8.12 5.12    12.12 9.12

Re: [PHP] amount of overlaping dates

2009-12-03 Thread Merlin Morgenstern
David Otton wrote: 2009/12/3 Merlin Morgenstern merli...@fastmail.fm: I am searching for a way to identify the amount of simultanious date ranges. Example: array start=('1.12', '5.12', '9.12'); array end =('8.12', '12.12', '16.12'); Looks like this in a table: start end 1.128.12

Re: [PHP] amount of overlaping dates

2009-12-03 Thread David Otton
2009/12/3 Merlin Morgenstern merli...@fastmail.fm: That is what I thought first, too! But this does not work correct as there might be a booking starting for example tomorrow. There needs to be free place for the entire booking period. Ah, of course. I see the problem now. It's an odd

Re: [PHP] Finding out the first possible booking date with php

2009-12-03 Thread Gerardo Benitez
Hi Merlin, I think that you could do a table with the periods such as ID Star End is_free 1 1.12 14.12 1 2 4.12 18.12 0 3 5.12 19.12 0 then you can search the first period free with a query Mysql $sql = SELECT id FROM periods where