RE: [PHP] header & headers_sent BUG

2003-07-23 Thread Ford, Mike [LSS]
> -Original Message- > From: Jay Blanchard [mailto:[EMAIL PROTECTED] > Sent: 23 July 2003 12:31 > Also, do those spaces exist in your code? If so you may want > to change; > > if( ! headers_sent()) > > to > > if(!headers_sent()) There's nowt wrong there -- both of those are function

RE: [PHP] header & headers_sent BUG

2003-07-23 Thread Jay Blanchard
[snip] Hello all: I am having a hard time with a small piece of code. I was wondering if someone may be able to explain why the following code will not work... I have been scratching my head for a few hours now and I am stumped. http://someplace.com";); if( ! headers_sent()) header("Locat

RE: [PHP] header & headers_sent BUG

2003-07-23 Thread Ford, Mike [LSS]
> -Original Message- > From: James M. Luedke [mailto:[EMAIL PROTECTED] > Sent: 22 July 2003 07:07 > I am having a hard time with a small piece of code. I was > wondering > if someone may be able to explain why the following code will > not work... I > have been scratching my head for

Re: [PHP] header() issues....

2003-06-23 Thread CPT John W. Holmes
> Does anyone know if there are issues with using the header() function inside > frames? Is there extra stuff that needs to be added to it to get it to work > correctly? No... each frame is it's own HTTP request. PHP operates server side so it has no idea of "frames". It simply processes the code

Re: [PHP] header(); Issue

2003-06-19 Thread Chris Shiflett
--- SpyProductions Support Team <[EMAIL PROTECTED]> wrote: > > I have this in a script: > > header("Location: $Relative/outstanding.php?pdd=1&pddid=$poid"); A good way to make sure you are sending the header you think you are is to use echo instead of header() for a quick debugging run. For exam

Re: [PHP] header() and mozilla - HELP!

2003-06-14 Thread Neil Freeman
Ensure that you have a die; after the Header() line. Neil deno vichas wrote: *** This Message Was Virus Checked With : SAVI 3.70 June 2003 Last Updated/Checked 12th June 2003 ***

Re: [PHP] header() and mozilla - HELP!

2003-06-13 Thread Gerard Samuel
Im assuming you are running mozilla 1.3.x Its not a php issue but a mozilla bug, that I've experienced first hand http://bugzilla.mozilla.org/show_bug.cgi?id=202210 deno vichas wrote: i'm runnig into a random problem of having all the headers being displayed instead on the actual web page in mozi

Re: [PHP] header function problem

2003-06-06 Thread Daniel J. Rychlik
> To: <[EMAIL PROTECTED]> Sent: Thursday, June 05, 2003 1:01 AM Subject: Re: [PHP] header function problem > On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote: > > Well, it works if I use the full path instead of relative So obviously > > its an apache permissions

Re: [PHP] header function problem

2003-06-05 Thread Jason Wong
On Thursday 05 June 2003 07:01, Daniel J. Rychlik wrote: > Well, it works if I use the full path instead of relative So obviously > its an apache permissions issue. It has nothing to do with apache. The specs require that the location is absolute. -- Jason Wong -> Gremlins Associates -> ww

Re: [PHP] header function problem

2003-06-05 Thread Daniel J. Rychlik
Well, it works if I use the full path instead of relative So obviously its an apache permissions issue. - Original Message - From: "Daniel J. Rychlik" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 04, 2003 5:36 PM Subject: [PHP] header function problem I am u

Re: [PHP] header function

2003-03-10 Thread Barry Gould
ch 10, 2003 4:26 PM Subject: Re: [PHP] header function > I'm starting to think this is a BUG. > > Can anyone else test this and confirm or contradict? > > Thanks, > Barry > > At 03:35 PM 3/7/2003, you wrote: > >I am having a hard time with the header("L

Re: [PHP] header function

2003-03-10 Thread CPT John W. Holmes
Use INCLUDE(), not virtual(). virtual() isn't supposed to be used with PHP files. ---John Holmes... - Original Message - From: "Barry Gould" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, March 10, 2003 4:26 PM Subject: Re: [PHP] header function &

Re: [PHP] header function

2003-03-10 Thread Barry Gould
I'm starting to think this is a BUG. Can anyone else test this and confirm or contradict? Thanks, Barry At 03:35 PM 3/7/2003, you wrote: I am having a hard time with the header("Location:") function inside an include file with PHP 4.3.1 (Linux, running as a module w/ Apache 1.3.27). At the VERY

Re: [PHP] header function

2003-03-10 Thread Barry Gould
I have session auto start on. Plus, like I said, it works fine if it's at the top of the page, not in the include file. Thanks, Barry At 05:19 PM 3/7/2003, Jim Lucas wrote: if you put this at the very to of the page, I am guessing then that you haven't ran session_start() ?? if you are trying t

Re: [PHP] header function

2003-03-07 Thread Jim Lucas
if you put this at the very to of the page, I am guessing then that you haven't ran session_start() ?? if you are trying to access a value stored in a session variable, you need to initialize the session first, then access the variable. Jim - Original Message - From: "Barry Gould" <[EMAI

Re: [PHP] header and writing problem

2003-02-26 Thread Chris Shiflett
--- George Pitcher <[EMAIL PROTECTED]> wrote: > Writing to a file id not permitted before creating the header for the > redirect. > > can anyone suggest a workaround. Have you tried it? I'm not sure who told you this, but they are wrong. Chris -- PHP General Mailing List (http://www.php.net/)

RE: [PHP] header and writing problem

2003-02-26 Thread George Pitcher
Ernest, That worked a treat, many thanks. George > -Original Message- > From: Ernest E Vogelsinger [mailto:[EMAIL PROTECTED] > Sent: 26 February 2003 9:16 am > To: George Pitcher > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] header and writing problem > > >

RE: [PHP] header and writing problem

2003-02-26 Thread Niklas Lampén
I think this can be done with mySQL (if you're using it) log-files. Niklas -Original Message- From: George Pitcher [mailto:[EMAIL PROTECTED] Sent: 26. helmikuuta 2003 11:02 To: [EMAIL PROTECTED] Subject: [PHP] header and writing problem Hi all, Back on the list after a long break. I

Re: [PHP] header and writing problem

2003-02-26 Thread Ernest E Vogelsinger
At 10:02 26.02.2003, George Pitcher said: [snip] >Hi all, > >Back on the list after a long break. > >I want to be able to write all my sql queries (well at least the ones that >change or create records) to a log file. > >However some of the pages that contain

Re: [PHP] $header = "Location:........" being ignored!

2003-01-21 Thread Chris Shiflett
--- Shams <[EMAIL PROTECTED]> wrote: > if ( $_POST['passwd'] != $db['password'] > {header("Location: loginfailed.html"); > } You never add the closing parenthesis to your if statement. Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.ph

Re: [PHP] $header = "Location:........" being ignored!

2003-01-21 Thread Neil Freeman
Looks like you're missing a closing bracket on the IF statement as well. Neil Shams wrote: ** This Message Was Virus Checked With : SAVI 3.61 September 2002 Last Updated 17th January 2003 ***

Re: [PHP] $header = "Location:........" being ignored!

2003-01-21 Thread Tom Rogers
Hi, Tuesday, January 21, 2003, 7:48:04 PM, you wrote: S> Hi Group, S> I basically have some simple code such as: S> == S> if ( $_POST['passwd'] != $db['password'] S> {header("Location: loginfailed.html"); S> } S> //else S> $header = "Locatio

Re: [PHP] $header = "Location:........" being ignored!

2003-01-21 Thread Stain
try with exit() after header(). bye, stain. Il 10:48, martedì 21 gennaio 2003, Shams ha scritto: > Hi Group, > > I basically have some simple code such as: > > == > > if ( $_POST['passwd'] != $db['password'] > {header("Location: loginfailed.htm

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Chris Shiflett
--- Justin French <[EMAIL PROTECTED]> wrote: > PLEASE don't post in HTML/Rich Text > > sheeesh! > > Justin Agreed. Also, please quit asking the same question. I answered this one already, and I think someone else did as well. If you are still having trouble after reading our answers, at least le

Re: [PHP] Header Error message i think!!

2003-01-20 Thread Justin French
PLEASE don't post in HTML/Rich Text sheeesh! Justin on 20/01/03 2:18 PM, Karl James ([EMAIL PROTECTED]) wrote: > http://www.ultimatefootballleague.com/Create_Account.phps > > > > Warning: Cannot add header information - headers already sent by (output > started at /home/virtual/site12/fst/v

RE: [PHP] Header sent polem

2003-01-17 Thread Matt Schroebel
> -Original Message- > From: Cesar Aracena [mailto:[EMAIL PROTECTED]] > Sent: Friday, January 17, 2003 12:56 PM > Subject: [PHP] Header sent polem > > > Hi all, > > Following Chris's idea on how to handle visitors sessions, > I'm trying to > setup a cookie with a randomly generated ses

Re: [PHP] Header information ...

2003-01-10 Thread Marek Kilimajer
Should look like this: Anders Mellström wrote: Hello. I can't get this code to work. The error message I get is that the header could be added, cause it has allready been sent. What shalll I do to get it to work? //Anders exit; } else { //print("Byt w

RE: [PHP] Header information ...

2003-01-10 Thread Daniel Kushner
Hi Anders, You can't send a header to the browser once output has been sent. The header() function should be before any other output on your script. Further more, because the script isn't terminated after the header() function, and you usually do not want to continue running it, an exit() should d

Re: [PHP] header gives different results with post

2002-12-09 Thread Ellen Cyran
The actual code echoes a buffer of comma separated values. I just shorten it since it doesn't work for post even with these few headers and the word test echoed. At 11:28 AM 12/9/2002 -0800, Evan Nemerson wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you trying to attach an additiona

Re: [PHP] header gives different results with post

2002-12-09 Thread Evan Nemerson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Are you trying to attach an additional results.csv, or are you trying to name the output (ie "test")??? If you're trying to name the output, changing Content-Disposition: attachment;filename="results.csv" to Content-Disposition: inline;filename="re

RE: [PHP] header() and target page

2002-12-02 Thread phpnew_bocket
--- "John W. Holmes" <[EMAIL PROTECTED]> wrote: > > I am just full of them this weekend. Is it > possible to direct a header > > like a html link (i.e. target="_top") ? I have a > page that is in a > frame, > > and I want the new page that is called to break > the frame and load in > the > > entire

RE: [PHP] header() and target page

2002-12-01 Thread John W. Holmes
> I am just full of them this weekend. Is it possible to direct a header > like a html link (i.e. target="_top") ? I have a page that is in a frame, > and I want the new page that is called to break the frame and load in the > entire frame. Nope. Use JavaScript. ---John Holmes... -- PHP Gener

Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
Yes, I have an exit() immediately following header... Could these statements in any way affect the session? Or session update? "Jason Wong" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > On Wednesday 20 November 2002 06:36, Baumann Reto wrote: > > Hi all > > >

Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
This does work... No problem at all... The BIG problem is that it has to have something to do with the environment, as the error is not always there. Only if a certain combination of POST/GET request and or browsers as well as session operations occur. Bur figuring out a certain logic is nearly i

Re: [PHP] Header Location not working

2002-11-20 Thread Baumann Reto
It's mainly MSIE 5.0 for MacOS or MSIE 5.5 for Win9x "Bigdog" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > What browsers are having the problems? > > On Tue, 2002-11-19 at 15:36, Baumann Reto wrote: > > Hi all > > > > Does somebody know if there is a potentia

Re: [PHP] Header Location not working

2002-11-19 Thread Jason Wong
On Wednesday 20 November 2002 06:36, Baumann Reto wrote: > Hi all > > Does somebody know if there is a potential problem with > Header("Location: "); > not working properly? > > I have a redirection, but it seems that on some browser, this doesn't work. > Instead of the redirection, the sam

Re: [PHP] Header Location not working

2002-11-19 Thread Chris Shiflett
--- Baumann Reto <[EMAIL PROTECTED]> wrote: > Does somebody know if there is a potential problem with > Header("Location: "); > not working properly? Try this code: http://www.google.com/";); ?> If this does not work, let us know. Chris -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Header Location not working

2002-11-19 Thread Ernest E Vogelsinger
At 23:36 19.11.2002, Baumann Reto said: [snip] >Hi all > >Does somebody know if there is a potential problem with >Header("Location: "); >not working properly? > >I have a redirection, but it seems that on some browser, this doesn't work. >Instead of

Re: [PHP] Header Location not working

2002-11-19 Thread Leif K-Brooks
Are you using an exact path or a relative url (such as somepage.php)? It should be absolute (such as http://someserver/somepage.php). Baumann Reto wrote: Hi all Does somebody know if there is a potential problem with Header("Location: "); not working properly? I have a redirection, but

Re: [PHP] Header Location not working

2002-11-19 Thread BigDog
What browsers are having the problems? On Tue, 2002-11-19 at 15:36, Baumann Reto wrote: > Hi all > > Does somebody know if there is a potential problem with > Header("Location: "); > not working properly? > > I have a redirection, but it seems that on some browser, this doesn't work. > I

Re: [PHP] header function

2002-11-09 Thread Ernest E Vogelsinger
At 20:47 09.11.2002, Donahue Ben said: [snip] >I am using the header function what i have is this: > >header("Location: >http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/".$relative_url > >$relative_url is a php file > >when i run this script wi

Re: [PHP] header function

2002-11-09 Thread Stephen
The file loading may be too long for PHP to recognize it or whatever. Try shortening it in some way. - Original Message - From: "Donahue Ben" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, November 09, 2002 2:47 PM Subject: [PHP] header function > I am using the header func

Re: [PHP] header() and POST

2002-09-18 Thread Chris Shiflett
Here is an example of how to manually perform an HTTP POST with PHP. If you execute this code, you should see the search results of searching the PHP manual for the term "curl" (using language en_US). Curl is another option for people who need to do this sort of thing. Happy hacking. Chris h

Re: [PHP] header() and POST

2002-09-18 Thread Chris Shiflett
The short answer is no (based on my interpretation of your question). Consider carefully where you are wanting to send data and when. The header() function is specifically for manipulating HTTP headers in the response you will send the Web client. You are probably not wanting to post data to t

Re: [PHP] header question

2002-09-11 Thread Chris Shiflett
You should always use a full URL in a Location header. Though browsers may handle improper uses of this header, it is still a bad practice. Happy hacking. Chris Krzysztof Dziekiewicz wrote: >>On Wed, 11 Sep 2002, Meltem Demirkus wrote: >> >> >>>I want to know if there is any way to send d

Re: [PHP] header() problem!!!!

2002-09-11 Thread Henrik Hudson
I have not had any problems on IE 6 with this. The code I am using on numerous scripts looks like this: header("Content-Disposition: attachment; filename=$filename"); header("Content-Type: application/octet-stream"); fpassthru($filehandle); fclose($filehandle); Maybe the the combination of usin

Re: [PHP] header question

2002-09-11 Thread Krzysztof Dziekiewicz
> On Wed, 11 Sep 2002, Meltem Demirkus wrote: >> I want to know if there is any way to send data in >> header("Location:login.php") .I know how to send like this > href=\"login.php?id=$ID\"> but I need to use header and I dont know howto >> do this?... > header( "Location: login.php?id=${

Re: [PHP] header question

2002-09-11 Thread Chris Wesley
On Wed, 11 Sep 2002, Meltem Demirkus wrote: > I want to know if there is any way to send data in > header("Location:login.php") .I know how to send like thishref=\"login.php?id=$ID\"> but I need to use header and I dont know howto > do this?... header( "Location: login.php?id=${ID}" );

Re: [PHP] header() problem!!!!

2002-09-11 Thread Jim lucas
This is not a bug. This is just one of many differances between the big browser war. With Netscape (not sure which versions), the attachment thing I found is required. But with IE it kills the browser. - Original Message - From: "xdrag" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMA

RE: [PHP] Header and Target

2002-08-15 Thread Adam Williams
gt; > > SCROLLING="Auto" FRAMEBORDER="0" NORESIZE> > > > Make sense? > > -Brian > * > > > -Original Message- > > From: Christian Ista [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, August 15, 2002

RE: [PHP] Header and Target

2002-08-15 Thread Brian V Bonini
, 2002 7:32 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] Header and Target > > > > > That's a HTML thing. I think you're confusing header() with > > I > > believe. > > No no > > I explaine, I do that : > > > >

Re: [PHP] Header and Target

2002-08-15 Thread Justin French
Which frame calls the header()? When you're in a frameset, each page is an individual HTML file (or PHP file). If you call a header() in top or left, it will redirect the fram you call... it can't possibly call the content frame. PHP happens on the server, Frames happen on the browser. The onl

Re: [PHP] Header and Target

2002-08-15 Thread Christian Ista
> That's a HTML thing. I think you're confusing header() with I > believe. No no I explaine, I do that : I'd like to display all my pages in the frame "content". Some times, from the menu for example, I do a that it's ok but sometimes, I call a php page

Re: [PHP] Header and Target

2002-08-15 Thread Justin French
A target name? That's a HTML thing. I think you're confusing header() with I believe. I think it's something like: But I gave up on frames YEARS ago, so I could be wrong :) Justin French on 15/08/02 7:40 PM, Christian Ista ([EMAIL PROTECTED]) wrote: > Hello, > > I have some frame on

Re: [PHP] Header utilisation problem

2002-08-14 Thread Peter Hicks
Hi Christian I suspect act_create_new_compte.php is sending headers. Once HTTP headers have been sent, and HTML has started to be sent, you can send no more headers. Try using another method of causing the browser to reload - maybe a META tag? (urgh). Peter. On Wed, 14 Aug 2002, Christian I

Re: [PHP] header()

2002-07-09 Thread Danny Shepherd
header() simply sends response headers - I.e adds/replaces server headers - it has no effect on request headers sent by the client. If, for some reason, you want to alter the user-agent you've received from the client (for testing maybe?) you can do this: echo $_SERVER['HTTP_USER_AGENT']; $_SERV

RE: [PHP] header("Location with & in URL

2002-06-24 Thread Lazor, Ed
Have you tried this? header("Location: $retURL"); ? > -Original Message- > > $retUrl = htmlspecialchars ($retUrl); > > if ($retUrl != "") { > header("Location: " . $retUrl); > > Any ideas? This messa

Re: [PHP] header() and explorer

2002-06-22 Thread Chris Shiflett
The only problem I know of with IE and using the header() function is when you use the header function like this: header("Location: http://www.php.net/";); IE will correctly realize that it needs to make a second request (GET, no matter what type of request the original was), but it fails to

Re: [PHP] header("Location with & in URL

2002-06-21 Thread Tom Beidler
Nope, doesn't work. Maybe it's something with the server/PHP setup? > From: Richard Baskett <[EMAIL PROTECTED]> > Date: Fri, 21 Jun 2002 16:35:11 -0700 > To: Tom Beidler <[EMAIL PROTECTED]>, PHP General > <[EMAIL PROTECTED]> > Subject: Re: [PHP] hea

Re: [PHP] header("Location with & in URL

2002-06-21 Thread Chris Shiflett
Tom, Include the $returl variable within the quotes, like this: header("Location: $returl"); If that doesn't work, add these two lines just before the header() function: echo "[$returl]"; exit; Maybe that will uncover something. Chris Tom Beidler wrote: >I'm trying to use header("Location

Re: [PHP] header("Location with & in URL

2002-06-21 Thread Richard Baskett
I do this all the time and I just use this syntax: header("Location: http://www.blah.com/phones.php?phn_indvId=1&phn_indvType=client";); exit; And it works for me... Rick "The greater danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it.

Re: [PHP] header("Location with & in URL

2002-06-21 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Tom Beidler declared > I'm trying to use header("Location to redirect to a URL that has variables > in it, ie. > > http://www.blah.com/phones.php?phn_indvId=1&phn_indvType=client > > When it redirects I get the url minus everything a

RE: [PHP] Header URL question

2002-06-14 Thread Jay Blanchard
oops, never mind, I think I see the problem...a missing "btn=" -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED]] Sent: Friday, June 14, 2002 12:59 PM To: [EMAIL PROTECTED] Subject: [PHP] Header URL question I wanted to return to a specific page in a small web app I am wr

Re: [PHP] header-sending misbehaving

2002-05-18 Thread Jason Wong
On Sunday 19 May 2002 00:54, erich wrote: > what is meant by output buffering? what PHP function(s) can > support output buffer? The standard behaviour of PHP is to output stuff to the browser as soon as it's ready (more or less). By using the "Output Control Functions" (see ma

Re: [PHP] header-sending misbehaving

2002-05-18 Thread erich
jason wong what is meant by output buffering? what PHP function(s) can support output buffer? thanks erich -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] header() -- function failed to due caching.

2002-05-15 Thread Patrick Lynch
Hi Scott, If you are using IE, make sure that the browser checks for updates every visit to the page. (Tools->Internet Options->Settings). I am not sure that this setting observes Cache-Control, etc... Are you setting the Cache-Control header to Private and the expires header to a suitable time?

Re: [PHP] header failing...

2002-05-15 Thread Jason Wong
On Thursday 16 May 2002 03:31, Joshua E Minnie wrote: > Can anybody tell me why a call to header would fail. What I mean by this > is that it doesn't redirect at all. Here is a snippet of the code that I > am using: > > ... > if(session_is_registered("user")) { > header("Location: http://www.

Re: [PHP] header failing...

2002-05-15 Thread Miguel Cruz
On Wed, 15 May 2002, Joshua E Minnie wrote: > Can anybody tell me why a call to header would fail. What I mean by this is > that it doesn't redirect at all. Here is a snippet of the code that I am > using: > > ... > if(session_is_registered("user")) { > header("Location: http://www.somwhere.

Re: [PHP] header-sending misbehaving

2002-05-13 Thread 1LT John W. Holmes
> On Monday 13 May 2002 23:47, erich wrote: > > suppose i want to login to a privileged area sending header info to > > browser, however, i get header warning as follows when i go to a db system > > named eskuel: > > Warning: Cannot add header information - headers already sent by (output > > star

Re: [PHP] header-sending misbehaving

2002-05-13 Thread Jason Wong
On Monday 13 May 2002 23:47, erich wrote: > suppose i want to login to a privileged area sending header info to > browser, however, i get header warning as follows when i go to a db system > named eskuel: > Warning: Cannot add header information - headers already sent by (output > started at g:\ww

RE: [PHP] header problems

2002-05-12 Thread Jason Murray
> Can anyone tell me if there is any reason why this would not > be working? > > mysql_connect($DBhost,$DBuser,$DBpass) or die(header("Location: > error.php")); Why bother calling die() at all there? J -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.

Re: [PHP] header problem

2002-05-10 Thread Analysis & Solutions
John: On Fri, May 10, 2002 at 11:45:33AM -0400, 1LT John W. Holmes wrote: > Read the manual page on mail(), also. Even if you switch the two like Dan > said, your headers are not in the appropriate format. Oh, you are sooo right! I mistakenly thought he was setting the $toaddress when he was a

Re: [PHP] header problem

2002-05-10 Thread 1LT John W. Holmes
AIL PROTECTED]> Sent: Friday, May 10, 2002 11:16 AM Subject: Re: [PHP] header problem > On Fri, May 10, 2002 at 06:35:00PM -0700, [EMAIL PROTECTED] wrote: > > > mail($toaddress, $subject, $fromaddress, $bid_information); > > You have inverted the order of the body and additio

Re: [PHP] header problem

2002-05-10 Thread Analysis & Solutions
On Fri, May 10, 2002 at 06:35:00PM -0700, [EMAIL PROTECTED] wrote: > mail($toaddress, $subject, $fromaddress, $bid_information); You have inverted the order of the body and additional_headers arguments. Do this: mail($toaddress, $subject, $bid_information, $fromaddress); Enjoy, --Dan -

Re: [PHP] Header Information for Formatting?

2002-05-02 Thread Jason Wong
On Thursday 02 May 2002 21:05, Jay Blanchard wrote: > G' morning! > > Can someone tell me where to find the various options for the Header > function as it relates to M$ Excel? Yesterday, thanks to this list, we > found a way to open a worksheet in the browser and display data retrieved > from a d

Re: [PHP] Header variables

2002-04-24 Thread Erik Price
On Wednesday, April 24, 2002, at 10:05 AM, David Russell wrote: > Each time I look at code from websites/etc, I notice a different set of > headers that get sent to the browser. Amongst others, there are: > > location : > content-type : > content-disposition : attachment > > Is there anywher

Re: [PHP] header redirection

2002-04-22 Thread Norman Zhang
Hi, My codes are as follows, login.php // This is my default header that I want to include on every page. Support Center SupportCenter     upload   download Logout  // End of my default header that I want t

Re: [PHP] header redirection

2002-04-19 Thread Jason Wong
On Saturday 20 April 2002 05:07, Norman Zhang wrote: > Hi, > > I use header(location: ...) for redirection to another page. But I also > want to include , and tags in the other page. Is there > a way to this? Because php complains that the header already been sent. Show us your code. -- Jason

Re: [PHP] header redirection

2002-04-19 Thread Kevin Stone
Headers will be created whenever information is outuputted to the browser. In this case when you include the .html file into your php script the browser is going to create all the headers it will ever know for that page. Obviously this does you no good if you want to add headers later. Ways aroun

Re: [PHP] header location redirect to frameset target

2002-04-02 Thread Adam Voigt
I think what your looking for is "_new", but I'm not sure if you can do it in what I guess your saying is a meta refresh, I know you can as "target="_new"" in a href. Adam Voigt [EMAIL PROTECTED] On Tue, 02 Apr 2002 10:42:19 -0800, Tom Beidler <[EMAIL PROTECTED]> wrote: > Can you specify a frame

Re: [PHP] header() question

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 03:47 PM, martinahingis wrote: > I think the question is not the top of the page, the top frame of the > window. Isn't it? Oh yeah, you're right. I was thinking along the lines of what that other guy suggested -- that all pages revert to _top by default (which n

Re: [PHP] header() question

2002-04-01 Thread martinahingis
I think the question is not the top of the page, the top frame of the window. Isn't it? If so you should use Javascript instead of PHP. top.window.location.href=http://yoursite.com/yourpage.php; --- martina. "Erik Price" <[EMAIL PROTECTE

Re: [PHP] header() question

2002-04-01 Thread Erik Price
On Monday, April 1, 2002, at 01:49 PM, Patrick Hartnett wrote: > So any use of header("Location=...") automatically does what amounts to > a target="_top"? If so, then ignore this entire post, cuz that answers > the question. If not, does anyone know how to force a target="_top" > when usi

Re: [PHP] header() question

2002-04-01 Thread Patrick Hartnett
gt;From: "George Nicolae" <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [PHP] header() question >Date: Mon, 1 Apr 2002 21:11:00 +0300 > >The _top option send you to the top of a page. When you open a new location >you go on top by default.Maybe you ask abo

Re: [PHP] header() question

2002-04-01 Thread George Nicolae
The _top option send you to the top of a page. When you open a new location you go on top by default.Maybe you ask about _blank? I don't have the answer for this last question. -- Best regards, George Nicolae IT Manager ___ PaginiWeb.com - Professional Web Design www.PaginiWeb.

RE: [PHP] header and session?

2002-03-26 Thread Johnson, Kirk
7;b'); header("location: 2.php"); 2.php - session_start(); echo "a is $a"; echo "b is $b"; > -Original Message- > From: bob [mailto:[EMAIL PROTECTED]] > Sent: Monday, March 25, 2002 8:52 PM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] hea

Re: [PHP] header and session?

2002-03-25 Thread bob
On Mon, 25 Mar 2002 08:54:27 -0700, [EMAIL PROTECTED] (Johny? ?rk) wrote: >Do you have register_globals turned on or off in php.ini? What values are $a >and $b being set to? > >Kirk > >> -Original Message- >> From: bob [mailto:[EMAIL PROTECTED]] >> Sent: Sunday, March 24, 2002 4:21 PM >>

RE: [PHP] header and session?

2002-03-25 Thread Johnson, Kirk
Do you have register_globals turned on or off in php.ini? What values are $a and $b being set to? Kirk > -Original Message- > From: bob [mailto:[EMAIL PROTECTED]] > Sent: Sunday, March 24, 2002 4:21 PM > To: [EMAIL PROTECTED] > Subject: [PHP] header and session? > > > 1.php?

RE: [PHP] header("Location:") problem with Netscape

2002-03-14 Thread Matt Schroebel
It's not $PHP_SELF that's the issue here -- well it was probably blank because either register_globals is off or you were in a function and didn't global it. The real trouble is that. IE < v6.0 is forgiving and if the action="" is blank sends the request to the current page. So you feel comfy

Re: [PHP] header("Location:") problem with Netscape

2002-03-14 Thread Steven Walker
Jeff, I just had this problem! Using $PHP_SELF did not work with Netscape 4.7 for some reason. I was using it in form submissions and kept getting the error 'Method Not Allowed'. My fix was simple, I just hard coded the action url since. If you really need $PHP_SELF, I don't know what the fix

Re: [PHP] header generation problem

2002-03-03 Thread Jon Feldhammer
Greg Donald wrote: > On Sun, 3 Mar 2002, Jon Feldhammer wrote: > > >>I'm trying to create a single dynamic header for a wide range of web >>pages which I'll just include as I need it. There are a few things that >>change per web page in the header, but I've settled all the issues >>except a goo

Re: [PHP] header generation problem

2002-03-03 Thread Greg Donald
On Sun, 3 Mar 2002, Jon Feldhammer wrote: >I'm trying to create a single dynamic header for a wide range of web >pages which I'll just include as I need it. There are a few things that >change per web page in the header, but I've settled all the issues >except a good way of how to modify a singl

Re: [PHP] header problem

2002-02-26 Thread Michael P. Carel
" <[EMAIL PROTECTED]> Sent: Wednesday, February 27, 2002 12:32 AM Subject: Re: [PHP] header problem > question, is this on a process page or on a page that renders text? > > Jim Lucas > - Original Message - > From: "Michael P. Carel" <[EMAIL PROT

Re: [PHP] header problem

2002-02-26 Thread Jim Lucas [php]
question, is this on a process page or on a page that renders text? Jim Lucas - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: "george Pitcher" <[EMAIL PROTECTED]> Cc: "php" <[EMAIL PROTECTED]> Sent: Monday, Feb

Re: [PHP] header problem

2002-02-25 Thread Michael P. Carel
here. Regards, Mike - Original Message - From: "george Pitcher" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Sent: Friday, February 22, 2002 5:44 PM Subject: Re: [PHP] header problem > Michael, > > You cannot have any 'displayed

Re: [PHP] header problem

2002-02-22 Thread Rasmus Lerdorf
You can't redirect after sending output unless you use Javascript or some other weirdness. Redirections are done before any output. -Rasmus On Fri, 22 Feb 2002, Michael P. Carel wrote: > Hi , > > I have a problem in using the Header() function. I want to automatically > redirect the page into

RE: [PHP] header ("Location: URL");

2002-02-21 Thread Dave
No, because you would not be sending a portion of the header then... you would end up with a non-document in the primary window and the actual document in the new window which isn't possible. check the javascript command window.open, throw that into the body tag with an onload, and that should

Re: [PHP] header ("Location: URL");

2002-02-21 Thread Dennis Moore
Why not use javascript to launch a new window? /dkm - Original Message - From: "Ali" <[EMAIL PROTECTED]> To: "'Php-General (E-mail)'" <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 8:23 AM Subject: [PHP] header ("Location: URL"); > Hello, > > is there any possibility of redirecti

Re: [PHP] Header / image question

2002-02-08 Thread Jason Wong
On Friday 08 February 2002 16:26, phantom wrote: > I have this really cool script that grabs image data stored in a mysql > bin field and echo's the data into an image file. > > 01: /* QUERY DB AND LOAD IMAGE DATA */ > 02: /* must get values for ImgType and ThmData */ > 03: $Results = mysql_query(

Re: [PHP] header() and frameset

2002-02-01 Thread Richard Crawford
Clarification: this will only work if you put the script inside the page that the header() command points to. If you put the header() command in the same document with this script, then the header() command won't work, since you'll be sending output to the browser. Here's a thought. Use the hea

<    1   2   3   4   >