Re: [PHP] Array / form processing

2010-10-08 Thread Sebastian Detert
Ron Piggott schrieb: I am writing a custom shopping cart that eventually the cart will be uploaded to PayPal for payment. I need to be able to include the option that the purchase is a gift certificate. At present my add to cart function goes like this: === # Gift Certificate: 1 is a gift;

Re: [PHP] PHP and HBCI?

2010-10-08 Thread Sebastian Detert
Do you have any specifications for HBCI interfaces? Socket connection, XML Exchange, DB Access ? If you have C code for such things, it should be possible to convert this to php code maybe Stephan Ebelt schrieb: On Fri, Oct 08, 2010 at 01:50:12PM +0100, a...@ashleysheridan.co.uk wrote:

Re: [PHP] References in Sessions

2010-10-14 Thread Sebastian Detert
Alexander Schrijver schrieb: Is my message unclear? or didn't anyone ran into this problem? If you want an atomic solution, you need to save the session to your database. How often do you need to delete data? Isn't it better to delete at night when noone is online, or logout all users for

Re: [PHP] Text messaging from the web

2010-10-14 Thread Sebastian Detert
Paul M Foster schrieb: Folks: Being fairly geezerly, I know almost nothing about this, so be gentle. Assuming someone entered information in a form on a website. Normally, you would email the responses to someone. But what if you wanted to send this information to a smartphone via text

Re: [PHP] Text messaging from the web

2010-10-14 Thread Sebastian Detert
Larry Martell schrieb: On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote: Folks: Being fairly geezerly, I know almost nothing about this, so be gentle. Assuming someone entered information in a form on a website. Normally, you would email the responses to

Re: [PHP] Text messaging from the web

2010-10-14 Thread Sebastian Detert
Larry Martell schrieb: On Thu, Oct 14, 2010 at 10:01 AM, Sebastian Detert php-maill...@elygor.de wrote: Larry Martell schrieb: On Thu, Oct 14, 2010 at 9:45 AM, Paul M Foster pa...@quillandmouse.com wrote: Folks: Being fairly geezerly, I know almost nothing about this, so be gentle

Re: [PHP] Execute a php page and don't wait for it to finish

2010-10-19 Thread Sebastian Detert
Ferdi schrieb: Hi List, I have a php page that updates data from one database to another when it is run. My query is, how can I trigger the execution of this update page from another php / javascript without the calling page having to wait for the update page to finish? Basically, I think the

Re: [PHP] Firs Day Of Week UNIX

2010-10-19 Thread Sebastian Detert
Don Wieland schrieb: Hi gang, I need a bailout. I have a fields called sys_first_day_of_week and the user can select one value which will be from a menu with these options: Monday Tuesday Wednesday Thursday Friday Saturday Sunday Based on this Preference and TODAYS DATE, I want to

[PHP] Unicode - Entitiy Encoding

2010-10-20 Thread Sebastian Detert
Hi all, I'm stuck with this problem: I am trying to convert a text with any kind of unicode characters to its octet and entity equivalents. For example: Ë is #203; as octet and Euml; as entity Đ is #272; as octet and Dstrok; as entity My code works fine for some characters ( Ë works fine,

[PHP] Model View Concepts

2010-10-22 Thread Sebastian Detert
Hi all, I'm currently searching for any code snippets, tutorials, howtos, concepts which explain different ways to collect all type of data/input (i.e. inside a class, xml, json string whatever) and create independent html files (i.e. different designs), xml files, pdf files, etc. out of

[PHP] Singleton with variable parameters

2010-12-15 Thread Sebastian Detert
Hi guys, I am trying to generate an abstract Singleton class for use in arbitrary classes, like class Foo extends Singleton {} and generate a new class with Foo - getInstance(); How can I manage to use this with an unkown number of parameters like Foo - getInstance('a', 'b'); ? Something

[PHP] Unit Tests for Cache Class

2011-01-26 Thread Sebastian Detert
Hi all, I'm just writing a small cache class to optimize my database connection. I want to use three different stages to store and receive my data as fast as possible. 1) fast get data from class variable if existing 2) mid get data from memcache if existing - save result as class variable