LAST EDITED ON Apr-25-02 AT 00:00 AM (EST)
Hello, I tried to add a name with & in the middle and it would show "Unknown Reource Unable to locate information for this resource" when you tried to schedule. For example A&W. Is there a way for me to make this possible. Thanks
Because the ampersand (&) is a special character when used in the URL, you really can't use an "&" in a Resource Name.
As a work-around... which I haven't tried myself... this may work:
STEP 1: Make a backup of your current ureserve.pl script.
STEP 2: Open your ureserve.pl script with any text editor such as WordPad.
STEP 3: Do a search on the following line:
$temp_string =~ s/ /_/g;
(There will be exactly TWO occurrances of this line in the script.)
STEP 4: Immediated AFTER BOTH of the occurrances, add the following line:
$temp_string =~ s/\&/\%26/g;
(So you will be adding the above line in TWO places in the script).
STEP 5: Save the script... as TEXT if your editor asks... and try it out.