• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I want to upload a file with a different form

#1
[eluser]Unknown[/eluser]
I want to upload with a different form of my code as follows:
http://nh9.upanh.com/b5.s3.d1/59b07e9f37...599.up.jpg

When I click the submit button, the file is uploaded into the directory:
Code:
$config['upload_path'] = './uploads/thongbao/';

and other fields also insert into the database

my table:
+ files
f_id
f_name
f_date
f_activated

+ news
n_id
f_id
n_title
n_body
n_date
n_activated

I want to hit submit, the file is uploaded into the directory "thongbao" insert file names are on the table files-> f_name and other fields to insert into table files.f_id = news.f_id news.

Please me!


Messages In This Thread
I want to upload a file with a different form - by El Forum - 01-07-2012, 02:37 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.