You are here: Re: [PHP] make it remember « PHP « IT news, forums, messages
Re: [PHP] make it remember

Posted by Robert Cummings on 08/25/05 07:13

On Thu, 2005-08-25 at 00:10, George B wrote:
> Ok, I am doing a sort of a project right now... It is like a php chat
> room that records every message into a database. Now, on the first post
> I want it to like set the name, so on first post it would say Name: and
> you set your name, then on every other message you post it just says
> Posted by and remembers your name from the last entry. Is this anyhow
> possible?

Check session... if no name, display name prompt, otherwise don't
display name prompt.

Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'

 

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

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