Jump to content

juapo2

Members
  • Posts

    37
  • Joined

  • Last visited

    Never

Contact Methods

  • MSN
    darky_cobra@hotmail.com
  • Website URL
    http://richithebest.co.nr

Profile Information

  • Gender
    Male
  • Location
    Mexico

juapo2's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. juapo2

    Best Linux OS

    Vote for the ones you think are the best, dont tell me i missed the one you like, just cote for the one you like most!
  2. Check http://richithebest.co.nr/richisflog Know MetroFlog or Fotolog? Then RichisFlog may be of your attractive, simple registration form, newsletter registration (newsletter in spanish) And everything else
  3. HI, I´ve just got Knoppix, and when i boot it from CD, it runs perfect, the only thing, is that i cant connect to internet, my wireless device is not working, any help you share with me to make it run?? Or how to make it run lol:D Help please
  4. juapo2

    2 quick questions

    Yes, you can actually have Windows and Linux on your pc, if u are new to Linux, first try Knoppix, because it boots from the Cd or DVD, no need to install...
  5. juapo2

    Best Linux OS

    Sorry m8, that were the only Linux versions that i remembered...
  6. Than you every1 for all your help!! TOPIC SOLVED!! check my subscription form: http://richithebest.co.nr/newsletter.html
  7. Thank you, ill try them, ill tell you if they work
  8. Heres my code: test.html: <form action='addemail.php' method='GET'> E-mail: <input name="email" type="text" /> <input name="submit" type="submit" value="Submit" /> <input name="reset" type="reset" value="Reset" /> </form> addemail.php: <?php if (isset($_GET['submit'])){ $email = $_GET['email']; //adding a new line character so that each email address has its own line $email = "$email \n"; //opening the file for writing $textfile = fopen("emails.txt","a"); //writing the email fwrite($textfile, $email); //closing the textfile fclose($textfile); } ?> And lists.txt (CHMOD 777)
  9. Check this, i have this code, it works pretty good, writes the email to the file and eveything, but when i click submit, the screen goes white, and in the address bar it appears: What can i do so when they click submit, they redirect to a thank page?
  10. I use FF, because Internet explorer is pretty slow, and with FF i get everything better, dont you guys prefer FF as me and as others ?
  11. I use 5, because it has many more features, but i dont like very much to write as extension: .php5, i think it sounds better .php doesnt it?
  12. I think phpBB 3 because it has a very attractive look and easy to use.
  13. Sorry, i forgot to add that languages, so Java And PHP are on right now
  14. Thanks man, ill try it, ill tell you if it worked
  15. Thanks ohdang888 for sharing your code, So its just one .php file that i have to create with this code inside? <?php if (!isset($_POST['submit'])) {?> <form method="post"> E-Mail:<input type="text" size="15" maxlength="30" name="email"/> <input type="submit" name="submit" value="Submit"/> <form> <?php } else { $email = $_POST["email"]; $emailfile = "../emaillist.txt"; $FH = fopen($emailfile, 'a') or die("can't open file"); fwrite($FH,$email . ','); //LOOK AT THIS PART fclose($FH); } ?> Or i have to separate the code in an html code and php...? OH, and Northern Flame, isnt the same <?php //Add item to list if(isset($_POST['submit']) && $_POST['mailing_list_name'] != "" && $_POST['mailing_list_email'] != "") { $file_ptr = fopen("list.txt", "a+") or die("Couldn't create new file"); fwrite($file_ptr, $_POST['mailing_list_name'] . "\r\n"); fwrite($file_ptr, $_POST['mailing_list_email'] . "\r\n\r\n"); fclose($file_ptr); } ?> Than <?php //Add item to list if(isset($_POST['submit']) && $_POST['mailing_list_name'] != "" && $_POST['mailing_list_email'] != "") { $file_ptr = fopen("list.txt", "a+") or die("Couldn't create new file"); fwrite($file_ptr, $_POST['mailing_list_name'] . "\r\n"); fwrite($file_ptr, $_POST['mailing_list_email'] . "\r\n\r\n"); fclose($file_ptr); } ?> If it is not, i save that code in my subscribe.html, and change it to subscribe.php? After i change it, i upload subscribe.php, createlists.php, and lists.txt (CHMOD 777)?
×
×
  • 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.