You are here: Re: Using The Same Page To Display A Hundred Pictures One Picture At A Time « PHP Programming Language « IT news, forums, messages
Re: Using The Same Page To Display A Hundred Pictures One Picture At A Time

Posted by Jim Carlock on 10/08/44 11:38

<xclarky@gmail.com> posted:
> Have you considered using sessions? You could use them to create
> a temporary cache of the array quite easily.

<?php
session_start();
if (!isset($_SESSION['array_cache'])) {
$array = array('value', 'value');
$_SESSION['array_cache'] = $array;
} else {
$array = $_SESSION['array_cache'];
}
?>

Thanks, Clark(?). I'll give that a go.

Jim Carlock
Post replies to the newsgroup.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация