Re: Attachment to email from form.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Richard

Please accept my apology in that my response was sent directly to you and 
not the group, I hit 'Reply" instead of 'Reply to Group'.

Gary


"Richard Quadling" <rquadling@xxxxxxxxx> wrote in message 
news:AANLkTint_WiEsKaD-FuLaIHpjlfrMltkPjdYQsAo-F-a@xxxxxxxxxxxxxxxxx
> First of all, take a look at
> http://docs.php.net/manual/en/features.file-upload.php
>
> You are trying to open a named file (attachment.zip), but that may not
> be what was uploaded.
>
> The 2 main functions to get to grips with are ...
>
> is_uploaded_file() and move_uploaded_file().
>
> Uploaded files are not best directly accessed. Instead they should be
> moved from the temp directory (assuming the server is set to
> temporarily store uploaded files there) to a proper location for use
> later on in the script.
>
> -- 
> -----
> Richard Quadling
> "Standing on the shoulders of some very clever giants!"
> EE : http://www.experts-exchange.com/M_248814.html
> EE4Free : http://www.experts-exchange.com/becomeAnExpert.jsp
> Zend Certified Engineer : http://zend.com/zce.php?c=ZEND002498&r=213474731
> ZOPA : http://uk.zopa.com/member/RQuadling
>
> __________ Information from ESET Smart Security, version of virus 
> signature database 5229 (20100625) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
>
>
> 



__________ Information from ESET Smart Security, version of virus signature database 5230 (20100625) __________

The message was checked by ESET Smart Security.

http://www.eset.com





-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux