I would like to know how can I access or read the array from another php.
I mean that I am working on a .php page which contains the array and I want to display the content of that array but on another .php page.
for example I used the following method in a .php file and I want to get the content of the array in another .php file. what is the method that is going to receive the array's content in the second page?
<?php
$r= new HttpRequest('http://localhost/sameh.php', HttpRequest::METH_POST);
$r->addPostFields ( array ( "n" => 'welcome to our server')) ;
$r->send ();
?>
* This code is in the first page but I don't know what to write to receive it on the second one. so what is the method that can help me with this?