Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
aaron.f #1
php / server problem
i'm using php to send form contents, then redirect the user to a page that
notifies them the info was sent. i used "header(location: url.com)" at the end
of the script to redirect, but i get an error from my server: "Warning: Cannot
modify header information - headers already sent by . . ."
should i be using another method? is there something i can configure to fix
it? thanks.
aaron.f Guest
-
I?ve got a problem writing files on the server side withFlash Media Server 2.0.2 and 2.0.3.
Hello, I?ve got a problem writing files on the server side with Flash Media Server 2.0.2 and 2.0.3. The same code was working fine with an older... -
Testing Server problem: Server name or address couldnot be resolved!
Not sure if this helps but I was going step by step in the Getting Started Experience Tutorial and when it got to the Database tab -- RDS Login... -
frontpage 2003 server extension problem with server 2003
I have frontpage 2003 on a server 2003 . I get the following message when I use sharepoint admin and I try to recalculate the web The server... -
Problem with Apache Web Server config file and PHP (please give advice on what problem may be me)
HI: Can anyone refer me to someone that can help with the problem below. I installed Apache Web Server on my laptop which has Windows XP. I... -
Problem: Copy data from server 1 to server 2
Hi together ! I have a problem: I "just" wan't to copy some records from server 1 to server 2 (same table). But here are the problems: 1.... -
aaron.f #2
php / server problem
i'm using php to send form contents, then redirect the user to a page that
notifies them the info was sent. i used "header(location: url.com)" at the end
of the script to redirect, but i get an error from my server: "Warning: Cannot
modify header information - headers already sent by . . ."
should i be using another method? is there something i can configure to fix
it? thanks.
aaron.f Guest
-
Michael Fesser #3
Re: php / server problem
..oO(aaron.f)
Two things:>i'm using php to send form contents, then redirect the user to a page that
>notifies them the info was sent. i used "header(location: url.com)" at the end
>of the script to redirect, but i get an error from my server: "Warning: Cannot
>modify header information - headers already sent by . . ."
1) The URL given in a Location header must be absolute, including the
scheme (http) and hostname.
[url]http://www.php.net/header[/url]
2) You can't output anything before sending the Location header. Check
the error message for line numbers and check these. Even a single blank
or a line break outside of a <?php ...?> block counts as content and
will cause the error message you got.
Micha
Michael Fesser Guest
-
VVebbie #4
Re: php / server problem
You cannot use a header to redirect after content has been sent to the page.
Instead try a meta redirect, and also be sure to provide the user with a
"click to continue" type doohickey as a failsafe.
VVebbie Guest
-
Michael Fesser #5
Re: php / server problem
..oO(VVebbie)
Please don't.>You cannot use a header to redirect after content has been sent to the page.
>
> Instead try a meta redirect
Micha
Michael Fesser Guest



Reply With Quote

