Posts by Filipe Martins • 33 points
8 posts
- 
		0 votes1 answer14 viewsQ: Woocommerce - How to activate "zero rate" tax class for a user type and for a specific category?On the Woocommerce site that I am developing, I will be selling not only to the end customer, but also to resellers. The problem is that dealers are exempt from TAX and therefore need a custom… 
- 
		-1 votes1 answer69 viewsQ: How to upload files to the server?I have the following html and php code running on my server, however, whenever I try to upload a file, I get the message "There was an error uploading the file, Please Try Again!" and I can’t… 
- 
		0 votes1 answer1280 viewsA: Cannot read Property 'length' of Undefined - Variables declared wrong?By replacing variables with areas = document.querySelectorAll('input[name="areas[]"]'); and disponibilidade = document.querySelectorAll('input[name="disponibilidade[]"]'); I was able to solve the… javascriptanswered Filipe Martins 33
- 
		0 votes1 answer54 viewsQ: How to block IE from opening the website?I have been asked to block access to a particular website whenever it is run by Internet Explorer (regardless of the version). I’ve been doing some research and testing and I haven’t been able to… 
- 
		-1 votes4 answers50 viewsA: How to redirect the user to the page they were trying to access before login was requested?I was able to solve the problem by including the next code on all pages (other than the login page) and the login page, respectively... Regular pages: if (!isset($_SESSION)) session_start(); //… 
- 
		2 votes4 answers50 viewsQ: How to redirect the user to the page they were trying to access before login was requested?Imagine the following scenario: I have a website with an application form for people who want to apply for a particular position. What happens nowadays is that when the person submits the… 
- 
		0 votes1 answer112 viewsQ: How to pass array values via AJAX, via POST?Good people! I am creating a function to enter the data of a form in the BD (AJAX - POST): function inserir_registo() { //dados a enviar, vai buscar os valores dos campos que queremos enviar para a… 
- 
		1 votes1 answer1280 viewsQ: Cannot read Property 'length' of Undefined - Variables declared wrong?The moment I run the javascript function below, I am given the error: Cannot read Property 'length' of Undefined. Can you tell me what’s wrong? I’m misreporting the variables? function validate() {… javascriptasked Filipe Martins 33