X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=web%2Frequestid.php;fp=web%2Frequestid.php;h=0000000000000000000000000000000000000000;hp=3d293ddd074fb99d391b15762068709969cfe2e4;hb=61ab452496b1117f23f2c198d9b313c495939a26;hpb=6855b303efec30507ac046b5c02904538be0e4ea diff --git a/web/requestid.php b/web/requestid.php deleted file mode 100644 index 3d293ddd..00000000 --- a/web/requestid.php +++ /dev/null @@ -1,95 +0,0 @@ - 16) { - $errmsg = 'account id should have length between 4 and 16'; - } - else if(trim($accountid) != '') { - $handle = sqlite3_open($db) or die("Could not open database"); - $query = "SELECT * FROM users where username=\"$accountid\""; - $result = sqlite3_query($handle, $query) or die("Error in query: ".sqlite3_error($handle)); - - if (($row = sqlite3_fetch_array($result)) != '') { - $errmsg = 'Desired id already exist. Please enter different Desired id.'; - } - } - else if(trim($description) == '') { - $errmsg = 'Please enter your description'; - } - else if(strlen($description) < 20) { - $errmsg = 'Description should atleast be 20 characters'; - } -} - -if(trim($errmsg) != '' || !isset($_POST['submit'])) { -?> -

Request CCAN account

-
-
- - - - - - - - - - - - - - - - - - - -

Full name:

Email:


Desired ID:


Web Site[Optional]:


A short description of what you are planning to contribute:

-

-
-

- -
Thank you for registering with CCAN. You will get the password to your mail after approval.
-