I would not have requirement for a full blown mass mailer.
Small number facility would suffice that 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"
Code seemed alright. You were using short tags in the makenewlist.php file that might not have worked on your server. Also, the $Filename and $Listname would have to have been defined somewhere before the script runs.
I have modified the files with the suggsted script upgrade. When I browse to the Make a List form and fill out the two fields I still get the 500 server error.
I shall also query with my hosting provider to see if a response from them will throw any more light on why this might be happening.
</select></td></tr></table><br />
Enter an Email Address:<br /><input type="text" name="Email" size="40px">
<br><br>
<input type="submit" Value="Add This E-mail to the List">
</FORM>
but again a 500 internal server error is presented ?
Masterful work .... that has broken through that barrier...!
I shall continue the work through on this and if I should become unstuck again and I probably will, I will be adding to this thread.
In the meantime is there a simple explanation as to why the information in the scroll box is presented at the bottom of same rather than conventionally at the top? See image attached. Ie it is necessary to scroll down to see the information.
Edited data files so a to go back to the start and start new exercise as earlier it was rushed.
Created a new list called Tuirtre List and a LST file called Email.lst
Commenced installing sample email addresses and on submit the 500 error is presented... but the emails do get written to the Email.lst as required
Why the 500 error and has same any real significance ?
The inputs into the Email.lst do not happen on each line but are scattered in sequence like the attached image presents.
Why do the inputs become scattered as shown instead of being laid down line by line ?
I had modified the saveemail.php code a number of times.
Maybe copy-paste the code above again and see if it resolves the issue.
I was initially appending "\n" to the existing entries, but realised it wasn't necessary.
Also the original code was closing the incorrect file handle on existing email lists (which would cause an error 500) .
On progressing to > Edit/Delete names from lists < presents page /picklist.php On selecting Tuirtre List click on > Edit Selected List < introduces page called /editnames.php
When I edited out all the spaces between the email addresses as shown in the previous image I clicked on > Save This List < and same introduces the page /writenamefile.php
However, I was expecting to see Changes saved to Emai.lst. but no, all was lost and not saved....! All I get is 'Changes saved to .'
What appears to have happened is that all the info in the Email.lst was lost and in the list.txt had a double up of info as indicated in the attached image..!
On progressing to > Edit/Delete names from lists < presents page /picklist.php On selecting Tuirtre List click on > Edit Selected List < introduces page called /editnames.php
When I edited out all the spaces between the email addresses as shown in the previous image I clicked on > Save This List < and same introduces the page /writenamefile.php
However, I was expecting to see Changes saved to Emai.lst. but no, all was lost and not saved....! All I get is 'Changes saved to .'
What appears to have happened is that all the info in the Email.lst was lost and in the list.txt had a double up of info as indicated in the attached image..!
Umm, yeah. That was my fault, while I was trying to simulate your scenario I accidentally used your form to create a new identical list.
But using all the code previously submitted I did not get the same errors. I am still certain you are using slightly older code to what is currently in this thread.
Yes bionoid, the revised code in the saveemail.php seems to have resolved the 500 issue and the spacing of the sample addresses in the Email.lst.
When I again entered the editnames.php all the sample emails were on lines as they should be. However when I add another sample email manually and click on > Save This List < all is then lost as I have described before....! The saving is not taking place at this point.
Last edited by webiter; 12-29-2011 at 02:01 PM.
Reason: Removing blank line between paragraphs.
Bookmarks