Results 1 to 1 of 1

Thread: Getting Tutorial to Run

  1. #1
    Join Date
    Aug 2011
    Rep Of Ireland
    Thanked 3 Times in 1 Post

    Default Getting Tutorial to Run

    At this test position

    I would not have requirement for a full blown mass mailer.

    Small number facility would suffice and could provide for a couple of hundred emails on lists. With that in mind and also to learn something of the workings of same scripts I am experimenting with the tutorial that I found at this link.

    Not having success creating a New List which takes place on the newlist.php page with a controlling Form Action="makenewlist.php"

    The form is a s follows:

    HTML Code:
    <form method=post action="makenewlist.php3">
    <b>Name of the list:</b><input type=text name="Listname" size="40">
    <b>One word description of the list:</b>
    <input type=text name="Filename" size="40">
    </td><td><table><tr><td valign=top>
    <input type="submit" name="Submit"  value="Make list">
    Is the following the makenewlist.php3

    HTML Code:
    <title>Updating file....</title>
    <?$Filename = $Filename.".lst";$myfile = fopen("data/lists.txt","w");fputs($myfile,$Listname."|".$Filename."\n");fclose($myfile);?>Created new list <? echo $Listname ?>.<br>
    <br><a href="index.php">Home</a>.<br>
    <br><a href="addnames.php">Add names to the list</a>.<br>
    <br><a href="picklist.php">Edit/Delete names</a>.<br><br>
    <a href="data/log.txt">View Send Log</a>.<br>
    I am getting a 500 internal server error - I think it is being caused by the makenewlist.php

    Is there something obvious in the text of the turorial that my php inexperience is not picking up on and thus impacting on the New List creation?

    Is it sensible to convert .php3 extension to .php extension?
    Last edited by Webiter; 12-28-2011 at 08:25 PM. Reason: Added test link and additional line at the bottom of the page .

Tags for this Thread


Posting Permissions

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