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
For storing pages now that a site structure is set up & assets for the Compass site, you'll develop the first page-a home page for the site. As you develop this page, you'll insert

In Layout view you can draw layout cells & layout tables to describe the design areas of a document. This task is easier to achieve if you prepare a sample of the page you're creat

1. Following is the code to design a Web page which provides links to five distinct Web sites. Link to five distinct Web sites &l

The only thing you need to concern yourselves with in the HEAD tag (for now) is the TITLE tag. The bulk of the page will be in the BODY tag, as illustrated in Figure.

Define the Document Page Title However the document has a file name, notice it is labelled Untitled Document still; that is because it required an HTML document name, or page ti

We are looking for Local programmer for programming work in a start-up In search of a highly skilled programmer in html, css, sql etc to work apart of a Perth startup. If you ar

A PHP/eCommerce Expert Needed Description- This is aid with an ecommerce site using Balanced payments API. There is as well certain low level PHP that will need to be done. T

New web page programing in magento with seo compliance New web page project System- Magento Actual Setup- Multidomain setup Base development on definite pages, part of

In this unit we have learnt how to create simple HTML pages. The contents of the page have to be written within the BODY tag. The HEAD tag includes the title of the document. An im

Hello! I have cheak all over google for a answere how i can greate a facebook like button into my php-gallery. I have download the gallery from here: And">http://www.e2interact