- Joined
- Oct 13, 2004
Hey guys,
ok rescently i have been learning some php and i created a very very simple php upload script. Now...the website that i made is all done layout wise and it took a lot of time (mostly trial and error). I have my upload script in the uploadfile.php and then i have the following:
But you see that takes it to the success page if the file is ok which is on a blank page. How can i make it so that it will stay in the same page so they dont get redirected away?
Obviously the easiest way would be an iframe...but i dont like all the scroll bars as it looks stupid. Is there any other way of doing this? Or even remove the scroll bars?
Thanks, ps2cho
ok rescently i have been learning some php and i created a very very simple php upload script. Now...the website that i made is all done layout wise and it took a lot of time (mostly trial and error). I have my upload script in the uploadfile.php and then i have the following:
<b><font size=3>File Upload</font><br></b><br>
<img src="pics/dl.gif">
Select a file to upload:<br>
<form action="uploadfile.php" method="post" enctype="multipart/form-data">
<input type="file" name="file" size="45">
<br>
<br>
By Pressing Submit, you agree that this file is none of the following:<br>
<ul>
<li>Pornography
<li>Virus(s), Spyware, Adware or keyloggers.
<li>Illegal or copyrighed material
<li>You have been warned<br>
<input type="submit" value="Upload File">
</form>
But you see that takes it to the success page if the file is ok which is on a blank page. How can i make it so that it will stay in the same page so they dont get redirected away?
Obviously the easiest way would be an iframe...but i dont like all the scroll bars as it looks stupid. Is there any other way of doing this? Or even remove the scroll bars?
Thanks, ps2cho