post - How do I submit a value by url in php -


मैंने इसे अपने php साइट & lt; a href =? Command = value & gt; यहां क्लिक करें & lt; / a & gt;

और यह मान प्राप्त करने के लिए:

  अगर (isset ($ _ POST ['command'])) {$ command = strip_tags ($ _ GET [ 'कमांड']);  

काम करने के लिए प्रतीत नहीं होता है .. पी एस Url के पास यह मान भी है: ? Lang = en_US

उपयोग करें < $ _ POST के बजाय कोड> $ _ प्राप्त करें । href विशेषता के मूल्य के आस-पास दोहरे उद्धरण भी डालते हैं।


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -