[PHP] Problem with HTTP_POST_VARS

2002-07-25 Thread bob
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

RE: [PHP] Problem with HTTP_POST_VARS

2002-07-25 Thread bob
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

[PHP] Class var not retaining values

2001-05-21 Thread Bob
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..

[PHP] Content Management

2002-01-30 Thread bob
Does anyone know of an organization who has built and maintains a web content management application for a large site?

[PHP] Content Management

2002-01-30 Thread bob
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

Re: [PHP] Content Management

2002-01-30 Thread bob
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

[PHP] how the "ticks" works?

2002-02-20 Thread bob
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

[PHP] constructor in php4?

2002-04-20 Thread bob
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 {

[PHP] can you show an example?

2002-04-21 Thread bob
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

[PHP] ob_start("ob_gzhandler") and require_once

2002-05-04 Thread bob
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

[PHP] newbie: the superglobal $_SESSION

2002-03-10 Thread bob
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

Re: [PHP] newbie: the superglobal $_SESSION

2002-03-10 Thread bob
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

[PHP] setcookie problem: Cannot add header information - headers already sent by

2002-03-12 Thread bob
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

[PHP] OBJECT£ºWHAT'S THE RALATION BETWEEN A,B AND C?

2002-03-16 Thread bob
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

Re: [PHP] Escaping Quotes in a String and Ending With A Quote

2002-03-19 Thread Bob
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

[PHP] session problem?

2002-03-21 Thread bob
1.php?2.php session_start(); session_start(); .. .. $_SESSION['a'] =$a;echo $_SESSION['a']; $_SESSION['b'] =$b;

[PHP] what is the difference between function and language construct?

2002-03-21 Thread bob
why this get wrong? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] session problem?

2002-03-22 Thread bob
$_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

[PHP] header and session?

2002-03-24 Thread bob
$_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

[PHP] Re: Session Variables

2002-03-25 Thread bob
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

Re: [PHP] header and session?

2002-03-25 Thread bob
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

[PHP] session_start() and javascript problem

2002-03-26 Thread bob
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 }