Anthony J. Lenzo
Web Design and Development Portfolio
NEW CLIENT FORM
Below is a sample "New Client" form for which I developed the code shown further below. The HTML form itself was created by a designer at ds303, who had subcontracted me to create the code to process the form and add it to a client database, which I created in MySQL.
FILE UPLOAD PAGE
For the same system as above, I created a login page that verifies the user, and then allows them to upload a file to the client's website. If they are not logged in, and the user attempts to go to the "Upload" page, the user gets an error.
Once the user is properly logged in, he or she may upload a file. The screen the user sees is shown below.
Below is the PHP code that Uploadify uses to actually upload the file. (I've blocked out certain details for security reasons.) I modified the code to strip out any apostrophes or any extra slashes in the user's file name. The code then uploads the file and then emails the client to alert them that a user has uploaded a file.
CONTACT FORM PROCESSING PAGE
Below is an example of a form (created by ds303) that a client wanted to use to create an email mailing list. I was subcontracted by ds303 to create the code to process the form and send their client an email with the user's information.
The HTML code for the page above submits the information to the PHP page, the code for which I've included below. The page first sets the stage by including the PEAR mail package and then defining some variables and a function to use later.
Below the PHP code continues to process the form. First it gathers all the values entered into the form and then makes sure there aren't any problems with them. For example, the email address must be in the form of a proper email address. If there are any errors (i.e. $error_message is not empty), the code (not shown) processes the function died()(as defined above).
If there are no errors in the user's input into the form, then the page sends an email to the client with the information from the form in a variable $email_message. (Certain details have been blacked out for security reasons.) The user is then shown a "Thank You" message.
Below is a simple landing page I created for an artist in Chicago. The website's colors reflect the design of her art and the simple square shows the major types of works she produces.
SHOPPING CART DESIGN
Below is a shopping cart I designed and implemented using the open source development tool ZenCart. Again, I worked the design for the website off of her logo, which she was already using.
The client had asked me to make her cart look something like the shopping cart below (which I DID NOT design or have any affiliation). I think I got fairly close.