Forum Moderators: open

Message Too Old, No Replies

Before form submit

         

SaddenLech

11:54 pm on May 7, 2005 (gmt 0)

10+ Year Member



Hi,

I'm have a one form.

<form name=formname action=test.php method=post>
<input name=a type="text">
<input name=OK type="submit">
</form>

I'm want to before test.php post or refresh the page, run the cookie.php file for make cookie.

I'm want to read cookie information after click button

How can make this.

Thanks.

SaddenLech

12:02 am on May 8, 2005 (gmt 0)

10+ Year Member



Cookie send only after clicked submit button.

orion_rus

1:15 pm on May 8, 2005 (gmt 0)

10+ Year Member



Cookie is send before header, in a test.php you can include a cookie.php and information in cookie.php be set)
Good luck to you