set variable in URL: site.com/index.php?my_variable=1
But to our surprise, we see that it is saved as a posted variable & you can retrieve that variable as posted data!
JFactory::getApplication()->input->post->get('my_variable');
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
I cannot confirm, while accessing URL query from post I get a null
while POST request,
eg $input->post->get('my_variable')
I cannot confirm, while accessing URL query from post I get a
null
while POST request, eg$input->post->get('my_variable')
did you test on which version of joomla?
4
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-02-20 09:17:28 |
Closed_By | ⇒ | Fedik | |
Labels |
Added:
Information Required
|
I closing it, I cannot reproduce issue. Works good for j3 and 4.
Sorry I don't understand the issue. It is the expected behavior. How does this affect Joomla core?