Feeds:
Posts
Comments

Book review…

facebook

Recently I start the book which is based on FACEBOOK APPLICATION,also written by our great HASIN vai.The title of the book is “LEARNING FACEBOOK APPLICATION DEVELOPMENT “.Really its a nice one.the book helps everyone who is new on PHP.Its written on facebook platform and also php.so for the new comer its the best to do such a creative application for facebook.

 

Last month,I got a new browser.Its awesome.Its “GOOGLE CHROME“.Actually if I compare with all the browser I think its the best.If anyone want to use it,just download the zip file and then setup.Another things,u must connect to the internet while setup process is continuing.

The outlook of the browser:

dlpage_lg

  •  দ্রুপালে যেকোন তথ্য পরিবেশনের জন্যই সেটাকে আগে ইনপুট হিসাবে প্রবেশ করাতে হবে। তথ্য সংগ্রহ এবং সন্নিবেশন করার জন্য প্রাথমিক ভাবে নোড গুলোর ব্যবহার হয়।
  •  দিতীয় লেয়ারে রয়েছে মডিউল। মডিউল হলো তথ্য পরিবেশনার পদ্ধতি। আপনি চাইলে সাধারণ পোস্টের আকারেও দেখাতে পারেন আবার গ্যালারী আকারেও দেখাতে পারেন। জুমলা ব্যবহার কারীদের জন্য বলছি, এই মডিউল জুমলার মডিউলের মত । নামের সাথে সাথে কাজটাও একটু আলাদা। 
  •  তৃতীয় লেয়ারে আছে ব্লক এবং মেনু। মডিউল জেনারেটেড আউটপুট ডিসপ্লে করার জন্য ব্লক ব্যবহার করা হয়। 
এখানে একটি ছবি দিএ  দ্রুপালের কজ বোঝান হলঃ
drupal_flow_0

DRUPAL…A nice CMS

 

Drupal is a free software package that allows an individual or a community of users to easily publish, manage and organize a wide variety of content on a website. Tens of thousands of people and organizations are using Drupal to power scores of different web sites, including: 

    * Community web portals

    * Discussion sites

    * Corporate web sites

    * Intranet applications

    * Personal web sites or blogs

    * Aficionado sites

    * E-commerce applications

    * Resource directories

    * Social Networking sites

To switch a logo, you first have to examine the source code of the respective template. Graphics and images can be defined in the HTML and in the CSS structure. The size of the graphic is usually harmonized to the template.If you want to exchange one of the images, you can do so by means of various methods.

Method 1

  •  Create a graphic in a resolution and file size that fits the space.
  •  Load the graphic into Joomla!’s Media Manager.
  •  Click on the graphic to get a link to it.
  •  Change the respective <img src=”"> tag in the source code of your template to the new image.

Method 2

  • Create the new graphic and give it the same name as the graphic in your template.
  • Simply overwrite the old graphic with the new one.

PHP Session…

 

Session variables hold information about one single user, and are available to all pages in one application.      When we work with an application, we open it, do some changes and then we close it. This is much like a Session. The computer knows who you are. It knows when you start the application and when you end.    

But on the internet there is one problem: the web server does not know who you are and what you do because the HTTP address doesn’t maintain state (HTTP is a stateless protocol).

A PHP session solves this problem by allowing us to store user information on the server for later use (i.e. username, shopping items, etc). 

However, session information is temporary and will be deleted after the user has left the website. If one needs a permanent storage he/she may want to store the data in a database.

Starting a PHP Session 

                <?php 

              session_start(); ?>

                    <html> <body>      </body> </html> 

COOKIE…!!!!!

A cookie is often used to identify a user. It is a small file that the server embeds on the user’s computer. Each time the same computer requests a page with a browser, it will send the cookie as well. 

COOKIE Creation:

<?php 

setcookie(“user”,”sharif”,time()+3600);

?>

 

Retrieve a cookie value:

<html>

<?php

echo $_COOKIE["user"].”<br/>”;

echo($_COOKIE);

?>

<body>

if(isset($_COOKIE["user"]))

echo “WELCOME “.$_COOKIE["user"].”<br/>”;

else  echo “WELCOME guest!!!!!!!!<br/>”;

?>

</body>

</html>


COOKIE Deletion:

<?php

setcookie(“user”,”",time()-3600);

?>

Older Posts »