Jump to content

POST - Manual Use


tsilenzio

Recommended Posts

Okay I want to send a variable over to another page, but theres no form, i dont want to use session, and defiently dont want to use get!! so i was wondering would something like:

 

<?php

$_POST['someval'] = 12345;

header("Location: path/path/somefile.php");

?>

 

will the value even register inside POST, if so do you think it would stay in there till the next page..? just wodnering! Thanx in advance!

Link to comment
Share on other sites

dude look

 

if you will go to the next page and what to have the value from the first page

 

post and get and session is the only way???

 

even if your trying that header thing it requires a query string to be pas to another page tru get

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.