Upload a file using PHP from thickbox window and pass the filename after successful upload with some jQuery code to the parent document.

PHP / jQuery modal upload

Enter a name, click Upload to select/upload a file.

The Ultimate Managed Hosting Platform

Click here to download the php example code and find here more information about the php upload script.