Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2004
    Posts
    2

    Question Unanswered: OAS 4.0, Orcale 8i HTML URL Problem with &

    We have an application with OAS 4.0
    in a PROCEDURE we have following code:

    <li><a href="'||ch_repsvr||'?inf&P_ADNR='||replace(ob_kun de.adressnummer, '+', '[]')||'&P_LJAR='||TO_CHAR(SYSDATE, 'YYYY')||'&P_RAY=&P_USR='||ob_client.name||'"><fon t size="2" face="arial,helvetica" color="#000000">[--Erstellung Kundeninformationsblatt--]</font></a>

    the problem is that in the browser I got the following URL when the ob.kunde.adressnummer = B&P100 is.

    http://venus.xy.com/repsvr?inf&P_ADNR=B&P100&P_LJAR='2004&P_RAY=&P_USR =SYSTEM

    instade of:
    http://venus.xy.com/repsvr?inf&P_ADNR=B&P100&P_LJAR='2004&P_RAY=&P_U SR=SYSTEM

    thanks
    Serge

  2. #2
    Join Date
    Dec 2003
    Location
    Oklahoma, USA
    Posts
    354
    Serge,

    Give this a try:

    PHP Code:
    ... '?inf&P_ADNR='||REPLACEreplace(ob_kunde.adressnummer'+''[]'), '&''%26') ... 
    You need to replace the '&' with the hex equivalent on the URL line.

    JoeB

  3. #3
    Join Date
    Sep 2004
    Posts
    2

    Smile

    many thanks its working.

    cheers
    Serge

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •