html - Passing a file input to next code line in php -


i trying image user using file input method. getting image user. want input passed next line of code.

any appreciated.

<input type='file' name='image'>

$two=createfrompng("here want input passed");

you can use $_files global variable. example :

var_dump($_files['image']); 

http://php.net/manual/en/reserved.variables.files.php


Comments

Popular posts from this blog

android - How to save instance state of selected radiobutton on menu -

python 3 IndexError: list index out of range -

IF statement in MySQL trigger -