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 wmtips

  1. sarahk liked wmtips's post in the thread Which name sounds OK for a talent matching platform?.

    I would not recommend to register anything except .COM if you are not network provider or non-profit organization 8-)

    Mar 21, 2020
  2. JEET liked wmtips's post in the thread Which name sounds OK for a talent matching platform?.

    I would not recommend to register anything except .COM if you are not network provider or non-profit organization 8-)

    Mar 21, 2020
  3. JEET liked wmtips's post in the thread get data from two tables for specific ticket id and username.

    Just a remark to your code. I would highly recommend not inserting raw $_GET or any other user input values directly into SQL queries,...

    Mar 20, 2020
  4. monkeyclap liked wmtips's post in the thread function to change text to sentence case.

    You are right, a little correction: function sentence_case($string) { $sentences = preg_split('/([.?!\s]+)/', $string, -1,...

    Feb 19, 2010
  5. Masterful liked wmtips's post in the thread PHP Refresh Vs. Meta Refresh.

    1. It may depend on browser implementation. I think timer starts right after the whole page is loaded. Anyway you could measure this by...

    Nov 13, 2009
  6. norfstar liked wmtips's post in the thread Is there are function to determine whether PHP is run as FTP user or Apache?.

    Running PHP as user also often done with suPHP. You can try to get current user under *nix using whoami command via backticks or...

    Aug 14, 2009
  7. krishmk liked wmtips's post in the thread php include statement in Heredoc string.

    Only variables are parsed inside a heredoc, no any functions are parsed and called. Instead of this you can initialize some variable...

    May 5, 2009
  8. xrvel liked wmtips's post in the thread I failed to imitate a login with curl.

    Simulating only user agent is not enough in some cases. There are Accept, Accept-Language headers and more, different from browser to...

    Feb 24, 2009
  9. ian_batten liked wmtips's post in the thread "Email this page to a friend" with multiple email options?.

    http://www.maianscriptworld.co.uk/free-php-scripts/maian-friend/free-tell-a-friend-system/index.html A little ugly, but I think it...

    Feb 24, 2009
  10. steelaz liked wmtips's post in the thread How do I force output to the screen during a while loop.

    Just insert ob_implicit_flush(true); in the beginning of the script..

    Feb 9, 2009
  11. mokimofiki liked wmtips's post in the thread Display records from 5 days back to today?.

    SELECT * FROM `users` WHERE `dateadded`>= DATE_SUB(NOW(),INTERVAL 5 DAY)

    Jan 26, 2009
  12. Seqqa liked wmtips's post in the thread How to add values to a PHP redirect?.

    Shorter way to do 301 (or any other HTTP header): <?php $id = $_GET['id']; header( "Location: http://www.example.com/$id/", true,...

    Dec 3, 2008
  13. Silver89 liked wmtips's post in the thread preg_match Find on Page.

    If you are searching for exact string, strpos is faster and more preferable than preg_match. Use if...

    Nov 22, 2008
  14. chops liked wmtips's post in the thread Request help with a few lines of PHP.

    I've completely changed the code: <?php $title = ''; if (!empty($_GET['searchtext'])) $title = $_GET['searchtext']; else if...

    Nov 20, 2008
  15. scubita liked wmtips's post in the thread PHP Dug Error after language select.

    Not enough information. Actually, this error states that lang_mylanguage.php contains some string at line 1, which was outputted to...

    Nov 18, 2008
  16. yangyang liked wmtips's post in the thread What's the SoapClient alternative?.

    Wrong. You do not need to encode SOAP envelope yourself. Use it this way: $result = $client->call('search', array('parameters' =>...

    Nov 16, 2008
  17. Lever liked wmtips's post in the thread How to find do follow blogs?.

    Insert your keyword instead of keyword...

    Jul 29, 2008
  18. pipes liked wmtips's post in the thread UTF-8 without BOM questions and saving files.

    AFAIR BOM at the file beginning should be parsed properly (IE - 100% :)), but if your page composed from several chunks (i.e....

    Jul 29, 2008
  19. Silver89 liked wmtips's post in the thread php query security.

    Using stripslashes after data fetch is wrong, you don't need it.

    Jul 28, 2008
  20. szalinski liked wmtips's post in the thread passing var to include.

    No, including file doesn't change the scope. Function/class declaration does. 1.You can access variable in included function if it is...

    May 17, 2008