Try lowercase 'http'. Anything in error log? Try turning on display_errors.
Cheers,
Tamas
-Original Message-
From: Jason Pruim [mailto:li...@pruimphotography.com]
Sent: Sunday, July 31, 2011 8:40 PM
To: php-general@lists.php.net
Subject: [PHP] Problem with header(Location: )...
Jason Pruim
li...@pruimphotography.com
On Jul 31, 2011, at 2:50 PM, Dajka Tamas wrote:
Try lowercase 'http'. Anything in error log? Try turning on display_errors.
Tried both, upper and lower case http nothing changed... And nothing in the
error log... I try a simple echo with a link and
On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote:
So I'm attempting to redirect back to the main site of a page after
a successful insert into a database... Here's my code:
?PHP
if (!$resp-is_valid) {
// What happens when the CAPTCHA was entered incorrectly
die (The reCAPTCHA wasn't
On Jul 31, 2011, at 6:23 PM, Tamara Temple wrote:
On Jul 31, 2011, at 1:40 PM, Jason Pruim wrote:
So I'm attempting to redirect back to the main site of a page after a
successful insert into a database... Here's my code:
?PHP
if (!$resp-is_valid) {
// What happens when the
I don't had the oportunity to test it yet, but today i will.
Today i will make two tests:
- Save the files without BOM.
- If i dont have success i will disable the output buffering.
Thanks to everybody for all support.
Regards,
Igor Escobar
systems analyst interface designer
www . igorescobar
BOM problems, a prepended
file in the Apache configuration which is broken/bugged/crap, or something
truly bad in the configuration.
Date: Tue, 31 Mar 2009 10:20:24 -0300
From: titiolin...@gmail.com
To: phps...@gmail.com
CC: php-general@lists.php.net
Subject: Re: [PHP] Problem with header
2009/3/30 Igor Escobar titiolin...@gmail.com:
Hi guys, probably everybody goes think: its the same problem ever HTML
before header() functions ... but it is not.
I has working on a project and this are a running in Windows (shame on
me).
Recently i migrate to *Ubuntu *and some problems
Output buffering turned off?
Bastien
Sent from my iPod
On Mar 30, 2009, at 15:03, Igor Escobar titiolin...@gmail.com wrote:
Hi guys, probably everybody goes think: its the same problem
ever HTML
before header() functions ... but it is not.
I has working on a project and this are a
Jay Blanchard wrote:
[snip]
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i count($errorsReported); $i++){
echo $errorsReported[$i];
}
unset($errorsReported);
[snip]
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i count($errorsReported); $i++){
echo $errorsReported[$i];
}
unset($errorsReported);
[snip]
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i count($errorsReported); $i++){
echo $errorsReported[$i];
}
unset($errorsReported);
[snip]
/* check for errors */
$arrCheckItems = array(
'Name',
'Dept',
'Level',
);
/* check for blanks */
foreach($_POST AS $key=$value){
if(in_array(niceName($key), $arrCheckItems)){
$errorsReported[] = notBlank($key, $value);
}
}
Even if
Jay Blanchard wrote:
[snip]
/* check for errors */
$arrCheckItems = array(
'Name',
'Dept',
'Level',
);
/* check for blanks */
foreach($_POST AS $key=$value){
if(in_array(niceName($key), $arrCheckItems)){
$errorsReported[] = notBlank($key, $value);
}
}
Even if the return from notBlank is
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, March 24, 2005 12:34 PM said:
I don't know if either of these two things will make a difference but
here they are anyway.
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
Why not
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i count($errorsReported);
$i++){
echo $errorsReported[$i];
}
[snip]
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i
count($errorsReported); $i++){
echo
$errorsReported[$i];
Jay Blanchard mailto:[EMAIL PROTECTED]
on Thursday, March 24, 2005 1:00 PM said:
I have tried ...
0 count($errorsReported)
0 !=
0 !==
isset($errorReported)
!empty
'' !=
'' !==
Have you tried explicitly setting $errorsReported to to see where it
goes?
$errorsReported = ;
Jay Blanchard wrote:
/* send the errors to the interface and exit*/
if('' !== $errorsReported){
for($i = 0; $i count($errorsReported); $i++){
echo $errorsReported[$i];
}
} else {
/* reload the empty interface
adwinwijaya wrote:
The error that I got just IE cannot download download.php from
mysite.com .. IE was not able to open this site and bla bla bla. No
hint in the error.
I think the problem that I faced is with SSL.
I try http://www.wazzup.co.nz/tutorials/protect_pdf/index.php
and it didnt work on
adwinwijaya wrote:
Hi all ...
I have script that looks like :
if(file_exists($filename)){
$len = filesize($filename);
//header(Content-type: attachment/pdf);
header('Content-Type: application/pdf');
//header(Content-Type: application/octet-stream);
On Mon, 20 Sep 2004 10:58:46 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote:
I suppose you are trying to force IE to download the pdf file, but it is
always displaying it - you did not tell what is your problem.
IE determines the type of file from the extension, if it is a known
extension
--- CBharadwaj [EMAIL PROTECTED] wrote:
In conection.php I have written.
SESSION_ START();
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
Do this instead:
session_start();
$_SESSION['userid'] = 'myuser';
Header(Location: home.php);
Use
the following error occuring in above line.
Warning: Cannot modify header information - headers already sent by
(output started at E:\PHPMySql scripts\bugtrack\connection.php:3)
in E:\PHPMySql scripts\bugtrack\index.php on line 117
Have you got any space before you output anything to the
On Thursday 12 August 2004 07:48 pm, CBharadwaj wrote:
Hello,
In conection.php I have written.
SESSION_ START();
^
Get rid of extra space and it should work
Hth,
Andre
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on
the connection file I have included in every page.
why this error is occuring?
check E:\PHPMySql scripts\bugtrack\connection.php for white space
before or after ?php ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
look the line 3 of connection.php
Good luck
On Wed, 8 Sep 2004 16:43:54 -0700, CBharadwaj
[EMAIL PROTECTED] wrote:
Hello,
In conection.php I have written.
SESSION_ START();
on successful login I am registering a session variable.
SESSION_REGISTER(userId);
on login failure I am
Warning: Cannot modify header information - headers already sent by
(output started at E:\PHPMySql scripts\bugtrack\connection.php:3)
in E:\PHPMySql scripts\bugtrack\index.php on line 117
the connection file I have included in every page.
why this error is occuring?
You are getting this
Hi,
Thursday, March 25, 2004, 9:17:31 AM, you wrote:
PM Hello to all - just joined this list to see if I can enhance
PM my pretty slim knowledge of PHP.
PM I have a little script I cobbled together than I modified to use as a guestbook
for a
PM client's site. I am trying to get the script to
--- Phil Matt [EMAIL PROTECTED] wrote:
header(Location:thanks.shtml);
Two errors here:
1. There is a space after the colon.
2. The URL must be an absolute URL.
But no matter where I place it in the PHP file, I get the error
message that says Headers already sent...
Read this message. It
Can you post some code?
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
Check us out on the web at http://www.phparch.com
On Tue, 2002-11-12 at 08:52, pig pig wrote:
Hi All,
I am having problem with
Could you post some code?
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +2711 444-7256
e-mail: [EMAIL PROTECTED]
web: www.BarloworldOptimus.com
-Original Message-
From: pig pig [mailto:pigpig8080;yahoo.com.sg]
Sent: 12 November 2002 03:52 PM
To:
31 matches
Mail list logo