Recent content by gdebojyoti.mail96

  1. G

    Why no possibility to connect now

    Same issue. From India. Please help.
  2. G

    Chatting with FB & Google friends from custom website using OAuth - possible?

    I just signed up for a live.com account. I connected my Google and Facebook accounts to it, and found that I can chat with my online Facebook and Google friends right from the Outlook chat window. So I was wondering whether I can chat with my Facebook and Google friends from my own custom...
  3. G

    How to build a commenting system on top of my existing posting system in PHP?

    I have a page where the latest status updates by my friends and me are displayed. The tables involved are statusUpdates, users & friends. The script I used to pull the necessary data was - $myQuery = mysql_query("SELECT * FROM statusUpdates AS su LEFT JOIN friends AS fr ON...
  4. G

    PHP headers and file encoding

    My PHP files are encoded in UTF-8 format (as I want to use one particular symbol which is not supported by ANSI). But UTF-8 seems to be affecting the header statement. Even the simplest of PHP codes is not working - <?php header("location: destination.php"); ?> It is throwing an error...
  5. G

    Having rendering problems with PHP include/ require in webkit browsers and Opera

    Found the problem. The source code for the Chrome version contains a certain character (shown in the image attached) in line #2, which does not occur in the Firefox code. By the way, all my pages are encoded in UTF-8 format. So I just changed the encoding of the loggedStatus.php page to ANSI...
  6. G

    Having rendering problems with PHP include/ require in webkit browsers and Opera

    I just came across a problem which seems pretty unusual to me. I want to "include" a particular PHP script (loggedStatus.php) in my various pages. Its contents are - <?php @session_start(); //$username,$password,$databaseName declared...
  7. G

    Need Lightbox script

    I need a Lightbox script which I can add easily to my PHP website while making the least amount of changes to my existing scripts. I shall be using it mainly to display images (single and multiple) and dialog boxes (example: "Delete XYZ? Y/N" OR "You have added Mr. AB as your friend"). It...
  8. G

    Can I use APC?

    Okay. :-(
  9. G

    Can I use APC?

    I just came across something called Alternative PHP Cache (APC). I liked what I read, especially the fact that it "heavily optimizes and tunes the output of the PHP bytecode compiler and stores the final, compiled result in shared memory" (source: Wikipedia). I was just wondering if I am...
  10. G

    Unexpected behaviour of cookie

    Okay, problem solved. I was missing the path parameter. The code should be one of the following - setcookie("cookiename",$cookieVal,0,'/'); setcookie("cookiename",$cookieVal,time()+60*60*24*365,'/');
  11. G

    Unexpected behaviour of cookie

    My login verify script - if($pass == $hash) setcookie("cookiename",$cookieVal); This stores the cookie in the broswer. No problems with this; I have checked it myself. However in a different page when I check to see if the cookie exists, it returns false. if(isSet($_COOKIE['cookiename']))...
  12. G

    Displaying last 'N' posts by friends & me | PHP-MySQL

    Okay, problem solved. First of all, I changed the names of the fields of my tables, making each one unique (although I would have preferred getting a solution without editing my database). Then I used this script to pull data from all 3 tables. $myQuery = mysql_query("SELECT * FROM...
Top