Link to home
Start Free TrialLog in
Avatar of Czukoman20
Czukoman20

asked on

Uploading?

I have this upload script that I am currently modifying a little bit. I need to be able to make it so that the dumbest of the dumb can figure this thing out. The upload bar requires specific sizes and sometimes the user wont even have a logo to upload. So what I would like to do is make it so if the user clicks a certain javascript button that says. "Don't Have a Logo Click Here, Then Click Upload.?" it will prefill the box with a blank logo located on the site (so a site directory).

The code below is the upload bar(not the upload code). I am unfamiliar with javascript, so thats where I need the help.

Thanks in Advance!


<table width="500" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="">
                <tr>
<form action="upload_rename_ac.php?u=<? 
echo "$user";
?>" method="post" enctype="multipart/form-data" name="form1" id="form1">
<td>
<table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="">
<tr>
<td><strong>Single File Upload </strong></td>
</tr>
<tr>
<td>Select file
<input name="ufile" type="file"  id="ufile" size="50" /></td>
</tr>
<tr>
<td align="center"><input type="submit" name="Submit" value="Upload" /></td>
</tr>
</table>
</td>
</form>
</tr>
</table>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of kevin_u
kevin_u
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Czukoman20
Czukoman20

ASKER

Ahh .. I c thats why it wont show up when I add a value to it. Thats cool then. I'm gonna have to figure out a way around it.

Thanks!