-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
How to reinstall Windows 11 without losing your data using Windows Update
By Sagar Naresh,
- microsoft
- windows 11
- (and 3 more)
- 8 replies
- 3 views
-
Dummy Apple iPhone 16 units show the alleged design changes we could see in September
By Sagar Naresh,
- 2 replies
- 3 views
-
How to turn off the new ads in Discord, even without Nitro
By Martin Hodás,
- discord
- advertising
- (and 4 more)
- 3 replies
- 3 views
-
Leaked Google Pixel 8a live images reveals the phone in its full glory ahead of launch
By Sagar Naresh,
- 2 replies
- 4 views
-
Unified Copilot experience will land in Visual Studio 17.10, due in May
By zikalify,
- microsoft
- visual studio
- (and 9 more)
- 3 replies
- 4 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
Share on other sites
2 answers to this question
Recommended Posts