Error: illegal character I need help

Error: illegal character I need help

am 27.07.2007 02:24:27 von Stephen

I am trying to get a sample code that I got from the internet to work on my
website. Every time that I check the error logs I get tis message:

Error: illegal character
Source File: http://192.168.0.102/wle_form.php?run=&
Line: 969, Column: 55
Source Code:
if(document.AuthChangesForm.elements[i].type == \"checkbox"\ &&
document.AuthChangesForm.elements[i].name == SwitchName )

Can anyone help me with this. I hope it is the only thing that is stopping
this program from running.

-Stephen-

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

RE: Error: illegal character I need help

am 27.07.2007 03:50:48 von Jeff White

------=_NextPart_000_000A_01C7CFCF.076AAD00
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

Hello Stephen,



At first glance, in your message I noticed that the second backslash (
\"checkbox"\ ) is after the double quote. The backslash should be before the
double quote for proper escaping in JavaScript. That could be your problem
possibly.



-----Original Message-----
From: Stephen [mailto:therealzerocool@gmail.com]
Sent: Thursday, July 26, 2007 8:24 PM
To: php-windows@lists.php.net
Subject: [PHP-WIN] Error: illegal character I need help



I am trying to get a sample code that I got from the internet to work on my

website. Every time that I check the error logs I get tis message:



Error: illegal character

Source File: http://192.168.0.102/wle_form.php?run=&

Line: 969, Column: 55

Source Code:

if(document.AuthChangesForm.elements[i].type == \"checkbox"\ &&

document.AuthChangesForm.elements[i].name == SwitchName )



Can anyone help me with this. I hope it is the only thing that is stopping

this program from running.



-Stephen-



--

PHP Windows Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php


------=_NextPart_000_000A_01C7CFCF.076AAD00--

Re: Error: illegal character I need help

am 27.07.2007 03:58:00 von Niel Archer

>
> At first glance, in your message I noticed that the second backslash (
> \"checkbox"\ ) is after the double quote. The backslash should be before the
> double quote for proper escaping in JavaScript. That could be your problem
> possibly.

Not a PHP question really. However, at a guess I would say *neither* of
the backslashes should be there, so it is a string literal, otherwise
I'd say it would be an invalid variable name. Hence the error.
--
Niel Archer

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Error: illegal character I need help

am 27.07.2007 04:31:54 von Stephen

if anyone want's to take a look at the whole code e-mail me and i'll send it
to you if you feel liek helping me. I feel like I have not set my PHP up
right or something.
""Stephen"" wrote in message
news:89.E3.58452.34B39A64@pb1.pair.com...
>I am trying to get a sample code that I got from the internet to work on my
>website. Every time that I check the error logs I get tis message:
>
> Error: illegal character
> Source File: http://192.168.0.102/wle_form.php?run=&
> Line: 969, Column: 55
> Source Code:
> if(document.AuthChangesForm.elements[i].type == \"checkbox"\ &&
> document.AuthChangesForm.elements[i].name == SwitchName )
>
> Can anyone help me with this. I hope it is the only thing that is stopping
> this program from running.
>
> -Stephen-

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Error: illegal character I need help

am 27.07.2007 21:14:12 von Stephen

Even after changing the code it still does not work correctly and I'm still
getting the same erroe. When I check the error logs for the Apache server I
get this.

