#1
  1. No Profile Picture
    Francine
    Guest
    Devshed Newbie (0 - 499 posts)
    I want to use it to create pages to add to my site if someone presses a button and to append data to the new page if someone presses another button.
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jul 2000
    Location
    Pune, Maharashtra, India
    Posts
    86
    Rep Power
    15
    Your question is not clear enough. Please elobarate the question. Then only we can reply U.
  4. #3
  5. No Profile Picture
    Francine
    Guest
    Devshed Newbie (0 - 499 posts)
    I would like to make it so that there's a submit button and a form on one page, and when you press the submit button you generate a new page using information from the form. (page 1)
    Then I want to put the html to the newpage on page 1, and on the newpage I want to be able to use a form to add more data to the newpage.

    I have no idea how to automatically generate a new page, but I think I know how to get the data on it although i don't know how to save the data on it.

    Would I use a variation of this:?
    <?php
    $newfile = fopen("/path/to/new/file/mydata.txt", "a+");
    // windows paths :
    // $newfile = fopen("cathtonewfilemydata.txt", "a+");
    fwrite($newfile, "This is a new file.");
    fclose($newfile);
    echo "All done!";?>

    I found this when I was looking for help, but I don't exactly know how it works although I can figure it out, but I don't know if it creates a new page or just opens a different page.

Similar Threads

  1. Accesssing XML web service from PHP
    By bubu2004 in forum PHP Development
    Replies: 5
    Last Post: February 27th, 2004, 01:34 AM
  2. Problem calling web pages by name... HELP
    By mumick in forum PHP Development
    Replies: 5
    Last Post: February 23rd, 2004, 04:34 PM
  3. php support web server
    By poppy_123 in forum PHP Development
    Replies: 12
    Last Post: February 15th, 2004, 11:26 PM
  4. users create web page
    By chm0d in forum Apache Development
    Replies: 2
    Last Post: February 5th, 2004, 11:49 AM
  5. Replies: 2
    Last Post: January 30th, 2004, 01:07 PM

IMN logo majestic logo threadwatch logo seochat tools logo