Skip to content

Logic Bytes

Spread Your Knowledge

  • Home
  • How To
  • PHP
    • Cakephp
    • WordPress
    • CodeIgniter
    • Laravel
  • Python
    • Django
    • Flask
  • Contact

Month: January 2017

Article / CodeIgniter / payment gateway / PayUMoney / PHP

PayUMoney return data after payment

January 30, 2017 Chandan SharmaComment on PayUMoney return data after payment

    Array ( [mihpayid] => 403993715515489558 [mode] => CC [status] => success [unmappedstatus] => captured [key] => DgdPazAK [txnid] => CHN00001140 [amount] => 5000.0 …

Read More
Article

Generate Random Number in php

January 29, 2017 Chandan SharmaComment on Generate Random Number in php

function generate_random_password($length = 4) {    $alphabets = range(‘A’,’Z’);    $numbers = range(‘0′,’9’);    $additional_characters = array(‘_’,’.’);    $final_array = array_merge($alphabets,$numbers,$additional_characters);    $password = ”; …

Read More
Article / CodeIgniter / JavaScript / JQuery / PHP

Email Validation in jquery

January 29, 2017 Chandan SharmaComment on Email Validation in jquery

function validateEmail(email) {       var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;       return emailReg.test( email );   } Return TRUE/ FALSE

Read More
Article / CodeIgniter / HTML / JavaScript / JQuery / PHP

Jquery- Email Validation

January 29, 2017 Chandan SharmaComment on Jquery- Email Validation

function isEmail(email) { var regex = /^([a-zA-Z0-9_.+-])+\@(([a-zA-Z0-9-])+\.)+([a-zA-Z0-9]{2,4})+$/; return regex.test(email); } It’s returns true or false

Read More
Article / CodeIgniter / PHP

Get URL segments in core php

January 27, 2017 Chandan SharmaComment on Get URL segments in core php

//– META KEYWORDS:: –     $XSHRMETA_REQUEST_URI_PATH = parse_url($_SERVER[‘REQUEST_URI’], PHP_URL_PATH);     $XSHRMETA_URI_SEGMENTS     = explode(‘/’, $XSHRMETA_REQUEST_URI_PATH);     //print_r( $XSHRMETA_URI_SEGMENTS);     // …

Read More
Article

How to know your IP address

January 1, 2017 Chandan SharmaComment on How to know your IP address

# To Check your IP address Open Command Prompt then type ipconfig and Press ENTER LIKE: ipconfig And Press ENTER

Read More
Article

How to insert same row data again getting from field in php

January 1, 2017 Chandan SharmaComment on How to insert same row data again getting from field in php

# It Inserts by getting all fields values directly from table and Insert that value like a new record in that table. It selects that …

Read More
PHP

Php- How to Encode Html content

January 1, 2017 Chandan SharmaComment on Php- How to Encode Html content

# use to encode html tags. it just encode the tags but not remove. htmlentities($your_content, ENT_QUOTES);  

Read More
JavaScript / JQuery / PHP

Php- How to use Data Table in php

January 1, 2017 Chandan SharmaComment on Php- How to use Data Table in php

# Use Data Table for auto search fields. #Link CSS <link rel=”stylesheet” type=”text/css” href=”https://cdn.datatables.net/1.10.12/css/jquery.dataTables.min.css”> # Link The JS Library <script type=”text/javascript” language=”javascript” src=”//code.jquery.com/jquery-1.12.3.js”></script> <script type=”text/javascript” …

Read More
payment gateway / paypal

What is PayPal Returned Data in php

January 1, 2017 Chandan SharmaComment on What is PayPal Returned Data in php

#PayPal Return data after payment Array ( [mc_gross] => 200.00 [protection_eligibility] => Ineligible [payer_id] => QYHMSXDS1G9EW [tax] => 0.00 [payment_date] => 23:58:50 Dec 06, 2016 …

Read More

Posts navigation

1 2 Next

Recent Posts

  • Python Automation Framework-PyUnit (Unittest) Framework
  • Python Automation Framework-TestProject Framework
  • Python Automation Framework-Pytest Framework
  • Python Automation Framework-Lettuce Framework
  • Python Automation Framework-Behave Framework:
  • Top Python Testing Automation Frameworks in 2024
  • Visual Studio Code Keyboard Shortcut Editor
  • Visual Studio Code Keyboard Shortcuts
  • How to Remove Sidebar from Category Pages in WordPress?
  • Best Practices for API Responses

Automation Frameworks Automation Testing Behave Framework Blogger Blogspot Cakephp Cheat Sheets Code Editor CodeIgniter Code Navigation Collaborative Coding Debugging Tools Disable Mouse Right Click Domain Extension Editor Extension Full form Facebook Facebook Video Download IDE JavaScript JQuery Lettuce Framework Microsoft Code Editor Open-Source Code Editor PHP Pytest Framework Python Python-3.x Python Automation Python Automation Frameworks Python Automation Testing Python Pytest Framework Python Testing Frameworks Python TestProject Framework Python Unittest Framework Syntax Highlighting Testing Frameworks Text Editor for Developers Visual Code Visual Code Editor Visual Studio Code Visual Studio Code Cheat Sheet VSCode VSCodeEditor WordPress

Copyright © 2025 Logic Bytes.
Powered by WordPress and PridMag.