Is this possible? (6 posts)

  1. amnesiak
    Posted 9 years ago #

    I had a couple of questions.

    I wanted to do it so that a person needed to tick a box or click a link on my blog that would display the adult related humour on the site as well as certain ads.
    So you go to the site, you see a normal site, clicking "I'm over 18" shows the adult category and ads.

    Is this possible? If so, can somebody advise me?

  2. Medizinische Abkuerzungen
    Posted 9 years ago #

    If you want to show two different versions of one page (some content, second version some added content) there are three different ways:

    -Send whole page, use javascript to show elements on request (part of web2.0). Use cookies to remember preferences from page to page

    -use php to serve out different versions (via session or cookie)

    -make two pages, with the content (you have to update two different versions) and link in between.

  3. amnesiak
    Posted 9 years ago #

    thank you for explaining the three methods.

    Could you point me in the direction of a tutorial of how I could implement this? (talking about point 1 or 2)

    Many thanks,

  4. amnesiak
    Posted 9 years ago #


  5. Pizdin Dim
    Posted 9 years ago #

    Try this tutorial first. Then try this one. After that, read this excellent article from Zend.

  6. amnesiak
    Posted 9 years ago #

    will do! Thanks very much!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.