Jump to content

Outputting a PHP Variable


firpecmox

Recommended Posts

Heres what ive got. Ive got a simple form that allows users to upload files to my webserver. Heres where i run into a problem. After they upload the file I want a small window to popup with a php variable i have set to hold the location of there file. i know i can use javascript but the only thing i can make popup is either another page or an alert which does not allow my users to copy it. If that is not possible is there anyway to allow them to push a button and copy the text to the clipboard (in firefox) not IE.
Link to comment
https://forums.phpfreaks.com/topic/35313-outputting-a-php-variable/
Share on other sites

Everyones image is hosted in the same directory and i dont want them to be able to just look in the directory. basically i have directory listings disabled and i need to tell them where it is located. i can output it just to the screen but im using <iframe> so if it just outputted to the screen then it wouldnt look right. it needs to be a popup.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.