Jump to content


  • Posts

  • Joined

  • Last visited

About ali_254

  • Birthday 05/07/1991

Profile Information

  • Gender

ali_254's Achievements

Regular Member

Regular Member (3/5)



  1. Hi, I want to design a login system that I can set up an authentication system for two separate panels ... That is, the admin panel is separate, the client panel is also separate. What package do you suggest? Is this feature (Multiple Authentication) , included in packages by default? Or should the kernel of the package be changed? thanks
  2. I want to use the pagination in CodeIgniter 4. When I use Ajax, it is not possible to use pagination.... google
  3. hi , i want use from jquery ajax for fetch date from databse and use pagination... I searched a lot for sample code related to Create AJAX Pagination in CodeIgniter 4 But I did not find any information ... please help me Or provide the appropriate code.thanks
  4. thanks ... i found solution... for use nusoap in codeigniter 4 . download nusoap from github: https://github.com/f00b4r/nusoap and install nusoap with composer , According to the description on the github page. for use nusoap in controller , register this code:
  5. I want to use soap in codeigniter 4. i download file "nusoap.php" And put it next to the project. require_once(APPPATH.'Controllers\Payment\lib\nusoap.php'); $soapclient = new soapclient('https://verify.sep.ir/Payments/ReferencePayment.asmx?WSDL'); when run project , I receive error 'soapclient not found' Please help me, how can use soap in codeigniter 4.thanks
  6. hi... i install xampp and composer in Ubuntu and i want install laravel with this code: composer create-project laravel/laravel example-app but i Received this error: Your requirements could not be resolved to an installable set of packages. Problem 1 - phpunit/phpunit[9.3.3, ..., 9.5.x-dev] require ext-dom * -> it is missing from your system. Install or enable PHP's dom extension. - Root composer.json requires phpunit/phpunit ^9.3.3 -> satisfiable by phpunit/phpunit[9.3.3, ..., 9.5.x-dev]. To enable extensions, verify that they are enabled in your .ini files: - /etc/php/7.4/cli/php.ini - /etc/php/7.4/cli/conf.d/10-opcache.ini - /etc/php/7.4/cli/conf.d/10-pdo.ini - /etc/php/7.4/cli/conf.d/20-calendar.ini - /etc/php/7.4/cli/conf.d/20-ctype.ini - /etc/php/7.4/cli/conf.d/20-exif.ini - /etc/php/7.4/cli/conf.d/20-ffi.ini - /etc/php/7.4/cli/conf.d/20-fileinfo.ini - /etc/php/7.4/cli/conf.d/20-ftp.ini - /etc/php/7.4/cli/conf.d/20-gettext.ini - /etc/php/7.4/cli/conf.d/20-iconv.ini - /etc/php/7.4/cli/conf.d/20-json.ini - /etc/php/7.4/cli/conf.d/20-mbstring.ini - /etc/php/7.4/cli/conf.d/20-phar.ini - /etc/php/7.4/cli/conf.d/20-posix.ini - /etc/php/7.4/cli/conf.d/20-readline.ini - /etc/php/7.4/cli/conf.d/20-shmop.ini - /etc/php/7.4/cli/conf.d/20-sockets.ini - /etc/php/7.4/cli/conf.d/20-sysvmsg.ini - /etc/php/7.4/cli/conf.d/20-sysvsem.ini - /etc/php/7.4/cli/conf.d/20-sysvshm.ini - /etc/php/7.4/cli/conf.d/20-tokenizer.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. please guide me. my php version is 7.4.16
  7. thanks... we can use from this cod: DB::table('posts') ->where('id' , $id) ->increment('counter', 1);
  8. ok thanks , but this procedure use in 'Pure PHP' ! . i want update database in laravel framework and this Command Will not work! i use from query builder in laravel
  9. ok thanks.... I want to get the number of views of an posts(Articles). I created a field in the posts table, I want to add a value to the field every time the code is executed. As a result, I have to update the value of a field , By maintaining the previous value that exists in the database. i want update a field , By maintaining the previous value DB::table('posts')->where('id' , $id)->update($data);
  10. I want to add a value to the field, and keep the previous value in the field.How does it work? $data['count'] = 1; DB::table('posts')->where('id' , $id)->update($data);
  11. ok , thanks.... in MSDN web docs , Posted: So I can not use this method?
  12. hi ... i want use HTML DOM execCommand() Method in java script for create "Edit Text" but i have a problem, in website 'w3shools' , wrote this explanation: What is the meaning of this sentence? Is this method obsolete? https://www.w3schools.com/jsref/met_document_execcommand.asp
  13. I found the solution. for display the answer of the request in file blade.php , we can use this cod: controller public function GetSubCategory(){ return response()->json(['success' => 'ok']); } blade.php: <span id="test"></span> Document.getElementById('test').innerText=response.success
  14. i send Answer the request ajax to file blade.php : public function GetSubCategory($category_id){ $sub="test"; return response()->json($sub); } Now I want to display the answer of the request. How can I display it? (in file blade.php) i want display variable "$sub" in file blade.php
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.