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
Check if a string ends with another string
Code PHP
November 7, 2023November 8, 2023Nathan

Check if a string ends with another string

A short function that checks whether a passed string ends with another passed string, and returns the answer as a boolean value.

Discover
Redirect using PHP
Code PHP
November 7, 2023November 8, 2023Nathan

Redirect using PHP

A function that redirects the user to the specified URL by sending the appropriate headers or by using JavaScript if the headers were already sent.

Discover
Read content of file or URL into a string
Code PHP
November 7, 2023November 8, 2023Nathan

Read content of file or URL into a string

Two examples on how to read the content coming from an URL or from a local file into a string, using PHP.

Discover
Code PHP
November 7, 2023Nathan

Parsing a Tab Delimited File

This example code shows you how to parse a tab delimited file (or any other character delimited file for that matter), using PHP.

Discover
Code PHP
November 7, 2023November 7, 2023Nathan

Get the modified date and time of a file using PHP

An example on how to use the filemtime() function to retrieve the last update date and time of a file.

Discover
Code PHP
November 7, 2023Nathan

Array of Street Types and their Abbreviations

A PHP array containing the street types / designations and their canonical form / abbreviation, following the USPS standard.

Discover
Code Java
November 7, 2023Nathan

Basic HTTP Server In Java

Create a basic HTTP server in Java that answers browser requests and serves the requested page to the client, using the ServerSocket object.

Discover
Java Tutorials
November 7, 2023November 8, 2023Nathan

Writing a file using I/O in Java

This piece of code writes a string of characters to a new text file in order to demonstrate how the Java IO operations work.

Discover
Java Tutorials
November 7, 2023November 7, 2023Nathan

An Introduction to Linked Lists

A brief introduction to the concept of a linked list through an example.

Discover
Code PHP
November 7, 2023Nathan

Array of States and their Territory Code

A PHP array of US state abbreviations and their corresponding territory code, including the leading zero.

Discover

Posts pagination

Previous 1 … 28 29 30 … 68 Next

Trending Posts

Mastering Performance Tuning in Java Applications

Jan 26, 202416 min read
Read More

Mastering CSS Frameworks: A Comprehensive Guide to Bootstrap, Tailwind, and More

Jan 26, 202415 min read
Read More

Building a Simple Compiler in C: A Step-by-Step Guide

Jan 25, 20246 min read
Read More

Mastering Music Playback: Building a Simple Music Player in ActionScript

Jan 25, 202413 min read
Read More

C# and Machine Learning with ML.NET

Jan 25, 202415 min read
Read More
No Post Found

Trending News

Navigating the Future: Java’s Resilience Amid Licensing Changes and Security Concerns

Nov 4, 20233 min read
Read More

Google Embraces Open-Source Innovation for Android

Nov 4, 20233 min read
Read More

Biden’s Executive Order: A New Dawn for AI and Software Development

Nov 3, 20233 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