Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7689959
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T20:17:10+00:00 2026-05-31T20:17:10+00:00

My question in slightly different from the $fopen $fwrite function Since what i would

  • 0

My question in slightly different from the $fopen $fwrite function

Since what i would like to achieve is have a button below the textarea name “save as html”

when i press

a popup box appear just like window ‘save as..’ dialog for the user to choose which place they want to store the file

when click save, the file is store in that place

How to implement this kind of function? Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T20:17:11+00:00Added an answer on May 31, 2026 at 8:17 pm

    The “Open/Save As” dialog is shown by any Web Browser when it receives a file stream in HTTP-Response and the headers of the response also indicate that the content is a File.

    Hence it is not possible to open “Save As” dialog from client side code. You will have to submit the textArea value to the server and then Browser would open the “SaveAs” dialog.

    If you want to save the server trip, you will have to write JQuery/JavaScript code to let the user save the contents on his disk i.e. $fOpen and $fWrite.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My question is slightly different from Looking for a recommendation for a lightweight mobile
This question has been asked before ( link ) but I have slightly different
I know this question has been done but I have a slightly different twist
I'm going to re-ask this question in a slightly different way. Say I have
This is a slightly different question to this one ([ Accessing a method from
We would like to implement slightly different behavior in our web application for those
slightly different question about variance this time. I take it from experimentation that C#
slightly different type of question. I am linking from a UITableView item to a
This question is slightly different from the kind of finding longest sequence or substring
Similar question here but this is slightly different... I have two tables that I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.