creating a registration system with CI4, and why is CI "better"? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: creating a registration system with CI4, and why is CI "better"? (/showthread.php?tid=77810) Pages:
1
2
|
creating a registration system with CI4, and why is CI "better"? - zoldos - 10-21-2020 I'd like to create a registration system (with e-mail validation and remember me) and then present certain pages to the visitor based on being logged on or not. How can I get started? I'm still new to PHP, and have never used a framework before. Also, why is using CI "better" than just pure PHP? Any help or ideas would be most appreciated! RE: creating a registration system with CI4, and why is CI "better"? - InsiteFX - 10-21-2020 This has already been built for CI 4 DRY Myth:Auth And if you also need this with an admin dashbaord CodeIgniter 4 Application Boilerplate RE: creating a registration system with CI4, and why is CI "better"? - zoldos - 10-21-2020 Coolness. Thank you for the tips. Is it easy to implement? RE: creating a registration system with CI4, and why is CI "better"? - Awlikhaleghi - 10-24-2020 (10-21-2020, 06:46 PM)zoldos Wrote: Coolness. Thank you for the tips. Is it easy to implement? Starting fresh, no it is not that hard to implement. instructions are very clear and Myth:Auth is amazing with a lot of fun futures including roles/user groups/permissions etc... if you are new to CI though, you might want to get yourself familier with the core concepts of CI so you can better implement your Myth:Auth to your application. RE: creating a registration system with CI4, and why is CI "better"? - zoldos - 10-26-2020 (10-24-2020, 12:02 PM)Awlikhaleghi Wrote: Starting fresh, no it is not that hard to implement. I'm new to CI but not coding. I did a lot of C++ in the mid 90's and have dabbled with PHP for several years. I'm hungry to learn!! (10-21-2020, 11:03 AM)InsiteFX Wrote: This has already been built for CI 4 DRY Hmm....I tried to install/update Composer in console but got this: Code: Problem 1 and a bunch more. I have PHP 7.3.22 so I don't know what's up. Also, once composer is updated, how do I install myth? I've already manually installed CI4 and have it running. Thanks! RE: creating a registration system with CI4, and why is CI "better"? - Awlikhaleghi - 10-26-2020 (10-26-2020, 12:56 AM)zoldos Wrote:(10-24-2020, 12:02 PM)Awlikhaleghi Wrote: Starting fresh, no it is not that hard to implement. Well your composer is saying that your PHP version is 7.0.33, could you check if you have multiple phps installed? To check your PHP version: Code: $ which php Stackoverflow: [/url][url=https://stackoverflow.com/questions/28318041/how-to-check-if-there-are-multiple-versions-of-php-installed-on-ubuntu-12-04-lts]How to check if there are multiple versions of PHP installed on Ubuntu 12.04 LTS - You could try this on Debian machines. Regarding to ext-intl, if you're running on a Linux Debian machine simply run the following command to install it. Code: sudo apt-get install php7.2-intl and about installing myth using composer, I have not tried that, I took the source and implemented it manually, changing Myth's default Namespaces to your application and placing the Myth files in their respctive directories would do the job. Good Luck. RE: creating a registration system with CI4, and why is CI "better"? - InsiteFX - 10-26-2020 Upgrade your php version to 7.2+ or higher. Also you need to edit your php.ini file and remove the ; from the intl extension. RE: creating a registration system with CI4, and why is CI "better"? - zoldos - 10-26-2020 I get this with php -v in console: Code: PHP 7.0.33-0ubuntu0.16.04.7 (cli) ( NTS ) I tried the apt-get install and got: Code: condor1310:/usr/bin# sudo apt-get install php7.3 (10-26-2020, 06:32 AM)InsiteFX Wrote: Upgrade your php version to 7.2+ or higher. Having problems with the upgrade. Can you assist on which command to use? I'll also try the php.ini suggestion. Thanks! RE: creating a registration system with CI4, and why is CI "better"? - Awlikhaleghi - 10-26-2020 (10-26-2020, 06:38 AM)zoldos Wrote: I get this with php -v in console: Ok that's no problem, here what you have to do. I would remove the current PHP to prevent any possible conflicts. then Install the php7 using the ondrej/php ppa repo. Code: sudo add-apt-repository ppa:ondrej/php this link will have all you need to install php on ubuntu machines. https://computingforgeeks.com/how-to-install-php-on-ubuntu/ (php7.4) that'd install PHP7.3, but you need more than just php, you will have to install extensions. Code: sudo apt-get install php7.3-{bcmath,bz2,intl,gd,mbstring,mysql,zip,fpm} -y these exts are usually required but you can choose depending on your needs. RE: creating a registration system with CI4, and why is CI "better"? - Awlikhaleghi - 10-26-2020 (10-26-2020, 04:39 PM)Awlikhalegi Wrote: I would remove the current PHP to prevent any possible conflicts.if you are on a server and not a desktop do not remove your PHPs!!!! |