Reply to PHP and File uploads

Your name:

Reply:


Posted by HC on 05/05/06 10:04

One of the websites I work with has a form to fill in which includes an
input to allow me to upload a file. I'm trying to write a PHP script to
automate the process, but I can't figure out how to make PHP upload the
file. I've been playing about with curl, but haven't had any luck.

The issue is that the data I want to upload isn't actually in a file;
it's sitting in a variable in a PHP script, and all the examples I've
found seem to assume an existing file, which for various reasons I want
to avoid.

If anyone could point me in the right direction, I would really
appreciate it!

HC

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация