multiple-part form post

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Anant
Forum Commoner
Posts: 66
Joined: Wed Jul 14, 2010 11:46 am

multiple-part form post

Post by Anant »

Hi,

I have to pass the file data(csv format) within a special multiple-part form post.

How can i achieve this ?

My other question would be - how to convert mysql data to csv file data in php ?


Thanks
User avatar
Darhazer
DevNet Resident
Posts: 1011
Joined: Thu May 14, 2009 3:00 pm
Location: HellCity, Bulgaria

Re: multiple-part form post

Post by Darhazer »

about the first question - best use curl, as it easy to perform post request with it and upload file
for the second one, take a look at fputcvs
Post Reply