Geekpedia
  • Tech
    • Tutorials
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
    • Software
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
  • Media
    • Pictures
  • News
      • ActionScript
      • AI Coding
      • ASP
      • ASP.NET
      • C
      • CSS
      • C#
      • C++
      • Code
      • General
      • HTML
      • Java
      • JavaScript
      • PHP
      • Silverlight
      • SQL
      • Visual Basic
      • Communications
      • Development
      • Internet
      • Linux
      • Microsoft
      • Security
      • Windows
  • Gear
  • Mobillity
  • Wellness
  • Knowledge Base
    • Pictures
  • News
Stripping string of URL unsafe characters
Code PHP
November 7, 2023November 7, 2023Nathan

Stripping string of URL unsafe characters

A function that will strip all the unsafe characters from a string in order to make it valid for URLs. This can be especially useful when you create your own URLs dynamically using mod_rewrite.

Discover
URL Reconstruction Using PHP
Code PHP
November 7, 2023November 7, 2023Nathan

URL Reconstruction Using PHP

Reconstruct an URL in PHP by concatenating the domain-name, path and query string from three different variables.

Discover
Convert JPEG Image To Grayscale
Code PHP
November 7, 2023November 7, 2023Nathan

Convert JPEG Image To Grayscale

Convert a JPEG to a grayscale JPEG using PHP and the IMG_FILTER_GRAYSCALE type of filter.

Discover
Generate Gradient Within Hex Range In PHP
Code PHP
November 7, 2023November 7, 2023Nathan

Generate Gradient Within Hex Range In PHP

A function that generates an array of hex colors that forms a gradient, starting from a hex color and ending with another hex color. The number of gradient steps can also be defined.

Discover
Show Page Load Time In PHP
Code PHP
November 7, 2023November 7, 2023Nathan

Show Page Load Time In PHP

Using a line of code at the beginning of the file and a function call at the end, you can count the number of milliseconds it took PHP to load the page.

Discover
Emulate register_globals Flag As On
Code PHP
November 7, 2023November 7, 2023Nathan

Emulate register_globals Flag As On

How to emulate the insecure, deprecated register_globals flag so that you can access GET and POST keys as PHP variables.

Discover
Prevent Duplicate Form Submission
PHP Tutorials
November 7, 2023November 7, 2023Nathan

Prevent Duplicate Form Submission

Learn how to use PHP sessions to prevent duplicate form submission or re-submission.

Discover
Basic Hit Counter In PHP
Code PHP
November 6, 2023November 7, 2023Nathan

Basic Hit Counter In PHP

A very basic hit counter in PHP; it uses a text file to store the number of hits and displays the number of current hits.

Discover
Reveal The Url Behind A Tinyurl
Code PHP
November 6, 2023November 7, 2023Nathan

Reveal The Url Behind A Tinyurl

Using sockets in PHP to reveal the path that a tinyurl.com URL really points to by reading the HEAD data.

Discover
Factorial and Greatest Common Divisor
PHP Tutorials
November 6, 2023November 6, 2023Nathan

Factorial and Greatest Common Divisor

This tutorial demonstrates how to calculate the greatest common divisor and factorial numbers by doing basic math with PHP.

Discover

Posts pagination

Previous 1 … 22 23 24 … 80 Next

Trending Posts

2024 Website Voice Search Mastery

Feb 3, 202416 min read
Read More

ASP for Data Analysis and Reporting

Feb 3, 202418 min read
Read More

Virtual Reality Software Development: The Future Landscape

Feb 2, 202415 min read
Read More

Integrating ActionScript and AI: Transforming Current Technologies

Feb 2, 202413 min read
Read More

Building a Single Page Application (SPA) in JavaScript: A Comprehensive Guide

Feb 2, 202418 min read
Read More
No Post Found

Trending News

Breaking Barriers: Supercomputers Tackle Global Issues 

Dec 14, 202310 min read
Read More

Revamped Computer Designs: A Promising Solution to Cut E-Waste! 

Dec 14, 20235 min read
Read More

Revolutionizing CPU Design: The Role of AI in Chip Optimization

Dec 13, 202316 min read
Read More
Image Not Found
Geekpedia is a knowledge-driven website offering fresh takes on tech, wellness, gear, and more — all through a thoughtful lens.
From coding tips to curated lifestyle content, it’s built for those who live smart, think sharp, and stay curious.
FOLLOW US
  • Social Image
  • Social Image
  • Social Image
  • Code
  • Gear
  • Generative AI
  • Knowledge Base
  • News
  • Contact Us
  • Work With Us
  • About Us
  • Affiliate Disclosure
  • FAQ
  • Advertisement
  • Disclaimer
  • Privacy Policy
  • Terms & Conditions