0

On the local server ubuntu apache, PHP7.0, mysql when I pass the $ _POST variable to the value wefwe.wf, then on the server I get wefwe_wf, how to do it normally, that is, if wefwe.wf betrayed that and in $ _POST wefwe.wf in php.ini all so

register_argc_argv = On
register_globals = On 
magic_quotes_gpc = On
aynber
  • 22,380
  • 8
  • 50
  • 63
Vadim
  • 109
  • 9
  • magic quotes isn't available in 7.0 – Devon Bessemer May 21 '18 at 17:24
  • Also, `.` will be replaced with a `_` in request and session vars. – AbraCadaver May 21 '18 at 17:24
  • @AbraCadaver me need . so as i send data with . – Vadim May 21 '18 at 17:27
  • @iainn this is not duplicate . I just want get variable the same as i sended – Vadim May 21 '18 at 17:29
  • @Vadim Then it's exactly a duplicate. The accepted answer to the other question explains that PHP converts dots to underscores, and the next one provides a way to access the original data. – iainn May 21 '18 at 17:31
  • `register_globals` This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. – RiggsFolly May 21 '18 at 17:33
  • `magic_quotes` This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0. – RiggsFolly May 21 '18 at 17:34
  • @iainn how in php.ini ? without function in script – Vadim May 21 '18 at 17:34
  • You cannot. There's no ini setting for that. It's a built-in PHP constraint. – mario May 21 '18 at 17:40
  • @mario how him change? – Vadim May 21 '18 at 17:42
  • **Cannot** be changed. – mario May 21 '18 at 17:43
  • @mario how then work shared hosting? – Vadim May 21 '18 at 17:44
  • No offense, but you need to spend more effort on your comments. I understand there's a slight language barrier; but your follow up questions come off as incomprehensible and a bit nagging. I'd advise you utilize the [**edit** link](https://stackoverflow.com/posts/50453768/edit) to explain (1) **Why** specifically you want to retain the original name. Just saying "I want" is not a useful rationale without explaining why you can't just use the renamed key name, now that you know about it. (2) After reading the duplicate twice, why you think it's not sufficient to answer your question. – mario May 21 '18 at 17:50
  • Let us [continue this discussion in chat](https://chat.stackoverflow.com/rooms/171488/discussion-between-vadim-and-mario). – Vadim May 21 '18 at 17:53

0 Answers0