You are here: Re: Simple Logic Question « PHP Programming Language « IT news, forums, messages
Re: Simple Logic Question

Posted by Matt on 08/26/07 21:46

On Aug 26, 10:23 pm, Sanders Kaufman <bu...@kaufman.net> wrote:

> What - are we working on the same project? ;)
>
> The way I did this is to have the article displayed in TWO PHP pages,
> loaded into the main page.
>
> The first page displays the teaser - title and description - to everyone.
>
> The second page checks the credentials before displaying the content.

Hmm, this would work, but a) it complicates my code since I already
have pagination going on (and comments, etc etc), and b) I'd rather
non premium users didn't even know about the existence of the special
articles. I think, anyway..

But! You did give me an idea. I could just make a separate file for
handling premium articles, and just send premium users to that page
when they're browsing the article index. Simple!

 

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

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