how to pass $_POST or $_FILE value in class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
manojsemwal1
Forum Contributor
Posts: 217
Joined: Mon Jun 29, 2009 4:13 am
Location: India

how to pass $_POST or $_FILE value in class

Post by manojsemwal1 »

Hai ....
i want to pass $_POST and $_Files value in class and function anybodyknow s how to do this.

like

class name()
{
$_POST['fname'];
like that

}
Thanks
manojsemwal1
Forum Contributor
Posts: 217
Joined: Mon Jun 29, 2009 4:13 am
Location: India

Re: how to pass $_POST or $_FILE value in class

Post by manojsemwal1 »

Thanks for your reply but array_script.php file having classes ?
like

class name()
{
i want to access the text value here can i access or not.
i had tried but not to access.
}
Post Reply