response.redirect "bla.php"

D

dalyjason

Okay, here's my question.

<%

dim idnum
idnum=request.querystring("id")
Response.Buffer = true

Response.Redirect "uploadpic.php?idw=" & idnum

%>

This is the only code contained on the page. When it is run, i get:

CGI ERROR
The specified CGI application misbehaved by not returning a complete
set of HTTP headers. The headers it did return are:

That's it! No redirection takes place...i've cornered the apparent
problem to the very last line...the response.redirect
line....what's the deal? any help is much appreciated.
 
R

Roland Hall

:
: Okay, here's my question.
:
: <%
:
: dim idnum
: idnum=request.querystring("id")
: Response.Buffer = true
:
: Response.Redirect "uploadpic.php?idw=" & idnum
:
: %>
:
: This is the only code contained on the page. When it is run, i get:
:
: CGI ERROR
: The specified CGI application misbehaved by not returning a complete
: set of HTTP headers. The headers it did return are:
:
: That's it! No redirection takes place...i've cornered the apparent
: problem to the very last line...the response.redirect
: line....what's the deal? any help is much appreciated.

You're calling a .php file from an .asp file on a web server that supports
ASP?
It sounds like this file has a .php extension since you get the CGI error.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
 
R

Roland Hall

:
: http://www.aspfaq.com/5003

Ray...

Please list where you saw the other post, when you respond with this link,
and it may be helpful to also state "Please do not multipost." The link
really is just an explanation to reinforce your response. It appears the
message is asp.general so perhaps the other post should have this response.
No criticism intended.

Thank you.

Roland
 
V

Vilmar Brazão de Oliveira

hi, to run php in iis or pws server you need to download some instalations
packages on www.php.net
see you,
--


««««««««»»»»»»»»»»»»»»
Vlmar Brazão de Oliveira
Desenvolvimento Web
HI-TEC
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,754
Messages
2,569,521
Members
44,995
Latest member
PinupduzSap

Latest Threads

Top