menu

Recent questions tagged php

2 votes
3 answers
Where do you learn PHP? 1) It is obligatory to have tasks, after passing each topic/block of topics. 2) Ru segment/English segment. 3) Courses (any kind: YouTube lessons, interactive browser- ...
by kotcich
asked Sep 23, 2021
1 vote
1 answer
How do I navigate to another page after logging in? I can not figure out how in php after authorization is not switched to the index.php and another page for_user.php, where can I change this? How do you do that? <?p ...
by evgen47
asked Sep 22, 2021
1 vote
1 answer
How to work with ipv6 proxies in php? Good evening. There is a script to work with ipv4 proxy, how can it be remade for ipv6? // запрос на тестовый адрес$url = 'https://site.ru'; // ip и порт прокси$prox ...
by santavits
asked Sep 22, 2021
0 votes
1 answer
No response from WSDL SOAP? Where is the problem? Hello. Who has encountered SOAP WSDL. Can't get a response from WSDL.... Request <?require_once('Pass.php');ini_set("vttp.wsdl_cache_enabled", "1"); // включаем к ...
by Mrcus4D
asked Sep 22, 2021
1 vote
3 answers
Where to place the module templates or what? app- controllers-- admin- views-- admin-- layouts in controllers of course controllers and the folder of the admin module with their controllers In the views folder wi ...
by orsha-ivanov
asked Sep 22, 2021
1 vote
1 answer
Convert a string to a number, find out if it is an integer? For example a number comes from POST request it should be checked if it is an integer, if it is an integer give the answer ok if not an integer no. Not an integer I mean ...
by generate
asked Sep 22, 2021
1 vote
1 answer
Problems with MySQL MAMP after removing the root user? Hello, everyone! Don't judge strictly I don't understand php and mysql) Faced with a problem, through my own fault. I deleted unnecessary databases and users and acci ...
by VVS10
asked Sep 22, 2021
1 vote
2 answers
How can I tell if the server is local? It is necessary to edit the script on the local with auto-unloading to the combat, but to close the area to be edited from the user. How do I know that I'm on a local? ...
by orsha-ivanov
asked Sep 22, 2021
1 vote
1 answer
Why can't I add a specific time to the date? Hello, Connoisseurs. It's me again and I have a question for you again :) To the code. $date = '28.10.2020';$date = date("d.m.Y H:i", $date);$everyday = '1:10'; // Вы ...
by semechki
asked Sep 22, 2021
1 vote
2 answers
What should the Framework include? Hello! I have got acquainted with some popular frameworks (from Codeigniter 3,4 to Yii2 and Symphony), in each framework there were some not very convenient and understa ...
by 66demon666
asked Sep 22, 2021
1 vote
1 answer
Architectural problem, how to better manage the availability of public methods for classes? Good afternoon. There is one problem, the first time I encountered it here How do I disable inheritance in Doctrine? which has seamlessly spilled over into this How ...
by tukreb
asked Sep 22, 2021
1 vote
1 answer
How do I run a PHP executable? I need to insert a PHP script into a project - as a test with a demonstration. I can't figure out how to connect the PHP functions. Curses me like: Illuminate\View\Engi ...
by maiskiykot
asked Sep 22, 2021
3 votes
2 answers
Kick 2. Were you able to fix the outdated code that your employer rejected? Hello, everyone! Here I was asking about what's wrong with my code Kick it. My employer said that my PHP code is out of date. What exactly is the problem? Thanks to ...
by Allexio
asked Sep 22, 2021
1 vote
2 answers
How can you use a get query inside a get query (as strange as it may sound...)? There is a code: <?phpsession_start();define('SITE', dirname(__FILE__));$page = 'main';if(isset($_GET'page')){$page = $_GET'page';}if($page == 'case'){$page = $_ ...
by Sicquze
asked Sep 22, 2021
1 vote
1 answer
What causes mail() not to work? No matter what I do, the mail() function doesn't work. mail("maks.smagin.999@mail.com", "My Subject", "Line 1\nLine 2\nLine 3"); Mail exists, mail() either returns 0 or ...
by MaksSmag
asked Sep 22, 2021
1 vote
1 answer
In the PHP docker container the Timezone is not correct, why? Can you tell me where else to look to set the time in PHP. on the date server: Thu, 29 Oct 2020 20:23:43 +05 in the date container: Thu Oct 29 20:24:15 +05 2020 IN ...
by part_os
asked Sep 22, 2021
1 vote
1 answer
How do I create a separate chat room? In the image and likeness of I wrote my own chat on the server. But it turns out that every user who sends a message sees the messages of other users, and we need the ...
by DeboshiR
asked Sep 22, 2021
1 vote
1 answer
Where is the data in the Curl Wrapper, the code from Github, being substituted? Good afternoon. I'm trying to figure out an example Curl-wrappers from the Github site (clickable link). There is a setOpt function in the code, to set parameters fo ...
by DjimiDjimi
asked Sep 22, 2021
1 vote
1 answer
image
Warning: call_user_func_array() expects parameter 1 to be a valid callback, как исправить? Hello, tell me how this can be fixed: Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'HomeController' does not have a method 'action ...
by Ste11
asked Sep 22, 2021
1 vote
1 answer
How do I pull data out of a json line like this? There are elements in JSON like this. And in PROPERTY_70 there are elements with different values. For example like below 194 and then 118. { "ID": "109", "PROPERTY_ ...
by OneOlOf
asked Sep 22, 2021