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:
Is the following the makenewlist.php3HTML Code:<form method=post action="makenewlist.php3"> <b>Name of the list:</b><input type=text name="Listname" size="40"> <br><br> <b>One word description of the list:</b> <input type=text name="Filename" size="40"> </td><td><table><tr><td valign=top> <br><br> <input type="submit" name="Submit" value="Make list"> </form>
I am getting a 500 internal server error - I think it is being caused by the makenewlist.phpHTML Code:<html><head> <title>Updating file....</title> </head><body> <?$Filename = $Filename.".lst";$myfile = fopen("data/lists.txt","w");fputs($myfile,$Listname."|".$Filename."\n");fclose($myfile);?>Created new list <? echo $Listname ?>.<br> <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> </body></html>
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?



Reply With Quote

Bookmarks