473,378 Members | 1,389 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

response.redirect "bla.php"

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.
Jul 19 '05 #1
4 1697
"dalyjason" wrote:
: 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

Jul 19 '05 #2
http://www.aspfaq.com/5003

--

Ray at home
Microsoft ASP MVP
"dalyjason" <da********@yahoo.com> wrote in message
news:2e**************************@posting.google.c om...
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.

Jul 19 '05 #3
"Ray at <%=sLocation%> [MVP]" wrote:
: 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
Jul 19 '05 #4
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
"dalyjason" <da********@yahoo.com> escreveu na mensagem
news:2e**************************@posting.google.c om...
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.

Jul 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Vik Rubenfeld | last post by:
I'm a newbie to Apache. This week I installed my first Apache 2.0 server, and it's working fine. I then installed PHP. When I ran the PHP test file ("test.php"), the actual text contents of the...
6
by: Terence | last post by:
These comparrison articles are always fun :) http://otn.oracle.com/pub/articles/hull_asp.html
1
by: Danny Anderson | last post by:
Hola, PHP folk! I have a php page that contains a self-processing form. The form holds search results. The search terms originally came from the previous page, but the user can repeatedly...
10
by: FX | last post by:
I wanna publish a script on my site which allows me to hide image source. i have rough idea abt it. i`ll point src to some php page like: <img src="image.php"> & in tht php wat exactly shud be...
1
by: comp.lang.php | last post by:
require_once("/users/ppowell/web/php_global_vars.php"); if ($_GET) { // INITIALIZE VARS $fileID = @fopen("$userPath/xml/redirect.xml", 'r'); $stuff = @fread($fileID,...
3
by: Acrobatic | last post by:
Hello I've got a simple Perl script that works fine from the command line but not from PHP via the browser. It's a conversion program that converts an image to a different format, and writes the...
3
by: paviktherin | last post by:
Okay so I have this form that I have made in order to post comments on a website, the form works fine when I send it to guernica.php for example but it opens it in a new page, I don't know why. Then...
14
by: Vasu | last post by:
Hi ! Out there, anybody could help tell me what could be the reason that my php scripting is not giving output in IE6. Which I'm trying from my webserver itself, having IIS 5 on W2k Advanced...
5
bilibytes
by: bilibytes | last post by:
hi, i am making a website with php OOP. i have a class called session: it has the attribues -logged_in; -user_name; -user_ip; -user_level;
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.