Jump to content

Zelphics

Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Zelphics's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. heres an example of the code i have class someclass { public function run($parm) { system($parm); } public static function create($item1,$item2) { $this->run($item1 . $item2); } } then i have a file that attempts to use the create method: someclass::create($one,$two); when interpreting, i get this error: "Using $this when not in object context in" does anyone know how I can fix this? I think I understand why its wrong (the class hasn't really been set up) - I just dont know how to correct it. Is there a way I can access class functions without using $this ? additionally I tried making the run method static too, but that didnt seem to work.
  2. not a bad site, php loads quick, maybe could look a little better visually.
  3. if you need help, and dont want to show us your site; try looking at the code to a phpbb forum or other advanced user system. thats always helpful.
  4. there are a few bugs, but if you got it to work and didn't spam it with ads im sure people would use it!
  5. im not sure there is enough php content on this site to make it easily hackable.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.