Create simple Blog Post, insert comment info into database
$30-80 USD
Paid on delivery
In this job, you will create a simple blog post in PHP.
You will create a form that looks exactly like the attached [url removed, login to view] image for user input.? Here are the requirements:
1)? When you click on the 'post photo' image, a sub-menu will pop up asking for the file that you wish to attach to the post.? The file that is added can only be an image file (JPG, GIF, PNG, PSD, BMP) and must be less than 4 MB.? You must indicate visually that a file? is selected.
2) you will? implement captcha for the submission. ? Note that in the picture BaDdiE is in this rectangle where the captcha functionality will go. The user must type the correct captcha value for the post to go through.? Otherwise the user will be presented an error.
3) You will have several 'hidden' hard-coded parameters in the form. You will be responsible for inserting the current date, IPAddress? into the respective hidden fields
<input type="hidden" name="SubjectID" VALUE="1">
<input type="hidden" name="DateCreated" VALUE="">
<input type="hidden" name="IPAddress" VALUE="">
<input type="hidden" name="MemberID" VALUE="333">
<input type="hidden" name="Amount" VALUE="4">
4) The user will be allowed to type up to 500 characters of text in a <textarea> box to the right of the camera image.?
5)? When you press the Post button, the? data is posted to a file named postcomment.php.? This file inserts the following information into the Comments table in the database:
ID
SubjectID
DateCreated
IPAddress
MemberID
Text
PhotoType
Amount
IsAnonymous
After inserting the comment into the database, you will determine what
record number was just inserted (such as 33923).
?
Next, if the image is greater than 2 mb in size,? you will proportionally scale the image to be 2 mb in size and save the photo to a directory named images/comments/? ? The image will be named the number of the comment that was just inserted.? In this example, it would be called images/comments/[url removed, login to view] if the image sent was a JPG file.
You can not use wordpress . You must use GD Library for this.
I need this done ASAP.? You MUST include a time estimate with your bid or I will ignore your bid.? He who can do this the fastest will get priority.
Project ID: #3061928