Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. uploading and storing files on server with php

uploading and storing files on server with php

Scheduled Pinned Locked Moved Web Development
phpdatabasemysqlsysadminhosting
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wartotojas
    wrote on last edited by
    #1

    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.

    C M 3 Replies Last reply
    0
    • W wartotojas

      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.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      If you're really new, why not use ASP.NET instead ? The tools are free, and the language and framework are much richer and more user friendly.

      Christian Graus Driven to the arms of OSX by Vista. Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.

      1 Reply Last reply
      0
      • W wartotojas

        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.

        M Offline
        M Offline
        Marc Firth
        wrote on last edited by
        #3
        1. 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[^]

        Portfolio | Web Design,

        1 Reply Last reply
        0
        • W wartotojas

          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.

          M Offline
          M Offline
          Marc Firth
          wrote on last edited by
          #4

          Oh and if you have any other PHP questions there's a PHP forum here on code project[^].

          Portfolio | Web Design, Web Hosting & IT Support

          W 1 Reply Last reply
          0
          • M Marc Firth

            Oh and if you have any other PHP questions there's a PHP forum here on code project[^].

            Portfolio | Web Design, Web Hosting & IT Support

            W Offline
            W Offline
            wartotojas
            wrote on last edited by
            #5

            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

            M 1 Reply Last reply
            0
            • W wartotojas

              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

              M Offline
              M Offline
              Marc Firth
              wrote on last edited by
              #6

              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/[^]

              Portfolio | Web Design, Web Hosting & IT Support

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups