This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
//add <pre> tags and use print_r | |
ECHO ('<pre>'); | |
print_r($array); | |
ECHO ("</pre>"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup_contact_form() | |
{ | |
$("form#contact").validate( | |
{ | |
rules: { | |
cfname: { | |
minlength: 2, | |
required: true | |
}, | |
clname: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1.$ cd C:\xampp2\htdocs\cakephp\app\Console> | |
2.$ cake |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Right-click on a My Computer icon | |
2. Click Properties | |
3. Click Advanced system settings from the left nav | |
4. Click Advanced tab | |
5. Click Environment Variables button | |
6. In the System Variables section, select Path (case-insensitive) and click Edit button | |
7. Add a semi-colon (;) to the end of the string, then add the full file system path of your PHP installation (e.g. C:\Program Files\PHP) | |
8. Keep clicking OK etc until all dialog boxes have disappeared | |
9. Close your command prompt and open it again |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://thedispatch.fm/made-with-wp/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Go to my XAMPP installed directoy C:\xampp\php | |
2. Open the "Configuration Settings" file named php.ini using your text editor, preferably you can also you Notepad for Windows machine. | |
3. Somewhere nearby on line no 886, please update it to upload_max_filesize = 128M | |
4. Similarly on line no 735 post_max_size = 128M | |
5. On line no 442 max_execution_time = 300 | |
6. On line no 452 max_input_time = 60 | |
7. Restart your Apache from either XAMPP Control Panel or using CMD in Windows |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://egghead.io/lessons |