|
|
 |
Re: FN-FORUM mailto form attachments/give up
date posted 29th January 2002 22:05
And I expect your brother is bigger than mine ... give up
on 28/1/02 4:52 pm, admin at [EMAIL REMOVED] wrote:
> Well I may not be able to spell but at least I can count... ;-) 5 lines ehh...
>
> ---------- Original Message ----------------------------------
> From: "Nigell Boulton" [EMAIL REMOVED]
> Reply-To: [EMAIL REMOVED]
> Date: Mon, 28 Jan 2002 12:38:28 -0000
>
>> moi? precious?
>>
>> you haven't uploaded a file to the server yet.....
>>
>>
>> **************
>> if ($advertimage_name !="") {
>> $filename="/home/sports/images/adverts/$advertimage_name";
>> if (file_exists($filename)) {die("file exists already, change your filename
>> before uploading");}
>> else {
>> if (is_uploaded_file($advertimage)) {copy("$advertimage",
>> "/home/sports/images/adverts/$advertimage_name") or die ("Couldn't copy the
>> file."); }
>> else { echo "Possible file upload attack: filename '$advertimage.";}
>> }
>> }
>> ********************
>>
>>
>> ----- Original Message -----
>> From: "admin" [EMAIL REMOVED]
>> To: [EMAIL REMOVED]
>> Sent: Monday, January 28, 2002 12:42 PM
>> Subject: RE: FN-FORUM mailto form attachments
>>
>>
>>
>> Cheers Martyn,
>>
>> Glad to see that not everyone is as "precious" :-). How does the uploaded
>> file get attached?
>>
>>
>> ---------- Original Message ----------------------------------
>> From: Martyn Baker [EMAIL REMOVED]
>> Reply-To: [EMAIL REMOVED]
>> Date: Mon, 28 Jan 2002 11:18:29 +0000
>>
>>> This will send the mail out in php, you just need to put the form info into
>>> $msg.
>>>
>>> |
 |
|