Article View: borland.public.cppbuilder.internet.web
Article #1472Simple CGI-question: URL in generated HTML-page
From: yeti
Date: Thu, 20 Jan 2005 21:15
Date: Thu, 20 Jan 2005 21:15
18 lines
1493 bytes
1493 bytes
Hi, My CGI-program, created with C++, responds to a user input-form, creating a dynamically modified HTML-page, which is shown correctly in the webbrowser. This all works as expected. However, lately I tried to add to this HTML-page a (static) user-selectable URL, as a means to redirect to another location (e.g. www.borland.com); when used from the web-browser the redirection is incorrect; it seems to try to access an executable in the CGI-server- -directory instead. I did not manage to find the correct tag to use for this case. I tried some variations of "href='. Any advice whould be nice.
Technical Details
Message-ID:
<41efc7fa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: feeec,500b22708c9ef243,start X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Thu, 20 Jan 2005 16:15:57 -0500 From: yeti <jhtimmerman@planet.nl> User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; en-US; rv:1.7.3) Gecko/20040918 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Simple CGI-question: URL in generated HTML-page Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 80.60.234.114 Message-ID: <41efc7fa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1106233338 80.60.234.114 (20 Jan 2005 07:02:18 -0800) Lines: 18 Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail