Log in

View Full Version : in the confirm php webpage(php include) how I refer this url name of fileField ?



leonidassavvides
05-28-2008, 07:01 AM
In an html form field of value of url of type(fileField/attachment)
http://www.dynamicdrive.com/forums/newthread.php
or
C:\Documents and Settings\Shop\My Documents\print\THIS IS TO TEST EMAIL ATTACHMENT VIA FORM.doc

in the confirm php webpage(php include) how I refer this url name
eg <?= $attachment ?> ?
How this past from form, to processor php file, to php include file(confirmPage) ?
below is correct ?
form
<input type="file" name="fileatt" id="fileatt" />
processor php file
$cv = addslashes($_POST['fileatt']);
php include file(confirmPage)
$cv = stripslashes($cv);
echo $cv;
?