Likes Received By ThePHPMaster
-
-bank- liked ThePHPMaster's post in the thread Mail Function Problem.. Not sending. Any Ideas?.
The $to can be anything that complies with the http://www.faqs.org/rfcs/rfc2822.html rules. Chances are you are on windows (in which...
Apr 10, 2013 -
MyVodaFone liked ThePHPMaster's post in the thread Mail Function Problem.. Not sending. Any Ideas?.
The $to can be anything that complies with the http://www.faqs.org/rfcs/rfc2822.html rules. Chances are you are on windows (in which...
Apr 10, 2013 -
Tony Brar liked ThePHPMaster's post in the thread Shorter error handling PDO.
Hey Tony, Like Rukbat said, you might want to take a look into sanitizing your inputs before sending it to MySQL. Depending on your...
Dec 23, 2012 -
DomainerHelper liked ThePHPMaster's post in the thread Numbered Loop.
Something like this should work: <?php if ($handle = opendir('websites')) { $data = array(); while (false !== ($entry =...
Dec 16, 2012 -
Devtard liked ThePHPMaster's post in the thread Help with complex regular expression.
Ok. I think I understand your question now. You want to know if any characters in string A exists in string B. // Match any of these...
Nov 12, 2012 -
monkeyclap liked ThePHPMaster's post in the thread PHP - Please Help!.
PHP's built in ucwords should work: $string = "it's so hard To say (live)"; echo ucwords($string));
Feb 19, 2012 -
Adulu liked ThePHPMaster's post in the thread $x=include path?.
<?php ob_start(); include('fileYouWantToStore.php'); $a = ob_get_contents(); ob_end_clean(); echo $a;
Mar 17, 2011 -
hasbehas liked ThePHPMaster's post in the thread Need help with this script.
Change the line: clearTimeout(this.rotatetimer) To: clearTimeout(this.rotatetimer);...
Dec 22, 2010 -
anilinkz liked ThePHPMaster's post in the thread preg_match_all array on a string.
This should work: $content = "I Love Digital Point so Much very very Much digital Love"; $wordList = array('digital','point','much');...
Aug 9, 2010 -
pictureboarduk liked ThePHPMaster's post in the thread PHP Explode() - Displaying results help needed.
Place the print_r inside <pre></pre> tags. echo '<pre>'; print_r($array); echo '</pre>';
Sep 29, 2009 -
Nigel Lew liked ThePHPMaster's post in the thread Convert a list of cities into .html files.
Are you OK with using PHP Nigel? If the city list you have is newline delimited, I would do something like this: $fileName =...
Aug 5, 2009 -
gingerbreadweb liked ThePHPMaster's post in the thread URL shortening - how to generate alpha-numeric links instead of just numeric ones?.
This should be easier and more efficient: $lengthOfString = 4; $randomString = substr(md5(uniqid(rand(),1)),1,$lengthOfString); echo...
Jul 26, 2009