Hi,
I Am not sure what you are asking (Since I am not using pointers in any of the languages I program in). But can't you just use array-type variables in your forms, and give the user either standard 10 / 20 / 30 lines in the form, or ask them how many lines they need? Loop through the array, and check whether data has been placed in it, then import?
e.g., how I do multiple image uploads:
File 1: <input type=file name=file[] size=30><br>
File: <input type=file name=file[] size=30><br>
...
$FileArraySize = sizeof($_FILES['file']['name']); // Get the number of files potentially uploaded
$i = 0 ; // Counter for outfilenames
for ($x=0; $x<$FileArraySize; $x++) // Check every one to see whehter a file has been uploaded
{
if(! empty($_FILES['file']['name'][$x])) // If a file was uploaded, then..
{
if($i == 0)
{
$uitfile = $filebase.".jpg";
}
else
{
$uitfile = $filebase."_".$i.".jpg";
}
$i++;
resizeImage(GetAName('tmp_name', $_FILES), $uitfile, $absolute_path); // Resize the image, and copy it to the right location on the server
}
}