Username and Password code....!!! Abhi
Moderator: General Moderators
Username and Password code....!!! Abhi
I need the php code for creating a window which has username and password fields......the user shd be able to enter the username and password.....if the user does not have a username he shd be able to creat a username....there after he shd get an authentication e-mail in his mailbox which he has entered while creating his username and he shd be asked to click on that to activate his username and password and once he clicks on that he it shd redirect him to that window and his username and password shd get activated......!!! I need the working code its really urgent...!!! Help Help Help...!!!
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
poor guy
Wow jcart, you are killing the poor guy.
Poor guy , just do a search on the internet. There are many places where they show how to do this. Also
you can take a look at books like PHP and Mysql Web Development. They will show you all you need.
Poor guy , just do a search on the internet. There are many places where they show how to do this. Also
you can take a look at books like PHP and Mysql Web Development. They will show you all you need.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: poor guy
Well, these sort of posts are exactly the kind that we have issues with. Urgency means nothing, unnecessarily abbreviated words and l33t speak are forbidden, all of the exclamation points are annoying, and the lack of respect by asking other's to do for him what he has shown no evidence of trying to do himself. Jcart only said what the majority of us would have.yacahuma wrote:Wow jcart, you are killing the poor guy.
Abhi
feyd | Please use
It gives the following error....if I use this code....!!!
Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Domains\interfacetesting.com\wwwroot\signup.php on line 154
Message successfully sent!
Thank you for your interest in our products.
Go Back
Help Required.......and please let me know abt the websites for that other code....!!!
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]
Okie friends can [s]u[/s] [size=150][color=green]you[/color][/size] guys please tell me where I can get direct PHP code that is working and that can be used I have to give that to my boss he doesnt need a fresh code he needs a working code that can simply be used .......At the same time I have another issue
On our company website we have a place where if the customer needs some more info on products he can enter name and email i.d and click on SUBMIT it [s]wud[/s] [size=150][color=green]would[/color][/size] say thankyou for submission and at the bottom it says CLICK HERE TO GO BACK TO THE HOME PAGE.........boss needs that when someone clicks on SUBMIT it [s]shd[/s] [size=150][color=green]should[/color][/size] send an e-mail to my boss with the details beside entering that details in the database........I used the following code......Code: Select all
<?php
$sqlconnect = odbc_connect('ITSIssueTracking', '', '');
if (isset($_REQUEST['txtName']) && isset($_REQUEST['txtEmail'])){
$strName = $_REQUEST['txtName'];
$strEmail = $_REQUEST['txtEmail'];
$strComment = "";
if (isset($_REQUEST['txtCommentField'])){
$strComment = $_REQUEST['txtCommentField'];
}
$smtpServer = "mail.interfacetesting.com";
$port = "25";
$timeout = "30";
$username = "itsits@interfacetesting.com";
$password = "*******";
$localhost = "localhost";
$newLine = "\r\n";
$email = "godsentmessenger@gmail.com";
$subject = "Health Care Data Solutoins Form Data";
$message = "Name:".$_POST['txtName']."E-mail:".$_POST['txtEmail']."Comments:".$_POST['txtCommentField'];
mail($email, $subject, $message, "From: $email");
echo("<p>Message successfully sent!</p>");Warning: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set() in C:\Domains\interfacetesting.com\wwwroot\signup.php on line 154
Message successfully sent!
Thank you for your interest in our products.
Go Back
Help Required.......and please let me know abt the websites for that other code....!!!
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.
Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
feyd | Please use
Code: Select all
,Code: Select all
and [syntax="..."] tags where appropriate when posting code. Your post has been edited to reflect how we'd like it posted. Please read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url] to learn how to do it too.[/color]- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
For that "other code," you will need to search Google. There are tons of tutorials on user logins. And sometimes the mail() function can't be used, depending on your server and such. Try Swiftmailer.
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: poor guy
Sometimes you have to draw the line between community member and moderator.yacahuma wrote:Wow jcart, you are killing the poor guy.
Poor guy , just do a search on the internet. There are many places where they show how to do this. Also
you can take a look at books like PHP and Mysql Web Development. They will show you all you need.
- superdezign
- DevNet Master
- Posts: 4135
- Joined: Sat Jan 20, 2007 11:06 pm
Re: Abhi
*Reply posted*abhi wrote:I really appreciate and take that suggestion for next time but I need help rite now because I am stuck....so please post some replies....I would really really appreciate that...!!!
Since you asked sooo nicely.
Now do some damn work.
Abhi
I dont know why everybody is soo mad at me......I joined this forum thinking I wud add some value to my knwledge....I know noone can explain me from scratch but I am just requesting for some help......I am sorry if I said something wrong but I was really hopeful that I would get some help....I am so sorry again....!!! I still need help.....I know writing code could be difficult.....can someone guide me to some website where I can get some working code which I can just pick up and use....!!!
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
A good place to start is http://www.hotscripts.com/PHP/Scripts_a ... index.html