uploading and storing files on server with php
-
hi, I need some help, at least some guidelines where to start. Briefly, I am making a website where registered users will be able to upload their photos, create an album and some other functionality. Im new with PHP and mySQL, so have no clue where to start. Is the files would be stored in database together with other information with users details when they register, or it is some kind dedicated server part that only users can access? the thing im making is like a part of facebook or any other social websites where u can upload a bunch o photos, put them together into album...plus you can comment on others etc.. Thank You for any suggestions.
-
hi, I need some help, at least some guidelines where to start. Briefly, I am making a website where registered users will be able to upload their photos, create an album and some other functionality. Im new with PHP and mySQL, so have no clue where to start. Is the files would be stored in database together with other information with users details when they register, or it is some kind dedicated server part that only users can access? the thing im making is like a part of facebook or any other social websites where u can upload a bunch o photos, put them together into album...plus you can comment on others etc.. Thank You for any suggestions.
-
hi, I need some help, at least some guidelines where to start. Briefly, I am making a website where registered users will be able to upload their photos, create an album and some other functionality. Im new with PHP and mySQL, so have no clue where to start. Is the files would be stored in database together with other information with users details when they register, or it is some kind dedicated server part that only users can access? the thing im making is like a part of facebook or any other social websites where u can upload a bunch o photos, put them together into album...plus you can comment on others etc.. Thank You for any suggestions.
- First I suggest downloading and installing an all in one development server package such as xampp[^]. 2) Find yourself a decent code editor with syntax highlihgting and intellisense ( - a code helper that save you time when writing code) such as one of the following: Adobe Dreamweaver CS3[^] (Expensive) Notepad++[^] Aptana Studio[^] 3) If you don't know html & css, learn html [^]& css[^]. 4) PHP and MySQL Tutorials: w3schools[^] PHP Manual[^] Tizag[^] In Particular: File Uploads[^] PHP & MySQL[^] Getting Started with PHP[^]
-
hi, I need some help, at least some guidelines where to start. Briefly, I am making a website where registered users will be able to upload their photos, create an album and some other functionality. Im new with PHP and mySQL, so have no clue where to start. Is the files would be stored in database together with other information with users details when they register, or it is some kind dedicated server part that only users can access? the thing im making is like a part of facebook or any other social websites where u can upload a bunch o photos, put them together into album...plus you can comment on others etc.. Thank You for any suggestions.
Oh and if you have any other PHP questions there's a PHP forum here on code project[^].
-
Oh and if you have any other PHP questions there's a PHP forum here on code project[^].
thanks for help, but you missunderstood me a bit... xamp didnt wor for some reason, thus I found cheap host and got everything online. For code editing and web development Im using Dreamweaver (older, still Macromedia but I think it is basicaly the same). For php I already read loads of tutorials, and probably will be fine with upload part. what I dont know is how to setup mySQL database that it could store physical files (images in my case) or it is done in some other way? any suggestions on that part? thanx once more
-
thanks for help, but you missunderstood me a bit... xamp didnt wor for some reason, thus I found cheap host and got everything online. For code editing and web development Im using Dreamweaver (older, still Macromedia but I think it is basicaly the same). For php I already read loads of tutorials, and probably will be fine with upload part. what I dont know is how to setup mySQL database that it could store physical files (images in my case) or it is done in some other way? any suggestions on that part? thanx once more
You need to use PHPMyAdmin or get remote access credentials and use something like Navicat SQL. You shouldn't store the files in the database but store the path to the files on the server and then upload them into a non-accessible folder. Database Fields: id, Name, Path. Then you can create a file which reads from the path and outputs the file when needed. So all in all there's a lot of testing to be done. So, I suggest trying to install XAMPP on your PC again - it really is worth it for testing. Use default settings and it should work. Then go to http://localhost/[^]