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
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.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.