User Profile

Collapse

Profile Sidebar

Collapse
liberty1
liberty1
Last Activity: Jan 13 '10, 11:11 PM
Joined: Jan 13 '10
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • liberty1
    replied to problem with inserting file name in database
    in PHP
    UPDATE: Once again thank you. I finally changed tmp_name in $_FILES['pic']['tmp_name'] to just 'name' thus becoming $_FILES['pic']['name'] in my main code and changed $temp_file to $_FILES['pic']['tmp_name'] in the move to server part of the code. And that did it. The $_FILES[temp_file] in the process for submit into database (i.e., processintervie w.php) part was also changed to just $temp_file. So now I am able to upload picture and insert the name...
    See more | Go to post

    Leave a comment:


  • liberty1
    replied to problem with inserting file name in database
    in PHP
    Thanks dgreenhouse. I am actually a novice. I know there is $_FILES['pic']['name'] in the code so am I to change it again? Why is the code as it is not inserting name into the database? It is uploading the pictures but it is not inserting the names. I changed $_POST or $_FILES[temp_file] to just $temp_file and got some charaters inserted but there are not proper names of the files. I changed tmp_name to simply 'name' and got the names inserted but...
    See more | Go to post

    Leave a comment:


  • liberty1
    started a topic problem with inserting file name in database
    in PHP

    problem with inserting file name in database

    Hi everyone. I appreciate your effort at helping newbies like me. I have the following problems and will appreciate urgent help.

    PROBLEM NUMBER 1:
    Using PHP and MySQL, I am able to upload picture successfully unto the server but not so with the file name of the picture even though other parameters in my form got inserted successfuly in the database. I have read several posts on this topic including here on this site but I can't...
    See more | Go to post
    Last edited by Dormilich; Jan 13 '10, 06:31 AM. Reason: Please use [code] tags when posting code
No activity results to display
Show More
Working...