|
Holy Crap that mouse trailer scared me for a second! -----Original Message----- From: Mark A. Manske [mailto:mmanske@minter-weisman.com] Sent: Friday, May 25, 2001 11:21 AM To: 'WEB400 (E-mail) Subject: %20 and %40 on user name passing in cgi for names with a space - why or what am I doing wrong I have Brad's book, and have been doing much, on our as/400 at http://ca.minter-weisman.com with a colon 8531 from the outside (this has been done because our router guy has not been able to get the forwarding to specific ports to work on the firewall/router) "works" only valid user id is markm and test, I have been testing with a usered of "amy denzen" , could sign on ok, but then next pages with the name passed errors out, the page is built for the cgi parm "ok" but in debugging the programs I found the environment record for the usrid had the %40 to replace the space; then also the page being displayed would then show the address but replacing the space in the name with a %20; My question is this - is this normal, or did I do something wrong on my get environment variables?? I mostly copied what Brad had done, however I did sub procedure and use CALLP where appropriate, I have gotten around this by writing another sub procedure that I have been testing in the other web instance on another port, and that does the trick for me by stripping out the %40 and making one space -(gotta love that %replace) so I do have a work around, but was it necessary? I am not sure about posting code, it is rather "interesting" and long, considering each "key" on the web page uses six sub procedures.... Is there anything obvious to look for, or is this "how it works" I was also wondering on the first "page", the only true html page(non-cgi generating page) how do I "position the cursor" on the first input field, most web sites I have visited do not, but the few I have run across, I do not "see" anything obvious as to how they did it - has been interesting being a old rpger doing html code.... TIA Mark A. Manske Minter-Weisman Co. Sr. Project Lead +--- | This is the WEB400 Mailing List! | To submit a new message, send your mail to WEB400@midrange.com. | To subscribe to this list send email to WEB400-SUB@midrange.com. | To unsubscribe from this list send email to WEB400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the WEB400 Mailing List! | To submit a new message, send your mail to WEB400@midrange.com. | To subscribe to this list send email to WEB400-SUB@midrange.com. | To unsubscribe from this list send email to WEB400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.