Skip to content
Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Menu
Home
Helium
What is a Helium Hotspot?
How to Install a Helium Hotspot
Helium Maps and Elevation Measuring
Helium Hotspot Cables and Connections
Port Forwarding – Helium Miner
Things to Consider when installing a Helium Miner
Helium Hotspot Antenna Gallery
Best Stablecoin Investing Websites
Crypto Blog
HotspotRF Referral code 2022
PHP
Php – Arrays
Php – Csv
Php – Dates & Time
Php – Email
Php – Loops
Php – Maths
Php – Miscellaneous
Php – Strings
Jquery
Jquery – Ajax
Jquery – Forms Posting
Jquery – Modals
Jquery – Strings
Jquery – Tricks
Jquery – Validation
Jquery – Variables
Jquery – Misc
MySQL
CSS
Javascript
WordPress
Admin – WP
WooCommerce
WordPress – Get
WordPress – Miscellaneous
WordPress – Show
Misc
Firefox
Python
Random Coding
Raspberry Pi
Reviews
SEO
SEO News
Sublime Text
Windows
Search
Generic filters
Exact matches only
Php - Miscellaneous
A random number picker that picks 6 numbers from 1 to 49 but only once
Add Expires Headers to your .htaccess file – Gtmetrix Error
Adding Canonical link manually – PHP
Allowed file extension in upload form
Basic OOP structure PHP class-function
Call function in PHP
Check if file_exists
Checkboxes post collect values
Cookies
Create PDF with PHP – Basic
Csv file create with array
Curl – check if extension loaded
Curl – Write soucecode of website to file
Deleting all files from a folder using PHP
Detect Mobile Browser
Displaying decimal format in PHP (bcmul)
Error Reporting – Turn On
Extensions working? Soap test
Find post values from form submitted
Find what php.ini file cli is using
Foreach post variable -Collect posted fields
FTP Send files – backup
Functions
Get all files in a directory
Get Array values from php ini file
Get city from ip address – geolocation
Get current domain / website name
Get extension or filename from url
Get last part of url – page name
Get last visited page- Referal – Pagename as variable
Get latest file created in directory – filemtime
Get user information – Browser IP address etc
Give a function access to outside variable
Hitcounter in Php
Hotlinking – Stop remote posting from another form
How to catch errors and warnings in PHP
How to find the last folder in url
How to Reduce Image File Size while Uploading Using PHP code?
How to stop or pause php code execution?
Hyperlink variable passing – PHP
Increase Maximum Execution time of 60 seconds in PHP
IP address logging
Isset Post Check if else variable set
JSON decode
Last page visited – Referer
Maximum posts change php.ini
Output buffer – ob_start()
Pagination
Password protection – one page
PDF creation using HTML2FPDF
Permutations – Random
PHP Quiz
Php variable to Javascript variable
Phpinfo
Populate dropdown with data from database
Post form to itself – PHP_SELF
Random numbers and string
Read Rss feeds
Redirect Ipad & Iphone users
Redirect page – header()
Refresh php page periodically
Remove GET querys from browser’s URL after loading – Cloaking
Responsive screen size – PHP way
Rotate and Save an image using PHP
Run all files in a folder – Batch
Run PHP file using scheduled task
Run PHP in Command Line
Scandir show all pdf files in a folder
See last xml request posted
Sending hidden PHP variable using Button-Form
Server Vars – referer show
Session set and increment
Session show with page counter
Session to variable
Session Unset
Set session variable and check if equal to value
Show all current sessions
Show all databases
Show all images inside a folder
Show last 10 lines of text file
Show/Hide error reporting
Simplexml read xml file
Sleep or Wait
Soap – Football
Stop duplicates in dropdown box
Stop showing depreciated warnings php
Switch – Case (Instead of IF-Else)
Turn PHP error reporting on /off
Turning off Deprecation warnings in PHP.ini file WAMP
Two submit buttons one form
Unzip a file
Upload a file – simple
Upload image with PHP – Simple
Users online
Variable adding in difficult places
Webscraping words from a website
Webscraping words from a website 2
XML reader for feeds
Find user whoami phpinfo
24th June 2014
Php - Miscellaneous
Create and run this to find who is the user logged on
also the phpinfo, very handy!
<?php echo shell_exec('whoami'); phpinfo(); ?>
1
2
3
4
5
6
7
8
<?php
echo
shell_exec
(
'whoami'
)
;
phpinfo
(
)
;
?>
Was this code snippet helpful?
Yes
0
No
0
Firefox 133 Toolbars – Tabs on Bottom – Update Nov 24
Exclude category from blog while adding them to sitemap.xml
What Router can I use with Onestream Broadband?
Disable buying – Woocommerce
Windows Desktop Wallpaper Background for OCD users with shelves
Featured Image Admin Thumb – Working Plugin (WordPress 6.2)
Create a gallery in a Posts page
Clickable elements too close together – Solved
Best ChatGPT Prompts
Make Elementor Accordion Closed by Default
noindex a specific page in WordPress using functions file
A random number picker that picks 6 numbers from 1 to 49 but only once
Sticky header – Logo smaller and adds border on scroll
Editor Only CSS – Elementor Sticky Header
Change Woocommerce Dropdowns to Radio Buttons
Get character count of a string saved in database – html_entity_decode not working
How to check if a checkbox has been ticked in Jquery
Slash canonicalization at the end of the URL – htaccess
Elementor json template files not uploading
Multiple featured images for blog posts
Autostart Browser in Kiosk Mode – Raspberry Pi 4 Terminal Command
Open Chromium full screen -Raspberry Pi (Kiosk mode)
Populate dropdown with data from database
Exclude a specific page from WordPress sitemap – wp-sitemap.xml