passing posted elements from html to php to another php

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vidyabhushan
Forum Newbie
Posts: 16
Joined: Mon Oct 20, 2008 4:58 pm

passing posted elements from html to php to another php

Post by vidyabhushan »

how can we pass the elements which are posted to a php program from html page to another php program?
User avatar
dude81
Forum Regular
Posts: 509
Joined: Mon Aug 29, 2005 6:26 am
Location: Pearls City

Re: passing posted elements from html to php to another php

Post by dude81 »

you can use PHP sessions
User avatar
Obadiah
Forum Regular
Posts: 580
Joined: Mon Jul 31, 2006 9:13 am
Location: Ashland, KY
Contact:

Re: passing posted elements from html to php to another php

Post by Obadiah »

dude81 wrote:you can use PHP sessions

Code: Select all

 
<?php 
session_start();
 
vidyabhushan
Forum Newbie
Posts: 16
Joined: Mon Oct 20, 2008 4:58 pm

Re: passing posted elements from html to php to another php

Post by vidyabhushan »

Ok got it... Thank you...
User avatar
aceconcepts
DevNet Resident
Posts: 1424
Joined: Mon Feb 06, 2006 11:26 am
Location: London

Re: passing posted elements from html to php to another php

Post by aceconcepts »

If you haven't used SESSIONS before you might want to know that session_start() should be called from the beginning of the script :wink:
Post Reply