November 30, 2011 | Posted in Music | Comments (1)

I’ve been in this path awhile and I’m so far from holding you
It’s more than a million miles that I would have to plough through

You’re eyes seem to light the sky
A flare that could lead the blind

The question is now for you, I raise my hands in full view
Would you see me from out there, I hope it’s as bright as you

You’re eyes seem to light the sky
A flare that could lead the blind
If you would just look this way
I’ll be here for all my days


November 28, 2011 | Posted in Programming, Thoughts, Tutorials | No Comments »

One of the most crucial thing about starting a high end web application is "choosing the right PHP framework" that will suit your needs as a programmer, designer etc. Though there are a lot of PHP frameworks out there, you need to be careful in choosing one.


July 25, 2011 | Posted in FAQs, Programming, Tutorials | Comments (3)

    function getCSVValues($string, $separator=",")
    {
        $elements = explode($separator, $string);
        for ($i = 0; $i < count($elements); $i++)
        {
            $nquotes = substrcount($elements[$i], '"');
            if ($nquotes %2 == 1)
            {
                for ($j = $i+1; $j < count($elements); $j++)
                {
                    if (substr
count($elements[$j], '"') > 0)
                    {
                        arraysplice($elements, $i, $j-$i+1,
                        implode($separator, array
slice($elements, $i, $j-$i+1)));
                        break;
                    }
                }
            }
            
            if ($nquotes > 0)
            {
                $qstr = $elements[$i];
                $qstr = substrreplace($qstr, '', strpos($qstr, '"'), 1);
                $qstr = substr
replace($qstr, '', strrpos($qstr, '"'), 1);
                $qstr = strreplace('""', '"', $qstr);
            }
        }
        
        return $elements;
    }
    
    $file = file
getcontents('sample.csv');
    $dataStrings = explode("\r", $file);
    
    $i = 0;
    foreach ( $dataStrings as $data ) $i++;

    $files = "upload/YourFile.csv";
    $handle = fopen($files, 'w');
    $num = count($dataStrings);
    echo $num;
    for ( $j = 1; $j < $num; $j++ )
    {
        $strings = getCSVValues( $dataStrings[$j] );
        
        $data = $strings.",";
        fwrite($handle, $dataStrings[$j]);
        
        echo "<pre>";
        print
r($strings);
        print("<br/>\n\r");
        echo "</pre>";
   }
    fclose($handle); 


June 19, 2011 | Posted in FAQs, Design, Tutorials | No Comments »

Choosing colors are like choosing clothes, I mean a designer wants a color or a feel that will suit any of their works. Gladly there tools used to have a good color combinations and schemes.

Adobe have provided applications for strong years to support designers and dominate the world wide web, one of their huge goal is to put color in it. One help they made for free is the Kuler, which is a free color schemer available in the net for designers.

 


June 15, 2011 | Posted in Design, Graphics | Comments (3)

Creating Web Portfolios has always been a trend for most of the developers and designers all around the country. Having one means showcasing talents and services which will able to define your works and what are your capabilities are.

A web portfolio also consist of the basic links needed such as contacts, services, works/portfolio, clients and everything in between. Lately, I had so much fun browsing some of the best portfolios compiled by some of our friends in the internet.

These portfolios are really cool and amazing, boosting their ideas and creativity in to different designs.

Here are some of these cool links:


June 14, 2011 | Posted in FAQs, Programming, Tutorials | No Comments »

First of all let your variables be private in making classes which are restricted files. The use of having a connection class to make it programs more accessible and easy for programmers to manipulate variety of functions and classes in a certain projects.

I find this useful to make coding more shorter and using arrays makes it more all set and easy.

I have provided a simple connection class for beginners which is very useful for a start. But certainly many programmers use different approaches as well. 

Sample is available here: Download.