1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Likes Received By Gray Fox

  1. EricBruggema liked Gray Fox's post in the thread Source Speed Test Script PHP.

    Shortened version of the second script: echo "Page generated in ". number_format(microtime(true) - $_SERVER['REQUEST_TIME']) ." seconds";

    Jun 5, 2012
  2. HungryMinds liked Gray Fox's post in the thread MySQL Complicated Query.

    SELECT * FROM table_name WHERE FIND_IN_SET(3, product_ids) OR FIND_IN_SET(4, product_ids)

    Aug 10, 2011
  3. peregrinus liked Gray Fox's post in the thread Is PHP+mySQL the right choice here? Advice needed, please..

    ext/mysql (all mysql_* functions) is getting deprecated in PHP, use prepared statements. Also, you might try looking into Drupal, it's...

    Jul 29, 2011
  4. sandrodz liked Gray Fox's post in the thread grabbing text from the filename, substr question :).

    A little method I like to use when grabbing file names that follow some pattern, modified for your code snippet $photoname =...

    Apr 20, 2010
  5. Narrator liked Gray Fox's post in the thread php script using that i can check how many visitors are browsing my site.

    You could try something like $activeUsers = count(glob(session_save_path().'/sess*')); Works only if session.save_path is set in...

    Mar 29, 2010
  6. premiumscripts liked Gray Fox's post in the thread php string "like" string.

    If you want "User123" not to match even "xxserxx" you should use something like this function compareStrings ($firstString,...

    Aug 25, 2009
  7. baris22 liked Gray Fox's post in the thread Generate a reference number.

    You mean something like this? function int2str ($value, $length = 3) { while (strlen($value) < $length) { $value = "0{$value}"; }...

    Aug 17, 2009
  8. mehdi liked Gray Fox's post in the thread Replace all Links title....

    Seems like a bug to me, but third match was greedy, although I'm pretty sure it shouldn't have been Try this little fix of...

    Aug 16, 2009