Search Results

Search found 314 results on 13 pages for 'sarfraz ahmed'.

Page 4/13 | < Previous Page | 1 2 3 4 5 6 7 8 9 10 11 12  | Next Page >

  • Facebook: Unable to get users' birthday

    - by Sarfraz
    Hello All, I have been trying hard for the last 5 hours or so to get the facebook users' birthday through facebook connect but I have not managed to do so. The same code worked previously and still works on other sites made earlier (old ones) but does not seem to work again. Here is the code: require_once ('./connect/facebook.php'); $facebook = new Facebook("myapi", "mysecret"); $fbuser = $facebook->get_loggedin_user(); if ($fbuser) { $_SESSION['custid'] = $fbuser; $fb_look_fields = array( 'name', 'first_name', 'last_name', 'name', 'timezone', 'name', 'sex', 'birthday', 'birthday_date', 'current_location', 'proxied_email', 'affiliations' ); try { $user_data = $facebook->api_client->users_getInfo($fbuser, $fb_look_fields); } catch (Exception $e) { echo $e->getMessage(); } # for birth date $fb_birthday = $user_data[0]['birthday']; if (!$fb_birthday) { $fql_result_xml = $facebook->api_client->fql_query("SELECT birthday FROM standard_user_info WHERE uid = " . $fbuser); $fb_birthday = $fql_result_xml['birthday']; } echo $fb_birthday; The birthday is always empty even though i have set it to visible to all. I am using new facebook php client I even tried getting info from standard table but without any luck I would really appreciate your help and ideas. Thanks

    Read the article

  • WordPress: Image In Every Post

    - by Sarfraz
    Hello, If you visit this site: http://www.catswhocode.com/blog/ You would see that there is an image and summary for each post. What is the proper way to implement that? Is this done using wordpress custom fields? Or whether this is coded in image.php file present in theme folder? How do i do that? Thanks

    Read the article

  • Convert tags to html entities

    - by Sarfraz
    Hello, Is it possible to convert html tags to html entities using javascript/jquery using any way possible such as regex or some other way. If yes, then how? Example: <div> should be converted to &lt;div&gt;

    Read the article

  • JQuery Animation Question

    - by Sarfraz
    Hello, I have created a jquery animation that can be seen by clicking the Preview button on top: http://jsbin.com/anayi3/edit I have used the slideDown animation method. The problem is that all items slide down together. I want to each number to display after short delay. It should not be much of problem for experienced jquery developers. How to do that? Thanks in advance.

    Read the article

  • Centering a percent-based div

    - by Sarfraz
    Hello, Recently, a client asked that his site be percent-based rather than pixel-based. The percent was to be set to 80%. As you guys know, it is very easy to center the container if it is pixel-based but how do you center a percent-based main container? #container { width:80%; margin:0px auto; } That does not center the container :(

    Read the article

  • Difference between URI and URL

    - by Sarfraz
    If you read the documentation of CodeIgniter or Kohana, there is a lot of confusion about the usage of URI and URL. Sometimes they use one and other times the other. They also incorporate URI class which makes it easier working with URLs. I know that: URI stands for Uniform Resource Identifier URL stands for Uniform Resource Locator But that doesn't make much sense. What exactly is the difference? or are they same?

    Read the article

  • Replacing IE With Mozilla Firefox

    - by Sarfraz
    Hello, Has anyone used the Edskes Software Silent Setup for Mozilla Firefox which is multilingual utility which automatically downloads and installs the latest version of Mozilla Firefox. Basically, it says, we can redirect clients using IE to this URL to let them know that that should better stop using IE any more. So my question is whether this program is worth of using? You can browse through the site for more info about it. Thanks

    Read the article

  • How to create imaged scrollbars

    - by Sarfraz
    Hello, How to create imaged scrollbars, for example: http://www.openstudio.fr/jquery/index.htm Basically, I want to create my own image slider with JQuery but I don't want to show default scrollbars. Instead, I would like to have imaged scrollbars.

    Read the article

  • IE6 Hover Issue

    - by Sarfraz
    Hello, As you guys know, the CSS :hover doesn't work in d.... IE6 for an element except for links. What is the fix for that. I mean how do I apply the :hover to a div for example. Any fix/alternative/solution? Thanks

    Read the article

  • PHP: Ideal Folder Structure of MVC framework

    - by Sarfraz
    Hello guys, I would like to ask what is the ideal folder structure for a MVC framework that should be able to support multiple installations. For example, I install xyz framework and i run two or more sites based on this single installation of xyz framework rather than installing the framework for each site. This is probably done in Codeigniter too but i don't know much about CodeIgniter, so i need your suggestions. I know some of you might even have better idea than what is done by CodeIgniter, so please share.

    Read the article

  • Rounded Corners Image Change on Hover

    - by Sarfraz
    Hello, I created a rounded box/button and sliced its first corner, the middle bar (which repeats horizontally to adjust the width of the button text/content) and the last corner and used following markup: <div id="left-corner"></div> <div id="middle-bar">About Us</div> <div id="right-corner"></div> These divs have corresponding images from CSS and are floated left. Those three divs create a single rounded button wiht text About Us which is fine. Problem: I have also created similar three slices of hover images but I wonder how to apply hover to those buttons because if I use :hover with these hovered slices, then even hovering on corner images also creates hovering effect. One alternative is to use fixed width buttons and slice buttons completely but I do not want to do that.

    Read the article

  • How to monetize facebook applications?

    - by Sarfraz
    Hello, I have been developing facebook applications for quit some time now but I have not yet been able to figure out how to monetize facebook applications that I develop and whether anyone is earning from facebook applications in the first place? I have recently heard though there are some facebook applications earning good deal, how? Note: Not sure whether to ask this question here, migrate accordingly if not applicable here. Having said that facebook application development is something done by we programmers so I thought this is appropriate to ask here. Thanks

    Read the article

  • Clone of olx.com

    - by Sarfraz
    Hello, I just wanted to know if anyone knows about the clone of http://www.olx.com made in PHP. Note: Not sure whether to ask this question here but I thought only programmers might tell as this is their business. Thanks.

    Read the article

  • Getting Different IP each time

    - by Sarfraz
    Hello, I am creating a poll script for a facebook fan page: http://www.facebook.com/apps/application.php?id=115400635147687&v=app_115400635147687 I am getting the IP using: $_SERVER['REMOTE_ADDR'] But the problem is that each time I refresh the page, or make an ajax call, the IP is changed everytime. Someone told me that facebook has many IPs, proxies. Basically I need to save the IP in database, so that once a user from certain IP has voted, he should not be able to do so again. What is the solution or alternative to this?

    Read the article

  • Online Code Coloring Service

    - by Sarfraz
    Hello, I would like to know if anyone knows of an online service where we paste the code and it generates back the colored html source code for that code. It could be PHP, HTML, CSS, Javascript, C, Java. Idea is that once i have the colored html code, i could easily put that in my wordpress.com blog. I know about [sourcecode language="whatever"] but just wanted to know an online service that supports multiple languages. The benefit is that, i can choose any color style/theme from that online service for my code. Thanks.

    Read the article

  • Replicating Active Directory - testing scenarios

    - by Naeem Sarfraz
    Replicating a production server's Active Directory is possible through a number of approaches as mentioned here and here. I'm looking for a simpler approach if one exists. I have a mixed-mode authentication site that I need to test. Quite simply AD users (internal) will have more privilege's than someone who logs in via forms (external). We have a web service that cache's an AD structure (users & groups). I'm thinking of building a module (http handler I guess?) that will pick up my specially formed URL (http://impersonateduser@localhost/mywebapp) and use the bit before the @ as the username. That will be the username I use for any subsequent operations. How does that sound? Has anyone got other proposals for testing scenarios like this?

    Read the article

  • How to add static pages to WordPress?

    - by Sarfraz
    Hello, Just wanted to know how do i add static html pages to WordPress? For example, let say i have page products.html, how would i add it to wordpress (any menu, etc) and once added, how do i visit them because wordpress had a typical url structure. Thanks.

    Read the article

  • How to test a site rigorously?

    - by Sarfraz
    Hello, I recently created a big portal site. It's time for putting it to test. How do you guys test a site rigorously? What are the ways and tools for that? Can we sort of mimic hundreds of virtual users visiting the site to see its load handling? The test should be for both security and speed Thanks in advance.

    Read the article

< Previous Page | 1 2 3 4 5 6 7 8 9 10 11 12  | Next Page >