Rasmus,
Thank you, sorted it out:
In the
function browserRedirect()
{
var ns4 = document.layers;
var ns6 = document.getElementById && !document.all;
var ie4 = document.all;
if(ns4) URLStr = "http://www.php.net";;
else if(ns6) URLStr =
On Thu, 27 Nov 2003, PETCOL wrote:
> Thanks, but, what if, I've just gone through an set variables and outputed
> the contents of those to PHP, just to run up a SQL query, to authenticate a
> user. Set another to say they are authenticated, then I want to take the
> user to another page? What PHP
Rasmus,
Thanks, but, what if, I've just gone through an set variables and outputed
the contents of those to PHP, just to run up a SQL query, to authenticate a
user. Set another to say they are authenticated, then I want to take the
user to another page? What PHP method would I use in this case.
You have to put this before any other output on the page.
-Rasmus
On Thu, 27 Nov 2003, PETCOL wrote:
> Newbie questions again.
>
> In ColdFusion I'd use a tag to push the user to another page or
> location...
>
> In PHP I've read you can use a:
>
> header("Location: http://domain/virtual/y
Newbie questions again.
In ColdFusion I'd use a tag to push the user to another page or
location...
In PHP I've read you can use a:
http://domain/virtual/yourpage.php";);
exit;
?>
However, when ever I've tried this I keep getting errors something like:
"Warning: Cannot modify header inform
Hey all,
I'm trying to add a user to Active Directory with PHP. I'm running apache
1.3.29 and PHP (latest) on Windows 2000. I also have LDAPS working. I can
query AD, search it, even modify attributes for existing users, but the two
pieces of code I've tried don't seem to work. One is from the LDA
Ok, here's my 2 cents worth.
It's hard to be off subject when it comes to PHP, since one of the primary
features of PHP is it integrates so robustly with a wide variety of internet
protocols, databases, other programming languages, etc.
Even design issues leave the new folks staggering from the
Hey Tryst,
It is nice when the questions are related to the theme of the discussion
board though is it not? (PHP in this case) That was the point that I was
trying to make. I guess I could have said it in a nicer way since I have
taken a ton of flak on this one today.
By the way, I'm sure those q
can I just point out that, being a student myself it is sometimes t time
consuming to wad through loads of books etc to find a problem, so posting a
question to the knowledgable ones is sometimes a better option, and much
quicker.
At the end of the day, we will learn the problem via both so
You are missing a quote line #11 >> date("H)
-Original Message-
From: Stephen Knight [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 12:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] I keep getting parse error, unexpected T_VARIABLE
I trying to figure out PHP, and have bee
php-windows Digest 26 Nov 2003 17:54:11 - Issue 2017
Topics (messages 22196 through 22211):
DFD for website
22196 by: Rinku Shivnani
22204 by: Croskerry, Dan
22205 by: doris pelger :: eva horner
22207 by: Croskerry, Dan
22208 by: Croskerry, Dan
I trying to figure out PHP, and have been reading several books. There
seems to be
no ryhme or reason as to when to use single quotes or double quotes. Here
is the simple code
that I am trying to get to work.
Greetings
=12) and
(date("H) < 18)) {
print ('afternoon');
} else {
print ('evening,
I apologize if I upset people with my comments earlier today. I was up most
the night debugging if that is an excuse. I'll try and be a bit more civil
in the future.
Have a day,
Dan
-Original Message-
From: Luis Moreira [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 9:38 AM
I wasn't planning on contributing to this (very) large thread, but one thing
is to read that not all questions deserve an answer (like on the -good-
document that Ignatius pointed out), which I think is false, but respect as
an answer, and a very different thing is to insult someone because they as
Whose the touchy one now?
If you want to defend people who don't even try a search or open a book or
two before posting then that is up to you Doris. If my pointing out this
shortcoming out is considered rude/crude then so be it.
D.
-Original Message-
From: doris pelger :: eva horner [m
Give me a break Doris. This is a PHP list. Nothing touchy about it, I just
don't come in here to read this rubbish - I have enough emails to get
through in a day as it is. Did you even read those 3 posts? Is he trying to
win the "most non-PHP related posts in one day" award?
And IMHO, I don't thin
This is how we do it in some of our online programs.
setcookie('LOGIN',$LOGIN,(time()+32400),'/','',0);
Derrick Hermanson
Programmer Analyst I
[EMAIL PROTECTED]
-Original Message-
From: PETCOL [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 6:23 AM
To: [EMAIL PROTECTED]
Subj
UUh TOUCHY!
What is this here - no concept of being young and inexperienced, lost that
one?
- refusing to give an answer - guard your precious occupation?
Good day to you too!
Doris
- Original Message -
From: "Croskerry, Dan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTE
Rinku,
Judging by your last 3 posts, you need to buy some books or go to school.
And by the way, I'm sure that most of the participants on this list, like
myself, consider themselves to be Web Developers or Programmers and not "web
designers".
And if you must ask asinine questions please keep it
Would session.cookie_lifetime not do the trick?
I found it here:
http://www.php.net/manual/en/ref.session.php
Petcol wrote:
> PHP Newbie here.
>
> Is there a way to time out a session? Say after like 30 minutes.
>
> I want to set a session.variable after a user has been authenticated, then
> I
PHP Newbie here.
Is there a way to time out a session? Say after like 30 minutes.
I want to set a session.variable after a user has been authenticated, then I
want it to time out so they have to log back in again.
Suggestions?
Col
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscr
Actually it shoul be: "go and read the fine manual", RTFM, however
for the none sensitive audience "fine" should be spelled "fucking".
-Original Message-
From: Donatas
To: [EMAIL PROTECTED]
Sent: 2003-11-26 08:46
Subject: Re: [PHP-WIN] syntax for remove column
The syntax is called "go and
ALTER TABLE DROP COLUMN
-Original Message-
From: Rinku Shivnani
To: [EMAIL PROTECTED]
Sent: 2003-11-26 07:36
Subject: [PHP-WIN] syntax for remove column
Dear all,
I want to delete one column from my table. Can any of you tell me
syntax for it pls ?
Thank you
--
PHP Windows Mailing
I would start here:
"How To Ask Questions The Smart Way", an excellent (as always) article by
Eric Raymond
http://www.catb.org/~esr/faqs/smart-questions.html
HTH
_
- Original Message -
From: "Rinku Shivnani" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesd
The syntax is called "go and read the damn manual"!
http://www.mysql.com/documentation/mysql/bychapter/manual_Reference.html#ALTER_TABLE
Rinku Shivnani wrote:
Dear all,
I want to delete one column from my table. Can any of you tell me
syntax for it pls ?
Thank you
--
PHP Windows Mailing L
Dear all,
I want to delete one column from my table. Can any of you tell me
syntax for it pls ?
Thank you
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
26 matches
Mail list logo