Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
S

Shamit Kumar Tomar

@Shamit Kumar Tomar
About
Posts
19
Topics
3
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • MYSQL connect through PHP
    S Shamit Kumar Tomar

    Hi, You are doing it wrong. The correct syntax of mysql_pconnect is:

    $connection = mysql_pconnect($server, $username, $password, $client_flags);

    So, if you have the hostname, you must use it instead of using ServerName. So, all you have to do is use this piece of code:

    $hostname = "99.99.999.999";
    $password = "aaaaahh";
    $username = "xxx xxx";
    $server = "MySQL 1";

    $connection = mysql_pconnect($hostname, $username, $password);

    if (!$connection)
    {
    die('Could not connect: ' . mysql_error());
    }

    echo 'Connected successfully';
    mysql_close($connection);

    See, I have not used $server anywhere. Not needed. Give it a try. Enjoy.

    Procrastination and Improvisation are my two swords to fight life. My Portfolio Website

    Linux, Apache, MySQL, PHP php database mysql sysadmin hosting

  • Stupid Java
    S Shamit Kumar Tomar

    Did you buy the original Visual Studio :laugh: ? There are many ways to get what you want.

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge java

  • Stupid Java
    S Shamit Kumar Tomar

    No need. VS.PHP[^] already exists there for years.

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge java

  • Where to set default signature
    S Shamit Kumar Tomar

    Hi, this maybe the lamest question ;P but I want to set a default signature but can't find where to put it. Right now, I can type a signature while posting a message but how to set a default signature so that I don't have to type it everytime. :confused: Ohh, and I looked into settings here[^] but can't seem to find a text-box for it. :confused: Please help. I am tired of typing signature everytime. :( Thanks, in advance.

    How to set this thing default ???

    Site Bugs / Suggestions question com tools help tutorial

  • Twignorant
    S Shamit Kumar Tomar

    Why did you gave a HTTPS link ?

    Procrastination and Improvisation are my two swords to fight life.

    Buzzword Bingo com question

  • Stupid Java
    S Shamit Kumar Tomar

    Cedric Moonen wrote:

    when you compare it with Visual studio, it is more or less equivalent.

    No, it's not. VS is much much ahead. :cool:

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge java

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    Yes, using the free version. Will purchase if it feels good for a couple of days.

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    Wow :-D Thanks.

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    Thanks :laugh: That looks promising

    Anish M wrote:

    but procrastination...

    If I can monitor my time, I can handle procrastination. :cool:

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    Can you share it, please?

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    Hmm, I think I should procrastinate my procrastination ;P and write myself one. I thought there must be a ready-made solution other people are using. Am I the first one needing it?

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • Need a Personal Productivity Time Monitor [modified]
    S Shamit Kumar Tomar

    OK, so lately a lot of my time is wasting in procrastination and reading news, blogs, Digg, Reddit, etc. ;P . Problem is that it is now degrading my productivity to a point where I can't afford to go on like this. I want a small software to monitor how much time I spent per project. All it needs is a drop-down to select a project and two buttons, "Start" and "Stop". When I start working on a project, I will select from dropdown and click start and click stop when I'm done. About reporting, nothing fancy, just a list of total time I spent per project daily. :rolleyes: I googled and found a few apps like this but they all are either overkill or have a mandatory thing that if I move my mouse, it start recording time. I don't want any auto-magic / auto-start complex apps, just a small tiny one that can run in my tray. Ahh, I work on Windows and am a freelancer, so I got to keep a watch on me, myself. (BTW, I tried this[^] and it is the worst app :mad:). Thanks, in advance.

    Procrastination and Improvisation are my two swords to fight life.

    The Lounge database com tools help announcement

  • CPU 100% Busy!!!
    S Shamit Kumar Tomar

    I can't agree more. Althuogh my favorite is:

    while(true);

    The Lounge question help

  • Dear CPians: Help me out by voting for this
    S Shamit Kumar Tomar

    Voted it up. Well, due to these arbitrary difficulties in VC++/.NET, I over the years switched to PHP/MySQL after completing my span of being a workplace hero in Windows environment for half a decade. And I must say, I am much more happy and productive in PHP/MySQL environment :laugh: but seriously miss the challenging and real development of VC++ days. :(( - Pragmatic Programmer

    The Lounge help csharp database com debugging

  • Programming improves English (or your language) Grammar
    S Shamit Kumar Tomar

    exactly

    The Lounge help question

  • Programming improves English (or your language) Grammar
    S Shamit Kumar Tomar

    No. I said I can't write improper english like, "hi wht r u doing?". I have usually started writing in passive voice and reduced use of active voices.

    The Lounge help question

  • Programming improves English (or your language) Grammar
    S Shamit Kumar Tomar

    right. C -> C++ -> VC++ -> .NET -> PHP with a few languages with small time-frame in-between.

    The Lounge help question

  • Programming improves English (or your language) Grammar
    S Shamit Kumar Tomar

    I believe it does. I have been programming for 10 years and now I believe I can't write sentences without specific phrases. I can't write improper sentences. My hands stuck, keyboard refuses and cries out. Do you feel that too? :confused:

    The Lounge help question

  • You know you need a break when...
    S Shamit Kumar Tomar

    ... you see a person and you think about right-clicking on them to get their properties (name, age, etc)... or maybe deleting/renaming them ...

    The Lounge c++ architecture
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups