An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php' on line 16:
mysqli_connect(): (28000/1045): Access denied for user 'webdata5'@'localhost' (using password: YES)
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_connect(): (28000/1045): Access denied for user 'webdata5'@'localhost' (using password: YES)
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
[3] => 16
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
[line] => 16
[function] => mysqli_connect
[args] => Array
(
[0] => localhost
[1] => webdata5
[2] => hDY9eMZW$
[3] => webdata5_Ecom1
)

)

[2] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 15
[args] => Array
(
[0] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
)

[function] => require
)

)

An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php' on line 19:
mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_set_charset() expects parameter 1 to be mysqli, boolean given
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
[3] => 19
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

[dbc] =>
)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
[line] => 19
[function] => mysqli_set_charset
[args] => Array
(
[0] =>
[1] => utf8
)

)

[2] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 15
[args] => Array
(
[0] => /home4/webdata5/public_html/ShoppingCart/Ecom1/mysql.inc.php
)

[function] => require
)

)

E-Commerce : Shopping Cart MySQL && PayPal

E-Commerce : Shopping Cart

Using MySQL and PayPal



Dear Friends, I Welcome you to my Model of Shopping Cart !



The Design and Development of a Shopping Cart for E-Commerce requires updated knoweldge on Web Security. We as Web Developers, we're required to keep up to date on the Web security and Programming Information.

Most Popular Pages

An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/index.php' on line 39:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[3] => 39
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

[dbc] =>
[pages] => Array
(
[Home] => index.php
[About] => about.php
[Contact] => contactus.php
[Register] => register.php
)

[this_page] => index.php
[v] => register.php
[k] => Register
[q] => SELECT COUNT(History.historyID) AS num, Pages.pagID, Pages.title FROM Pages, History WHERE Pages.pagID=History.pagID AND History.type='page' GROUP BY (History.pagID) ORDER BY num DESC LIMIT 10
)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 39
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT COUNT(History.historyID) AS num, Pages.pagID, Pages.title FROM Pages, History WHERE Pages.pagID=History.pagID AND History.type='page' GROUP BY (History.pagID) ORDER BY num DESC LIMIT 10
)

)

)

An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/index.php' on line 41:
mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[3] => 41
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

[dbc] =>
[pages] => Array
(
[Home] => index.php
[About] => about.php
[Contact] => contactus.php
[Register] => register.php
)

[this_page] => index.php
[v] => register.php
[k] => Register
[q] => SELECT COUNT(History.historyID) AS num, Pages.pagID, Pages.title FROM Pages, History WHERE Pages.pagID=History.pagID AND History.type='page' GROUP BY (History.pagID) ORDER BY num DESC LIMIT 10
[r] =>
[n] => 1
)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 41
[function] => mysqli_fetch_array
[args] => Array
(
[0] =>
[1] => 2
)

)

)

Highest Rated Pages

An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/index.php' on line 58:
mysqli_query() expects parameter 1 to be mysqli, boolean given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_query() expects parameter 1 to be mysqli, boolean given
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[3] => 58
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

[dbc] =>
[pages] => Array
(
[Home] => index.php
[About] => about.php
[Contact] => contactus.php
[Register] => register.php
)

[this_page] => index.php
[v] => register.php
[k] => Register
[q] => SELECT ROUND(AVG(rating),1) AS average, Pages.pagID, Pages.title FROM Pages, PageRatings WHERE Pages.pagID= PageRatings.pagID GROUP BY (PageRatings.pagID) ORDER BY average DESC LIMIT 10
[r] =>
[n] => 1
[row] =>
)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 58
[function] => mysqli_query
[args] => Array
(
[0] =>
[1] => SELECT ROUND(AVG(rating),1) AS average, Pages.pagID, Pages.title FROM Pages, PageRatings WHERE Pages.pagID= PageRatings.pagID GROUP BY (PageRatings.pagID) ORDER BY average DESC LIMIT 10
)

)

)

