Zend Insert Update ON Duplicate

Many people struggle with the Insert / Update on duplicate feature of MySQL within Zend.

I also had a problem with this as the Zend does not support this in the framework .

To bad, so I have written my own, Insert and Update on Duplicate function.

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 9.7/10 (3 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Read More

Flex PHP UTF8 Problem solved

Flex PHP UTF8 Problem solved

So you want to connect to your MySQL database with Flex and PHP tru AMF but you are getting these UTF8 errors?

If you write you own php files and you have an UTF8 MySQL database you can get nasty errors about UFT8.

The error you get can look like this :


Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 9.0/10 (1 vote cast)
VN:F [1.9.13_1145]
Rating: -1 (from 1 vote)
Read More

FLEX & PHP FLUGR FlashBuilder Camp

Zoals belooft op het Flugr Flashbuilder Camp vandaag hierbij de links naar interessante artikelen en tutorials over Flex & PHP.

http://www.jamesward.com/census

http://corlan.org

http://blog.digitalbackcountry.com/

http://snurl.eu/adobe_devnet_flex

http://snurl.eu/connect_php_design

http://snurl.eu/flex_php_seminar

http://snurl.eu/ryan_php_denver_usergroup

Nog meer handige links:

Flex and PHP Using AMFPHP – A Simple Example
http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_us.html

Rich Internet Applications with Flex and PHP
http://www.phparch.com/training/rich-internet-applications-with-adobe-flexair-and-php/

PHP and Rich Internet Applications
http://www.scribd.com/doc/2957146/flex-and-php-eseminar

Flex and PHP charting
http://www.dreamweaverultradev.info/devnet/flex/articles/flex_php_charting.html

Flex and PHP – A simple sample
http://blogs.adobe.com/mikepotter/2006/02/flex_and_php_a_1.html

Create a Login System with Flex and PHP
http://www.vipercreations.com/tutorials/Adobe%20Flex/28/

Flex and PHP
http://www.adobe.com/devnet/flex/flex_php.html

Building Flex application for a PHP class using Flash Builder 4
http://sujitreddyg.wordpress.com/2009/06/01/building-flex-application-for-a-php-class-using-flash-builder-4/

Building a database based app using Flex and PHP with Flash Builder 4
http://sujitreddyg.wordpress.com/2009/06/01/building-a-database-based-app-using-flex-and-php-with-flash-builder-4/

Flex and PHP: Authentication With an HTML Login Page
http://blog.digitalbackcountry.com/2010/01/flex-and-php-authentication-with-an-html-login-page/

Communicating with Flex and PHP over Sockets
http://ria.dzone.com/articles/php-and-flex-sockets&default=false&zid=159&browser=14&mid=0&refresh=0

Adobe Flex :: With PHP
http://www.brightworks.com/technology/adobe_flex/with_php.html

Create an email form in flex with php:
http://www.riacodes.com/flex/create-an-email-form-in-flex-with-php/

Using PHP and Flash for developing Rich Internet Applications
http://static.zend.com/topics/PHP-Flex-Webinar-slides.pdf

Debug Flex and PHP using Flash Builder 4 and PDT
http://miti.pricope.com/samples/video/debug-flex-and-php-flash-builder-pdt.html

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Read More

Simplepie RSS script white screen solution

Well, I was working on my home server with the Simplepie script (http://simplepie.org) to get some RSS feeds on a site.
It worked great untill I moved it to my live Server.
All I got where white screens…. could not figure it out what this problem was.
Than I found this forum

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 5.3/10 (4 votes cast)
VN:F [1.9.13_1145]
Rating: -2 (from 2 votes)
Read More

Calculate Date from day of year in PhP

So why would you want to calculate a day of year to a date ?

Well I needed it for my Sudoku script. (http://sudoku.gebruikmaar.nl)
I wanted to show a new Sudoku every day, and let the visitors be able to show the sudoku of yesterday and the days before.

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 7.3/10 (10 votes cast)
VN:F [1.9.13_1145]
Rating: -1 (from 3 votes)
Read More

Juiste datum in PhP

thumb_scriptingWell everybody knows this problem.

You want to display a nice date on your PhP site (e.g. Tuesday, 15 February 2008) but it doesn’t do it in your own language.

Like me, I always want to display the date in the dutch language. Today I made new page on my www.gebruikmaar.nl page to display the week numbers. (weeknummers.gebruikmaar.nl). But even with the setlocal (setlocale(LC_ALL, ‘nl_NL’);) on nl_NL it did not work… it shows English weekdays and month name…. so… I decided to make a general script that does this for me… no matter what the language settings are.

Theo van der Sluijs

Theo van der Sluijs (1975) is Software Development Manager at Bax-shop.nl. You can read more in dutch on his “Dutch Blog“, he also created Gebruikmaar.nl. He is a member of the Board of the Dutch Flex Usergroup and Goesweb.net.

Google+ Twitter LinkedIn 

VN:F [1.9.13_1145]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.13_1145]
Rating: 0 (from 0 votes)
Read More
Get Adobe Flash playerPlugin by wpburn.com wordpress themes