asimshahiddIT 0 Newbie Poster

Check your php.ini setting max_execution_time and other time_out setting.

asimshahiddIT 0 Newbie Poster

For setting mail setting in your wamp server

First you should have existence of company mail server otherwise you can use google mail server.

For Company server

search 'mail function' in your php.ini file

make the following changes..

[mail function]
; For Win32 only.
SMTP = mail.[company_name].com
smtp_port = 25

; For Win32 only.
sendmail_from = [sender mail id]

For google mail server setting

http://www.drupalwizardry.com/content/how-setup-wamp-send-emails-over-gmail-smtp

asimshahiddIT 0 Newbie Poster

The better way is ,

create a anchor tag,

<a href="next.php?id=3{id value}"><input type="button" value="view"></a>

in that pass the id value

In the next page get the id through

$_GET

asimshahiddIT 0 Newbie Poster

In my point of view,

In Form you had declared.

<input name="Password" type="password" class="control" id="Password" size="21">

<input name="Password2" type="PASSWORD" class="control" id="Password2" size="21">


but in registernow.php your calling

$passwordHash = strip_tags($_POST["password"]);
$repeatpassword= strip_tags($_POST);

its should be

$passwordHash = strip_tags($_POST["Password"]);
$repeatpassword= strip_tags($_POST);

please let me know if there is still error.

asimshahiddIT 0 Newbie Poster

It should work.

but its better to check the php.ini

asimshahiddIT 0 Newbie Poster

Yes you can do it by using session , save the protection code in session with expiry limit of 24 hour and when user enter the url with the protection code. using the get method match the protection code with the session . if match fail redirect it to parking page .
same goes for the link with without protection code . even you can display message "your url link has been expired you had to register again "

asimshahiddIT 0 Newbie Poster

<?php
$0
$new_date=date("Y-m-d",strtotime($old_date));
?>
please the format to any format