copy a php code in folder. paste folder into xampp / htdocs folder run xampp server search for localhost/folder-name/filename.ph