php

From PHP to JavaScript: executing $ SERVER ['HTTP HOST']

Here is a script in php: <?php echo 'http://counter.yadro.ru/logo;'.$_SERVER['HTTP_HOST'].'?29.1'; ?> How to implement the same thing in javascript?

Does PHP have a setTimeout analog like JavaScript?

The actual question is in the title. Task: Execute a php script, but if all the conditions for its execution are not ready, then execute it again, after 10 seconds? Is there a similar functionality in PHP?

I don't understand the error in framework Yii2 and JavaScript

I installed OpenServer, downloaded yii2 basic, and unpacked it. I saw the inscription "Congratulations". But chrome in the co ... s/storage.min.js?version=201803011320:1:6177) a.onload @ VM3239 storage.min.js:1 OS: Windows 10 64-bit. Please explain.

Output in javascript doesn't work. Error localization

In the code for getting the name of the city and writing it to cookies, I added debugging output in 2 places (to localize the ... P. S. 1 Changed the code to //alert(1); window.onload=function () { var geocoder = new google.maps.Geocoder(); alert(1);

Enabling JavaScript in bitrix

Bitrix has a $APPLICATION->AddHeadScript method, but you need to add the file path to it. And I don't have a file, but a s ... for the page.It is also problematic to write a string to a separate file because it is generated dynamically from the data...

Error: Error parsing data org. json.JSONException: Value

I try to transfer data to the server, but this error in the log comes out. After that, the error Fatal Error: AsynkTask#1 app ... ponse["success"] = 0; $response["message"] = "Required field(s) is missing"; echo json_encode($response); } ?>

Which server language should I choose if I'm going to become a javascript expert? [closed]

Closed. This question should be specified . Answers to it are not accepted at the moment. ... into the past (or am I wrong?), I like Java, but this language has so many different hypostases that I get lost. Maybe C#?

Text encryption in php and decryption in Java

How can I encrypt text in php and then decrypt it in java?

How do I insert a single JavaScript in the Wordpress editor for a post and page?

It is tried in Wordpress (I have version 3.6) with simple actions, preferably from the post editor, to connect one JavaScript function for one page. Please share your experience.

I plan to implement RSA encryption in Java with obtaining the public key from the server in php. What is the best way to do it?

I plan to implement RSA encryption in Java with obtaining the public key from the server in php. How best to pass the key, where to store the private key, and can the same key pair be generated each time?