#How to run a PHP script on the fly which is fetched from an URL#
php -r "readfile('https://getcomposer.org/installer');" | php
Params: -r run script
curl -sS https://getcomposer.org/installer | php
Params: -s silent, -S: show errors
#How to run a PHP script on the fly which is fetched from an URL#
php -r "readfile('https://getcomposer.org/installer');" | php
Params: -r run script
curl -sS https://getcomposer.org/installer | php
Params: -s silent, -S: show errors
<?php | |
function extract_emails($string) { | |
$separator = ';'; | |
if(!stripos($string, ';') && stripos($string, ',')) | |
$separator = ','; | |
$list = explode($separator, $string); | |
$email_list = array(); | |
foreach($list as $item) { | |
$item = trim($item); | |
$start = 0; |
#1 Cấu hình SSL cho JBoss AS 7.1.1 Final
Tải về & cài đặt JDK 6 JBoss 7.1.1 sử dụng JDK 6. Các bạn cần đảm bảo đã máy tính chỉ cài đặt JDK 6 là phiên bản Java mới nhất. Bạn có thể tải về JDK 6 ở đây.
Tải về JBoss 7.1.1 Final Các bạn có thể tải về JBoss AS 7.1.1 Final ở đây hoặc từ trang chủ download http://jbossas.jboss.org/downloads. Giải nén JBoss ra một thư mục nào đó. Gọi thư mục này là JBOSS_HOME.
Chạy và cấu hình JBoss