try using pear...
On Sat, 2002-11-16 at 22:53, Leif K-Brooks wrote:
> I'm looking for a good class for forms that will work with
> register_globals off. I was planning to modify Manuel Lemos's class,
> but it turned out to be too big of a task. Any ideas?
>
> --
> The above message is encr
I'm looking for a good class for forms that will work with
register_globals off. I was planning to modify Manuel Lemos's class,
but it turned out to be too big of a task. Any ideas?
--
The above message is encrypted with double rot13 encoding. Any unauthorized attempt to decrypt it will be pr
On Thursday 14 November 2002 03:41, Marek Kilimajer wrote:
> Even if the method is post, you can have get variables, if the form has
> action="script.php?get_var=value"
Yes but I don't (need to) define my forms like that so I don't really care :-)
--
Jason Wong -> Gremlins Associates -> www.grem
Even if the method is post, you can have get variables, if the form has
action="script.php?get_var=value"
Jason Wong wrote:
On Wednesday 13 November 2002 23:57, Leif K-Brooks wrote:
I am planning to use Manuel Lemos's form class for a web site I am
working on. However, I need to have registe
On Wednesday 13 November 2002 23:57, Leif K-Brooks wrote:
> I am planning to use Manuel Lemos's form class for a web site I am
> working on. However, I need to have register_globals set to off. I was
> planning to rewrite the portions of the class that access submitted form
> values directly to u
I am planning to use Manuel Lemos's form class for a web site I am
working on. However, I need to have register_globals set to off. I was
planning to rewrite the portions of the class that access submitted form
values directly to use the suberglobal arrays. When I started, though,
I saw how
At 21:05 12.11.2002, Mark Spohr said:
[snip]
>I'm trying to convert this to use $_POST() as such:
>
> if (@$_POST['form'] == "yes")
>{
>unset($_POST['form']);
>}
>
>However, this does not work. It appears that you can't unset the
>$_POST['form'] array eleme
I'm very new to PHP/mySQL and am working through the "PHP and mySQL for
Dummies" examples. Unfortunately, these were all written with
register_globals on and the system I'm using has register_globals off.
I'm having trouble converting the examples to use the $_POST() expression.
Specifically, t
Hi there
In my shop a had this code to add a product to the shoppingcart:
session_start();
session_register("cart");
if($action == "addtocart")
{
$cart[] = "$id,$amount";
}
To view the cart i had to explode the session_variable $cart and get
more data from the database.
session_sta
> I'm working on a site where I'm using geeklog
> http://geeklog.sourceforge.net/
>
> It has the requirement that
>
> > "Geeklog needs the register_globals variable turned on in order to work.
> > Since PHP 4.2.0, the default for register_globals is "off". To fix it,
> > simply add the following l
Hi,
I'm working on a site where I'm using geeklog
http://geeklog.sourceforge.net/
It has the requirement that
> "Geeklog needs the register_globals variable turned on in order to work.
> Since PHP 4.2.0, the default for register_globals is "off". To fix it,
> simply add the following line to
Looks like you forgot your ticks ' around the PHP_SELF. If I am correct,
it should be $_SERVER['PHP_SELF'].
Either way, you might want to try this. Somebody else posted it before and
I have been using it so that no matter what version of PHP my program runs
on, it should work.
if (isset($_SER
On Sun, 28 Apr 2002, Kirk Babb wrote:
> How do I use $PHP_SELF with register_globals off? I looked up the
> documentation on php.net but haven't gotten this line of code to work:
>
>
action=''
miguel
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
IL PROTECTED]]
> Sent: Sunday, April 28, 2002 3:58 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] register_globals=Off Question
>
> How do I use $PHP_SELF with register_globals off? I looked up the
> documentation on php.net but haven't gotten this line of code to work:
>
>
How do I use $PHP_SELF with register_globals off? I looked up the
documentation on php.net but haven't gotten this line of code to work:
I get this error instead:
[28-Apr-2002 16:33:31] PHP Parse error: parse error, expecting `T_STRING'
or `T_VARIABLE' or `T_NUM_STRING' in - on line 140
wha
15 matches
Mail list logo