PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I am new to php and the forum
I want to write a php code that allows me to pick image urls from a flat file and change the source of an img element in the html on a button click.
Can anybody help me with the same?
to grab details about an image file from a form...use the #_FILES[] function. you can grab the name, size, type, tmp_name etc. if you can then move the tmp_name to a directory of your choice