By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,726 Members | 1,130 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,726 IT Pros & Developers. It's quick & easy.

Unit testing POST in PHP

P: n/a

I would like to fake a file submission POST for testing purpose.

I have PHP 4.2.2 with PEAR 1.3.1 including PhpUnit 1.0.1.

I want to know how to make a testing context that deals with $_FILES
and move_uploaded_file for my unit tests.

Help will be greatly appreciated.

Thanks in advance.

Best regards,

Jul 17 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.