• 20Nov

    There are two different stable package for Symfony

    If you want to install 1.0 please follow these instructions:

    • $ pear channel-discover pear.symfony-project.com
    • $ pear install symfony/symfony-1.0.18

    For new version, these instructions will help:

    • $ pear channel-discover pear.symfony-project.com
    • $ pear install symfony/symfony-1.1.5

    Please, be sure you already installed php-pear library.

  • 03Oct

    BARAKA is a Web Application Framework for PHP Beginners. Everything is -action & view separated in BARAKA. So, It’s good to learn how to work with frameworks.

    When you extract BARAKA in your web directory you’ll have a test project directly. You can modify that project for your own purposes. Or, you can create your own projects and modules with them.

    First, open your terminal and change the directory to your BARAKA folder and run these commands one by one:

    • php baraka.php create-project project_name
    • php baraka.php create-module project_name module_name
    • php baraka.php clear-cache

    You can use cp instead of create-project, cm instead of create-module and cc instead of clear-cache. Don’t forget to install php-cli library before running these commands. Otherwise, you can’t run terminal commands.

  • 20Sep

    I believe that Internet Explorer is a joke by Microsoft. Alright, I don’t really believe that but it could be anyway :)

    Why can’t their programmers or software architects realize that they are still The Most Popular Internet Browser on our planet. In my opinion, the most important question is how can’t IE make possible things that making possible by others.

    The problem that I had faced to at last is just happend while I’m trying to use same session with subdomains. It’s not working on IE. The most strange thing in this case is that there is nothing to do with the browser to make it possible normally. It’s a server-side problem and here is solution:

    session_set_cookie_params(1200, null, ‘.domain.com’);

    Now, you can use same session on your subdomains except you’re working on IE. So, we need to detect Internet Browser to apply that wonderful feature.

    if (substr_count($_SERVER['HTTP_USER_AGENT'], ‘Firefox’) > 0)
    session_set_cookie_params(1200, null, ‘.domain.com’);

  • 19Sep

    <VirtualHost localhost:80>
    ServerAdmin baraka@localhost
    ServerName test.baraka
    DocumentRoot /var/www/baraka/run
    DirectoryIndex index.php

    <Directory /var/www/baraka/run>
    Options FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all
    </Directory>
    </VirtualHost>

    Update: Please check your Baraka path before load that configuration.

  • 19Sep

    In BARAKA Framework, you can manage your sessions easily. There are some methods to do that but the most important method is based on a configuration file.

    [session]
    secure = “yes”
    module = “session”
    action = “index”

    All pages included this block in security.ini will be secured automatically. If you’re an authenticated user will see the page but if you’re not you will redirect to login page. You need to modify module and action parameters to set your login page.

  • 30Aug

    I’ve been working in internet & mobile industries many years and now I’m returning back to university again to complete my academic career.

    Congrats to myself :)

    Update: There will be a little surprise for you at www.istanbulaydinuniversity.com soon.

    Update: There is one more surprise at www.crissangelmindfreak.net now.

    Update: Let’s talk English now!

  • 25Aug

    It was my birthday Saturday.

    After all, I just decided to start over again.

    So, welcome to new .phpist and thanks a lot.