game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online game.onenall.com,play free game online

How to install IonCube on localhost

How to Install  IonCube  on your localhost

there are simple step to install IonCube on wamp

  • Download the Free IonCube Loaders for your PC (machine), by choosing your OS platform. You can download them from HERE
  • Afetr you have downloaded it, extract that zip pack to your wamp folder directly. So, that it becomes like this, C:\wamp\ioncube
  • Edit php.ini file: C:\wamp\bin\apache\Apache2.2.11\bin\php.ini and add this line at the bottom of the last line: zend_extension_ts = “C:\wamp\ioncube\ioncube_loader_win_5.2.dll”
  • Restart WAMP and you are done

That’s all

to test just chk

Now, if you want to test,if you IonCube has successfully got installed and set on your server environment, then here is a way to test. Just goto your Joomla Site Admin backend. Goto HELP > SYSTEM INFO > PHP INFORMATION. Scroll down there and you should see something like this

you will see the info and details.

thanks

mrphpguru

how to put facebook logout button

facebook connect logout button graphic

Using facebook connect api we must provide user to logout from facebook and from your site.

Here is the solution for the prob of logout from the facebook api from your site

until the developers make it available… you can use this:

check the user if login? show “logout button” else show “login button”..

//logout
<a href=”#” onclick=”FB.Connect.logout(function() { reload(); }); return false;” ><img id=”fb_logout_image” src=”http://static.ak.fbcdn.net/images/fbconnect/logout-buttons/logout_small.gif” alt=”Connect”/></a>

//login
<a href=”#” onclick=”FB.Connect.requireSession(function() { reload(); }); return false;” ><img id=”fb_login_image” src=”http://static.ak.fbcdn.net/images/fbconnect/login-buttons/connect_light_medium_short.gif” alt=”Connect”/></a>

Thanks

mrphpguru

Facebook Connect API for your website





Facebook Connect API for your website

Facebook connect API allows users to dynamically connect their identity information from Facebook, such as basic profile, friends, photos information and more, to third party websites, as well as desktop and mobile applications. The article here describes how to provide Facebook Connect authentication for your web application.

Steps to connect your site to Facebook :Facebook Connect API for your website

1. If you don’t already have a Facebook API key for your site, create an application with the Facebook Developer application.
Go to http://www.facebook.com/developers/createapp.php to create a new application.
Enter a name for your application in the Application Name field.
Accept the Developer Terms of Service, then click Save Changes.

If you have a Facebook API key,follow from next step
On the Basic tab, keep all of the defaults.

Take note of the API Key, you’ll need this shortly.
2) Click the Connect tab. Set Connect URL to the top-level directory of the site which will be implementing Facebook Connect.

You can include a logo that appears on the Facebook Connect dialog. Next to Facebook Connect Logo, click Change your Facebook Connect logo and browse to an image file. The logo can be up to 99 pixels wide by 22 pixels tall, and must be in JPG, GIF, or PNG format.
If your site is going to implement Facebook Connect across a number of subdomains of your site , you need to enter a Base Domain

Click Save Changes.

3. Create a cross-domain communication channel file called xd_receiver.htm and place it in a directory relative to the Connect URL that you entered in the previous step. Include following script into this file.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<body>
<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/XdCommReceiver.js" type="text/javascript">
</script>
</body>
</html>

4. Next, in your Home Page ,ie page of facebook connect page,Place Html tag as following

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:fb="http://www.facebook.com/2008/fbml">

5. include following javascript file with in your body tag NOTE IN HEAD TAG

<script src="http://static.ak.connect.facebook.com/js/api_lib/v0.4/FeatureLoader.js.php" type="text/javascript"></script>

6. Place facebook login Button in your page

<fb:login-button></fb:login-button>

7. Finally, Include following script after the login button

<script type="text/javascript"> FB.init("YOUR_API_KEY_HERE", "<path from web root>/xd_receiver.htm"); </script>

See the above line need your attention pleasse provide following information
You should now be able to click on the facebook connect logo and use your facebook credentials to login to your web site.

thanks

mrphpguru

Welcome to OneAnall Tutorials





Welcome to OneAnall Tutorials

OneAnall is designed to teach html programmers how to use HTML and CSS. We invite you to begin the tutorials right away and have discuss on the topics. OneAnall is designed to teach  PHP programmers how to use PHP to create dynamic pages for websites. We invite you to php programmer to the tutorials right away and have discuss on the Php topics, PHP functions, PHP classes,PHP script,PHP open sources and lot more.. so php progemmer come here and have discussion and share your expertise. We have…

  • Web Beginner tutorial - html programmers how to use HTML and CSS learn and teach and share your expertise in HTML to create static web pages.
  • HTML Tutorial – Html programmers how to use HTML in web pages.Come here and discuss on the html and share your expertise here.
  • CSS Tutorial – CSS coder, how to use CSS to design a HTML web pages.Come here and discuss on the CSS and share your expertise in CSS  here. Check out the latest web design techniques in CSS available to you.
  • PHP Tutorial – PHP programmers how to use PHP to create dynamic pages for websites. We invite you to php programmer to the tutorials right away and have discuss on the Php topics, PHP functions, PHP classes,PHP script,PHP open sources and lot more.. so php progemmer come here and have discussion and share your expertise.
  • MySql Tutorial -MySql programmers how to use Mysql to queries to make databased driven web pages  for websites. We invite you to mySql query developer to the tutorials right away and have discuss on the Mysql topics, Mysql queries.
  • Web Host Guide – An overview of all the information you need to know about choosing and using a web host.
  • CSS Reference – CSS Quick-Reference sheet. Each item of the reference also has an accompanying example.
  • HTML Reference – HTML Tag Reference including attributes associated with each tag and accompanying examples.