An error occurred in script '/home4/webdata5/public_html/ShoppingCart/Ecom1/index.php' on line 60:
mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given
Array
(
[0] => Array
(
[function] => my_error_handler
[args] => Array
(
[0] => 2
[1] => mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given
[2] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[3] => 60
[4] => Array
(
[_GET] => Array
(
)

[_POST] => Array
(
)

[_COOKIE] => Array
(
)

[_FILES] => Array
(
)

[_SERVER] => Array
(
[DOCUMENT_ROOT] => /home4/webdata5/public_html
[GATEWAY_INTERFACE] => CGI/1.1
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
[HTTP_ACCEPT_ENCODING] => x-gzip, gzip, deflate
[HTTP_CONNECTION] => close
[HTTP_HOST] => wdbds.com
[HTTP_USER_AGENT] => CCBot/2.0 (http://commoncrawl.org/faq/)
[HTTP_X_HTTP_PROTO] => HTTP/1.0
[HTTP_X_REAL_IP] => 54.163.209.109
[MAGICK_THREAD_LIMIT] => 1
[PATH] => /bin:/usr/bin
[QUERY_STRING] =>
[REDIRECT_STATUS] => 200
[REMOTE_ADDR] => 54.163.209.109
[REMOTE_PORT] => 46291
[REQUEST_METHOD] => GET
[REQUEST_URI] => /ShoppingCart/Ecom1/
[SCRIPT_FILENAME] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[SCRIPT_NAME] => /ShoppingCart/Ecom1/index.php
[SERVER_ADDR] => 173.254.28.79
[SERVER_ADMIN] => webmaster@wdbds.com
[SERVER_NAME] => wdbds.com
[SERVER_PORT] => 80
[SERVER_PROTOCOL] => HTTP/1.1
[SERVER_SIGNATURE] =>
Apache Server at wdbds.com Port 80


[SERVER_SOFTWARE] => Apache
[UNIQUE_ID] => WjNMpa3@HE8ACJssnsYAAADP
[PHP_SELF] => /ShoppingCart/Ecom1/index.php
[REQUEST_TIME_FLOAT] => 1513311397.2453
[REQUEST_TIME] => 1513311397
)

[_REQUEST] => Array
(
)

[_ENV] => Array
(
)

[GLOBALS] => Array
*RECURSION*
[live] =>
[contact_email] => ben.nsabimana@ihudaf.org
[_SESSION] => Array
(
)

[dbc] =>
[pages] => Array
(
[Home] => index.php
[About] => about.php
[Contact] => contactus.php
[Register] => register.php
)

[this_page] => index.php
[v] => register.php
[k] => Register
[q] => SELECT ROUND(AVG(rating),1) AS average, Pages.pagID, Pages.title FROM Pages, PageRatings WHERE Pages.pagID= PageRatings.pagID GROUP BY (PageRatings.pagID) ORDER BY average DESC LIMIT 10
[r] =>
[n] => 1
[row] =>
)

)

)

[1] => Array
(
[file] => /home4/webdata5/public_html/ShoppingCart/Ecom1/index.php
[line] => 60
[function] => mysqli_fetch_array
[args] => Array
(
[0] =>
[1] => 2
)

)

)

Lorem Ipsum

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent consectetur volutpat nunc, eget vulputate quam tristique sit amet. Donec suscipit mollis erat in egestas. Morbi id risus quam. Sed vitae erat eu tortor tempus consequat. Morbi quam massa, viverra sed ullamcorper sit amet, ultrices ullamcorper eros. Mauris ultricies rhoncus leo, ac vehicula sem condimentum vel. Morbi varius rutrum laoreet. Maecenas vitae turpis turpis. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Fusce leo turpis, faucibus et consequat eget, adipiscing ut turpis. Donec lacinia sodales nulla nec pellentesque. Fusce fringilla dictum purus in imperdiet. Vivamus at nulla diam, sagittis rutrum diam. Integer porta imperdiet euismod.