[suspicious - maybe spam] [suspicious - maybe spam] RE: [PHP] RE: Issues with News sites again...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'll try that...But why shouldn't I have register_globals on (which my ISP does and every tutorial I've ever read says to do in order to use several different features of PHP:-/).


--Death Gauge
"How do you gauge your death?!"




----Original Message Follows----
From: "Jasper Bryant-Greene" <jasper@xxxxxxxxxxxxxxxxxx>
To: php-general@xxxxxxxxxxxxx
Subject:  RE: Issues with News sites again...
Date: Wed, 14 Sep 2005 15:21:43 +1200 (NZST)

On Wed, September 14, 2005 3:15 pm, Death Gauge said:
> Sorry had to eat too.  Ok here is the source that is giving me problems.
> I'd
> dropped a few things from it cause they weren't working either but this
> gives the just of what I'm trying to do. I'm renaming the poster.php files
> to more appropriate names but you get the idea of what I'm trying but not
> getting to work.
>
> <?php include 'pselector.php'; ?>
> <?php
> 	// Poster (poster.php)
> 	switch($id)

Unless you have register_globals on, which you shouldn't, this should be
switch($_POST['id'])

--
Jasper Bryant-Greene

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux