MEMO REAL

  • ホーム
  • WordPress
  • プラグイン
  • HTML & CSS
  • jQuery
  • PHP
  • カメラ
  • Unity
  • iOS
  • サーバー
  • その他

2016年5月

  1. HOME
  2. 2016年5月
2016/05/17 / 最終更新日時 : 2017/01/08 ブログマスター PHP

【PHP】HTML 内の OGP 情報を取得する

RSS がない場合などで、リンク先のページ情報を表示する時などに HTML 内の OGP 情報を取得する方法です。 [PHP] $html = file_get_contents( 取得するページの URL ); pre […]

2016/05/09 / 最終更新日時 : 2016/05/09 ブログマスター PHP

【PHP】秒を時分秒に変換

秒数を時分秒に変換するには、次のようにします。 [php] $time = 123456; $hours = floor( $time / 3600 ); $minutes = floor( ( $time / 60 ) […]

Copyright © MEMO REAL All Rights Reserved.

Powered by WordPress with Lightning Theme & VK All in One Expansion Unit

MENU
  • ホーム
  • WordPress
  • プラグイン
  • HTML & CSS
  • jQuery
  • PHP
  • カメラ
  • Unity
  • iOS
  • サーバー
  • その他
PAGE TOP