Subscribe

RSS Feed (xml)

Powered By

Skin Design:
Free Blogger Skins

Powered by Blogger

Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Wednesday, July 16, 2008

Symfony Step1

A few days ago I started a symfony project, and there is some comandos that i will share width yours....




Creating a project
$ mkdir /home/sfprojects/askeet
$ cd /home/sfprojects/askeet
$ symfony init-project askeet

Creating an application on your project
$ symfony init-app frontend

After do that you created a new application called frontend that can be accessed from :

http://localhost/frontend_dev.php/

By default you can see the symfony default webpage of a symfony project.

See you tomorrow!!!

Thursday, April 10, 2008

PHP: iconv_set_encoding()

Set current setting for character encoding conversion

bool iconv_set_encoding ( string $type , string $charset )
Changes the value of the internal configuration variable specified by type to charset.


$type = [input_encoding, output_encoding, internal_encoding]
$charset = ['ISO-8859-1', 'UTF-8', ...]

Docs