Hello,
I'm trying to do a simple form for a local organization and I'm running into
problems with the server. I am unable to get any of the variables in the
html code to post across to the php file. So, I'm figuring register_globals
is off. So I change my code to use HTTP_POST_VARS and HTTP_GET_V
Duh! Thanks guys that's what I was missing.
-Original Message-
From: Bas Jobsen [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 8:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Problem with HTTP_POST_VARS
put a $ before HTTP_POST_VARS
be:
$Agree_to_Terms_of_Membership=$HT
I have a class defined with a var $reasons that I will use as an array. The
code to add to it is:
function AddReason($score, $reason, $id)
{
static $index = 0;
$this->reasons[$index] = "$score|$reason|$id";
for ($i = 0; $i < $index; $i++)
{
$out = $this->reasons[$i];
echo "$out..
Does anyone know of an organization who has built and maintains a web
content management application for a large site?
Does anyone know of an organization who has built and is maintaining a web
content management app for a large site using PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list admini
By CMS, I am referring to an application similar to Vignette, that allows
users to manage the content on a site through a browser interface.
_
Bob Hillhouse
I don't understand how the 'ticks' works: please help me.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the manual says:the function A will be called.
in fact, the function B is called.
why?
my config : win98/pws2/php411(CGI)
\n";
}
function B()
{
echo "I am a regular function named B in class A.\n";
echo "I am not a constructor in A.\n";
}
}
class B extends A
{
the manual says:
reference which returned from a function can be passed by reference.
i can not think it is useful .
can you show an example?
thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
can ob_start("ob_gzhandler") function be nested ?
after echo 'test' , does it continue to includes and evaluates c.php?
for example:
a.php
b.php
c.php
main.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In mannual,it says:
creating new entries in the $_SESSION array will automatically
register them as session variables, as if you called
session_register().
If you are using $HTTP_SESSION_VARS/$_SESSION, do not use
session_register(), session_is_registered() and session_unregister()
unless you kno
it works.
but the first time,i also get the warning(Warning: Undefined variable:
count in C:\WebShare\wwwroot\netk\5\test.php on line 9
).then ,it outputs 2(3,4.)
can you tell me why it beheave like that?
thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
here is the example:
Feedback form
Feedback form
ENDH;
// End of page header
// Saving the page footer in the variable $tail.
$tail = <<
ENDT;
// End of page footer
// Set up variables that will be saved in the cookies
// Define unique cookie prefix
$ID = "My_ID";
// Co
value = $i;
// try to figure out why we do not need a reference here
$this->b = new B($this);
}
function createRef()
{
$this->c = new B($this);
}
function echoValue()
{
echo "","class ",get_class($this),': ',$this->value;
}
}
class B
You need to remove the second echo.
On Tue, 19 Mar 2002, Dr. Shim wrote:
> Hmmm. How about this?
>
> echo " . "\">";
>
>
> "Miguel Cruz" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Tue, 19 Mar 2002, Dr. Shim wrote:
> > Well, this is a fairly simpl
1.php?2.php
session_start(); session_start();
.. ..
$_SESSION['a'] =$a;echo $_SESSION['a'];
$_SESSION['b'] =$b;
why this get wrong?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SESSION['b'] =$b;
go on
it works well!
Best regards and thanks in advance,
bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SESSION['b'] =$b;
go on
it works well!
Best regards and thanks in advance,
bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 25 Mar 2002 18:18:33 -, [EMAIL PROTECTED] (Chad Gilmer)
wrote:
>Hi There,
>
>I am a beginner to PHP and I am tring to use session variables on my site.
>
>I am trying to use Session Variables in PHP on the iPLANIT.tv site
>
>When I use the following code:
>
> $ses_counter++;
>
> sessi
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]]
>> Sen
I always get a error message:document.form1.user isn't an object.
if i get rid of session_start(),everything becomes well.
thanks in advane!
login
TABLE {
FONT-SIZE: 10.5pt
}