Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a variable from one PHP file to another PHP

Status
Not open for further replies.

vr76413

Programmer
Feb 26, 2002
65
0
0
US
Does anyone know how do you call one PHP program from another PHP program and pass variables at the same time?

Syntax will be appreciated. :)

thanks
 
Do you mean from one PHP script on a website to another?

Through user intervention: If the second script can accept input via GET-method form input, the first script can construct and presend a link like :
Directly script-to-script: If the second form will accept input via POST-method forms, then I have a FAQ in this forum that talks about it: faq434-2502.

Want the best answers? Ask the best questions: TANSTAAFL!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top