|
>At which point is the Environment variable >Query_string null terminated. I have to >parse this string manually and the X'00' >is giving me headaches. >The current hack is just to: >C x'00':x'40' Xlate string string. > >Not very elegant and I'm afraid this will bite >me sometime in the future. The string is terminated at the end. The posted code will terminate it in the middle (possibly) a la "DICK & JANE, INC." All of the spaces will be transformed into x'00' - I doubt you want that. Use the length environment variable (CONTENT_LENGTH)? to determine the length and substring out the part you need. CGIDEV2 may be the aspirin you need for that headache... --buck
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.