close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

need to download using code.. please help.

Thread began 6/27/2011 3:26 pm by Kumel | Last modified 6/28/2011 4:49 pm by Jason Byrnes | 1111 views | 5 replies |

Kumel

need to download using code.. please help.

I have universal email4.

k lets say i have a form..
it contains

Name
Emaill
Comments etc etc
Submit (form.php)
All this gets sent to my mail..

Now lets say i have to send a file to email entered in above form. lets call da file as "XXX"

But i wont send thru mail instead i want them to download from site thru a code..

So i ll send them a code thru mail, lets call dat code as "123456".

Then da user must enter dat code at another form n click download (myfile.php) (onli 1 text field n download[click] )

So then da file gets downloaded... (file: XXX)

MORAL OR REASON- I dont wanna send da file.. I want them to download it using a code... So different donwloads ll have different codes ll have different codes..
I HOPE U UNDERSTOOD.. PLEASE HELP ME OUT IN THIS..

Sign in to reply to this post

Jason ByrnesWebAssist

you asked this same exact question last week, see my reply here:
showpost.php?p=102150&postcount=6

Sign in to reply to this post

Kumel

I know.. but i m unable to link my hosting to my dreamweaver.. cause my hosting co doesnt support dreamweaver.. ( 3rd party) so.. so i cant manage site from dr.. so i cant following thins as u said earlier -


1-create a recordset that will filter the code column on the code entered in the text box.

2-In the Download file server behavior, set the file name to use the fileName column of the recordset and trigger to use any form post.

So please is dr any other way..? like thru editting php codes..

Sign in to reply to this post

Jason ByrnesWebAssist

install a local testing server for development rather then try to connect Dreamweaver to the remote database.

You create the database locally on the local testing server, then transfer it to the remote server when you deploy the site, and edit the connection details to connect to the remote DB server. see the learning resources page for details on installing a local testing server:
resources.php?utm_campaign=Forum_header&utm_medium=Forums&utm_source=WebAssistForums

Sign in to reply to this post

Kumel

Thnks for dat.. nw please temme hw extly to add recordset n al.. i made da database n everthyng.. please teme hw extly to do nw.. like -
1-create a recordset that will filter the code column on the code entered in the text box.

2-In the Download file server behavior, set the file name to use the fileName column of the recordset and trigger to use any form post.

Please temme hw to filter recordset n al.. step by step if u dont mind.. plese ..

Sign in to reply to this post

Kumel

This post has been deleted.

Jason ByrnesWebAssist

1) see the following page for details on creating a record set, pay close attention to step 5 for details on setting up the filter:
WSc78c5058ca073340dcda9110b1f693f21-799ca.html#WSc78c5058ca073340dcda9110b1f693f21-7915a




2) in the download file server behavior, the drop list for triggers will have an option for recordset not empty, select that.

next to file name, click the lightning bolt and select the file name column from your recordset.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...