[Thu Jul 26 19:56:57 2007] [error] [client 192.168.0.102] PHP Parse error:
syntax error, unexpected '[' in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle_form.php on line 1074, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: session_array_wle in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 74, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: install_directory in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 82, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant install_directory - assumed 'install_directory' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 82, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: session_array_wle in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 82, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant install_directory - assumed 'install_directory' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 86, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant root_dir - assumed 'root_dir' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 90,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined index: root_dir in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 90, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: DOCUMENT_ROOT in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 95, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant root_dir - assumed 'root_dir' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 110,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: login in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 134, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant authorized_user - assumed 'authorized_user' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 218, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined index: authorized_user in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 218, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant current_user - assumed 'current_user' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 219,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined index: current_user in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 219, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant config_file - assumed 'config_file' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 224,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant root_dir - assumed 'root_dir' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 225,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant backup_dir - assumed 'backup_dir' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 226,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant users_file - assumed 'users_file' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 227,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant access_file - assumed 'access_file' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 228,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant text_face - assumed 'text_face' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 230,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant text_size - assumed 'text_size' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 231,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant text_color - assumed 'text_color' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 232,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant current_user_color - assumed 'current_user_color' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 233, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant title_color - assumed 'title_color' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 234,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant results_color - assumed 'results_color' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 235,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant bg_color - assumed 'bg_color' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 236,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant alt_text_color1 - assumed 'alt_text_color1' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 237, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant alt_text_color2 - assumed 'alt_text_color2' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 238, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant main_title_size - assumed 'main_title_size' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 239, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant alt_bg_color - assumed 'alt_bg_color' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 240,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant title_bg_color - assumed 'title_bg_color' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 241, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant results_bg_color - assumed 'results_bg_color' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 242, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant special_text_color - assumed 'special_text_color' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 243, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant special_link_color - assumed 'special_link_color' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 244, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant nouusername - assumed 'nouusername' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3101,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: nouusername in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3101, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant noupass - assumed 'noupass' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3102,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: noupass in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3102, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant uusername - assumed 'uusername' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3106,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: uusername in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3106, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant upass - assumed 'upass' in C:\\Program Files\\Apache
Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3107, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: upass in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3107, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant urealname - assumed 'urealname' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3108,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: urealname in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3108, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant upriv - assumed 'upriv' in C:\\Program Files\\Apache
Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3109, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: upriv in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3109, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant max_level - assumed 'max_level' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3110,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: max_level in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3110, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant semaphor_file - assumed 'semaphor_file' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3111,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant ukeyword - assumed 'ukeyword' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3114,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: ukeyword in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3114, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant dkeyword - assumed 'dkeyword' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3118,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: dkeyword in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3118, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant appl_changes - assumed 'appl_changes' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3139,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: appl_changes in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3139, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant failed_dir_arr - assumed 'failed_dir_arr' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 3140, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: failed_dir_arr in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3140, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant secure_dir - assumed 'secure_dir' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3141,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant password_file - assumed 'password_file' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3142,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant hide_wle_installation_directory - assumed
'hide_wle_installation_directory' in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3143, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant install_directory - assumed 'install_directory' in
C:\\Program Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on
line 3144, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice: Use
of undefined constant company_logo - assumed 'company_logo' in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle.php on line 3145,
referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: run in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3162, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Notice:
Undefined variable: out_param in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle.php on line 3162, referer:
http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Warning:
Unexpected character in input: '\\' (ASCII=92) state=1 in C:\\Program
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\wle_form.php on line
1074, referer: http://192.168.0.102/wle.html
[Thu Jul 26 19:57:15 2007] [error] [client 192.168.0.102] PHP Parse error:
syntax error, unexpected '[' in C:\\Program Files\\Apache Software
Foundation\\Apache2.2\\htdocs\\wle_form.php on line 1074, referer:
http://192.168.0.102/wle.html

so it appears that I have mutiple errors in the script, I would like someone
to check this out for me. If someone is willing to work on the script then
please let me know. I would work on it myself, but I have limited knowledge
on PHP and as I say this is sample code from a guy who shut his business
down beacuse he stopped and was giving the code away. It was orriginally
made in PHP 4 so this could be why it is not working, beacuse I am running
PHP 5.


""Jeff White"" wrote in message
news:000901c7cff0$8e7c4d00$0500a8c0@maniac...
> Hello Stephen,
>
>
>
> At first glance, in your message I noticed that the second backslash (
> \"checkbox"\ ) is after the double quote. The backslash should be before
> the
> double quote for proper escaping in JavaScript. That could be your problem
> possibly.
>
>
>
> -----Original Message-----
> From: Stephen [mailto:therealzerocool@gmail.com]
> Sent: Thursday, July 26, 2007 8:24 PM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] Error: illegal character I need help
>
>
>
> I am trying to get a sample code that I got from the internet to work on
> my
>
> website. Every time that I check the error logs I get tis message:
>
>
>
> Error: illegal character
>
> Source File: http://192.168.0.102/wle_form.php?run=&
>
> Line: 969, Column: 55
>
> Source Code:
>
> if(document.AuthChangesForm.elements[i].type == \"checkbox"\ &&
>
> document.AuthChangesForm.elements[i].name == SwitchName )
>
>
>
> Can anyone help me with this. I hope it is the only thing that is stopping
>
> this program from running.
>
>
>
> -Stephen-
>
>
>
> --
>
> PHP Windows Mailing List (http://www.php.net/)
>
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php