Martic.net

Talking in binary since 1980.

Read XML files in PHP

Darko at 1:34 pm on Wednesday, August 12, 2009

PHP with XMLXML is very nice format for storing and especially transferring data between applications. Instead of old plain TXT files which you must parse from a strictly defined format, XML files gives your data 2nd dimension – a structure, so you basically “know” what data represents without need for parsing and cleaning it from rubbish.
Everybody is using it, so why shouldn’t you? :)
Read more >>

How does WordPress handle friendly URLs?

Darko at 12:19 pm on Wednesday, August 12, 2009

Google URL magnifyNot so long time ago, I wrote about handling friendly URLs for your own site using Apache (it’s URL rewrite engine, and .htaccess file) and PHP – “Friendly URL, the easy way”.
In the meantime I was doing some changes to .htaccess file for one of my WordPress installations, and what made me thinking was how does the WordPress handle URLs.

Read more >>

Simple AJAX is getting advanced

Darko at 11:42 am on Wednesday, August 12, 2009

ajax 2.0In one of my previous posts – Simple AJAX example, I explained a few steps that will help you enter the web 2.0 development world using famous AJAX method.
In that example we were submiting a HTML form with POST method using XmlHttpRequest and then processing the request server-side using PHP and getting some results back to JavaScript, to the client machine without refreshing the whole page. Very cool :)
Read more >>

Secure your Flash-PHP connection

Darko at 6:10 am on Wednesday, August 12, 2009

secureIf you’re working on a Flash game in which you are saving player score in a database, you might wanna consider applying some security to it :)

As I know, you cannot access MySQL database directly from Flash, so you’ll need to do some ActionScripting and call an external script to do it for you. For this example, we’ll be using PHP as a server-side script that will be doing MySQL communication.
Read more >>

 
 
Close
E-mail It
Socialized through Gregarious 42