• skip to content

fl8 Wiki

User Tools

  • Log In

Site Tools

  • Recent Changes
  • Media Manager
  • Sitemap
You are here: Dokuwiki.fl8.jp » code
Trace: • 38 multipath logout • 11 telnetでSMTP • 01 tcpdump • 15 Kubernetes Error • 14 ZFS ZIL • 06 Postfix + Virtual Domain でprocmail • 01 .htaccess • 75 Proftpd • yum • 09 SSH in While

code

Search

You can find the results of your search below.

Exact match
  • Exact match
  • Starts with
  • Ends with
  • Contains
@11_php
  • Any namespace
  • 11_php:02_framework (41)
  • 11_php:03_function (9)
  • 11_php:04_library (7)
  • 11_php:01_twig (3)
  • 11_php:05_class (2)
Any time
  • Any time
  • Past week
  • Past month
  • Past year
Sort by hits
  • Sort by hits
  • Sort by last modified

Matching pagenames:

  • 01 URLエンコード(urlencode, rawurlencode)
  • 38 Laravel Eloquent 戻り値

Fulltext results:

01 PHP制御文
32 Hits, Last modified: 10 years ago
== 01 PHP制御文 ====== ===== if ===== === 書式 === <code> <?php if (式) 文 ?> </code> === 例 === <code> <?php if ($a > $b) { echo "aはbより大きい"; $b = $a; } ?> </code> ==== else ==== elseは、if文における式の値が FALSEの場合にある文を
12 Laravel @11_php:02_framework:01_laravel
25 Hits, Last modified: 7 years ago
ストール ===== composerは[[11_php:13_composer|こちら]] <code> $ composer global require "laravel/installer=~1.4" </code> Pathを通しておく <code> $ echo 'export PATH="$HOME/.composer/vendor/bin:$PATH"' >> ~/.bash_profile </code> /var/www/vhost/hogehoge.comにインストールするとする。 <code
14 Laravel Model @11_php:02_framework:01_laravel
24 Hits, Last modified: 4 years ago
1. Model作成 ===== この場合だと、testテーブルを作成するという意味です。 <code> php artisan make:model Test $ ll app/Test.php ... -- 1 matsui users 140 Jan 22 16:49 app/Test.php </code> ==== Modelの中で、テーブル名を指定する場合 ==== <code|app/Test.php > class Test extends Model { protected $table = 'test_tables'; } </code> ===== 2. Modelを使う ===== ==== Migrateを用意(テーブル作成
16 Laravel コマンドラインアプリケーション @11_php:02_framework:01_laravel
22 Hits, Last modified: 6 years ago
マンドラインアプリケーション ====== ===== Commandクラス作成 ===== <code> $ php artisan make:command sample/test $ ... n 30 16:01 app/Console/Commands/sample/test.php </code> ===== Commandのシグネチャ変更 ===== <code|app/Console/Commands/sample/test.php > protected $signature = 'com... ription'; ↓ protected $description = 'てすとコマンド'; </code> ===== Commandクラスをartisanコマンドとして登録 ===== <code|a
27 Laravel Voyager @11_php:02_framework:01_laravel
20 Hits, Last modified: 6 years ago
====== 27 Laravel Voyager ====== <code> $ laravel new $ composer require tcg/voyager </code> ===== app.phpのProviderに追加 ===== <code|config/app.php> 'providers' => [ ・ ・ TCG\Voyager\VoyagerServiceProvider::class, </code> ===== インストール ===== <code> $ php artisan voyage
28 Laravel Voyager フロントページ用意 @11_php:02_framework:01_laravel
20 Hits, Last modified: 5 years ago
コントローラ作成 ※コントローラ内でテーブルを指定しない場合、同じ名前のテーブルを参照する。 <code> php artisan make:model Post </code> 下記ができる <code|app/Post.php> <?php namespace App; use Illuminate\Database\Eloquent\Model; class Post extends Model { // } </code> === 2.ルーティング === <code|routes/web.php> Route::
05 FormServiceProvider @11_php:02_framework
18 Hits, Last modified: 11 years ago
rviceProvider ====== フォームが簡単に作成できる。 ・controler <code> <?php require_once __DIR__.'/vendor/autoload.php... rm' => $form->createView())); }); $app->run(); </code> ・form.html.twig <code> <html> <body> フォームテスト <form action="#" method="post"> {{ form_widget(form)... ubmit" name="submit" /> </form> </body> </html> </code> ===== エラー ===== <code console> Twig_Error_Synta
17 Laravel 複数データベース接続 @11_php:02_framework:01_laravel
16 Hits, Last modified: 7 years ago
====== ===== Laravel 5.x ===== ==== .env ==== <code> DB_CONNECTION=mysql DB_HOST=127.0.0.1 DB_PORT=33... _USERNAME_SECOND=root DB_PASSWORD_SECOND=secret </code> ==== config/database.php ==== <code> 'mysql' => [ 'driver' => env('DB_CONNECTION'), 'host'... 'password' => env('DB_PASSWORD_SECOND'), ], </code> ===== Laravel 4.X ===== ==== app/config/databas
02 Silex @11_php:02_framework
14 Hits, Last modified: 11 years ago
r.pharの内部で、gitコマンドが使用されているので入っていない場合先にインストールしておく <code console> # yum install git </code> ===== インストールしたいディレクトリに移動 ===== <code console> $ cd /var/www/html/web/ </code> ===== インストール ===== ==== composer.pharの用意 ==== <code console
10 Zend Framework @11_php:02_framework
14 Hits, Last modified: 10 years ago
ramework-1.10.3.tar.gz 解凍して、/usr/localあたりに置いておく <code> # tar zxv ZendFramework-1.10.3.tar.gz # cp -rf ZendFramework-1.10.3 /usr/local/ZendFramework </code> ===== php.iniの編集 ===== include_pathにコピーしたパス「/... /ZendFramework/library" ===== Apacheの再起動 ===== <code> # /etc/init.d/httpd restart </code> ====== Hello Worldを出してみる ====== 今回は例として「/home/matsui」ディレクトリに設置しま
42 Laravel 認証機能 @11_php:02_framework:01_laravel
14 Hits, Last modified: 6 years ago
== 42 Laravel 認証機能 ====== ===== make:auth ===== <code> $ php artisan make:auth </code> ===== app/User.php ===== app/User.phpが作成される。 <code> <?php namespace App; use Illuminate\Notificati... 'email_verified_at' => 'datetime', ]; } </code> ===== route/web.php ===== web.phpが更新される。 下記が追
35 Laravel Curlの代わりにGuzzleを使う @11_php:02_framework:01_laravel
13 Hits, Last modified: 5 years ago
er require guzzlehttp/guzzle ==== 1.シンプル利用 ==== <code> use GuzzleHttp\Client; $url = 'https://hoge.hog... onseBody = $response->getBody()->getContents(); </code> ==== 2.JSON-RPC 2.0 ==== 下記はZabbix apiでアラートを取得する例 <code> use GuzzleHttp\Client; $url = "http://hogeho... ody()->getContents(); return $responseBody; </code> ==== 3.XML_RPC ==== === Controller === <code
01 Symfony @11_php:02_framework
12 Hits, Last modified: 11 years ago
====== 01 Symfony ====== <code console> $ cat composer.json { "require": { "symfony/symfony": "2.1.*" } } </code> インストール <code console> $ php composer.phar install </code> ===== ソースを持ってくる場合 ===== <code> # wget http://symfony.co
05 PEAR::DB @11_php:04_library
12 Hits, Last modified: 10 years ago
をインストールして利用します。 ===== インストール ===== 一行コマンドを流すだけ <code> # pear install DB </code> ===== DBクラス ===== ==== データベースへ接続する。DB::connect ==== DB::connect(DBタイプ:/... ーザー名| |password|DBへログインするユーザーのパスワード| === 例) === <code> $db = DB::connect(pgsql://postgres:1234567@unix()/sabakan) </code> ==== データベースへクエリを送信する。DB_common::query() ====
13 laravel-admin @11_php:02_framework:01_laravel
12 Hits, Last modified: 7 years ago
13 laravel-admin ====== ===== Database用意 ===== <code|.env> APP_URL=http://hoge.hogehoge.com DB_CONNEC... XXXXXXX DB_USERNAME=XXXXXXX DB_PASSWORD=XXXXXXX </code> ===== インストール ===== ※[[11_php:02_framework:01_laravel:12_laravel |laravel new]]の後で実行 <code> composer require encore/laravel-admin php artisa... AdminServiceProvider" php artisan admin:install </code> ===== エラー1. ===== <code> $ php artisan admin:in
mysql_fetch_arrayの添字
10 Hits, Last modified: 7 years ago
26 Laravel FormBuilder @11_php:02_framework:01_laravel
10 Hits, Last modified: 7 years ago
29 Laravel Custom Validation @11_php:02_framework:01_laravel
10 Hits, Last modified: 6 years ago
03 自動で定義済みの定数
8 Hits, Last modified: 4 years ago
04 変数の型
8 Hits, Last modified: 11 years ago
01 twigについて @11_php:01_twig
8 Hits, Last modified: 11 years ago
06 Failed to start the session because headers have already been sent. @11_php:02_framework
8 Hits, Last modified: 11 years ago
09 curl @11_php:03_function
8 Hits, Last modified: 5 years ago
01 YAML @11_php:04_library
8 Hits, Last modified: 11 years ago
02 expect @11_php:04_library
8 Hits, Last modified: 10 years ago
03 libssh2 ssh2_connect @11_php:04_library
8 Hits, Last modified: 11 years ago
22 Laravel-admin viewカスタマイズ @11_php:02_framework:01_laravel
8 Hits, Last modified: 7 years ago
30 Laravel Mail @11_php:02_framework:01_laravel
8 Hits, Last modified: 4 years ago
40 Laravel SSH/SCP @11_php:02_framework:01_laravel
8 Hits, Last modified: 6 years ago
43 Laravel APIトークン名(api_token)を変更 @11_php:02_framework:01_laravel
8 Hits, Last modified: 6 years ago
02 PHP演算子
6 Hits, Last modified: 11 years ago
02 twig自動エスケープ(autoescape) @11_php:01_twig
6 Hits, Last modified: 7 years ago
05 substr() @11_php:03_function
6 Hits, Last modified: 4 years ago
06 PEAR DBがインストールできない @11_php:04_library
6 Hits, Last modified: 10 years ago
02 DB接続(Singleton) @11_php:05_class
6 Hits, Last modified: 10 years ago
21 Laravel Controller作成からViewまで @11_php:02_framework:01_laravel
6 Hits, Last modified: 7 years ago
10 Class
4 Hits, Last modified: 9 years ago
04 Doctrine @11_php:02_framework
4 Hits, Last modified: 11 years ago
07 FormServiceProviderでハマったメモ @11_php:02_framework
4 Hits, Last modified: 11 years ago
09 Monolog @11_php:02_framework
4 Hits, Last modified: 7 years ago
89_timezoneを指定してないとエラー @11_php:02_framework
4 Hits, Last modified: 11 years ago
03 strlen() @11_php:03_function
4 Hits, Last modified: 4 years ago
06 echo() @11_php:03_function
4 Hits, Last modified: 11 years ago
01 Mail class @11_php:05_class
4 Hits, Last modified: 7 years ago
10 Laravel セッション @11_php:02_framework:01_laravel
4 Hits, Last modified: 6 years ago
24 Laravel-admin GRUD追加 @11_php:02_framework:01_laravel
4 Hits, Last modified: 7 years ago
37 Laravel Config ge @11_php:02_framework:01_laravel
4 Hits, Last modified: 6 years ago
41 Laravel mcrypt depricated error @11_php:02_framework:01_laravel
4 Hits, Last modified: 6 years ago
15 file_get_contents SSL エラー
3 Hits, Last modified: 6 years ago
05 変数
2 Hits, Last modified: 11 years ago
07 エラー表示
2 Hits, Last modified: 10 years ago
11 Memcache
2 Hits, Last modified: 11 years ago
12 PHP標準入力
2 Hits, Last modified: 9 years ago
13 composer
2 Hits, Last modified: 6 years ago
14 file_get_contentsのタイムアウト
2 Hits, Last modified: 6 years ago
22 mysql_error
2 Hits, Last modified: 7 years ago
97 Eclipse
2 Hits, Last modified: 11 years ago
03 twig Debug @11_php:01_twig
2 Hits, Last modified: 12 years ago
03 Silex Monolog @11_php:02_framework
2 Hits, Last modified: 7 years ago
02 print() @11_php:03_function
2 Hits, Last modified: 11 years ago
04 chop() @11_php:03_function
2 Hits, Last modified: 11 years ago
07 rtrim() @11_php:03_function
2 Hits, Last modified: 11 years ago
08 trim() @11_php:03_function
2 Hits, Last modified: 9 years ago
10 portチェック関数 @11_php:03_function
2 Hits, Last modified: 10 years ago
04 json php5.1 @11_php:04_library
2 Hits, Last modified: 11 years ago
07 PEAR Path 確認 @11_php:04_library
2 Hits, Last modified: 6 years ago
20 Laravel timezone @11_php:02_framework:01_laravel
2 Hits, Last modified: 7 years ago
23 Blade コメントアウト @11_php:02_framework:01_laravel
2 Hits, Last modified: 7 years ago
25 Laravel Model毎にDBを選択 @11_php:02_framework:01_laravel
2 Hits, Last modified: 7 years ago
31 Bootstrap Version確認 @11_php:02_framework:01_laravel
2 Hits, Last modified: 7 years ago
33 Laravel Cacheクリア @11_php:02_framework:01_laravel
2 Hits, Last modified: 6 years ago
34 Laravel テーブル更新エラーfillable @11_php:02_framework:01_laravel
2 Hits, Last modified: 6 years ago
36 LaravelからArtisanコマンドを実行 @11_php:02_framework:01_laravel
2 Hits, Last modified: 6 years ago
39 Laravel config内でのパス @11_php:02_framework:01_laravel
2 Hits, Last modified: 6 years ago
45 Laravel APIトークンが変わってしまう @11_php:02_framework:01_laravel
2 Hits, Last modified: 6 years ago
46 Laravel log @11_php:02_framework:01_laravel
2 Hits, Last modified: 5 years ago
47 Laravelコマンドからコマンドヘルプを呼び出す @11_php:02_framework:01_laravel
2 Hits, Last modified: 4 years ago

Page Tools

  • Show page
  • Old revisions
  • Backlinks
  • Back to top
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 4.0 International
CC Attribution-Noncommercial-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki