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 ThePHPMaster

  1. scu8a liked ThePHPMaster's post in the thread how can i embed an external page without an iframe?.

    Are page1 and page2 on the same domain level?

    Jan 10, 2020
  2. Nei liked ThePHPMaster's post in the thread Why is the last array returning null?.

    This works: http://sandbox.onlinephpfunctions.com/code/0ce2fc04eca2d03f6b684a2dd84a1d8918c97e5b <?php $blbdescription = "<span...

    Jul 1, 2018
  3. sarahk liked ThePHPMaster's post in the thread How can I send emails from PHP from my hosting service?.

    Personally I never trust mail() unless you know it works. Most hosts disable it to avoid spam. Instead can you send via SMTP? Maybe...

    Jun 26, 2017
  4. deathshadow liked ThePHPMaster's post in the thread 2 Select statement into one state.

    This would sort by age descending first, then score descending second: SELECT person, age, score FROM people ORDER BY age DESC, score DESC

    Mar 8, 2017
  5. sarahk liked ThePHPMaster's post in the thread $_SERVER['SERVER_NAME'] question.

    That is the best way imo. No, the values are generated by Apache and send to PHP regardless of you using them or not. There is no cost...

    Oct 26, 2016
  6. qwikad.com liked ThePHPMaster's post in the thread $_SERVER['SERVER_NAME'] question.

    That is the best way imo. No, the values are generated by Apache and send to PHP regardless of you using them or not. There is no cost...

    Oct 26, 2016
  7. qwikad.com liked ThePHPMaster's post in the thread Will it make a difference?.

    Yes it will, 120 hours will start from THIS hour until 120 hours back, opposed to using day which just goes back in days regardless of...

    Aug 16, 2016
  8. sarahk liked ThePHPMaster's post in the thread How can PHP, MySql is connect with Fingerprint Scaner?.

    This works fine with bar code scanners and such, but for fingerprinting it would be a bit more complicated. The thing with...

    Jul 11, 2016
  9. Matthew Sayle liked ThePHPMaster's post in the thread Proper way to call an image.

    That would be my vote. Having the actual images relative /images/x.jpg but the actual URLs absolute: http://google.com/images/x.jpg via...

    Jul 6, 2016
  10. deathshadow liked ThePHPMaster's post in the thread Flat File Comments Script.

    Two things: 1) You need to escape your inputs to remove js/css/etc.. to avoid XSS attacks. 2) You need to understand that since you are...

    Feb 3, 2016
  11. NetStar liked ThePHPMaster's post in the thread Flat File Comments Script.

    Two things: 1) You need to escape your inputs to remove js/css/etc.. to avoid XSS attacks. 2) You need to understand that since you are...

    Feb 2, 2016
  12. deathshadow liked ThePHPMaster's post in the thread counting strings in foreach.

    Without having to worry about extra spaces/variables: foreach (explode(',', "1str 1str , 2str 2str , 3str 3str ") as $v) { echo...

    Jan 12, 2016
  13. KangBroke liked ThePHPMaster's post in the thread counting strings in foreach.

    Without having to worry about extra spaces/variables: foreach (explode(',', "1str 1str , 2str 2str , 3str 3str ") as $v) { echo...

    Jan 12, 2016
  14. qwikad.com liked ThePHPMaster's post in the thread What is the best way to target older IE browsers with PHP?.

    Your piece of code will work perfectly, as expected. I wouldn't use anything else like browscap or any other libraries since they have...

    Nov 1, 2015
  15. freelanceDeveloper liked ThePHPMaster's post in the thread multi dimensional array from func_get_args().

    I pretty much gave up on this after spending an hour, my brains weren't working for some reason. Here are some solutions posted by some...

    Oct 5, 2015
  16. rhoula liked ThePHPMaster's post in the thread Scheduling script using PHP and Mysql.

    Here is how I would construct the tables: employees-> id (primary/auto increment) name shifts-> id (primary/auto increment) name...

    Oct 3, 2015
  17. qwikad.com liked ThePHPMaster's post in the thread How do I delete the rows that are 30+ days old?.

    Another way of doing it: DELETE FROM `ajaxfavourites` WHERE exptime < DATE_SUB(curdate(), INTERVAL 30 DAY);

    Sep 19, 2015
  18. ketting00 liked ThePHPMaster's post in the thread How are websites like twitter and facebook doing it?.

    Speaking from experience - Where I had to design/implement application that serves millions of users a minute, it is not hard at all. I...

    Aug 27, 2015
  19. deathshadow liked ThePHPMaster's post in the thread Remove duplicate entries from multidimensional array.

    Filter it as so: $entries = get_option('form_options'); $unique_list = array_intersect_key( $entries['demo'],...

    Jul 21, 2015
  20. PoPSiCLe liked ThePHPMaster's post in the thread Remove duplicate entries from multidimensional array.

    Filter it as so: $entries = get_option('form_options'); $unique_list = array_intersect_key( $entries['demo'],...

    Jul 21, 2015