PHP Web Application Developer from Bangladesh

Multi Language Web Expert

Archive for March, 2010

How to learn HTML & CSS easily? Tutorial – 1

এতো সুন্দর সুন্দর ওয়েব পেইজ দেখি আর ভাবি কেমন করে এমন সাইট বানানো হয়। ইশ্‌ যদি এমন করে আমার নিজের সাইট টি বানাতে পারতাম। অথবা আমিও এমন ডিজাইন করতে পারতাম।
আবার অনেকেই আছেন যারা ডিজাইন এবং প্রোগ্রামিং কিছুই বুঝিনা। কিন্তু নিজেদের বেশ কয়েকটি সাইট আছে। একদিন সকাল বেলা ঘুম থেকে উঠে মনে হলো আপনার অমুক সাইটের বাম পাশের বর্ডারটি যদি নীল হলো বা অমুক জায়গায় যদি একটি ইমেজ বসাতে পারতেন তাহলে সাইটের সৌন্দর্যটিই অন্যরকম হতো।
আপনি একজন ফটোশপ ডিজাইনার। ফটোশপে কত কিছু করে ফেলেন কিন্তু html এবং css জানেন না বলে তা ওয়েব পেইজে রুপান্তর করতে পারেন না।

হ্যাঁ আপনাদের কল্পনা বা আকাঙ্কাকেই বাস্তবে রুপদান করতে আমার এই html এবং css টিউটোরিয়াল লিখার প্রয়াস।

ওয়েব ডিজাইনের মূল জিনিস হলো html এবং css। প্রোগ্রামিং কোন মারপ্যাচ নেই। দরকার শুধুমাত্র একটু ক্রিয়েটিভিটির।
ক্রিয়েটিভিটি নেই? তাহলেও চোখ কপালে তুলে ফেলার কিছু নেই। তাহলে আপনার ক্রিয়েটিভিটিরও প্রয়োজন নেই। তখন শুধু সাথে এটা জানতে হবে কিভাবে ফটোশপের স্লাইসিং করতে হয়। খুবই সোজা।

হ্যাঁ ক্যারিয়ার গড়ার জন্য html এবং css ডিজাইনার কেমন? এক কথায় ধারুন!

তাহলে আর অপেক্ষা কেন আসেন সবাই মিলে html এবং css শিখা শুরু করে দিই।

(more…)

  • 0 Comments
  • Filed under: CSS, HTML
  • How to enable curl in XAMPP?

    Enable curl with XAMPP on Windows XP

    What is your Xampp version?

    If your viersion is >= 1.7.1 then follow the following instruction:-

    1. Open ..\xampp\php\php.ini
    2. Uncomment the following line on your php.ini file by removing the semicolon.
    ;extension=php_curl.dll
    3. Restart your apache server

    Otherwise follow following instruction:-

    (more…)

  • 1 Comment
  • Filed under: CURL, PHP
  • Alphabetical search using php

    Sometimes we have need alphabetical search or pagination. It is very much simple. How we will do it-
    1. At first we will make an array with all alphabetical character.
    <?php
    $allAlphabet = array(‘A’, ‘B’, ‘C’, ‘D’, ‘E’, ‘F’, ‘G’, ‘H’, ‘I’, ‘J’, ‘K’, ‘L’, ‘M’, ‘N’, ‘O’, ‘P’, ‘Q’, ‘R’, ‘S’, ‘T’, ‘U’, ‘V’, ‘W’, ‘X’, ‘Y’, ‘Z’);
    ?>

    2. Print/echo all alphabetical character sequentially using foreach loop
    <?php
    foreach($allAlphabet as $singleCharacter)
    {
    echo $singleCharacter;
    }
    ?>

    (more…)

  • 1 Comment
  • Filed under: PHP
  • How write conditional statements in html code

    Sometimes we have been faced browser problems in user interface. If firefox worked good but internet explorer not. Because Internet explorer and Firefox don’t render the code equally.
    If you need to add extra html code in your file for Internet Explorer, you can use conditional statements in html code.

    The HTML will run if the browser is Internet explorer:
    <!–[if IE 6]>
    Write HTML code here!
    <![endif]–>

    (more…)

  • 0 Comments
  • Filed under: CSS, HTML
  • Jabber Integration — Is it so tough?

    What is jabber:

    Jabber is an initiative to produce an open source, XML based instant messanging platform.

    Jabber is an API to provide instant messaging and presence functionality independent of data exchanged between entities. The primary use of Jabber is to give existing applications instant connectivity through messaging and presence features, contact list capabilities, and back-end services that transparently enrich the available functionality.

    Jabber began in early 1998 as an open source project to both enable and ease the construction of compatible IM clients.

    After two years of full-time development by a large group of individuals around the world:

    • The abstraction layer and all APIs are fully implemented.
    • The XML data types are well defined
    • Clients for all major platforms and environments are available or being developed.
    • The GPL[4]/LGPL[5] licensed Jabber Server is fully functional.
    • Numerous working server-side components (transports) exist or are in public development for popular services such as ICQ, AOL IM, Microsoft Messenger, Yahoo! Messenger, IRC, SMTP, RSS (news headlines), and more.

    How you work:

    (more…)

  • 0 Comments
  • Filed under: PHP, PHP API