More Admin script problems

Post Reply
User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

More Admin script problems

Post by Thunderstone »



My previous problem was that no matter what i entered as my path for the
admin script it would either come back as "Database does not exist"
(when i entered in things that probably would NOT have lead to the
database path) or "Bad Path" (when i entered in the actual database.)
Being a (very) amateur coder, I fooled around a bit and made a slight
alteration to the adminscript.... to debug, I merely added the returned
expression which gave the error...

<A NAME=cleanpath>
<!-- Checks for bogus characters in $path. Sets $err on error. -->
<$bad = "[^\alnum./_]" "[.][.]">
<rex $bad $path>
<IF $ret neq "">
Bad path "$path". Found "$ret" in path.<BR>
<$err = y>
</IF>
</A>

as you can see I added "Found "$ret" in path" to try and discover what
the problem was.

It ALWAYS returns "Found "\" in path"!! How can I indicate my path
without the \ character?

--
-----------------------------------------------------
Formatta Studio 97
the future of secure electronic forms.

Forms designer, filler and browser plug-in available.
Download now at: http://www.formatta.com/
-----------------------------------------------------




User avatar
Thunderstone
Site Admin
Posts: 2504
Joined: Wed Jun 07, 2000 6:20 pm

More Admin script problems

Post by Thunderstone »



..

Use forward / instead of back \ .


Post Reply