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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T12:22:30+00:00 2026-06-15T12:22:30+00:00

Suppose i have many values here with form method POST $_POST[value1] $_POST[value2] $_POST[value3] $_POST[value4]

  • 0

Suppose i have many values here with form method POST

$_POST["value1"]
$_POST["value2"]
$_POST["value3"]
$_POST["value4"]
$_POST["value5"]
$_POST["value6"]
$_POST["value7"]

and i want to send them to nextpage.php

any function to do that? Besides using

<form method="POST" action="nextpage.php">
<input type="hidden" name="value1"  value="value1 />
</form>
  • 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-06-15T12:22:32+00:00Added an answer on June 15, 2026 at 12:22 pm

    For passing post values to next page store the complete $_POST superglobal array variable into session and then on next page you can access those values using $_SESSION variable

    Alternatively you can use curl to send HTTP request to next page using POST method
    Then those variables will be accessible using $_POST variable on next page

    Please refer the code snippet mentioned below as an example for sending HTTP request using post method through curl

            $url='http://203.114.240.77/paynetz/epi/fts';
     $data = array('login' => '11','pass' => 'Test@123','ttype'  =>'NBFundTransfer','prodid'=>'NSE','amt'=>50,'txncurr'=>'INR','txnscamt'=>0,'clientcode'=>007,'txnid'=>uniqid(),'date'=>date('d/m/Y H:i:s'),'custacc'=>'123456789');
          $datastring = http_build_query($data);
         //die($url.'?'.$datastring);
          $ch=curl_init();
         curl_setopt($ch, CURLOPT_URL, $url);
         curl_setopt($ch, CURLOPT_TIMEOUT, 180);
         curl_setopt($ch, CURLOPT_HEADER, 0);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
         curl_setopt($ch, CURLOPT_POST, 1);
         curl_setopt($ch, CURLOPT_POSTFIELDS, $datastring);
         $output = curl_exec($ch);
          //echo $output; die;
        curl_close($ch);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Suppose on my HTML page I have many href s to a link. Using
Suppose I create collection like Collection<IMyType> coll; Then I have many implelentations of IMyTypem
suppose I have a class with many explicit (statically allocated) members and few pointers
Suppose I have a supertype table with many subtype tables. I'm interested in making
I tried many ways to solve this problem but none works. suppose I have
Suppose I have a pure virtual method in the base interface that returns to
Suppose I have a static method of my class that returns an object of
I have the following requirement: - I have many (say 1 million) values (names).
I have got many of my questions solved here, many thanks to you guys.
suppose i have gridview in my aspx page and gridivew has many rows and

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.