Authorization table and authorized address, PHP Web Programming

The number of emails  to a given email address is updated each time an email is sent.  A request for a given address should be rejected unless the address is in the Authorization table and the number of current number of accesses for that address are below the limit.  Set the limit  at a value that reduces the risk of abuse of your web service if your reporter name and password are compromised.  You can enforce the limit and the authorized email addresses using SQL update command with an appropriate condition in its where clause.

Use the SQL update command in the PHP script to update the current attribute for the unique row with a matching address.  This command  should affect a row only if the address exists and if the limit for the address has not yet been reached.  The addresses and limit attribute values are manually set, and current is manually initialized to zero for each row.  Refer to IT 202 manual for the use of SQL update command (such as p. 239 of manual).  Refer to IT 202 manual or online PHP manual for related use of the mysql_affected_rows() function which returns how many rows were affected by the update (which will be zero if the request was un-authorized but one if the request was granted).

Posted Date: 3/29/2013 6:09:06 AM | Location : United States







Related Discussions:- Authorization table and authorized address, Assignment Help, Ask Question on Authorization table and authorized address, Get Answer, Expert's Help, Authorization table and authorized address Discussions

Write discussion on Authorization table and authorized address
Your posts are moderated
Related Questions
Session layer: the major functions of this layer are to establish, maintain & synchronize the interaction among two communication hosts. It ensures that once a session is establis

Support With Custom Wordpress Theme I am seeking someone to help me customize a WordPress theme. I will design the theme and I am looking for someone to code it for me. Desir

First one, we will create an unordered list. These lists are also called as bulleted lists. These lists are characterized through list items that do not have numbers. They are used

Need help to Add a form on a Joomla website We need to add a form on the home page of an existing Joomla website, just like on file in attachment, and then the info's will be sa

Connect shopping carts to software We want to connect our two websites shopping carts with the software of Shipwire (company distributing our products once they are sold online)

Webshop migration We need to migrate/move the website rcfun.dk to a Magento solution as well as we are now looking for the right company that can do the job. The site is curr

We want help in Codeignier Script Change Easy Project details as follow- To add three simple modifications for an existing CMS script. The script to alter is a modified version

Need help to Make user registration a two-step process I have an partial Wordpress website that needs to be completed. There are about 15-20 things that want to be done however

We need an expert help in Web App Development I am starting a fresh specific web development project that will not be based on a CMS. I want the application to be based onlin

This tag is utilized to present the text precisely as written in the code, by including whitespace characters. This is terminated by a tag.  Take the example illustrat