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
Validate email addresses using PHP
Code PHP
November 9, 2023November 9, 2023Nathan

Validate email addresses using PHP

This PHP function validates an email address without using RegEx. It’s not the most comprehensive function however, as it doesn’t check for special characters that are not allowed in an email address.

Discover
Knowledge Base PHP
November 8, 2023November 8, 2023Nathan

How to redirect using PHP

Using PHPs header() function you can easily redirect to an URL of your choice by passing a simple parameter. In the below example we will redirect the user to http://geekpedia.com. As you can see, we pass as a parameter a string starting with “Location: ” followed by the actual URL to which we wish to redirect the […]

Discover
Knowledge Base PHP
November 8, 2023November 8, 2023Nathan

How to destroy a session in PHP

You normally use sessions in PHP to store information about the user’s current session that will help you track him while he is browsing your website.Sometimes you will want to destroy that session or all the sessions registered to that user, for example when he wants to log out. The easiest way of destroying all […]

Discover
Knowledge Base PHP
November 8, 2023November 8, 2023Nathan

How to fix Cannot modify header information

Cannot modify header information – headers already sent by (output started at …) is a very popular error returned by PHP. You would receive this error if you are trying to set the header of a page after the header has already been sent to the client. There are two main ways of getting around […]

Discover
Knowledge Base PHP
November 8, 2023November 8, 2023Nathan

How to get the current Unix timestamp in PHP

The Unix timestamp represents the time measured in seconds since the start of the Unix epoch (January 1st, 1970). The Unix timestamp is often inserted into databases, to date the records. Getting the Unix timestamp in PHP is done by using the time() function, which returns the current Unix timestamp of the server. Here we output the […]

Discover
Code PHP
November 8, 2023December 12, 2023Nathan

WhoIs function for domain-name info

This function returns the WhoIs string for the passed domain name (such as the domain-name owner and nameservers) by opening a socket to a WhoIs server.

Discover
Knowledge Base PHP
November 8, 2023November 8, 2023Nathan

How do I change the timeout limit for my PHP code?

If you would like to overwrite the script execution timeout limit defined in php.ini, you can do that directly from your PHP code using the following line: // Set it to no-limitset_time_limit(0); Of course you can as well set it to any time limit in seconds. The default time limit is 30 seconds.

Discover
PHP Tutorials
November 8, 2023December 12, 2023Nathan

Backup mysql data using PHP in Windows

How to backup mysql data using PHP in Windows XP, 2000, NT

Discover
Basic file based hit counter
Code PHP
November 7, 2023November 8, 2023Nathan

Basic file based hit counter

Very basic hit counter based on a plain text file, built using PHP.

Discover
Find out where a TinyUrl.com url points to
Code PHP
November 7, 2023November 8, 2023Nathan

Find out where a TinyUrl.com url points to

This PHP source code uses sockets to retrieve the URL that TinyUrl.com points to, without you having to actually access the URL.

Discover

Posts pagination

Previous 1 2 3 … 8 Next

Trending Posts

Fixter’s Door-to-Door Service Might Be the Future of Car Care

Apr 24, 202510 min read
Read More

Meta Unveils AI Tool Specifically Designed for Coding

Apr 21, 20256 min read
Read More

Best Online Beauty Stores for Skincare and Makeup Lovers

Apr 21, 202515 min read
Read More

The Wearable That Talks to Your Nervous System

Apr 21, 202512 min read
Read More

Why Pulsetto’s Vagus Nerve Stimulation Device Is a Must-Have for Stress Relief

Apr 21, 202510 min read
Read More
No Post Found

Trending News

Tech Education: Preparing the Next Generation of Innovators

Feb 20, 20256 min read
Read More

How Communication Technology is Revolutionizing Healthcare

Jan 11, 20258 min read
Read More

Cyber Attacks: Latest Strategies to Protect Against Online Threats

Jan 3, 20249 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