Page 1 of 2

Username and Password code....!!! Abhi

Posted: Tue Jul 24, 2007 11:21 pm
by 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...!!!

Posted: Wed Jul 25, 2007 12:10 am
by John Cartwright
Sorry, were not here to do the work for you, nor does it matter to us if your problem is urgent. If it is urgent you should consider hiring a programmer.

If you have specific questions you want to ask then we will happily answer.

poor guy

Posted: Wed Jul 25, 2007 4:59 am
by yacahuma
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.

Re: poor guy

Posted: Wed Jul 25, 2007 7:50 am
by superdezign
yacahuma wrote:Wow jcart, you are killing the 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.

Abhi

Posted: Wed Jul 25, 2007 2:14 pm
by abhi
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>");
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....!!!
[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]

Posted: Wed Jul 25, 2007 2:20 pm
by superdezign
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.

abhi

Posted: Thu Jul 26, 2007 9:43 pm
by abhi
I need some more suggeations and replies guys...!!!

Re: poor guy

Posted: Thu Jul 26, 2007 10:20 pm
by John Cartwright
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.
Sometimes you have to draw the line between community member and moderator.

Abhi

Posted: Sun Jul 29, 2007 3:57 pm
by abhi
Please explain....!!! I didnt understand.

Posted: Sun Jul 29, 2007 4:04 pm
by Benjamin
Don't apply for jobs or bid on projects you don't have the slightest clue how to complete.

Abhi

Posted: Sun Jul 29, 2007 4:21 pm
by abhi
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...!!!

Posted: Sun Jul 29, 2007 4:22 pm
by Benjamin
Sorry man, we only help. Why would I do your work for free and not get any reimbursement?

Re: Abhi

Posted: Sun Jul 29, 2007 6:48 pm
by superdezign
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...!!!
*Reply posted*
Since you asked sooo nicely. ;)

Now do some damn work.

Abhi

Posted: Sun Jul 29, 2007 9:59 pm
by 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....!!!

Posted: Sun Jul 29, 2007 10:04 pm
by John Cartwright