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 378257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:46:32+00:00 2026-05-12T14:46:32+00:00

What is the best way to put a text box on the following HTML

  • 0

What is the best way to put a text box on the following HTML page and then, without reloading the page, get its content in PHP when the user clicks the button?

<?php require_once "phpuploader/include_phpuploader.php" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Simple File Upload - use SaveDirectory property</title>
    <link href="demo.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div class="demo">
        <h2>Attach some files</h2>
        <p>Attach some files using the button below.</p>
        <ul>
            <li>Allowed file types is set to: jpg, gif, png, zip 
                       - multiple files (Max 10M)</li>
        </ul>

        <?php
            $uploader=new PhpUploader();

            $uploader->MultipleFilesUpload=true;
            $uploader->InsertText="Upload Now";

            $uploader->MaxSizeKB=10240;
            $uploader->AllowedFileExtensions="jpeg,jpg,gif,png,zip";

            $uploader->SaveDirectory="savefiles";

            $uploader->Render();
        ?>          
    </div>
</body>
</html>

I know I can use form and Post but I want to stay on the same page.

  • 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-12T14:46:33+00:00Added an answer on May 12, 2026 at 2:46 pm

    Technically if you make the form post to itself, you will stay on the same page. That aside, your only solution is AJAX.

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

Sidebar

Related Questions

what is the best way to do it ? put it in iframe .
Best way to match 2 pages for Google analytics. Pages to Query: 1.) this_google.html
Any best way to run the jasmine HTML reporter with browserify styled code? I
What is the best way to simulate a user entering text in a text
I need for someone to be able to put some text into a page
Which is the best way to load text into a webpage using ASP.NET I
What is the best way to put a delay on the showing of a
What's the best way to put a RelativeLayout inside a ToggleButton? If it matters,
The best way I think to explain this is to tell you what my
The best way to explain my problem is by a example. I have a

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.