www.uburst.com www.uburst.com

"resource name"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

General Questions
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"resource name"
Posted by Ed on Apr-24-02 at 07:55 PM (EST)
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

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: resource name, Bill Weiner, Apr-29-02, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: resource name"
Posted by Bill Weiner on Apr-29-02 at 05:30 AM (EST)
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.

Good luck!

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.