PHP Website Code Alteration
This project was awarded to Euphontec for $421 USD.Get free quotes for a project like this
Project Budget$250 - $750 USD
We have a 90% finished site that needs some code changing and general tidy up:
Rebuild the website and admin interface to replace the root directory architecture fixing CSS styling issues. Languages used are PHP/CSS/JQuery and Mysql backend for saving customer information and lottery results.
Manage folder contains the admin functions which should follow the same specification points listed below as the main site. Any reuse of primary website components should be encouraged.
Open all php tags with '<?php' rather than '<?'
Code correctly indented for ease of reading
Comments next to important sections of HTML and php
Use naming conventions of existing website code where possible
Structure of site:
Create general headers to create a single point of update for all header/footer code (header should contain and tags, footer should close these tags)
Replace all table tags with div tags
Remove all inline CSS and migrate it to the included style sheet
Migrate all JQuery calls into an included jquery file to allow a single point of update
Move action process files into an actions folder relinking in all required places
Set constants (e.g define(PAYAMOUNT, "[url removed, login to view]")) in a constants file linked within the site header for key values
Mysql queries central in a single database php include file enclosed in function calls. The locations required should then call these functions and operate in the same way as present
Re-use code where possible to reduce website size and complexity
Fix general CSS issues with alignment and ensure cross browser compatibility across PC and Mac systems (I can assist with Mac testing if needed)
Key points - Form field layout and spacing identical in all areas. Consistent use of fonts across all areas.
Validation and notify errors to display in red next to form elements, do not use any 'alert' popup boxes
Verify compliance of JQuery code with depreciated functions
Remove all percentage based width values and use fixed pixel width
Any emails sent by the site should be encoded in plain text format
Any image files unoptimised and large should be compressed for fast load
If database connection fails in the header, redirect to a 'down for maintenance' page
Ensure protection against sql injection attacks by correctly stripping characters from the form field contents prior to posting to the database
If a page doesn't exist please use a 404 error page using the website headers and footers directing the user to the apply page (htaccess)
Payment API - Not part of your work
I will work with your team to integrate the payment gateway. We have an API for this which has had its proof of concept and is calling the test area successfully. I will provide further information as to how this will be included in the website rebuild once the work detailed above has been completed. The section of the site (card details page) should process to a file returning a success. This file will then include my XML API calls adhering to your constant settings and new general structure. The database will log these details.
Completing the Project
Once the work has been completed we will require a quality control session with possible updates for CSS tweaks and/or layout issues and anything relating to the functionality that exists.
A full regression test with end user testing will verify the quality of the work; any comments will require attention. No new points of specification will be added and this will be needed to ensure a 'GO LIVE' status.
Fast response is key in this area to not slow website deployment to the live web server folder.
Looking to make some money?
- Set your budget and the timeframe
- Outline your proposal
- Get paid for your work
Hire Freelancers who also bid on this project
Looking for work?
Work on projects like this and make money from home!Sign Up Now
- The New York Times
- Wall Street Journal
- Times Online