phpserver Posted October 21, 2008 Share Posted October 21, 2008 Hi,i have done many php scripts and i just put them in a folder and call them like this.http://localhost/kim.register.php etc etc.I came across a method like i call my scripts like this;for instance....index.php?option=com_sms&task=smsMessage where com_sms can be found in a folder called com_content for instance such that if i want to add a new functionality to my web pages i just put a new component into the folder com_content;for instance if i wanna add,a functionality for newsletters i just place my com_nletter in my com_content folder and when it comes on the browser i guess i will write something like this index2.php?option=com_nletter&task=newsletter. Maybe somebody has seen this method on joomla,where can i find tutorials on how this is achieved?. Link to comment https://forums.phpfreaks.com/topic/129390-trouble-arranging-my-scripts/ Share on other sites More sharing options...
GKWelding Posted October 21, 2008 Share Posted October 21, 2008 My advice for you would be to use an MVC (Module, View, Control) Framework such as CodeIgniter... Link to comment https://forums.phpfreaks.com/topic/129390-trouble-arranging-my-scripts/#findComment-670782 Share on other sites More sharing options...
ScotDiddle Posted October 21, 2008 Share Posted October 21, 2008 phpserver, The method you are describing uses the $_GET PHP variable... Google 'php $_get variable' for numerous examples on how to implement. Scot L. Diddle, Richmond VA Link to comment https://forums.phpfreaks.com/topic/129390-trouble-arranging-my-scripts/#findComment-670784 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.