Is the file hosted in my database? phpmyadmin

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mrijet
    New Member
    • Feb 2015
    • 64

    Is the file hosted in my database? phpmyadmin

    Hello everyone,

    Good day.

    Can anyone explain to me about the phpmyadmin. Actually I create a database from phpmyadmin and then I upload the file into my site to get an online view. The file that I upload to my website was function to upload a picture into my website as online. So, I would like to know, was the file that I or user upload are save on thr database that I create on phpmyadmin? Please reply me asap..Currently need to know the answer...

    Thanks
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    So, I would like to know, was the file that I or user upload are save on thr database that I create on phpmyadmin?
    that depends on your upload script. a database doesn’t fetch uploads itself and phpMyAdmin is just a database administration tool.

    Comment

    • mrijet
      New Member
      • Feb 2015
      • 64

      #3
      Thanks for the replying sir....what do you mean about depends on my upload script?

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

        #4
        when you (or a user) uploads a file, there must be a script that processes the uploaded file. if there is no such script, the file isn’t saved anywhere.

        Comment

        • mrijet
          New Member
          • Feb 2015
          • 64

          #5
          Okay thanks...actual ly I'm already trying to try the code but only for localhost and it works. So, if I upload it as online was it works too?

          Comment

          • Dormilich
            Recognized Expert Expert
            • Aug 2008
            • 8694

            #6
            usually it works. unless you rely on settings on localhost that are different in the online environment.

            Comment

            • mrijet
              New Member
              • Feb 2015
              • 64

              #7
              Did I need to create php connection to link with the database for online?

              Comment

              • Dormilich
                Recognized Expert Expert
                • Aug 2008
                • 8694

                #8
                if you want to work with a database, then yes.

                Comment

                • mrijet
                  New Member
                  • Feb 2015
                  • 64

                  #9
                  oh..ok..thanks. .I will try it first..

                  Comment

                  Working...