Type: Posts; User: MrCoder
Was worth a shot ;)
I think I understand what you are trying to do but I am not 100% sure on the result you are after. Not sure if you can directly call another IF() within an IF() but its worth a try? Obviously...
Try this too... readfile($_SERVER['DOCUMENT_ROOT'].'/Tracks/All_Eyes_On_You_Acoustic.mp3'); Make sure the path is correct, use echo and file_exist() to debug.
Is the form getting submitted twice? (Running the javascript twice) Please paste the <form> information. Are you using onsubmit within the form or onclick within the submit button? Sound...
Contact DHL, speak to the integration team, ask them about CSV files. They should be able to supply you with a CSV file via FTP that you can parse to get tracking information if you have an...
Have you tried... $bye=<<<EOF <span>goodbye</span>EOF;
http://php.net/manual/en/function.get-browser.php Then its just a case of defining your rules.
Do you have sendmail installed? apt-get install sendmail - OR - yum install sendmail
Beware, MD5's can be the same for two completely different inputs.
Didn't HipHop use to be compile everything but has been changed to JIT to speed up development time? Nog, I think people hosting Magento are more then 1% of all PHP users by now :) I would...
echo "<h1>This is HTML</h1>";
Depending on the result you require.. If you just want to access a PHP page and dont want to use any data from it you could use a hidden iframe and change the "src" using javascript. Otherwise...
You can also do '/^[a-z]\d{8}$/i' for insensitive matching
Did you notice his name too? lol
Your way wont even work.. For example.. <?php echo floatval("12,3456.12"); ?>
If you use the same code twice without blanking the arrays you would run in to duplicate data issues thou.
Source?
Here is a nice little function I wrote for handling form $_POST data to MySQL. Use.. if($key == "id") continue; .. to skip unwanted fields within the foreach loop.
Is this from a legal stand point, or just your recommendation? Source? Why would you need a firewall on a computer with no internet access?
Nerves? $address = "xyz.ghj@abc.sds.in"; $domain = array_shift(explode(".", array_pop(explode("@", $address)))); echo $domain;
Why go to all that trouble when mysqli does it all for you?
You could say the same thing about PHP, MySQL, Linux, Windows... Is anything secure?
I would assume that the following line.. $headers .= 'Content-Transfer-Encoding: 7bit'; ..is missing a newline?
I have only seen this used for backwards compatibility with PHP 4.
This should be sticky-ied! Great posts, great information, good job Stephen (Bookmarked)