the page I'm using to parse the log files requires a url variable that I do NOT want my end users to see.
I was thinking of doing something along the lines of:
Code: Select all
<?php
if (isset($_FILES['attachfile']['tmp_name']) && !empty($_FILES['attachfile']['tmp_name']) && file_exists($_FILES['attachfile']['tmp_name']))
{
move_uploaded_file($_FILES["attachfile"]["tmp_name"],"tempupload/".$_FILES["attachfile"]["name"]);
}
include("myParserFile.php?hiddenvar1=bob&hiddenvar2=larry");
?>do I need to use fsockopen() to make this work the way I want it to? If so, can someone please provide me with some guidance as to the syntax to use with fsockopen().
thx for your time,
Burr