Search This Blog

Friday, March 17, 2017

Adding $_POST array to existing $_SESSION array - PHP Resolved

This one was tricky for me.
Scenario
1. Already Have a Set of $_SESSION array

$_SESSION["val1"] => 101
$_SESSION["val2"] => 102
$_SESSION["val3"] => 103
$_SESSION["val4"] => 104


2. on FORM post creates set of $_POST array
This set of $_POST needs to be appended to existing $_SESSION sets

$_POST["val1"] => 201
$_POST["val2"] => 202
$_POST["val3"] => 203
$_POST["val4"] => 204

Simple

$_SESSION += $_POST

IT WORKS LIKE CHARMING!!!

INPUT MAXLENGTH is not working HTML - Solved

If MAXLENGTH is not working in Chrome / Safari / Mozilla / Opera Browsers then dont get Bang Bang - SIMPLE jQuery will solve your problem


Tuesday, March 14, 2017

How to Set Blank Value in SELECT OPTION DROPDOWN

Simple...

add disabled selected value to your blank OPTION

Thursday, March 9, 2017

UC Browser ~ China Bugged & Watching You

UC Browser is owned by Jack Ma of Alibaba.com is a chinese company.

Beware Red Communist China watching you ~ if you are using this browser

UC Browser HAS PRETTY CHINESE GIRLIE look ~ BEWARE SHE WILL FUCK YOU if you blink.

All Username & Password You type-in in UC Browser goes to China

China & Chinese are nowadays turning fucking bullies.

They protest everything your country do & building & modernizing Chinese Army, Navy & Air Force very quickly.

BELIEVE ME, CHINESE GETTING READY FOR "WORLD WAR 3"

They might be Buddist or Christians BUT THEY ARE VERY CRUEL & GETTING POWERFUL.

wHEN THEY ARE WAR ~ ALL OUR COMPUTER & ACCOUNTS WILL BE IN THEIR BACKEND.

tHEY CAN DELETE or hack into your a/c when you are sleeping.


DO NOT USE CHINESE SOFTWARES at any cost.

Avoid buying CHINESE DATA & COMMUNICATION PRODUCTS TOO

Computer
Laptop
SmartPhones
Pen Drives
Optical Drives
Wireless Routers


Why Not Chinese

Chinese are Intellectual Property thives
They Counterfeit Everything that Goes to China for consumption or contract manufacturing including iPHONE they pirated
Not just that
Military Jet Planes
Rolls Royce Phantom Luxury Car
Military Hardwares
They also cell you WORTHLESS phones & Laptops under brand name "LENOVO"
NOT JUST THAT

tHEY PIRATED ENTIRE WORLD'S BEST KNOWN BANK - Goldman Sachs in the name of Goldman Sachs (Shenzhen) Financial Leasing Co

The New York based Goldman Sachs lost court case in China when they sued fake company.

That is china for you.

Password & Confirm Password AJAX Javascript - Solved

Simple AJAX...


content-wide advt