How to open the user entered path in HTML using PHP
I am a fresher in PHP programming and I am trying to use access feature. How to retrieve the data what user has entered in the HTML open window or box? How to check whether the given link is valid or not before attempting to open? How to open the link entered by the user? It can be an image, a song or a video. It may also be another folder. How to detect and inform the user about invalid path or file names?