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
<VirtualHost *:80> | |
DocumentRoot "C:\xampp\htdocs\bts" | |
ServerName bts.dev | |
ErrorLog "logs/bts.log" | |
CustomLog "logs/bts.log" common | |
<Directory "C:\xampp\htdocs\bts"> | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> |
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
# Virtual hosts | |
Include conf/extra/httpd-vhosts.conf |
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
LoadModule vhost_alias_module modules/mod_vhost_alias.so |
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
127.0.0.1 bts.dev |
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 | |
echo ' 1 ' . '<br/>'; | |
echo ' 121 '. '<br/>'; | |
echo ' 12321 '. '<br/>'; | |
echo ' 1234321 '. '<br/>'; | |
echo ' 123454321 '. '<br/>'; | |
echo ' 12345654321 '. '<br/>'; | |
echo ' 1234567654321 '. '<br/>'; | |
echo ' 123456787654321 '. '<br/>'; | |
echo '12345678987654321'. '<br/>'; |
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 | |
/** | |
วนรอบตั้งแต่ 8 - 0 ลดลงครั้งละ 1 | |
ปริ้นต์ช่องว่างออกมาเท่ากับตัวเลขรอบ ซึ่งจะได้ 8, 7, 6, 5, 4, 3, 2, 1, 0 | |
หาตัวเลขที่อยู่ตรงกลางว่าเป็นเลขอะไร | |
ปริ้นตัวเลขตั้งแต่ 1 - เลขกึ่งกลาง | |
ปริ้นตัวเลขตั้งแต่ เลขกึ่งกลาง-1 (ถ้าไม่ลบออก 1 มันจะปริ้นต์เลขกึ่งกลางซ้ำ) จนถึง 1 | |
ขึ้นบรรทัดใหม่ | |
**/ |
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 | |
wp_register_sidebar_widget( $id, $name, $output_callback, $options, $params); | |
?> |
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 | |
wp_register_sidebar_widget("selet2web", "Select2web Widget","select2web_widget"); | |
function select2web_widget() { | |
echo "Goto <a href = 'http://www.select2web.com'>Select2web</a>"; | |
} | |
?> |
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 | |
$fruits = array(); | |
$fruits[1] = '1. Mango'; | |
$fruits[1.1] = '1.1 Durien'; | |
$fruits[2] = '2. Orange'; | |
$fruits[2.1] = '2.1 Melon'; | |
var_dump($fruits); |
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
array (size=2) | |
1 => string '1.1 Durien' (length=10) | |
2 => string '2.1 Melon' (length=9) |
OlderNewer