শনিবার, ২২ জানুয়ারী, ২০১১

Sign up Sign in

Sign up Sign in: "

Signupin is an authentication system, it allows to establish a connection only to authorized users. Signupin keeps the connection during a maximum of time indicated by the “expi” option, the default value is 2 hours, then a new login is needed. Signupin allows an authomatic sign up, it sends the password to the email address indicated by the new user. Signupin keep track of the user info and allows to retrieve the lost password by sending it to the user email address under request. Signupin uses a particular captcha, it writes the numbers as words, then the user must enter the numbers as digits. Signupin shows an ui available in five different languages, it allows to set the default language through the “dlan” option.

"

বৃহস্পতিবার, ৬ জানুয়ারী, ২০১১

use facebook graph api to socialize your appliation

  • Register the application at http://www.developer.facebook.com/setup to get an app ID and secret. Your Facebook app ID is your client_id and your Facebook application secret is your client_secret.
  • Redirect the user to https://graph.facebook.com/oauth/authorize with your client_id and the URL the user should be redirected back to after the authorization process (redirect_uri):
                       
    https://graph.facebook.com/oauth/authorize?
    client_id=...&
    redirect_uri=http://www.example.com/oauth_redirect
  • After the user authorizes your application, we redirect the user back to the redirect URI you specified with a verification string in the argument code, which can be exchanged for an oauth access token. Exchange it for an access token by fetching https://graph.facebook.com/oauth/access_token. Pass the exact same redirect_uri as in the previous step:
    https://graph.facebook.com/oauth/access_token?
    client_id=...&
    redirect_uri=http://www.example.com/oauth_redirect&
    client_secret=...&
    code=...
  • Use the access token returned by the request above to make requests on behalf of the user:
                      https://graph.facebook.com/me?access_token=...

মঙ্গলবার, ১৪ ডিসেম্বর, ২০১০

using xampp in linux


Xampp is The one of the best open source web programming environment . it is nice combination of 
  1. apache : server
  2. MySql : database
  3. php     : server side scripting alnguage   
    other supports like ftp ,mail.. also given by this package. using this package in windows is very easy but not secured.
in linux, it is little bit formal .but security like proffesional web server is maintained here. here I wil briefly go through the steps of installing and using xampp (in linux it is called lampp).
  • step1: download xampp package from apache friends website-
                     http://www.apachefriends.org/en/xampp-linux.html
  • step2:  the file will be downloaded in tar.gz format. install it (i assume the file is in your home directory) using command-
                     "sudo tar xvfz xampp-linux-1.5.3a.tar.gz -C /opt"
  • step3: after instalation start the service usin command-
                     "sudo /opt/lampp/lampp start"
                     to see other command options write -
                     "sudo /opt/lampp/lampp"  
  • step4: now browse to http:/localhost and you will get xampp home page. but how can you put your websites folder into root (htdocs) directory ? two ways ftp and local access by copy.
  • step5: the easy way to copy the folder to /opt/lampp/htdocs directory but using copy paste you can not do it. you   should use cammand as root user. to copy folder mysite from home directory to htdocs write-
                    sudo cp -R mysite /opt/lampp/htdocs
          now you have to change the permission of the uploaded folder so that other user who will  access through browser
          can read write and execute it. command-
                    sudo chmod 707 -R mysite

          to put folder via ftp normal advanced ftp client will be needed. you must need to change permission of the uploaded           files and folder  to read write.

                                                                
                                                    I think you are done now.just go to the browser and browse your site and develop it.