Home › Forums › Quform WordPress › File Upload Database Insertion
- This topic has 8 replies, 2 voices, and was last updated 11 years, 7 months ago by lawrencepepper.
- AuthorPosts
- March 12, 2013 at 2:48 pm #3345lawrencepepperParticipant
In a form I am using the file upload option.
I am also having the data from the form inserted into a mysql database.
for the file field it is inserting the file name then the path in parenthesis:
lenapie14.jpg (http://test.mysite.com/wp-content/uploads/documents/file.jpg)
I just want it to insert the file name:
file.jpg
How can I do this?
L
March 13, 2013 at 11:27 am #3351AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 1, 2013 at 6:23 pm #3639lawrencepepperParticipantHello,
I can not find that code anywhere in file.php.
L
April 2, 2013 at 10:01 am #3643AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 2, 2013 at 6:24 pm #3647lawrencepepperParticipantI have gone through the file in Coda, did a search for this code and can not find it anywhere. What line number is it at?
L
April 2, 2013 at 6:33 pm #3648lawrencepepperParticipantOK was looking in wrong file.php, there seems to be two of them.
In any case I deleted the code and now I get a file upload error when trying to upload a file from a form.
L
April 2, 2013 at 7:37 pm #3649lawrencepepperParticipantFound the problem.
It is actually a plug in: WP Require Auth. See here: http://johnny.chadda.se/projects/wp-require-auth/
Once deactivated the upload works. Have you come across this? Any ideas on how to fix. I really need this plug in to work.
L
April 3, 2013 at 5:04 pm #3659AllySupport StaffYou don't have permission to view this content. Please log in or register and then verify your purchases to gain access.
April 3, 2013 at 6:48 pm #3666lawrencepepperParticipantOK,
Found another plug in that works well with Quform.
Thanks!
L
- AuthorPosts
- You must be logged in to reply to this topic.