-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
How to prevent Windows 11 from encrypting your disks during installation 1 2 3 4
By TarasBuria,
- 77 replies
- 5 views
-
Educators are now teaching high-level coding skills over syntax due to generative AI
By zikalify,
- coding
- computer science
- (and 7 more)
- 11 replies
- 5 views
-
How to reinstall Windows 11 without losing your data using Windows Update
By Sagar Naresh,
- microsoft
- windows 11
- (and 3 more)
- 9 replies
- 4 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
-
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