全文検索:
- 97 Eclipse
- ====== 97 Eclipse ====== PHPの開発環境を作成する。 eclipse-SDK-3.7.2-win32.zip をダウンロードしました。 Eclipse [[http://sourceforge.jp/projects/sfnet_eclipse.mirror/releases/]] Aptana URL [
- mysql_fetch_arrayの添字
- test; +----+-----------------+-----------+ | id | ip | hostname | +----+----------------... MYSQL_BOTH == <code> Array ( [id] => 1 [0] => 1 [ip] => 192.168.1.1 [1] => 192.168.1.1 [hostname] => test1 [1] => test1) Array ( [id] => 2 [0] => 2 [ip] => 192.168.1.2 [1] => 192.168.1.2 [hostname] => ... code> == MYSQL_ASSOC== <code> Array ( [id] => 1 [ip] => 192.168.1.1 [hostname] => test1) Array ( [id]
- 16 Laravel コマンドラインアプリケーション @11_php:02_framework:01_laravel
- ted $signature = 'command:test'; protected $description = 'Command description'; ↓ protected $description = 'てすとコマンド'; </code> ===== Commandクラスをartisanコマンドとして登録 ===== <code|ap... }'; 例: <code> $ php artisan command:test -h Description: てすとコマンド Usage: command:test <arg> Argu
- 12 Laravel @11_php:02_framework:01_laravel
- The Zip PHP extension is not installed. Please install it... [--] [<name>] 対応 <code> # yum install php-pecl-zip </code> ==== エラー2. ==== Script "post-install-cmd" is not defined in this package 対応 <code> $ comp... ar-compiled Mcrypt PHP extension required. Script php artisan clear-compiled handling the post-upd
- 10 Zend Framework @11_php:02_framework
- | | | |__scripts/ | | |... 'index'); } } ?> </code> ===== ZenApp/scripts/hello/index.phtml ===== <code> <html> <head> <... </body> </html> </code> ===== Webでアクセス ===== http://[IP や VirtualName]/helo/ {{tag>php framework}}
- 35 Laravel Curlの代わりにGuzzleを使う @11_php:02_framework:01_laravel
- ttp\Client; $url = 'https://hoge.hogehoge.com'; $ip = '192.168.10.11'; $port = '25'; $client = new Cl... 'POST', $url, [ 'form_params' => [ 'ip' => $ip, 'port'=> $port], 'verify' => false ] ); echo $response->getStatusCode(); // 200
- 02 Silex @11_php:02_framework
- scape($name); }); $app->run(); </code> 環境 ^ サーバIP ^ DocumentRoot ^ |172.16.20.100|/var/www/html/| サーバのドキュメントルートが/var/www/html/とすると、 サーバIP 172.16.20.100 下記でアクセスすると、「Hello World」が表示される。 htt
- 27 Laravel Voyager @11_php:02_framework:01_laravel
- CG\Voyager\Http\Controllers\Traits\BreadRelationshipParser; -class VoyagerBaseController extends Con... VoyagerBaseController { use BreadRelationshipParser; </code> ==== 5.RouteのOverride ==== <code
- 22 Laravel-admin viewカスタマイズ @11_php:02_framework:01_laravel
- ->header('てすとページ') 29 ->description('ほげほげ') 30 ->row('<table border=
- 25 Laravel Model毎にDBを選択 @11_php:02_framework:01_laravel
- は [[11_php:02_framework:01_laravel:17_laravel_multiple_database]] で用意しておく。 <code> <?php namespace Ap
- 26 Laravel FormBuilder @11_php:02_framework:01_laravel
- autoload files > Illuminate\Foundation\ComposerScripts::postAutoloadDump > @php artisan package:discov