hi,
On Thu, Oct 14, 2010 at 8:51 PM, Zouzou wrote:
>>
>> devel files like what is available on linux won't happen in a near future.
>
> May i know the reasons why, or a pointer to a discussion that explains it? I
> haven't been able to find it.
> I am also wondering why a library file is being d
hi,
To build PHP or extensions on Windows, see
http://wiki.php.net/internals/windows/stepbystepbuild
Hi,
I am well aware of that wiki page since it is what i followed to build PHP
in order to get my own header files. However, it doesn't explain how one is
supposed to build a dynamic library
hi,
To build PHP or extensions on Windows, see
http://wiki.php.net/internals/windows/stepbystepbuild
devel files like what is available on linux won't happen in a near future.
Cheers,
On Thu, Oct 14, 2010 at 7:50 PM, Zouzou wrote:
> Hi,
>
> I am using PHP on Windows (IIS), and currently creati
hat, and that is clear on the docs.
Remove the echo and force a new call to the same URL.
Luis
-Original Message-
From: Alf Stockton [mailto:[EMAIL PROTECTED]
Sent: quarta-feira, 4 de Outubro de 2006 13:44
To: php-windows@lists.php.net
Subject: Re: [PHP-WIN] header()
Niel Archer wrote:
&
Alf Stockton wrote:
I have copied the code almost verbatim out of the manual and it still
does not work.
/* Redirect to a different page in the current directory that was
requested */
$host = $_SERVER['HTTP_HOST'];
$uri = rtrim(dirname($_SERVER['PHP_SELF']), '/\\');
$extra = 'index.
Niel Archer wrote:
> Hi Alf
>
>
>> Is this the correct method to use in Windows?
>>
>
> No, it's not the correct method on ANY platform. Before asking a
> question on these lists, it's wise to check the documentation first.
>
>
>> Note: HTTP/1.1 requires an absolute URI as argument to L
Hi Alf
> Is this the correct method to use in Windows?
No, it's not the correct method on ANY platform. Before asking a
question on these lists, it's wise to check the documentation first.
> Note: HTTP/1.1 requires an absolute URI as argument to Location: including
> the scheme, hostname and a
I gave three example solution, didn't I?
But I can make up some more if you want, but then I need to bill you.
On Tue, 2004-02-17 at 11:43, Sudeep Sarath wrote:
> So, in your opinion there is no solution to this problem other than
> switching over to Apache
>
> SuDeEp
>
> Yahoo! India Insuranc
So, in your opinion there is no solution to this problem other than switching over to
Apache
SuDeEp
Yahoo! India Insurance Special: Be informed on the best policies, services, tools and
more.
Well, I think the call was clear:
Don't run php as a CGI app, or use Apache, or don't page forward.
-Original Message-
From: Sudeep Sarath
To: [EMAIL PROTECTED]
Sent: 17-2-2004 6:11
Subject: Re: [PHP-WIN] header-session problem
No solution yet for my session-head
No solution yet for my session-header problem
SuDeEp
Sudeep Sarath <[EMAIL PROTECTED]> wrote:
Dear php-freaks,
My o/s is Windows 98 SE. I am using PWS as my web server and i use recent version of
php (i guess php 4.3.4). I recently started working on PHP and came across this
problem
Try with a session_start() in page 3. Does that help?
-Original Message-
From: Sudeep Sarath
To: [EMAIL PROTECTED]
Sent: 2004-02-16 10:18
Subject: [PHP-WIN] header-session problem
Page3.php
So i want page3.php to display what i typed in the text field of
page1.php.
But page3.php
You could just redo your scripts to not spit out any text until you issue
the header("Location: URL") command. One questions why a script would spit
out text if it will be redirecting the user to another page...
-Dash
A chubby man with a white beard and a red suit will approach you soon.
Avoid hi
>i cannot use header because the headers are already sent.
You can use content buffering
look at
ob_start()
with that, you can print or echo whatever you want
and, at the middle or end of the script
you can send any header you like because
in fact you have not send any data to the browser
If you want to do a redirect after sending headers (why after?),
you can use the meta refresh tag, or javascript.
And if you want to carry along the userinfo, either pass them
along with the query string, or use sessions...
Sjon.
(BTW: isn't this more a message for php-general ??)
-Original
On Fri, 14 Jun 2002, Alvin Tan wrote:
> how do i insert/add header and footer html/php? i mean
> inserting a different file (i.e. header.html).
>
> Alvin Tan
>
> __
> Do You Yahoo!?
> Yahoo! - Official partner of 2002 FIFA World Cup
> http:/
I use PHP 4.06, Using Apache, and running under windows.
This code is tested and works using IE;
header ("Location: http://localhost/test/secure_1.php";);
exit;
Like the other message(s) said, you must NOT output anything before you send
a header. If you do however, you will get a ru
Make sure there is no sign before you start the file with 'http://www.php.net/manual/en/function.header.php for this (very common)
error.
Christoph
"Jukka Pakkanen" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
000b01c18fbc$71813000$[EMAIL PROTECTED]">news:000b01c18fbc$71813000$[EMAIL PROTECTED]...
try getting rid of the extra line between wrote in message
000b01c18fbc$71813000$[EMAIL PROTECTED]">news:000b01c18fbc$71813000$[EMAIL PROTECTED]...
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
ge.
Cheers,
Fred Woolsey
-Original Message-
From: Jukka Pakkanen
To: Mike Flynn
Cc: [EMAIL PROTECTED]
Sent: 12/28/2001 11:26 AM
Subject: Re: [PHP-WIN] header() problem
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYP
What type of server are you running the program on? And is it properly
configured.
- Original Message -
From: "Jukka Pakkanen" <[EMAIL PROTECTED]>
To: "Mike Flynn" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001 8:44 AM
S
The test.php file only has:
http://www.qnet.fi\r\n\n";);
exit();
?>
Result is a blank page, source code:
[!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"]
[HTML][HEAD]
[META http-equiv=Content-Type content="text/html; charset=windows-1252"][/HEAD]
[BODY][/BODY][/HTML]
The webser
At 05:44 PM 12/28/2001 +0200, Jukka Pakkanen wrote:
>Thanks Mike, but still no luck. Nothing happens. No errors, no redirects,
>no nothing :(
Hmmm.. have you tried just making a blank page with this code? If so, what
shows up in the browser? A blank page? View the source, what does it show?
Thanks Mike, but still no luck. Nothing happens. No errors, no redirects, no nothing :(
- Original Message -
From: "Mike Flynn" <[EMAIL PROTECTED]>
To: "Jukka Pakkanen" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, December 28, 2001
At 02:46 PM 12/28/2001 +0200, you wrote:
>Running NT4sp6a and PHP4.1.0.
>
>I try to redirect the browser to a new location [http://www.qnet.fi";); ?>], but nothing happens in the browser. There are no
>extra spaces, CR's, LF's or anything, and output_buffers are on in the
>php.ini.
>
>Any ideas??
I too use sessions with header() redirects, with out the warnings. I too
would think that the problem is some spaces or line breaks before your mailto:[EMAIL PROTECTED]]
Sent: 30. november 2001 11:51
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Header() redirect
Is there another function that does
If you need another option to redirect use the meta refresh tag in HTML,
that is what I use. I set the time to 2 seconds or less
"Mike Flynn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Which session library files do you mean? Sessions should never create
Hi,
It can be caused by quite common mistake - any extra
space (or characters like LF or CR) before or after
in php file!
Such characters are automaticly sent to the browser -
and before it - all headers are sent - and we've got
described error.
I don't have this moment access to the online php
Which session library files do you mean? Sessions should never create the
headers -- there's no reason for them to do so. There's nothing in the
page itself that sessions need care about and nothing they can affect / be
affected by. Are you sure that the headers aren't coming from somewhere
>I am tweaking a PHP web app developed on Apache/Linux/PHP3 to work on
>IIS/Win2k/PHP4. I have encountered an unusual situation with the header()
>function in PHP. When a user submits a form, depending on the results they
>are redirected to a certain URL using the Header function (usually
somethin
30 matches
Mail list logo