![]() |
|
#1
|
|||
|
|||
session errorThis is the code I have got. And I included the syntax error that keeps coming up. I have no idea's.
PHP Code:
Parse error: syntax error, unexpected T_VARIABLE in /home/ogl10b7/public_html/EricsCarRepairs/includes/header.html on line 8 any solutions why Ian Last edited by LuciWiz : 15-Apr-2008 at 12:29.
Reason: Please insert your Php code between [php] & [/php] tags
|
|||
|
#2
|
||||
|
||||
Re: session errorhint: what's missing on the previous line?
__________________
Use the force...read the source!! WYCIWYG -- what you code is what you get! |
|
#3
|
|||
|
|||
Re: session errorhi sorted out now thanx. I am now trying to get this connected to the database but am getting this error now. Any ideas and solutions...
this is the code PHP Code:
this is what I am getting. User Registration An error occurred in script '/home/ogl10b7/public_html/EricsCarRepairs/register.php' on line 20: preg_match() [function.preg-match]: No ending delimiter '^' found Date/Time: 4-15-200817:01:47 Array ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [HTTP_ENV_VARS] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [_POST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [HTTP_POST_VARS] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [HTTP_COOKIE_VARS] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [_SERVER] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [live] => [email] => InsertRealAddressHere [page_title] => Register [_SESSION] => Array ( [sid] => sid ) [dbc] => Resource id #5 ) Please enter your first name! An error occurred in script '/home/ogl10b7/public_html/EricsCarRepairs/register.php' on line 28: preg_match() [function.preg-match]: No ending delimiter '^' found Date/Time: 4-15-200817:01:47 Array ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [HTTP_ENV_VARS] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [_POST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [HTTP_POST_VARS] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [HTTP_COOKIE_VARS] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [_SERVER] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [live] => [email] => InsertRealAddressHere [page_title] => Register [_SESSION] => Array ( [sid] => sid ) [dbc] => Resource id #5 [fn] => ) Please enter your last name! An error occurred in script '/home/ogl10b7/public_html/EricsCarRepairs/register.php' on line 36: Undefined variable: POST Date/Time: 4-15-200817:01:47 Array ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [HTTP_ENV_VARS] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [_POST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [HTTP_POST_VARS] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [HTTP_COOKIE_VARS] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [_SERVER] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [live] => [email] => InsertRealAddressHere [page_title] => Register [_SESSION] => Array ( [sid] => sid ) [dbc] => Resource id #5 [fn] => [ln] => ) An error occurred in script '/home/ogl10b7/public_html/EricsCarRepairs/register.php' on line 36: preg_match() [function.preg-match]: No ending delimiter '^' found Date/Time: 4-15-200817:01:47 Array ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [HTTP_ENV_VARS] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [_POST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [HTTP_POST_VARS] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [HTTP_COOKIE_VARS] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [_SERVER] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [live] => [email] => InsertRealAddressHere [page_title] => Register [_SESSION] => Array ( [sid] => sid ) [dbc] => Resource id #5 [fn] => [ln] => ) Please enter a valid email address! An error occurred in script '/home/ogl10b7/public_html/EricsCarRepairs/register.php' on line 44: preg_match() [function.preg-match]: No ending delimiter '^' found Date/Time: 4-15-200817:01:47 Array ( [GLOBALS] => Array *RECURSION* [_ENV] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [HTTP_ENV_VARS] => Array ( [PATH] => /usr/local/bin:/usr/bin:/bin [PWD] => / [LANG] => C [SHLVL] => 1 [_] => /usr/sbin/apache2 ) [_POST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [HTTP_POST_VARS] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE ) [_GET] => Array ( ) [HTTP_GET_VARS] => Array ( ) [_COOKIE] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [HTTP_COOKIE_VARS] => Array ( [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [_SERVER] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [HTTP_SERVER_VARS] => Array ( [HTTP_ACCEPT] => image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-ms-application, application/vnd.ms-xpsdocument, application/xaml+xml, application/x-ms-xbap, application/x-shockwave-flash, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */* [HTTP_REFERER] => http://loki.computing.boston.ac.uk/~ogl10b7/EricsCarRepairs/register.php [HTTP_ACCEPT_LANGUAGE] => en-gb [CONTENT_TYPE] => application/x-www-form-urlencoded [HTTP_UA_CPU] => x86 [HTTP_ACCEPT_ENCODING] => gzip, deflate [HTTP_USER_AGENT] => Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.0.04506; InfoPath.2) [HTTP_HOST] => loki.computing.boston.ac.uk [CONTENT_LENGTH] => 135 [HTTP_CONNECTION] => Keep-Alive [HTTP_CACHE_CONTROL] => no-cache [HTTP_COOKIE] => PHPSESSID=72b02f15f1f796b3e667476791390954 [PATH] => /usr/local/bin:/usr/bin:/bin [SERVER_SIGNATURE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 Server at loki.computing.boston.ac.uk Port 80 [SERVER_SOFTWARE] => Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 mod_jk/1.2.18 PHP/5.2.0-8+etch10 mod_ssl/2.2.3 OpenSSL/0.9.8c mod_perl/2.0.2 Perl/v5.8.8 [SERVER_NAME] => loki.computing.boston.ac.uk [SERVER_ADDR] => 217.40.221.251 [SERVER_PORT] => 80 [REMOTE_ADDR] => 86.162.15.192 [DOCUMENT_ROOT] => /var/www/ [SERVER_ADMIN] => webmaster@localhost [SCRIPT_FILENAME] => /home/ogl10b7/public_html/EricsCarRepairs/register.php [REMOTE_PORT] => 53330 [GATEWAY_INTERFACE] => CGI/1.1 [SERVER_PROTOCOL] => HTTP/1.1 [REQUEST_METHOD] => POST [QUERY_STRING] => [REQUEST_URI] => /~ogl10b7/EricsCarRepairs/register.php [SCRIPT_NAME] => /~ogl10b7/EricsCarRepairs/register.php [PHP_SELF] => /~ogl10b7/EricsCarRepairs/register.php [REQUEST_TIME] => 1208275307 [argv] => Array ( ) [argc] => 0 ) [_FILES] => Array ( ) [HTTP_POST_FILES] => Array ( ) [_REQUEST] => Array ( [first_name] => Ian [last_name] => Oglesby [email] => ian.oglesby1@btinternet.com [password1] => hannah10 [password2] => hannah10 [submit] => Register [submitted] => TRUE [PHPSESSID] => 72b02f15f1f796b3e667476791390954 ) [live] => [email] => InsertRealAddressHere [page_title] => Register [_SESSION] => Array ( [sid] => sid ) [dbc] => Resource id #5 [fn] => [ln] => [e] => ) Please enter a valid password! Please try again. Register First Name: Last Name: Email: Password: Use only letters and numbers. Must be between 4 and 20 characters long Confirm Password: Home Register Login Forgot password some other page and again |
|
#4
|
|||
|
|||
Re: session errorhi sorted out now thanx. I am now trying to get this connected to the database but am getting this error now. Any ideas and solutions...
this is the code PHP Code:
this is what I am getting. Code:
Please enter a valid password! Please try again. Register First Name: Last Name: Email: Password: Use only letters and numbers. Must be between 4 and 20 characters long Confirm Password: Home Register Login Forgot password some other page and again |
|
#5
|
|
|