Parcourir la source

Added readme.md file

master
Nikola Ignjatovic il y a 5 ans
Parent
révision
74f7dbf469
1 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 7
    7
      README.md

+ 7
- 7
README.md Voir le fichier







Pre requirements:
Pre-requirements:


* installed wamp server (https://sourceforge.net/projects/wampserver/) * installed wamp server (https://sourceforge.net/projects/wampserver/)


$mail->send(); //send email``` $mail->send(); //send email```





When 'resume-file' is sent using POST method, it can be found in FILES array, but other parameters can be found in POST array When 'resume-file' is sent using POST method, it can be found in FILES array, but other parameters can be found in POST array


When input (type file is used) in html form, need to add enctype="multipart/form-data" and setup:
When input (type file )is used in html form, needed to add enctype="multipart/form-data" and setup:


contentType: false, cache: false, processData:false, url: "myscript.PHP?call=upload" ('?call=upload' added after script name) in ajax submit contentType: false, cache: false, processData:false, url: "myscript.PHP?call=upload" ('?call=upload' added after script name) in ajax submit



There are three the most important variables in header.php. They used for paths.
1. backToRoot is used for back to the root folder where there are index.php, portfolio.php, etc.
2. backToRootIndustries is used for navigation to the industries folder
3. backToRootServices is used for navigation to the services folder.


styles/custom.css is a file which uses developers to add a new feature to the website, style.css is used for bug fixing in old style styles/custom.css is a file which uses developers to add a new feature to the website, style.css is used for bug fixing in old style




For checking validation of file, needed to use (https://www.freeformatter.com/html-validator.html) For checking validation of file, needed to use (https://www.freeformatter.com/html-validator.html)


Every single page uses keywords (diligent, software, development, company, it, and specific words for that domain). It is located in meta (keywords) in the head of the document Every single page uses keywords (diligent, software, development, company, it, and specific words for that domain). It is located in meta (keywords) in the head of the document


In order to use google captcha in html form, needed to include ```<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" ></script>``` after including **custom.js** script, after that need to add one html element for captcha above the submit button. Define id for that element and custom attribute data-sitekey="site_key", where sitekey is google capctha key. After that at the end of custom.js file (before onloadCallback function) add new function for verification and call it in onloadCallback function
In order to use google captcha in html form, needed to include ```<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" ></script>``` after including **custom.js** script, after that needed to add one html element for captcha above the submit button. Define id for that element and custom attribute data-sitekey="site_key", where sitekey is google captcha key. After that at the end of custom.js file (before onloadCallback function) add new function for verification and call it in onloadCallback function

Chargement…
Annuler
Enregistrer