14 Jul, 2003
Implementing a Moderation System in a Movable Type Weblog
Posted by: Jennifer In: Scripts
Guest Authored by
James – them.ws
14 Jul, 2003
Posted by: Jennifer In: Scripts
Guest Authored by
James – them.ws
Guest authored by:
Kevin Donahue – blog.kevindonahue.com
This Script/MT Hack will make it so that all comments to your blog(s) will go into a "pending" status. You can login into the script, see all the "pending" comments. Review them. Edit them. Delete the ones you don't want on your site. Approve the ones you do. For people who want to have their […]
I posted how to do this in ASP, but since I needed something similar in PHP for that last post, I thought I'd post the PHP version as well. This script snippet will play back everything that was just submitted in the form (code found in the each function page in the PHP manual.)
Let's say you have some optional items to your form. (Maybe extra address info) and your form is long enough as it is. You can pop up a secondary form, where the user can enter their extra info, and have it saved to the main form and submitted with the main form. (see example here)
02 Jun, 2003
Posted by: Jennifer In: Script snippet
I talked about stored procedures here the other day. Today, I needed to create a page that would call one of those stored procedures (the selecting one) and display all data from a table. This code is very plug-and-play-ish – very little needs to be modified (that is, as long as you're using MS SQL […]
I've been learning about stored procedures and calling them from ASP pages. So just wanted to jot down some examples/templates… (note from my technical editor, Mike: This code is specific to MS SQL Server and probably wouldn't work with other databases.)
Guest authored by:
James Robinson – The Robinson House
Guest authored by:
Rapunzell – rapunzellstower.com
A simple little ASP snippet. If you want to see what's coming over from your method="POST" form – here's a bit of code that will loop through everything, show you the variable name and it's value: for each x in request.form() response.write(x & ": " & request.form(x) & "<br>" ) next if you're using method="GET" […]