Power Admin
+ Reply to Thread
Results 1 to 9 of 9

Thread: need programmers help

  1. #1
    Join Date
    Jan 2008
    Posts
    14

    need programmers help

    i have a login site and i need it to send me the name/password after people log in but i can not for the life or me figure out how to code that..
    please help if you need to see the code to write it let me know

    thanks

  2. #2
    Join Date
    Sep 2006
    Posts
    1,649
    I'm assuming you already know HTML. You need to check out tutorials on PHP.

    [url]http://www.w*schools.com/php/default.asp[/url]
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  3. #3
    Join Date
    Jan 2008
    Posts
    14

    ok

    yah i know html but i think what my main problem currently is is that i can not find a web hosting site that:

    - free
    - totally ad free
    - allows php
    - allows mail/sendmail commands

  4. #4
    Join Date
    Sep 2006
    Posts
    1,649
    All the free hosts I know don't allow sendmail, for obvious reasons (i.e. spammers abusing it).

    But [url=http://www.awardspace.com/]AwardSpace[/url] is a free webhost that is ad-free and supports PHP. Best free host I've used so far.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  5. #5
    Join Date
    Jan 2008
    Posts
    14

    ok

    ok so i made an account on that site its pretty nice so far so i got this little email script to test the php

    Code:
    <html>
    <body>
    
    <?php
    if (isset($_REQUEST['email']))
    //if "email" is filled out, send email
      {
      //send email
      $email = $_REQUEST['email'] ; 
      $subject = $_REQUEST['subject'] ;
      $message = $_REQUEST['message'] ;
      mail( "MYEMAIL@BLABLA.COM", "Subject: $subject",
      $message, "From: $email" );
      echo "Thank you for using our mail form";
      }
    else
    //if "email" is not filled out, display the form
      {
      echo "<form method='post' action='mailform.php'>
      Email: <input name='email' type='text' /><br />
      Subject: <input name='subject' type='text' /><br />
      Message:<br />
      <textarea name='message' rows='*5' cols='40'>
      </textarea><br />
      <input type='submit' />
      </form>";
      }
    ?>
    
    </body>
    </html>
    but it doesnt work... so if i cant even get that working how can i get a fake page working... help please

  6. #6
    Join Date
    Sep 2006
    Posts
    1,649
    Are you sure mail is not blocked on the host you are using?
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  7. #7
    Join Date
    Jan 2008
    Posts
    14

    no

    I'm using that site u said... So idk so if I just pay for a site like yahoo or this award one you said then will I be able to sendmail? Is sendmail just blocked on free webhosts? To solve this problem do i just need to pay?

  8. #8
    Join Date
    Sep 2006
    Posts
    1,649
    I said that "All the free hosts I know don't allow sendmail", AwardSpace included. AwardSpace doesn't allow sendmail.

    If you want to send mail, you will probably have to get paid hosting.
    "Workers of the world unite; you have nothing to lose but your chains." -Karl Marx

  9. #9
    Join Date
    Jan 2008
    Posts
    14

    ah

    ahh ok well for my last question... whats a cheap like *.**$ a month paid to host site would yahoo work

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 10-31-2006, 06:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts