Results 1 to 7 of 7

Thread: Installers

  1. #1
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default Installers

    I've nearly finished my site management system, just wondering, was should be in the install file, and how do you guys hold values for next pages eg should i do 1.php, 2.php or index.php?at=1 index.php?at=2 etc, and do you hold previous values in cookies or sessions or retain them through hidden inputs?

    Thanks -Charlie
    How could this hapen to meeeeeeeeeeeeeee?lol.

  2. #2
    Join Date
    Sep 2006
    Posts
    2,114
    Tokens
    0

    Latest Awards:

    Default

    <form action='install2.php' method='POST'>

    etc..

    install2.php

    $name = $_POST['name'];

    etc..
    Looking for a good desiner to design a social networking template.

    PM me.

  3. #3
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    How would you hold the variables moving onto install3.php from install.php sessions or cookies or hiddens or..?
    How could this hapen to meeeeeeeeeeeeeee?lol.

  4. #4
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Just make it one page
    instead of new pages
    hold it within an if statement that makes ?go=go (etc..)

    if($_GET ['stage'] == "1");

    etc, with the correct brackets

  5. #5
    Join Date
    Sep 2006
    Location
    Evanston, Illinois.
    Posts
    2,361
    Tokens
    0

    Latest Awards:

    Default

    Thats what I'm doing, but how should I hold PREVIOUS form options, eg in step 1 I choose site name 'example' how do I still remember that in step 3, cookies sessions hidden inputs or what else?
    How could this hapen to meeeeeeeeeeeeeee?lol.

  6. #6
    Join Date
    Oct 2006
    Location
    United Kingdom
    Posts
    4,753
    Tokens
    1,860
    Habbo
    ,Alpha,

    Latest Awards:

    Default

    Oh, better way of putting it I think it is cookies but i'm not too sure.

    Maybe take hints from other installs, cutenews ect.

  7. #7
    Join Date
    Dec 2007
    Posts
    1,683
    Tokens
    0

    Latest Awards:

    Default

    Cookies wouldn't need to be started on every stage...

    ob_start();

    cover's on every step? :S

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •