Reply to Re: PHP and File uploads

Your name:

Reply:


Posted by Jerry Stuckle on 05/05/06 14:14

HC wrote:
> 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

HC,

I'm not clear what you mean wit "input to allow me to upload a file".

Are you saying you have a field where you place a filename and the file gets
upload? Or is this a textarea you need to paste the contents of the file for
uploading?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

[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

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