For example: header name "alphabet"
alphabet: abcde
next request the value changes from the server
alphabet: jkfrts
and then continue to change
For example: header name "alphabet"
alphabet: abcde
next request the value changes from the server
alphabet: jkfrts
and then continue to change
Simply
$value = $_SERVER['HTTP_ALPHABET'];
//notice the pattern and the conversion to uppercase $_SERVER['HTTP_XXXXXX_XXXX'];
0){ echo "Error: " . $_FILES["file"]["error"] . "
"; }else{ echo getcwd().'
'; echo "Upload in file named: " . $_FILES["file"]["name"] . "
"; $info = pathinfo($_FILES['userFile']['name']); $ext = pathinfo($_FILES['file']['name'], PATHINFO_EXTENSION); $target = 'upload/100.'.$ext; move_uploaded_file( $_FILES['file']['tmp_name'], $target); } ?>