-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
How to create lightweight Windows 11 for unsupported PCs
By TarasBuria,
- microsoft
- windows 11
- (and 3 more)
- 13 replies
- 0 views
-
How to get one more year of Windows 10 updates for free
By TarasBuria,
- guide
- windows 10
- (and 2 more)
- 12 replies
- 0 views
-
You can still enable uBlock Origin in Chrome, here is how 1 2
By TarasBuria,
- 33 replies
- 0 views
-
Google can now read your WhatsApp messages, here's how to stop it
By David Uzondu,
- 12 replies
- 0 views
-
How to fix inconsistent scrollbars in Microsoft Edge
By TarasBuria,
- guide
- microsoft edge
- (and 3 more)
- 6 replies
- 0 views
-
Question
Site Lab
Hi,
Is there a way to create the following in PHP without using a big framework such as Codeigniter, Zend or Cake? (I found something called NaturePHP, but there was no configuration instructions and it didn't work....).
Anyway, how would I:
If i was to place that in the folder modules and call it helloworld.module.php, i can then once that module is included, call $helloworld->message();. Without having to first:
Load the module ($helloworld = new HelloWorld() ;)
Or include it... (require_once('module/helloworld.module.php') ;)
Anyone know how I would do this? If you need to me to clarify anything please ask below :)
Link to comment
https://www.neowin.net/forum/topic/1051915-php-moduleplugin-system/Share on other sites
2 answers to this question
Recommended Posts