Quote:
Originally Posted by Redcoder
This is a project you are doing for your mum...I'm not sure whether it is supposed to be a learning experience for you or your mum just wants it.
Making such code for such a project is easy. But using scripts from other places and customizing them - terrible Idea. SQL is easy, just take a day and leanr how to use PHP and MySQL. If you still decide to use scripts from others, you will hit a brickwall because you don't understand the code well, the code is not speciifc fo that problem.
But off course ofr things such as Image Uploads, you can use other people's scripts as they are tried and tested in security and such but constructing the project from the ground up on borrowed code - bad idea.
Whatever small knowledge you have, use that and start expanding on that. If you reach a module you have no idea how to make, ask here and we will give you ideas and guide you on what to do.
Just my 2 cents worth.
|
She started the project idea with a facebook page, somewhere along the line her husband purchased a domain and hosting package. Through the coarse of conversation I decided to build a sample site and build off it with input from her. All the coding books I have early generation stuff (early php5 and before). And those only offer the extreme basics.
So while the entire project is indeed up in the air as far as what the final product will be.
The general concept is to have the site somewhat interactive where people can submit pictures for ID purposes. So some sort of account base will be needed so the photos can be linked to a person so contact can be made. A commenting system that allows registered users the ability to post comments. but dissallows guest commenting (SPAM limiter).
As far as the file upload script. the basic code function well. but the problem I encountered and was asking advice on. a couple of the sample photos I had on my PC. are .JPG extention. To make things uniform site wide I was looking for something make all the files lowercase, so SomeFileName.XXX becomes somefilename.xxx after upload. The best I was able to get was the success script showing lowercase but the file on the server was still .JPG. And the other part was since the upload script was going to be on the user page that required login, I was unsure how to set the upload folder based on the login.
As far as registration, would like to get the proposed scipt to as the registration process is complete, the script creates a /~user/user_name/ folder which I know can be done via mkdir but haven't figured out an option do only create the folder upon successful registration.
Quote:
|
SQL is easy, just take a day and leanr how to use PHP and MySQL
|
Any suggestions on where to start? since modifying scripts isn't recommended.
Thanks