forked from storm95/nishiAgarwal.in
-
Notifications
You must be signed in to change notification settings - Fork 0
/
defineVariables.php
70 lines (61 loc) · 1.75 KB
/
defineVariables.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<?php
//php files
$aboutUsPhp = "aboutUs.php";
$defineVariablesPhp = "defineVariables.php";
$footerPhp = "footer.php";
$headerPhp = "header.php";
$indexPhp = "index.php";
$modalPhp = "modal.php";
$onePhotoBlogPhp = "onePhotoBlog.php";
$photoGallaryPhp = "photoGallary.php";
$dbConnectPhp = "dbConnect.php";
$uploadPhotoPhp = "uploadPhoto.php";
$queryFunctionsPhp = "queryFunctions.php";
$phpFunctionsPhp = "phpFunctions.php";
$loginSignupPhp = "loginSignup.php";
$forgotChangePwdPhp = "forgotChangePwd.php";
//Directories
$photoDir = "photos";
//Get Variables
$getMsg = "msg";
$getPhotoId = NULL;
$getDbChangeType = NULL;
$getMsgVal = NULL;
//Form Variables
$dbChangeType = "dbChangeType";
$dbChangeTypeAdd = "Add";
$dbChangeTypeDelete = "Delete";
$photoFile = "photoFile";
$sendPwdVerifyCode = "sendPwdVerifyCode";
//Database
$host= 'localhost'; //'182.50.133.85';
$user= 'nishi';
$password= 'nishi113';
$dbName = 'nishiAgarwalDb';
//photoTable
$photoTableName = 'photoTable';
$colName = "name";
$colDescription = "description";
$colSize = "size";
$colRank = "rank";
$colPhotoFileName = "photoFileName";
//userTable
$userTableName = "userTable";
$colEmailId = "emailId";
$colPassword = "password";
$colLoginSignup = "loginSignup";
$colFullName = "fullName";
$colVerified = "verified";
$colVerifyCode = "verificationCode";
//forgotChangePwdTable
$forgotChangePwdTable = "forgotChangePwdTable";
$colPwdVerifyCode = "pwdVerifyCode";
//Site Urls
$siteUrlPrefix= 'localhost/NishiAgarwal/';//'http://nishiagarwal.in/';
$indexPageUrl = $siteUrlPrefix.$indexPhp;
$loginSignupUrl = $siteUrlPrefix.$loginSignupPhp;
$forgotChangePwdUrl = $siteUrlPrefix.$forgotChangePwdPhp;
//Variables
$noOfPhotosInRow = 3;
$showMsgModal = false;
?>