2010年06月11日 過去Blog
PHPでセッションを完全に破棄する <?php // セッション変数を全て解除する $_SESSION = array(); // セッションを切断するにはセッションクッキーも削除する。 // Note: セッション情報だけでなくセッションを破壊する。 if (isset($_COOKIE[session_name()])) { setcookie(session_name(), ”, time()-42000, ‘/’); } // 最終的に、セッションを破壊する session_destroy(); ?> 参考サイト:http://d.hatena.ne.jp/Kappuccino/20080726/1217049706

この投稿へのコメント

コメントはまだありません。

コメントを残す

メールアドレスが公開されることはありません。

次のHTML タグと属性が使えます。
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CAPTCHA


ピックアップ記事

UITableView のcellの複数選択を実装する

2011年01月25日 過去Blog
//セルが選択された際に呼び出される - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { //選択されたセルを取得 UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; /…
「UITableView のcellの複数選択を実装する」をはてなブックマークに追加

[12] 再生中の曲情報を取得・表示させる

2010年12月21日 過去Blog
今回のチュートリアルは、ipod(iphone&ipad未検証)のミュージックプレイヤーで再生中の曲の情報を取り出して、表示させる方法を説明します。 …
「[12] 再生中の曲情報を取得・表示させる」をはてなブックマークに追加

“URL file- access is disabled in the server configuration”というメッセージが表示された場合の対処法

2010年07月07日 過去Blog
■php.iniの設定が変更可能な場合 PHP コード スニペットを使用していて、ウェブページに "URL file-access is disabled in the server configuration" (URL ファイル アクセスはサーバーの設定で無効になっています) エラー メッセージが表示される場合は、ウェブマスターまたはホスティング プロバイダに連絡して、PHP サーバーの設定…
「“URL file- access is disabled in the server configuration”というメッセージが表示された場合の対処法」をはてなブックマークに追加

wordpress 特定カテゴリ内の記事を抽出

2010年11月19日 過去Blog
参考サイト:http://alphasis.info/2010/10/posts-by-categories/ cytomel t3…
「wordpress 特定カテゴリ内の記事を抽出」をはてなブックマークに追加

PHPでサイトのタイトルを取得

2010年03月30日 過去Blog
参照元:http://creazy.net/2008/05/php_get_page_title_sample.html how to cure depression…
「PHPでサイトのタイトルを取得」をはてなブックマークに追加
© graffiti on the web . All rights reserved. WordPress Theme by comfy