Basically what i want is the action page to have "GET" information in it.
here is the code i got so far:
<html>
<head>
<link rel=stylesheet type=text/css href=style.css>
</head>
<body>
<?php include("header.php"); ?>
<center>
<h1>You are currently uploading an image in gallery: <?php
echo $_GET[gall];
?>
<br>
<br>
<br>
<br>
<br>
<br>
<div class=indexboxlarge>
<?php
$name = $_GET['gall'];
echo '<form enctype="multipart/form-data" action="uploader.php?gall=
echo '$name"';
echo 'method="POST">';
echo '<input type="hidden" name="MAX_FILE_SIZE" value="100000" />';
echo '<input type="hidden" name="gall" value="echo "$name";" />';
?>
Choose an image to upload: <input name="uploadedfile" type="file" /><br /><br>
Enter some comments for the picture:<br>
<textarea cols="50" rows="4" name="tag"></textarea><br><br>
<input type="submit" value="Upload a image" />
</form>
</div>
</center>
</body>
<html>