Re: [PHP-WIN] Header files for the Windows packages

2010-10-14 Thread Pierre Joye
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

Re: [PHP-WIN] Header files for the Windows packages

2010-10-14 Thread Zouzou
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

Re: [PHP-WIN] Header files for the Windows packages

2010-10-14 Thread Pierre Joye
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

[PHP-WIN] Header files for the Windows packages

2010-10-14 Thread Zouzou
Hi, I am using PHP on Windows (IIS), and currently creating a PHP extension via SWIG . In order to do that, i need the header files that were used when my PHP package got produced. I've looked all over the PHP site but i can only find binary or source downloads, not heade

RE: [PHP-WIN] header()

2006-10-04 Thread Luis Moreira
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: &

Re: [PHP-WIN] header()

2006-10-04 Thread Stut
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.

Re: [PHP-WIN] header()

2006-10-04 Thread Alf Stockton
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

Re: [PHP-WIN] header()

2006-10-03 Thread Niel Archer
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

[PHP-WIN] header()

2006-10-03 Thread Alf Stockton
I have upgraded my Windows XP server with Apache 2.0.54 and PHP 5.0.3 and now find that I cannot get the php code:- header("location: index.shtml"); to work. What I want to do is to switch to another shtml on successful completion of this script. Is this the correct method to use in Windows? -- R

[PHP-WIN] Header Location pointing to a file

2005-02-15 Thread Ron.Herhuth
I am writing a script that does a database check and then based on several conditions I need to give the user a PDF file to view in the browser. Normally I would use the header("Location: the_file.pdf") command but this doesn't work...most likely because it doesn't try to resolve the MIME type

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Svensson, B.A.T. (HKG)
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

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Sudeep Sarath
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.

RE: [PHP-WIN] header-session problem

2004-02-17 Thread Svensson, B.A.T. (HKG)
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

Re: [PHP-WIN] header-session problem

2004-02-16 Thread Sudeep Sarath
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

RE: [PHP-WIN] header-session problem

2004-02-16 Thread Svensson, B.A.T. (HKG)
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-WIN] header-session problem

2004-02-16 Thread Sudeep Sarath
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. I have three pages. i.e page1.php, page2.php, page3.php. Page1.php Page2.php http://www.

Re: [PHP-WIN] header functions and ... ?

2002-12-23 Thread Dash McElroy
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

Re: [PHP-WIN] header functions and ... ?

2002-12-23 Thread Nicola Delbono
>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

RE: [PHP-WIN] header functions and ... ?

2002-12-23 Thread Sjon
neral ??) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, December 23, 2002 18:58 pm To: [EMAIL PROTECTED] Subject: [PHP-WIN] header functions and ... ? Hey there, I posted a message a day ago about possible redirect functions. Now i was told to check out the h

[PHP-WIN] header functions and ... ?

2002-12-23 Thread thomash
Hey there, I posted a message a day ago about possible redirect functions. Now i was told to check out the header functions. The problem is still the same (just need to explain better): i cannot use header because the headers are already sent. i want to use it as a part of a logon script which, i

[PHP-WIN] header("location:...") through proxy?

2002-09-26 Thread Ignatius Reilly
Hello, I need to use header("location:some_url") from a cron job (to do some maintenance work on remote files) my problem is that there is a proxy between me and some_url, so the GET request fails Anybody knows how to do this? Thanks Ignatius

[PHP-WIN] Header() problem

2002-06-18 Thread David Redmond
Has anyone encountered a problem whereby using the Header("Location: blah") function to redirect the client to another page, sometimes it comes up with this; -- snip -- CGI Error The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return ar

Re: [PHP-WIN] header and footer in php

2002-06-14 Thread Scott
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:/

[PHP-WIN] header and footer in php

2002-06-14 Thread Alvin Tan
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://fifaworldcup.yahoo.com -- PHP Windows Mailing List (http:/

[PHP-WIN] Header problem

2002-01-14 Thread Petr Rezek
Here is my question. I wrote a script, which gets parameters from db about document (location on disc, hashed filename and original filename). Then script open this file a send it to user. I use this headers Header("Content-Type: application/download\n"); Header("Content-Disposition: attachment;

Re: [PHP-WIN] header() problem

2001-12-29 Thread Ray
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

Re: [PHP-WIN] header() problem

2001-12-29 Thread Christoph Grottolo
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]...

Re: [PHP-WIN] header() problem

2001-12-28 Thread LaserJetter
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

RE: [PHP-WIN] header() problem

2001-12-28 Thread Woolsey, Fred
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

Re: [PHP-WIN] header() problem

2001-12-28 Thread John Meyer
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

Re: [PHP-WIN] header() problem

2001-12-28 Thread Jukka Pakkanen
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

Re: [PHP-WIN] header() problem

2001-12-28 Thread Mike Flynn
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?

Re: [PHP-WIN] header() problem

2001-12-28 Thread Jukka Pakkanen
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

Re: [PHP-WIN] header() problem

2001-12-28 Thread Mike Flynn
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??

[PHP-WIN] header() problem

2001-12-28 Thread Jukka Pakkanen
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 run in to this problem when trying to run som

RE: [PHP-WIN] Header() redirect

2001-12-03 Thread Christian Sandfeld
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

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Todd Williamsen
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

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Piotr Pluciennik
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

Re: [PHP-WIN] Header() redirect

2001-11-30 Thread Mike Flynn
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

[PHP-WIN] Header() redirect

2001-11-30 Thread Martin.Andrew
Is there another function that does the same job as Header() I'm creating a forum, and when a user sends a message I call a function that checks name, password etc, then updates the DB and then calls the Header function to redirect the page. This would be fine except I am also using session lib

[PHP-WIN] Header Expire, PHP, and browsers

2001-01-24 Thread Svemir Brkic
Hello! I have an experimental PHP page that is supposed to become a simple shopping cart. The session ID is embedded into the URLs, the orders are received through POSTed forms, and saved into a corresponding temporary file on the server. I am not using cookies nor PHP sessions. In the beginning

[PHP-WIN] Header variable not working??

2001-01-17 Thread OoCobra97
Hello, Im running windows 2000, IIS5, php4. Im trying to use: header("Status: 404 File not found") or die('Unable to connect to execute header command!'); to redirect to my errordocument, but its not doing anything...it goes to the "or die" command (which i set up to see if it works or not) an

Re: [PHP-WIN] Header function on IIS vs. Apache

2001-01-10 Thread Phil Driscoll
>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