Search This Blog

Sunday, November 3, 2019

PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin' - SOLVED

PHP FIX has been blocked by CORS policy: No 'Access-Control-Allow-Origin'

In the PHP code above, I am telling the browser that site-a.com has permission to make cross-domain requests to my website. The second parameter of PHP’s header function has been set to FALSE so that it is not overwritten by any other Access-Control-Allow-Origin headers that we may add in the future.

Note that you may also come across examples like this on the web:


Friday, November 1, 2019

PHP MySQL multiple rows to JSON

Simple to store PHP MySQL to JSON with multiple rows result


Thursday, October 31, 2019

how to create Keystore apk signing in command line cmd

Find KEYSTORE.EXE from your android studio / java installation drive on windows
Set Path to folder for easy access of keystore.exe


Wednesday, October 30, 2019

HASH Algorithm in MySQL PHP Query - SOLVED

MySQL Query of HASH SHA2 Type of SHA384

PHP CONVERSION into HASH SHA2 Type of SHA384



List of universal HASH types for your references and MD5 is most common used - which can be easily DECODE by hash machines in seconds.


Tuesday, October 29, 2019

Cordova Screen Orientation Portrait - Solved

Cordova Screen Orientation Portrait in INDEX.JS inside "onDeviceReady: function()"

Friday, October 25, 2019

UK Credit Card - HTML Dropdown

This html dropdown for you with all creditcard types available in United Kingdom developers


Thursday, October 24, 2019

Paypal PayNow BuyNow Button Script - Solved

Hey check this Paypal "Pay Now" or "Buy Now" button script



Thats it

100% Body Background Image - Solved

Just check this

Saturday, October 19, 2019

Wait for 5 Seconds and Redirect Page - Javascript or PHP

Piece of Cake. Here is how you can REDIRECT PAGE after waiting for 5 Seconds in PHP or Javascript

Redirect after 5 seconds in Javascript

Redirect after 5 seconds in PHP


Tuesday, October 15, 2019

Cordova MySQL PHP Remote Database functionalities -- SOLVED

After bang bang & kickass searches and tens of pages & trial and error -- here come simplest solution for CORDOVA - MYSQL - PHP REMOTE SERVER DATABASE CONNECTIVITY for you. Hope you dont have to PULL YOUR HAIR & GO BALD (as am already bald & getting married on 12th December 2019)

CORDOVA -- CRUD FORM / RESULT PAGE



REMOTE CRUD PHP PAGE



I would like to thank Code Sundar and Yogesh Sharma --- thank you nerds.

HOPE YOU WILL ENJOY IT!!! PEACE-V


Friday, July 26, 2019

WILDCARD SSL redirect http to https thru .HTACCESS - SOLVED

Redirect your website and subdomains with .HTACCESS


Thursday, June 6, 2019

CSS Height by percentage - CSS Tricks [SOLVED]

if you have 2 DIV & want it different height in percentage


Sunday, June 2, 2019

Android' webview doesn't show google maps

In MainActivity.java under
webView=findViewById(R.id.webviewid);

Add :
webView.getSettings().setJavaScriptEnabled(true);

Sunday, March 31, 2019

City - Autocomplete JQuery Bootstrap4

City.php

Search.php


Tuesday, March 19, 2019

Remove PostCSS warning IONIC

Try this

find sass.js file. under /node_modules/@ionic/app-scripts/dist/sass.js
find var postcssOptions and add from: undefined,

Finally should be like this:
var postcssOptions = {
from: undefined,
to: path_1.basename(sassConfig.outFile),
map: autoPrefixerMapOptions
};

content-wide advt