# Sending $\_POST-information without a form

**URL:** <https://forum.kirupa.com/t/sending--post-information-without-a-form/233715>\
**Category:** programming\
**Created:** [July 26, 2007, 11:03am UTC](https://forum.kirupa.com/t/sending--post-information-without-a-form/233715 "2007-07-26T11:03:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eikern](https://avatars.discourse-cdn.com/v4/letter/e/90db22/32.png) [@Eikern](https://forum.kirupa.com/u/Eikern)\
**Post date:** [July 26, 2007, 11:03am UTC](https://forum.kirupa.com/t/sending--post-information-without-a-form/233715/1 "2007-07-26T11:03:19Z")

</div>

Let’s say I have three files.  
[LIST=1]  
[_]RegistrationForm.php  
[_]Message.php  
[\*]DBAction.php  
[/LIST]

The information is entered in a form in the first file. You press submit and you send the information to the second file. In this file you simply get a message saying “Thanks” or something.

Now, here is my quesion:  
Can I somehow take the array of $\_POST information from RegistrationForm.php in Message.php and transfer them to DBAction.php for the final database interaction.  
I’m not doing anything like this, I just want to know if there is a way of transfering the $\_POST-info from one file to another.

I know I could have used a form with hidden fields and just inserted all the info, but is there another way of doing it?
