Adam Williams wrote:
> I need some help passing a session variable with a header() function.
> According to www.php.net/header, the documentation states:
>
> *Note*: Session ID is not passed with Location header even if
> session.use_trans_sid
> is enabled. It
> must by passed manually using *SI
Terion Miller wrote:
*Warning*: Cannot modify header information - headers already sent by
(output started at
C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc\dbconn_openTest.php* on
line *3*
Line 32-36 are:
". $msg ."";
}
?>
st
On Mon, Dec 15, 2008 at 11:29 AM, Jay Moore wrote:
> Terion Miller wrote:
>
>> I am working from home today and getting this error with my copy of my
>> project:
>> *Warning*: Cannot modify header information - headers already sent by
>> (output started at
>> C:\Inetpub\Xampp\htdocs\SNLeader\WOSy
Hey,
Few things:
1) Check to see if you have any trailing spaces after the end of the file.
2) Check to see if your session_start() is not the first line of the code.
Thanks,
V
On Mon, Dec 15, 2008 at 9:36 AM, Terion Miller wrote:
> On Mon, Dec 15, 2008 at 11:29 AM, Jay Moore wrote:
>
> > Te
On Mon, Dec 15, 2008 at 11:37 AM, Jim Lucas wrote:
> Jay Moore wrote:
> > Terion Miller wrote:
> >> I am working from home today and getting this error with my copy of my
> >> project:
> >> *Warning*: Cannot modify header information - headers already sent by
> >> (output started at
> >> C:\Inetp
Jay Moore wrote:
> Terion Miller wrote:
>> I am working from home today and getting this error with my copy of my
>> project:
>> *Warning*: Cannot modify header information - headers already sent by
>> (output started at
>> C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
>> in *C:\Inetpub
Terion Miller wrote:
I am working from home today and getting this error with my copy of my
project:
*Warning*: Cannot modify header information - headers already sent by
(output started at C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\Welcome.php:31)
in *C:\Inetpub\Xampp\htdocs\SNLeader\WOSystem\inc
On 20 Sep 2008, at 01:23, Michelle Konzack wrote:
Am 2008-09-05 17:11:58, schrieb Stut:
You're trying to post to the browser which won't know how to handle
it. The header() function is modifying the response headers that are
being sent back to the browser, they do not create a new request.
If y
On Sun, 2008-09-21 at 14:29 +0200, Lupus Michaelis wrote:
> Maciek Sokolewicz a écrit :
>
> > Your xss answer is moot. XSS attacks can (almost) just as easily be
> > performed via POST as they can via GET.
>
>No, because you can't click on a link that make a post. Maybe on
> unsecured brows
Maciek Sokolewicz a écrit :
Your xss answer is moot. XSS attacks can (almost) just as easily be
performed via POST as they can via GET.
No, because you can't click on a link that make a post. Maybe on
unsecured browser that allows Xhr (and a POST so) on every sites on the
Internet.
--
Mi
Lupus Michaelis wrote:
Michelle Konzack a écrit :
Why using JS?
echo "";
would do the trick...
No, because it'll not send back the datas in the hide form. And if you
suggest to pass datas in a HTTP GET, I'll answer XSS in the scope :)
Your xss answer is moot. XSS attacks can (almos
Michelle Konzack a écrit :
Why using JS?
echo "";
would do the trick...
No, because it'll not send back the datas in the hide form. And if
you suggest to pass datas in a HTTP GET, I'll answer XSS in the scope :)
--
Mickaël Wolff aka Lupus Michaelis
http://lupusmic.org
--
PHP Genera
Hi Stut,
Am 2008-09-05 17:11:58, schrieb Stut:
> You're trying to post to the browser which won't know how to handle
> it. The header() function is modifying the response headers that are
> being sent back to the browser, they do not create a new request.
>
> If you want to do a new request I
On Wed, Sep 17, 2008 at 2:31 AM, Nathan Rixham <[EMAIL PROTECTED]> wrote:
> off on a tangent.. I made this some time ago which is rather useful:
>
> $url = new url('http://php.net/some.page');
>
> echo $url;
> echo $url->scheme;
Why would you need this with parse_url() ?
Seems like that functio
Micah Gersten wrote:
Wouldn't it be nice if in the $_SERVER array you could get the whole URL
now that PHP has a parse_url function?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
off on a tangent.. I made this some time ago which is rather useful:
class
Jochem Maas wrote:
Robert Cummings schreef:
On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham wrote:
Jim Lucas wrote:
Robert Cummings wrote:
On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
I also meant:
define('PUBLIC_BASE_HREF' , 'http://php.net/')
and further thinking there has
On Tue, Sep 16, 2008 at 11:40 PM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> Wouldn't it be nice if in the $_SERVER array you could get the whole URL
> now that PHP has a parse_url function?
That actually would be a nice thing to have, instead of having to
build it yourself (considering people do
Wouldn't it be nice if in the $_SERVER array you could get the whole URL
now that PHP has a parse_url function?
Thank you,
Micah Gersten
onShore Networks
Internal Developer
http://www.onshore.com
Jochem Maas wrote:
> Robert Cummings schreef:
>> On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham w
Robert Cummings schreef:
On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham wrote:
Jim Lucas wrote:
Robert Cummings wrote:
On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
I also meant:
define('PUBLIC_BASE_HREF' , 'http://php.net/')
and further thinking there has to be an easier / cl
On Tue, 2008-09-16 at 21:18 +0100, Nathan Rixham wrote:
> Jim Lucas wrote:
> > Robert Cummings wrote:
> >> On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
> >>> I also meant:
> >>> define('PUBLIC_BASE_HREF' , 'http://php.net/')
> >>>
> >>>
> >>>
> >>>
> >>> and further thinking there has
Jim Lucas wrote:
Robert Cummings wrote:
On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
I also meant:
define('PUBLIC_BASE_HREF' , 'http://php.net/')
and further thinking there has to be an easier / cleaner way of getting
"http://"; / "https://"; in php..
What's wrong with $_SERVER
Robert Cummings wrote:
> On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
>> I also meant:
>> define('PUBLIC_BASE_HREF' , 'http://php.net/')
>>
>>
>>
>>
>> and further thinking there has to be an easier / cleaner way of getting
>> "http://"; / "https://"; in php..
>
> What's wrong with
On Tue, 2008-09-16 at 18:13 +0100, Nathan Rixham wrote:
>
> I also meant:
> define('PUBLIC_BASE_HREF' , 'http://php.net/')
>
>
>
>
> and further thinking there has to be an easier / cleaner way of getting
> "http://"; / "https://"; in php..
What's wrong with $_SERVER['HTTPS'] ?
Cheers,
Rob.
Robert Cummings wrote:
On Tue, 2008-09-16 at 17:49 +0100, Nathan Rixham wrote:
tedd wrote:
At 3:16 PM +0100 9/16/08, Nathan Rixham wrote:
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
thx.
A.
just incase everybody else went down a complete tangent on thi
On Tue, 2008-09-16 at 17:49 +0100, Nathan Rixham wrote:
> tedd wrote:
> > At 3:16 PM +0100 9/16/08, Nathan Rixham wrote:
> >> Alain R. wrote:
> >>> Hi,
> >>>
> >>> how in PHP can i create the similar header as following ?
> >>>
> >>>
> >>>
> >>>
> >>> thx.
> >>>
> >>> A.
> >>
> >> just incase ev
tedd wrote:
At 3:16 PM +0100 9/16/08, Nathan Rixham wrote:
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
thx.
A.
just incase everybody else went down a complete tangent on this one
it's not nice, elegant, the *proper* way to do things but it'll do th
At 3:16 PM +0100 9/16/08, Nathan Rixham wrote:
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
thx.
A.
just incase everybody else went down a complete tangent on this one
it's not nice, elegant, the *proper* way to do things but it'll do
the job if I u
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
thx.
A.
just incase everybody else went down a complete tangent on this one
it's not nice, elegant, the *proper* way to do things but it'll do the
job if I understand you correctly
--
PHP General Mailing
Alain R. wrote:
Hi,
how in PHP can i create the similar header as following ?
thx.
A.
just incase everybody ese went down a complete tangent:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 7/25/07, Tijnema <[EMAIL PROTECTED]> wrote:
You Dans driving me insine with all those dans :P
Tijnema
--
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
Be jealous and afraid. It's not just a name it's a race.
--
Daniel P. Brown
[office] (570-) 587-7080 Ext. 272
[m
On 7/25/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 7/25/07, Tijnema <[EMAIL PROTECTED]> wrote:
> You Dans driving me insine with all those dans :P
>
> Tijnema
> --
> Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info
>
Be jealous and afraid. It's not just a name it's a r
On 7/25/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 7/24/07, Daniel Kasak <[EMAIL PROTECTED]> wrote:
> On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote:
>
> > Hello, Dans!
> >
> > Dan K., is there any reason the validation can't reside within the
> > same script as the form, then
On 7/24/07, Daniel Kasak <[EMAIL PROTECTED]> wrote:
On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote:
> Hello, Dans!
>
> Dan K., is there any reason the validation can't reside within the
> same script as the form, then forward on success? A very simple
> example:
>
> if($_POST) {
On Tue, 2007-07-24 at 08:13 -0400, Daniel Brown wrote:
> Hello, Dans!
>
> Dan K., is there any reason the validation can't reside within the
> same script as the form, then forward on success? A very simple
> example:
>
> if($_POST) {
> // Check to ensure that your variables are al
On 7/24/07, Daniel Brown <[EMAIL PROTECTED]> wrote:
On 7/23/07, Daniel Kasak <[EMAIL PROTECTED]> wrote:
> Thanks for the response Dan. Us Dans have to stick together :)
>
> On Mon, 2007-07-23 at 17:37 -0700, Dan wrote:
>
> > Then validate the field obviously!
> > $description = "";
> > $categoryi
On 7/23/07, Daniel Kasak <[EMAIL PROTECTED]> wrote:
Thanks for the response Dan. Us Dans have to stick together :)
On Mon, 2007-07-23 at 17:37 -0700, Dan wrote:
> Then validate the field obviously!
> $description = "";
> $categoryid = "";
>
> if(isset($_POST['description']))
> $description = "?
Thanks for the response Dan. Us Dans have to stick together :)
On Mon, 2007-07-23 at 17:37 -0700, Dan wrote:
> Then validate the field obviously!
> $description = "";
> $categoryid = "";
>
> if(isset($_POST['description']))
> $description = "?description=$_POST['description']";
>
> if(isset($_P
Then validate the field obviously!
$description = "";
$categoryid = "";
if(isset($_POST['description']))
$description = "?description=$_POST['description']";
if(isset($_POST['categoryid']))
{
if($description != "") $categoryid = "&"; else $categoryid = "?"; // if a
description has been entered
On Apr 16, 2007, at 12:44 PM, Ross wrote:
ok I have a page that calls my my functions, basically a 6 step
signup. All
the steps look like this
function step_one() {
$_SESSION['property_id'] =$_POST['property_id'];
$property_id = $_POST['property_id'];
$postcode= $_POST['postcode'];
Escape
> -Message d'origine-
> De : Tim [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 16 avril 2007 19:54
> À : 'Ross'; php-general@lists.php.net
> Objet : RE: [PHP] Re: header('Location:') works locally but
> not remotely
>
>
>
> >
> -Message d'origine-
> De : Ross [mailto:[EMAIL PROTECTED]
> Envoyé : lundi 16 avril 2007 19:45
> À : php-general@lists.php.net
> Objet : [PHP] Re: header('Location:') works locally but not remotely
>
> ok I have a page that calls my my function
ok I have a page that calls my my functions, basically a 6 step signup. All
the steps look like this
function step_one() {
$_SESSION['property_id'] =$_POST['property_id'];
$property_id = $_POST['property_id'];
$postcode= $_POST['postcode'];
$query = "INSERT INTO properties (property_id, postcode
I found the trouble...
My index.php file had been corrupted. I deleted and recreated it and works
fine.
Thanks a lot for your tips.
""João Cândido de Souza Neto"" <[EMAIL PROTECTED]> escreveu na
mensagem news:[EMAIL PROTECTED]
> In my index.php file of my system i have got just one php tag i
So, could anyone here then explain why in other server my system it works
fine?
I check the two servers configuration and it´s the same, they has only one
difference, one´s running php 5.0 and the other´s running php 5.1.4
Is there some difference between this two versions?
""João Cândid
On Tue, January 17, 2006 9:12 am, ET Support wrote:
> I am having a problem using PHP's mail function to send mail via BCC
> to
> multiple recipients. Here's my code;
> --
> $get_emails = pg_exec($dbh,"SELECT email FROM mailing_list WHERE conf
> = 1");
> $count =
ot;
Thanks for the input!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 18, 2006 11:29 AM
To: ET Support
Subject: RE: [PHP] RE: header data being inserted into message
what you're showing indicates that an MTA is getting confused about
th
rking then maybe
I'll go to majordomo2.
Anyone else have some advice for me here?
Thanks,
Ben
-Original Message-
From: Richard Correia [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 17, 2006 12:37 PM
To: ET Support
Cc: php-general@lists.php.net
Subject: Re: [PHP] RE: header data bein
Hey,
You can use the readymase mailer class from
http://www.weberdev.com/get_example-462.html
and
http://www.weberdev.com/get_example-3724.html
Thanks
Richard
On 1/17/06, ET Support <[EMAIL PROTECTED]> wrote:
>
> Hello all,
>
> I am having a problem using PHP's mail function to send mail via
Hello all,
I am having a problem using PHP's mail function to send mail via BCC to
multiple recipients. Here's my code;
--
$get_emails = pg_exec($dbh,"SELECT email FROM mailing_list WHERE conf = 1");
$count = pg_numrows($get_emails);
$bcc_count = $envelope_count
But you can design the script to redirect to a page with a JavaScript to
open a file(PDF) by using the target="_new" and then it redirects to the
home page.
CJ
"Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>* Martín Marqués :
>> I'm having a bit of a pro
* Martín Marqués :
> I'm having a bit of a problem understanding how the header() sends the HTTP
> headers.
>
> Here's what I want to do:
>
> 1) Send a PDF file which will be printed in the client (the client will read
> it and print it if he wants to.
> 2) Redirect to the main page of the aplica
use javascript
not
the header function.
"Jacques" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> How should I formulate the header function to replace the current frameset
> page with a new one? I have tried a combination of header("Location:
> page.php target=_parent"); but I get
Jerry Swanson wrote:
What variable "header" use? If I send something in header, what GLOBAL
variable header use?
do you mean $_SERVER ?
$_SERVER holds some header-information sent by the client to the webserver
--
Sebastian Mendel
www.sebastianmendel.de www.warzonez.de www.tekkno4u.de www.nofetish.
Andre Dubuc wrote:
Orginally when I designed my site, I put the db access file, conn.php, in the
webarea - where all files reside. After reading a recent thread, I realize
that this may not be too secure. Therefore, I would like to shove conn.php
one level above the webarea. However, I don't fee
Bob Lockie wrote --- napísal::
On 06/12/04 19:05 Kim Steinhaug spoke:
Steve Douville had a long answer, the short answer : no
Ok, thanks.
I want to avoid relying on Javascript anyways.
Make _top the target of the form, then rebuild the frameset based on
your logic.
--
PHP General Mailing List (h
On 06/12/04 19:05 Kim Steinhaug spoke:
Steve Douville had a long answer, the short answer : no
Ok, thanks.
I want to avoid relying on Javascript anyways.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Steve Douville had a long answer, the short answer : no
--
--
Kim Steinhaug
--
There are 10 types of people when it comes to binary numbers:
those who understand them, and those who don't.
-
That will tell the browser "The movie is there!Go there instead!" umm..
Kinda like that anyway.. It lets the user download from there, and not your
server..
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"John" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> wh
You are all heart... ;-)
Curt Zirzow <[EMAIL PROTECTED]>
14/10/2003 17:23
To
[EMAIL PROTECTED]
cc
Subject
Re: [PHP] Re: header() function...
I officially declare this thread foobar.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
* Thus wrote Chris Shiflett ([EMAIL PROTECTED]):
> --- Kevin Stone <[EMAIL PROTECTED]> wrote:
> > The Refresh directive is a valid header. I've used it for many
> > years and it seems to be supported by the majority of browsers.
>
> My experience has been the same.
>
> > However I've never read
--- Kevin Stone <[EMAIL PROTECTED]> wrote:
> The Refresh directive is a valid header. I've used it for many
> years and it seems to be supported by the majority of browsers.
My experience has been the same.
> However I've never read anything that would indicate that Refresh
> works any different
The Refresh directive is a valid header. I've used it for many years and it seems to
be supported by the majority of browsers. However I've never read anything that would
indicate that Refresh works any differently than Location. The only difference is
that Refresh allows you to set a number
ws server I think... (sadly)
>
>
>
>
>
> "Scott Fletcher" <[EMAIL PROTECTED]>
> 14/10/2003 16:25
>
> To
> [EMAIL PROTECTED]
> cc
>
> Subject
> [PHP] Re: header() function...
>
>
>
>
>
>
> Web Server's log file
I officially declare this thread foobar.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Bog standard web server logs...
We're hosted on a windows server I think... (sadly)
"Scott Fletcher" <[EMAIL PROTECTED]>
14/10/2003 16:25
To
[EMAIL PROTECTED]
cc
Subject
[PHP] Re: header() function...
Web Server's log file or user defined log file (Sort o
Web Server's log file or user defined log file (Sort of Like PHP Log)?
"Tristan Pretty" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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.co
Aw, scratch that HTML conversion to PDF feature. It require an installation
of a couple of other stuffs. I'm going to stick back to fpdf library for
now.
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm using the library from www.fpdf.org. I currently using the
I'm using the library from www.fpdf.org. I currently using the method on
storing the file to the server because of two features. One so I can have
php script to use the email to pick up the file and send it to my boss.
Two, an optional option to view the billing invoice. I am beginning to
think
It might help to have a peek at how the php Pdf libraries are doing this
(www.php.net/pdflib, fpdf.org, www.ros.co.nz/pdf) . There are a lot
of things to worry about with pdf, not the least the fact that older
acrobat readers will give plenty of errors when the page is not send fast
enough an
Well, now, I get an unknown file type. I have already specified the
application type. This was yesterday. Today, I get the file type as
'Acrobat Control for Active X'. That doesn't look right... Oh well...
Will have to play around and see what can I do to make it work better. A
couple of mont
I'm sorry but it can't be done. You cannot output a file without printing it to the
output buffer. You cannot print a file to the output buffer without opening the file
into memory. You cannot open a file into memory without using a function like fopen()
or readfile(). It's as simple as that
I can't do readfile() because of lots of bug in IE (Internet Explorer)
"Kevin Stone" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Forget the content length and disposition headers. Just set the content
type then output the file..
>
> header("Content-type: application/pdf");
>
Forget the content length and disposition headers. Just set the content type then
output the file..
header("Content-type: application/pdf");
readfile("junk.pdf");
- Kevin
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> I seem to be having problem with sending the
* Thus wrote Jonathan Duncan ([EMAIL PROTECTED]):
> Jay,
>
> Try replying to the group so that your contributions stay with the thread
> instead of being orphaned and lost.
he did.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."
--
PHP General Mailing List (http://www.php
But Jay Blanchard situation wasn't the only one. It's the same for other
people.
"Scott Fletcher" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Well, I'm using Outlook Express and it looked fine for an hour or so now.
> But not with the ones earlier in the morning. Strange though
Well, I'm using Outlook Express and it looked fine for an hour or so now.
But not with the ones earlier in the morning. Strange though!
Scott F.
"Jonathan Duncan" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Perhaps it is just Outlook Express but many of your replies are showing
Perhaps it is just Outlook Express but many of your replies are showing as
ophans.
Jonathan
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
Try replying to the group so that your contributions stay with the
thread
instead of being orphaned and lost.
[/snip]
I
[snip]
Try replying to the group so that your contributions stay with the
thread
instead of being orphaned and lost.
[/snip]
I always do, did something weird happen?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay,
Try replying to the group so that your contributions stay with the thread
instead of being orphaned and lost.
Regards,
Jonathan Duncan
"Jay Blanchard" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
[snip]
Jay, good guess, but wrong! While register_globals does equal off, I am
Marek and Rob,
Doh! That was it. I am still finding things that I used to assign
globally. It is a good thing, but it makes for a bit of work. Thanks to
Jay too. I appreciate everyone's help.
Have a good one,
Jonathan Duncan
"Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message
news:[EMA
Try $_REQUEST['pagename'] instead. Oh before you do that, try this and see
if you have any received data at all in the first place. just look for
'pagename' in any arrays, don't look for $_GET['pagename'], just look for
'pagename' and see if there is any.
--snip--
--snip--
"Jay Blanchard" <[EMA
Here's an idea... echo each of the values and see what they actually
contain. While you grab $pagename from $_GET, where are you getting
$HTTPS? Is it a superglobal too? Maybe it's $_SERVER['HTTPS']
Cheers,
Rob.
On Fri, 2003-09-19 at 10:57, PHP wrote:
> Jay, good guess, but wrong! While register
[snip]
Jay, good guess, but wrong! While register_globals does equal off, I am
using $_GET['pagename'] to assign the value to $pagename before the
snippet
of code that I sent. Sorry I didn't mention that earlier. I tried
putting
the _GET in my header redirection directly, but that didn't help.
And what about $_SERVER["HTTPS"], are you using it?
PHP wrote:
Jay, good guess, but wrong! While register_globals does equal off, I am
using $_GET['pagename'] to assign the value to $pagename before the snippet
of code that I sent. Sorry I didn't mention that earlier. I tried putting
the _GET
Jay, good guess, but wrong! While register_globals does equal off, I am
using $_GET['pagename'] to assign the value to $pagename before the snippet
of code that I sent. Sorry I didn't mention that earlier. I tried putting
the _GET in my header redirection directly, but that didn't help. Any ot
I don't think you can using headers. Why not Javascript?
Bogdan
Mixmastr wrote:
How can i do so header opens a new page in a new browser, instead of opening
the page inside the current browser?
-kjetil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
read www.php.net/variables.scope
Eric Fleming wrote:
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
The content would go here.
Now, when I try to reference the subnav variable in
I am having some problems using variables in included files. Can someone
please look at my code below and see how I might accomplish what I am trying
to do?
The content would go here.
Now, when I try to reference the subnav variable in the inHeader.php or
incFooter.php files, it comes up
according to the php doc, online the headers are not affected by the
Output Buffer,
so any functions that manipulate the OB should have no effect. flush I
do not beleive
will fix this issue. (* I have tested it and it did not *)
Still need a good way to accomplish this.
Thanks, James
Ivo Fokke
You might want to check whether or not your header output is getting
buffered. My suggestion is a flush() after the fist call. I'm not an expert
on this, it's just an idea.
HTH
--
Ivo Fokkema
PHP & MySQL programmer
Leiden University Medical Centre
Netherlands
"James M. Luedke" <[EMAIL PROTECTED
As I said before that I don't want the same user to confuse in which part of
the site he is ... because as I said it is same PHP files but dealing with
different databases and tables.. so I can't let him jump in between , and
cause some confusion and data mess when he's entering data..
PLEASE COMM
At 9:43 AM +0300 6/21/03, nabil wrote:
4- I want if any user jumped to the other directory and logged in with the
correct requested password TO HAVE THE FIRST SESSION UNREGISTERED
automatically, so he can't be logged in in both at same time.. and keep only
the new.. and ofcourse have to re logging
TED]
> Sent: Thursday, June 19, 2003 12:41 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: header(); Issue
>
>
> Try
>
> header("Location: ".$Relative."/outstanding.php?pdd=1&pddid=".$poid."");
>
> EF.
>
>
> "Spypro
Try
header("Location: ".$Relative."/outstanding.php?pdd=1&pddid=".$poid."");
EF.
"Spyproductions Support Team" <[EMAIL PROTECTED]> escribió en el
mensaje news:[EMAIL PROTECTED]
>
> I have this in a script:
>
> header("Location: $Relative/outstanding.php?pdd=1&pddid=$poid");
>
> It works fine el
You could always try header("Location: www.url.com"); (uppercase)...
"Deno Vichas" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECTED]
> i'm runnig into a random problem of having all the headers being
> displayed instead on the actual web page in mozilla, Ie doesn't seem to
> suffer fro
You do have to declare the headers first !!??
John Taylor-Johnston wrote:
> For the record, am I declaring these in the correct order?
> Thanks,
> John
>
>
> header("Content-type: text/notabene");
> header("Content-Disposition: attachment; filename=".$dbtable.".nb");
>
> ob_start("ob_gzhandler")
You do have to declare the headers first !!??
John Taylor-Johnston wrote:
> For the record, am I declaring these in the correct order?
> Thanks,
> John
>
>
> header("Content-type: text/notabene");
> header("Content-Disposition: attachment; filename=".$dbtable.".nb");
>
> ob_start("ob_gzhandler")
>"Anders mellström" <[EMAIL PROTECTED]> a écrit dans le message
news: [EMAIL PROTECTED]
>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?
Please have a look at http://www.php.net/ma
> Fatal error: Cannot redeclare createlinks()
> (previously declared in c:\apache\htdocs\ha\recycle\lankar.php:6) in
> c:\apache\htdocs\ha\recycle\lankar.php on line 5
>
> The problem is: the call for the function createlinks() is done from
> the previous page (index.php), the file where I user he
<[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dont use a directory but an url
> like
> header("Location: http://www.php.net";);
>
Thanks, that made it work.
But now comes the next problem. When finshed logging in login.php is
reloaded with a confirmation t
1 - 100 of 128 matches
Mail list logo