Re: [PHP] http header script to stimluate upload with drag anddrop??

2004-11-16 Thread Scott Fletcher
:-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] http header script to stimluate upload with drag and drop??

2004-11-16 Thread Robby Russell
On Tue, 2004-11-16 at 13:10 -0500, Scott Fletcher wrote: > Hi! > > I wonder is is it possible to have an http header that would stimluate > files/folders upload via dragging over to the browser window? If so then > what are the sample functions or scripts that make this possible... > > Thank

Re: [PHP] http header

2004-04-17 Thread Daniel Clark
Yes, that works. >>Is the following code the best way to redirect someone to a different >>page using PHP? >> >>>header("Location: http://www.yahoo.com";); >>?> >> >>I looked for a "redirect" function of some kind and didn't come up with >>anything. Just curious what the consensus is...

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] Also, when you're using PHP, it is rare that it is going to be better to use a meta tag to emulate an HTTP header. PHP has the header() function, and it can set real headers. [/snip] also, meta refreshes are easy to turn off. -- PHP General Mailing List (http://www.php.net/) To unsubscrib

Re: [PHP] http header

2004-04-16 Thread Chris Shiflett
--- Elfyn McBratney <[EMAIL PROTECTED]> wrote: > > Is the following code the best way to redirect someone to a > > different page using PHP? > > > > > header("Location: http://www.yahoo.com";); > > ?> > > That's also known as "breaking the back button", but is the only way > to do it in PHP. A bet

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] That's also known as "breaking the back button", but is the only way to do it in PHP. A better way to redirect someone (and keep the back busson working) is to use the meta html tag. [/snip] How is that breaking the back button? -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] http header

2004-04-16 Thread Elfyn McBratney
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hello Gabe, On Friday 16 Apr 2004 19:48, Gabe wrote: > Is the following code the best way to redirect someone to a different > page using PHP? > > header("Location: http://www.yahoo.com";); > ?> That's also known as "breaking the back button", but i

Re: [PHP] http header

2004-04-16 Thread Matt Matijevich
[snip] Is the following code the best way to redirect someone to a different page using PHP? http://www.yahoo.com";); ?> I looked for a "redirect" function of some kind and didn't come up with anything. Just curious what the consensus is... [/snip] yes http://www.php.net/header has a good wa

Re: [PHP] http header with target problem

2002-03-11 Thread Michael P. Carel
You mean this header('Window-target: _top'); header("Location:index.php?expire=0"); > On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: > > > > I have here a problem regarding auto redirecting a Frame supported page upon > > session timeout. I'm redirecting the page upon session

Re: [PHP] http header with target problem

2002-03-11 Thread Analysis & Solutions
On Tue, Mar 12, 2002 at 08:08:25AM +0800, Michael P. Carel wrote: > > I have here a problem regarding auto redirecting a Frame supported page upon > session timeout. I'm redirecting the page upon session timeout to > header("Location:index.php?expire=0"); . But i want that to redirect with a > sp

Re: [PHP] http header reference

2002-02-26 Thread Rasmus Lerdorf
These are all HTTP request headers. See the HTTP spec for details. They have nothing to do with PHP. -Rasmus On Tue, 26 Feb 2002 [EMAIL PROTECTED] wrote: > Hi all, > > I'm debugging a php script that is using several environmental vars that I'm not >familiar with: > HTTP_VIA > HTTP_CONNECTIO

RE: [PHP] http header?

2002-02-15 Thread Rick Emery
you get get some header variable data, such as $HTTP_REFERER execute to determine what is available to you (differs from system to system) You might also iterate through $HTTP_SERVER_VARS[], $HTTP_ENV_VARS[] -Original Message- From: marcbey [mailto:[EMAIL PROTECTED]] Sent: Friday, Fe

Re: [PHP] HTTP Header

2002-02-04 Thread Mike Maltese
Just use header(). header("HTTP/1.1 200"); header(Date: Mon, 04 Feb 2002 10:01:54 GMT"); etc., etc. Just make sure that they are all sent before you start any output to the browser. Mike - Original Message - From: "Daniel Reichenbach" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTE

RE: [PHP] HTTP header question.

2001-07-29 Thread Don Read
On 30-Jul-2001 Ben Bleything wrote: > All I want to do is output "Authentication failed" above the form if > they type in invalid credentials. I want to do it by passing a header > that contains the same information as if there were a form submitted > that contained a field name "failed" and val

RE: [PHP] HTTP header question.

2001-07-29 Thread Ben Bleything
html. Hope this helps everybody out. Thanks, Ben -Original Message- From: Richard Baskett [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 29, 2001 8:26 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] HTTP header question. The way that I did it was by using sessions which if you have a log

Re: [PHP] HTTP header question.

2001-07-29 Thread Richard Baskett
> Thanks, > Ben > > -Original Message- > From: Dave VanAuken [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 29, 2001 7:16 PM > To: Ben Bleything; [EMAIL PROTECTED] > Subject: RE: [PHP] HTTP header question. > > what is the logic behind requiring the header

RE: [PHP] HTTP header question.

2001-07-29 Thread Ben Bleything
nt: Sunday, July 29, 2001 7:16 PM To: Ben Bleything; [EMAIL PROTECTED] Subject: RE: [PHP] HTTP header question. what is the logic behind requiring the header? for example, to avoid using cookies and yet ensuring security, we pass a loginkey for all pages. every page has include('se

RE: [PHP] HTTP header question.

2001-07-29 Thread Dave VanAuken
what is the logic behind requiring the header? for example, to avoid using cookies and yet ensuring security, we pass a loginkey for all pages. every page has include('securitycheck.php'); which parses the loginkey, uncompresses/decode it to get the userid and timestamp, and prompts for

RE: [PHP] http header

2001-07-10 Thread Adrian Ciutureanu
Use $HTTP_REFERER http://php.net/manual/en/language.variables.predefined.php > -Original Message- > From: Jack [mailto:[EMAIL PROTECTED]] > Sent: 11 iulie 2001 01:23 > To: [EMAIL PROTECTED] > Subject: [PHP] http header > > > Dear all folks, > I want to get the url of the previous page t