|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
You eat, breathe and sleep innovation. Build your mobile intelligence with BlackBerry® experts this July. Register Today! |
|
#1
|
|||||
|
|||||
|
Really simple file upload?
Hey, I wanna have a simple image upload on my submit form, I have this so far, but it doesn't work
php Code:
|
|
#2
|
|||
|
|||
|
RE: Really simple file upload?
take a look, this should help..
http://codewalkers.com/seecode/108.html |
|
#3
|
|||||
|
|||||
|
RE: Really simple file upload?
hey man thanks, I looked at the code, and edited it, but now I get this error
Parse error: parse error, unexpected T_ELSE in /home/gmflp/public_html/test.php on line 49 php Code:
|
|
#4
|
|||
|
|||
|
RE: Really simple file upload?
echo"<br><input type="text" name="$picname" value="example$i.jpg" size="13>";
where are you defining $i? |
|
#5
|
|||
|
|||
|
RE: Really simple file upload?
oh yeah and dont' forget
form action="$PHP_SELF" method="POST" enctype="multipart/form-data gotta have that enctype |
|
#6
|
|||
|
|||
|
RE: Really simple file upload?
opps forgot to take that bit out, but I still can't see why I'm getting the error still.
|
|
#7
|
|||
|