PDA

View Full Version : PHP and Forms



razor
November 20th, 2000, 22:13
how do i set up a php script to recieve variables from another php script which is a form?

Woofcat
November 21st, 2000, 11:30
If track_vars is set then post vars are in the array $HTTP_POST_VARS, and get vars are in $HTTP_GET_VARS. So if you have a field named data in a method=post form, its value is stored in $HTTP_POST_VARS['data'].

If globals are set then a field named data would just be $data.