Below are scenarios that may cause duplicates
browser refresh upon successful form submission
browser refresh while the page still processing/loading
resubmit the form again (by clicking on the button more than once)
Post-redirect-get (PRG) –
on wikipedia One easy way is to have injected a hidden parameter with a random hash/number (e.g called token). Upon submission you’ll have to check that the token you expect (which you’ll have probably stored in the http session) is being sent together with the other POST parameters. On valid submission you’ll remove/invalidate this token. That way when a POST comes which a non recognised token then it’s most probably a duplicate or out of date request.
source To check whether the data submitted exist in the database. This is the most tedious part to do and you need to have a unique data for this. i.e. the data must be unique in the table or create a unique data for this purpose sent together with other data.
Add a one-time token to your forms and save it to the $_SESSION-variable. Then if it is used (form is submitted), remove it from the session (or create a new token). If the form is then sent again, the two tokens don’t match and you have a duplicate entry (you can ignore the second for example).
HTTPS becoming a standard now for all apps and websites.
comodo (free 90 days)
Some notes on Microsoft Azure
3 type of services provided
App Service – Scalable Web Apps, Mobile Apps, API Apps, and Logic Apps for any device
Cloud Service – Highly available, scalable n-tier cloud apps with more control of the OS
Virtual Machines – Customized Windows and Linux VMs with complete control of the OS
Important steps you should know in creating an application
Create a “resource group”. All your services will be grouped under this resource group
Create an “app service plan” – package of data center location, cpu and memory size
Create an “web app service” – based on plan and under resource group created in step 1 and 2
More resources and references
More info on services
VM sizing options – compute, memory
Azure roadmap – see what’s in preview and what have gone generally available (GA)
Summary of Azure services (click to enlarge)
Running a High Volume Website on Azure Infrastructure Services
Step by step PHP on azure (starting from create resource, web app, transfer file via git, mysql etc)
This entry was posted in
database, operating system, technology, tools, website and tagged azure, cloud hosting, microsoft azure, microsoft cloud, ms azure, web services on . July 31, 2017
Some general info for reference regarding MRSM TAR (MRSM Tun Abdul Razak), Pekan Pahang
Jadual pulang bermalam (2017)
22/07 – 23/07
26/08 – 03/09
07/10 – 8/10
21/10 – 22/10
26/11 – 31/12
Download borang pulang bermalam
(untuk tarikh yg tidak tersenarai di atas)
Cara penghantaran borang
Isi borang PB di atas
Scan dan email kepada mrsm_pekan @ yahoo.com
Minta anak pergi ke pejabat pada hari Khamis/Jumaat untuk semak keputusan
Maktab Rendah Sains MARA Tun Abdul Razak
KM 29, Jalan Kuantan-Pekan,
Pahang Darul Makmur
No Tel Pejabat: 09-4260163/175/176
No Tel Pengetua: 09-4260170
No Fax: 09-4260170
mrsmpekan.weebly.com – last updated 2012
An easy way to deploy latest code to the server.
Below are some resources that can be referred to
Some sources of free domains and subdomains
freenom – free .tk, .ml, gq, ga, cf
subdomain.com – .co.gp, tv.gg, mobi.ps and some more
To secure the data by encryption at data at database level. This will be full done by database application and won’t affect the application level.
Almost all popular RDBMS provide this feature but maybe with enterprise edition.
Getting yourself a used car has some advantages. The most severe one is you save thousands of your money. But need to be very careful in order to get a used car with good condition.
If you are looking for a used car, try out the following websites.
mudah.my – huge list of cars available
carlist.my – most of the list are more or less the same with mudah. especially from car dealer
motortrader.com.my – there is a rating from Goo KANTEI for the condition of the car. For some cars. Can find more cars directly from owners
oto.my – related to paultan.org and carbase.my
the rest not worth to mention here. Don’t have many listings
Some general tips to purchase second hand car
if possible check why previous owner sell
before go to see, ask questions over the phone. The most important one whether the car still available
ask to see the grant
ask for any other charges on top of car price – insurance, roadtax, change name, puspakom service, loan processing etc.
Some tips on checking the condition of the car
sign of accident (normally with uneven paint)
any leaking on engine and absorber etc
the hose and belts are in acceptable condition
test drive to check on engine is smooth and no irregular sounds from the car body or engine
tyre tread still ok, manufactured not more than 3 years