Tech Arise

Web Development Tutorials & Resources

Skip to content
Menu
  • Home
  • Tutorials
    • PHP
    • Codeigniter
    • Node JS
  • How To
  • Live Demo

Category: PHP

How to Get Current URL in PHP

Posted onLast Updated : March 5, 2022Last Updated : March 5, 2022By TechArise Team
In this tutorial, we will learn how to Get the Current URL in PHP. You can use the $_SERVER built-in variable to get the current page URL in PHP. The $_SERVER is a super global variable, which means it is always available in all scopes. Also Read: How to Disabl [...]
Read More

How to remove extension from filename in PHP

Posted onLast Updated : December 18, 2021Last Updated : December 18, 2021By TechArise Team
In this article, We will share with you how to extract the filename extension in PHP, along with understanding their implementation through the examples. There are many ways to extract the extension from a filename with PHP, which is given below: Also Read: How [...]
Read More

How to Converting timestamp to time ago in PHP

Posted onLast Updated : November 27, 2021Last Updated : September 7, 2023By TechArise Team
PHP Time Ago functionality is used to display time in a different format. The time ago format removes the problem of different time zones conversion. Given below is a function to do the time conversion. In this function, take the timestamp as an input and then subtract it from the current time [...]
Read More

How to validate a URL in PHP

Posted onLast Updated : November 21, 2021Last Updated : September 7, 2023By TechArise Team
It is very important to check URL is valid. In this article, We have shared with you how to validate URL in PHP. Using filter_var() function with FILTER_VALIDATE_URL Filters, we can easily validate a URL in PHP. Also Read :How to validate an email address in P [...]
Read More

How to validate an email address in PHP

Posted onLast Updated : November 19, 2021Last Updated : September 7, 2023By TechArise Team
In this article, different methods to validate an email address in PHP.It uses regular expressions and an inbuilt email validation function in PHP. Also Read :How to Open URL in Same Window and Tab using JavaScript Using: regular function p [...]
Read More

How to Convert Local Time to UTC in PHP

Posted onLast Updated : November 19, 2021Last Updated : September 7, 2023By TechArise Team
In this tutorial, We have shared with you how to convert the date and time value from one timezone to another timezone using PHP DateTime and DateTimeZone classes. You can convert any timezone to UTC DateTime using PHP. We will show you how to convert local date&time to UTC DateTime (YYYY-M [...]
Read More

Latest Articles

  • Library Management System in PHP and MySQL
  • NodeJS RESTfull APIs with Express and MySQL
  • How to get current date, given a timezone in PHP
  • Laravel 9 Registration and Login using MySQL
  • Convert HTML Content to PDF using JavaScript
  • Home
  •  |  
  • Contact Us
  •  | 
  • About Us

Copyright © 2011 - 2025 TECHARISE.COM All rights reserved.