Hello everybody,
I'm working on a class but having a lot of problems... probably my
understanding of PhP-OOP is not so good ...
Here's the class: I found it on the web and I've tried to personalize
it to fit my needs...
class FormV
{
var $errorList;
function FormV()
{
$this->reset_erro
On 2003.01.21 15:42 Joseph W. Goff wrote:
For the most part I found two errors
The first was a scope problem. $HTTP_*_VARS hashes are not accessible
inside functions unless you source them in. i.e. global
The other was an extra line in an if statement that did not contain
braces.
I did a little
On 2003.01.21 15:21 Rich Gray wrote:
PHP does not yet support private methods ... your problem with
getValue() is
most probably because register_globals is off in your php.ini try
substituting $_POST[] for $HTTP_POST_VARS[] and it may start to
work...
Sorry... I forgot to mention that I use PhP
On 2003.02.15 00:11 Peter Gumbrell wrote:
[...]
$option_block .= "
[...]
Are you sure it's a scope problem ?
You haven't instantiated any $option_block variable when the loop
starts, so you're concatenating a string to a bunch of uninitialized
memory :)
I can't run your script at the moment, so
On 2003.02.15 20:11 qt wrote:
I am planning to make a log file with fopen command.
I am succesfully read and write the file with fopen. But as I see
fopen is requiring a file with read and write permission for public.
Not for public, for your webserver user, www-data or another similar
name.
5 matches
Mail list logo