PHP Classes

Logical Functions: General-purpose PHP and JavaScript functions

Recommend this page to a friend!
  Info   View files Documentation   Screenshots Screenshots   View files View files (25)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-01-07 (20 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 82 This week: 3All time: 9,913 This week: 170Up
Version License PHP version Categories
logical-functions 1.0.0The PHP License5HTML, Email, Networking, HTTP, PHP 5, E..., C..., T..., L..., W..., G..., V..., S..., G...
Description Author

This package provides general-purpose PHP and JavaScript functions.

The PHP functions can do the following:

- Generate string with random letters

- Get the IP address of the computer of the current user

- Get the URL of the current page

- Get the geographic location associated with the IP address of the current user

- Get the values of specific parameters of an HTTP POST request

- Check if the current user is still active after a given timeout period

- Generate a secure hash for a given password or verify if a hashed password matches a given hash

- Generate a slug text for a given password

- Encrypt and decrypt data using the OpenSSL extension

- Validate a given email address

- Verify a payment made using PayStack


The JavaScript functions can do the following:

- Check if an array of integers has a unique integer

- Find the minimum or maximum value in an array of integers

- Check if an integer is a prime number

- Check if a text is a palindrome

- Find all page elements with a given CSS class

Picture of bamigboye biodun
Name: bamigboye biodun <contact>
Classes: 1 package by
Country: United States United States

Details

logical-functions

This contains standalone functions that can be used in projects majorly in php and Js. its open source. feel free to use optimize and contribute

Screenshots  
  • screenshots/js/FIND-LONELY-INT.png
  • screenshots/js/isPrimeNumber.png
  • screenshots/js/palindrome.png
  • screenshots/js/palindrome_updated.png
  • screenshots/php/accessing_object_keys_dynamically.png
  • screenshots/php/PASSWORD.png
  • screenshots/php/workingWithObject.php
  • screenshots/php/workingWithObject.png
  Files folder image Files  
File Role Description
Files folder imagejs (8 files)
Files folder imagephp (15 files)
Files folder imagescreenshots (1 directory)
Accessible without login Plain text file README.md Doc. Documentation

  Files folder image Files  /  js  
File Role Description
  Accessible without login Plain text file CaptureImage.vue Data Auxiliary data
  Accessible without login Plain text file findLonelyInt.js Data Auxiliary data
  Accessible without login Plain text file findMax.js Data Auxiliary data
  Accessible without login Plain text file findMinimumValue.js Data Auxiliary data
  Accessible without login Plain text file isPalindrome.js Data Auxiliary data
  Accessible without login Plain text file isPrimeNumber.js Data Auxiliary data
  Accessible without login Plain text file obtainInputValuesByClassName.js Data Auxiliary data
  Accessible without login Plain text file paystack.html Data Example page to make a payment with the Paystack service

  Files folder image Files  /  php  
File Role Description
  Accessible without login Plain text file .htaccess Data Auxiliary data
  Accessible without login Plain text file accessing_object_keys_dynamically.php Example Example script
  Accessible without login Plain text file genRandomAlphabet.php Aux. Auxiliary script
  Accessible without login Plain text file getClientIp.php Aux. Auxiliary script
  Accessible without login Plain text file getCurrentPageUrl.php Aux. Auxiliary script
  Accessible without login Plain text file getCurrentTime.php Example Example script
  Accessible without login Plain text file getLocation.php Aux. Auxiliary script
  Accessible without login Plain text file getPostRequest.php Aux. Auxiliary script
  Accessible without login Plain text file isSessionTimeOut.php Aux. Auxiliary script
  Accessible without login Plain text file securePasssword.php Aux. Auxiliary script
  Accessible without login Plain text file slug.php Aux. Auxiliary script
  Accessible without login Plain text file twoWayEncryption.php Aux. Auxiliary script
  Accessible without login Plain text file validateEmail.php Aux. Auxiliary script
  Accessible without login Plain text file verifyPaymentPaystack.php Aux. Auxiliary script
  Accessible without login Plain text file workingWithObject.php Example Example script

  Files folder image Files  /  screenshots  
File Role Description
Files folder imagejs (1 file)

  Files folder image Files  /  screenshots  /  js  
File Role Description
  Accessible without login Plain text file obtainInputValuesByClassNameUseCase.html Data Example HTML page

 Version Control Unique User Downloads Download Rankings  
 100%
Total:82
This week:3
All time:9,913
This week:170Up