K
K
Kyrat Farre2015-10-26 14:00:46
PHP
Kyrat Farre, 2015-10-26 14:00:46

Is there any way to change all method="post" to method="get" through code?

A stupid problem arose, I wrote a code to send a form to php, the variable that sends the data is GET.
Does the form have a POST method in the page code? , but the problem is that I can't find that page in the catalog (
site on joomla, here is a link to this page
lianaspb.ru/modular-system-for-home?page=shop.ask&...

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Dima Pautov, 2015-10-26
@bootd

Through ftp go through all the files and find those inside which will be the desired line. I know for sure that notepad++ has such a feature. But I think you get the point!

I
Ilya Beloborodov, 2015-10-26
@kowap

 Shovel. On all pages, or on pages with a form, insert this js

$(document).ready(function(){
   $('form').attr('method','post');
});

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question