Md Ashickur Rahman Noor ashickur.n...@gmail.com wrote:
I want to use POST when redirect via PHP Header function. Is it
possible?
--
Dedicated Linux Forum in
Bangladeshhttp://forums.linuxdesh.com/member.php?action=registerreferrer=3%20
, 2011 at 12:34 PM, Ashley Sheridan
a...@ashleysheridan.co.ukwrote:
Md Ashickur Rahman Noor ashickur.n...@gmail.com wrote:
I want to use POST when redirect via PHP Header function. Is it
possible?
--
Dedicated Linux Forum in
Bangladesh
...@gmail.com]
Sent: Thursday, June 30, 2011 2:36 AM
To: Ashley Sheridan
Cc: php-general@lists.php.net
Subject: Re: [PHP] I want to use POST when redirect via PHP Header function.
For passing value to other page.
--
Dedicated Linux Forum
Rahman Noor [mailto:ashickur.n...@gmail.com]
Sent: Thursday, June 30, 2011 2:36 AM
To: Ashley Sheridan
Cc: php-general@lists.php.net
Subject: Re: [PHP] I want to use POST when redirect via PHP Header
function.
For passing value to other page
On Thursday, June 30, 2011, Md Ashickur Rahman Noor wrote:
I want to use POST when redirect via PHP Header function. Is it
possible?
AFAICT, it isn't. You can use GET variables by passing them on the
querystring. These can then be accessed via $_REQUEST, which is an
amalgamation of $_POST
On Thu, Jun 30, 2011 at 1:52 PM, Geoff Lane ge...@gjctech.co.uk wrote:
On Thursday, June 30, 2011, Md Ashickur Rahman Noor wrote:
I want to use POST when redirect via PHP Header function. Is it
possible?
AFAICT, it isn't. You can use GET variables by passing them on the
querystring
to use POST when redirect via PHP Header function. Is it
possible?
AFAICT, it isn't. You can use GET variables by passing them on the
querystring. These can then be accessed via $_REQUEST, which is an
amalgamation of $_POST, $_GET, and $_COOKIE. So if you have a script
that might take
Md Ashickur Rahman Noor ashickur.n...@gmail.com wrote:
On Thu, Jun 30, 2011 at 1:52 PM, Geoff Lane ge...@gjctech.co.uk
wrote:
On Thursday, June 30, 2011, Md Ashickur Rahman Noor wrote:
I want to use POST when redirect via PHP Header function. Is it
possible?
AFAICT, it isn't. You can
Just as bottom posting (I know, it's in da rules) makes it rather difficult
for humans to read thru a topic, scrolling thru ever-longer messages to get
to the 'new' content.
Let's solve it for all by only posting your own content and let the sum of
all the messages equate to the topic. :)
To: php-general@lists.php.net
From: jim.gi...@albanyhandball.com
Date: Thu, 30 Jun 2011 09:12:45 -0400
Subject: Re: [PHP] I want to use POST when redirect via PHP Header function.
Just as bottom posting (I know, it's in da rules) makes it rather difficult
for humans to read thru a topic
DON't get me started on the massacre of the English language on posting
sites all over the internet! It seems that people are so wrought up in
their problem-of-the-moment that they don't realize that they are
mis-spelling, mis-typing and mis-stating their problem(s) in their frantic
posts.
On Thursday, June 30, 2011, Jasper Mulder wrote:
Personally, I think that incorrect spelling is far more annoying
than the quoting; that is, if it does not originate from
incapability due to English (whether it be British or American)
being not the native language, as opposed to spelling
On Thu, 2011-06-30 at 15:20 +0100, Geoff Lane wrote:
On Thursday, June 30, 2011, Jasper Mulder wrote:
I think the moral is that one should never code when tired ;(
or coding while drunk... my favorite typo is $this == 'value'; or
$$this = 'value'; very hard to find sometimes...
As
I want to use POST when redirect via PHP Header function. Is it possible?
--
Dedicated Linux Forum in
Bangladeshhttp://forums.linuxdesh.com/member.php?action=registerreferrer=3%20
Follow Me Twiter https://twitter.com/#%21/AshickunNoor
Thank
-Original Message-
From: H Rao [mailto:hydsd...@gmail.com]
Sent: 28 June 2011 04:40
I am trying to understand odd(different) behavior of the header
function
under two different environments.
Here is the code which I am trying to execute from two different
servers
?
header
Hi,
I am trying to understand odd(different) behavior of the header function
under two different environments.
Here is the code which I am trying to execute from two different servers
?
header (Set-Cookie: c1=value1;path=/; domain=.domain.com);
header (Set-Cookie: c2=value2;path=/;
On 06/28/2011 09:10 AM, H Rao wrote:
Hi,
I am trying to understand odd(different) behavior of the header function
under two different environments.
Here is the code which I am trying to execute from two different servers
?
header (Set-Cookie: c1=value1;path=/; domain=.domain.com);
header
Ashley Sheridan wrote on 01/03/2010 07:13:
The HTTP header doesn't treat quoteation marks in the same way that PHP
does. It needs double quote marks to function correctly.
How do you mean? And do you have a link to this information?
Even if this is true, then the first Nick did should still
On Mon, 2010-03-01 at 12:14 +0100, Kim Madsen wrote:
Ashley Sheridan wrote on 01/03/2010 07:13:
The HTTP header doesn't treat quoteation marks in the same way that PHP
does. It needs double quote marks to function correctly.
How do you mean? And do you have a link to this information?
@lists.php.net
Subject: Re: [PHP] Header function
On 27 February 2010 04:32, Nick allan nal...@wdev.net wrote:
Hi all
Has anyone got any ideas why the following isn't giving me correct filename
in the ie save dialogue
header('Content-Type: application/msword');
header('Content-Disposition
On 27 February 2010 04:32, Nick allan nal...@wdev.net wrote:
Hi all
Has anyone got any ideas why the following isn't giving me correct filename
in the ie save dialogue
header('Content-Type: application/msword');
header('Content-Disposition: attachment; filename=PurchaseReq.doc');
I
');
header(Content-Disposition: attachment; filename=PurchaseReq.doc);
-Original Message-
From: Richard Quadling [mailto:rquadl...@googlemail.com]
Sent: Saturday, 27 February 2010 8:45 PM
To: Nick allan
Cc: php-general@lists.php.net
Subject: Re: [PHP] Header function
On 27 February 2010 04:32
On 26 February 2010 06:49, Nick allan nal...@wdev.net wrote:
Hi all
The situation is as follows
I've read some data in from a couple of files into a string variable, made
some changes to it and want to send the contents of the string out to the
browser as a word document.
My code
output the html you want to send afterwards first,
then either put a link to another script that outputs the word file,
or have an auto-launch ajax routine (i recommend jquery.com for ajax)
do it automatically.
On Fri, Feb 26, 2010 at 7:49 AM, Nick allan nal...@wdev.net wrote:
Hi all
The
Hi all
Has anyone got any ideas why the following isn't giving me correct filename
in the ie save dialogue
header('Content-Type: application/msword');
header('Content-Disposition: attachment; filename=PurchaseReq.doc');
I get the save dialogue, but with preq.doc instead of PurchaseReq.doc
Hi all
The situation is as follows
I've read some data in from a couple of files into a string variable, made
some changes to it and want to send the contents of the string out to the
browser as a word document.
My code currently looks like the following
header('Content-Type:
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another frame.
didn't
bruce wrote:
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another
bruce wrote:
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame.
No. Use Javascript.
--
John Holmes
php|architect - The magazine for PHP professionals - http://www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
hi...
can anyone point me to a way to do a page redirect using the php 'Header'
function to another frame. I have a page in one frame, when the user does
a
submit, i want to have the app do a redirect using the 'Header' function,
with the subsequent page being displayed in another frame
On Tue, 2 Dec 2003, Chris Hubbard wrote:
All, dealing with header(location:...) again. and trying to
understand what's happening. I've got the following code:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
I'm kinda surprised I didn't see this mentioned.. Have you
--- Kelly Hallman [EMAIL PROTECTED] wrote:
On Tue, 2 Dec 2003, Chris Hubbard wrote:
All, dealing with header(location:...) again. and trying to
understand what's happening. I've got the following code:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;.
$id);
I'm kinda
?php
ob_start();
$dom = $_SERVER['SERVER_NAME'];
writeMessage($id) or die('cannot write' . $id);
header('Location: http://' . $dom . '/cp/ad/ad_details.php?id=' . $id);
exit();
ob_end_flush();
?
--
Jon Kriek
www.phpfreaks.com
www.jonkriek.com
--
PHP General Mailing List
All,
dealing with header(location:...) again. and trying to understand what's
happening.
I've got the following code:
writeMessage($id);
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
writeMessage() is a debugging function that writes the value of the variable
to a
--- Chris Hubbard [EMAIL PROTECTED] wrote:
header(Location:http://www.mysite.com/cp/ad/ad_details.php?id=;. $id);
There should be a space after the first colon there.
Then I used LiveHTTPHeaders in Mozilla and it give me some interesting
information, though I'm not quite sure how to
Hi
I have tried the net , googling ect. but i cannot get a good description of
what the header function is al about ? Can anyone please define the header
function.
Thanks
Shaun
--
Novtel Consulting
Tel: +27 21 9822373
Fax: +27 21 9815846
Please visit our website:
www.novtel.co.za
--
PHP
PROTECTED]
Sent: 24 October 2003 09:47
To: [EMAIL PROTECTED]
Subject: [PHP] php header function
Hi
I have tried the net , googling ect. but i cannot get a good description of
what the header function is al about ? Can anyone please define the header
function.
Thanks
Shaun
--
Novtel Consulting
--- Shaun van den Berg [EMAIL PROTECTED] wrote:
I have tried the net , googling ect. but i cannot get a good
description of what the header function is al about ? Can anyone
please define the header function.
It allows you to specify an HTTP header to be included in the response to the
Web
Are you using sessions? Then you need
session_cache_limiter('private_no_expire');
Scott Fletcher wrote:
I seem to be having problem with sending the PDF document to the browser to
be open on screen. I kept getting the error message, it say 'Windows cannot
open this file'. Here's my sample
Not using the session. :-) Oh well...
Marek Kilimajer [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Are you using sessions? Then you need
session_cache_limiter('private_no_expire');
Scott Fletcher wrote:
I seem to be having problem with sending the PDF document to the browser
going in and out
your
browser. Very easy to run and so handy (not only for this problem). Would
find the url for dld if you want.
cheers
.b
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 22:15
To: [EMAIL PROTECTED]
Subject: [PHP] header
We've just moved sites, to a new URL...
on the home page of the old url, I simply had a page that was;
?
header(Location: http://www.newsite.com);
?
All good, any requests to that page, were cleanly redirected to the new
site.
I know this cause I tested it many times...
Now on the stats for
I seem to be having problem with sending the PDF document to the browser to
be open on screen. I kept getting the error message, it say 'Windows cannot
open this file'. Here's my sample script, so what am I doing wrong?...
--snip--
header(Content-Type: application/pdf);
]
Subject: [PHP] header() function for displaying an opened PDF document.
I seem to be having problem with sending the PDF document to the browser to
be open on screen. I kept getting the error message, it say 'Windows cannot
open this file'. Here's my sample script, so what am I doing wrong
-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: 13 October 2003 22:15
To: [EMAIL PROTECTED]
Subject: [PHP] header() function for displaying an opened PDF document.
I seem to be having problem with sending the PDF document to the browser to
be open on screen. I kept getting the error message
]
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 issue.
It has nothing to do with apache
I am using a header function to take a user back to a form if they have mistyped or
entered in data that is not desirable.
I have multiple functions that Ive written but the one that pertains to this situation
is listed
function check_data () {
if (!empty($value)) {
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 using
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 -
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 [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:35 PM
Subject: [PHP] header function
I am having a hard time
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
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
I'm starting to think
: [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(Location:) function inside an
include file with PHP 4.3.1 (Linux, running as a module w
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 TOP of my php page, I have:
?php virtual(/include/logincheck.php) ?
logincheck.php contains exactly:
?php
// login check
PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, March 07, 2003 3:35 PM
Subject: [PHP] header function
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 TOP of my php page, I have:
?php
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 function
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 with this
Hey,
Got a problem using the header function on a file upload page to redirect
the user back to a web page. Here's the code:
#!/usr/bin/php -q
?php
$filedest = /home/$directory;
if (copy($clientfile,$filedest/$clientfile_name))
header(Location:
Try removing all leading spaces between the shebang and the beginning of
the script:
#!/usr/bin/php -q
?php
Marco
--
php|architect - The magazine for PHP Professionals
The first monthly worldwide magazine dedicated to PHP programmers
On Fri, 2002-11-08 at 21:55, Brad Apps
I tried to use this script but it failed due to the caching. Does
anyone know the way around hte problem or have a solution to the problem?
--- example script
$url_address = $GLOBALS[HTTP_HOST];
switch ($url_address) {
case www.php.net:
$url_address =
?
Regards,
Patrick Lynch
http://www.optip.com/
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
Sent: 15 May 2002 18:31
To: [EMAIL PROTECTED]
Subject: [PHP] header() -- function failed to due caching.
I tried to use this script but it failed due to the caching. Does
Hi to all,
Sorry for bringing back this type of topic, But this type of header call
really doesnt work for me here. I've tested many time's the example below
that was given by Dan but it really doesnt work. Im already using php4.2 in
apache 1.3.24 . Based on the example below i've just
I am using Apache and PHP. I encountered a redirect problem in PHP, and traced it
down, so, I generated a very short PHP page as following:
?php
sleep(30);
$goto =
Original message
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 11:10:19AM -0500
Message-ID: [EMAIL PROTECTED]
Subject: [PHP] Header() function and redirect
I am using Apache and PHP. I encountered a redirect problem in PHP, and traced it
down, so, I generated a very
, then in
that page, redirect to the PDF file.
Thanks,
George
-Original Message-
From: * RzE: [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 30, 2001 11:19 AM
To: Zhu George-CZZ010; [EMAIL PROTECTED]
Subject: Re: [PHP] Header() function and redirect
Original message
From: Zhu George-CZZ010
Original message
From: Zhu George-CZZ010 [EMAIL PROTECTED]
Date: Thu, Aug 30, 2001 at 11:27:41AM -0500
Message-ID: [EMAIL PROTECTED]
Subject: RE: [PHP] Header() function and redirect
But I have to wait for the application to finish. The idea is: the application will
take the file, and convert
On 30-Aug-2001 Zhu George-CZZ010 wrote:
But I have to wait for the application to finish. The idea is: the
application will take the file, and convert it into PDF file (it takes more
than 30 seconds generally), then display the generated PDF file.
I am just wondering if I can use Header()
Hello everyone-
I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my
script and it hit's:
header(Location:index.php);
well the thing is once it hits that line in my script and just fails,
however i don't get any type of parse error the browser just says 404 error
page not
Well, it's not a good idea to put something (like an echo) before a
header()...even for testing because that will prevent the header() from
working at all. You should have gotten an All headers have been sent or
some similar error.
--
Tyler Longren
Captain Jack Communications
[EMAIL PROTECTED]
64.132.13.114] File does not
exist: /home/username/htdocs/admin/.php
- Original Message -
From: Tyler Longren [EMAIL PROTECTED]
To: Jay Paulson [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, August 21, 2001 9:54 AM
Subject: Re: [PHP] header function
Well, it's not a good idea to put
On Tuesday 21 August 2001 16:53, Jay Paulson wrote:
I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run
my script and it hit's:
header(Location:index.php);
well the thing is once it hits that line in my script and just fails,
however i don't get any type of parse error
Hello everyone-
I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my
script and it hit's:
header(Location:index.php);
well the thing is once it hits that line in my script and just fails,
however i don't get any type of parse error the browser just says 404 error
page not
72 matches
Mail list logo