Javascript-ask a question about the cache mechanism?

Occasionally, when the page is refreshed, an error is reported, and jquery cannot be found. Then I can see that the external jqeury is followed by a string, so that the file cannot be found. How can I not add a string after it? Is this frontend

In the ThinkPHP5 method, can return be output directly? Please advise

Please kindly advise how the process is. if TP5 is straight in the method and return is used, relevant content will be output on the interface. how can this be achieved?, and ask for advice. Note: You may think the problem is very simple, but I

Is there any way to use multiple-language websites?

I used Smarty to write a website. now I want to add an English version. All text translations are in json. the Chinese version is one json and the English version is another json. Now we are faced with a problem: the default language is obtained

Use recursive functions to do the following:

At the beginning of the year, Michael Jacob added 20000 yuan to the oil card. it is known that Michael Jacob will refuel 4 times a month at a cost of 350*4 yuan. Every 10 times a three-person refueling service is used, the petrol station will enjoy

Php: when array_push encounters static

{Code ...} if staticarray_push is used, the value will not be repeated. In general, if array_push has the same push value, the duplicate value will appear. why is there no repeated value after static is used? public function

How can I traverse the following array in HTML? I tried many methods and reported errors.

{Code...} now only wants to traverse the array bigimg Array( [bigimg] => Array ( [0] => Array ( [id] => 2 [imgtitle] => abc [imgintro] => asdasd

What are the measures to improve high concurrency at the PHP code level?

1. I was asked one question today: which of the following measures can be taken to improve high concurrency at the PHP code level? In the face of high concurrency problems, I first think of clusters, caches (apt, redis, mem, memory ...), but at the

The problem of packaging a phar file is too large.

Inspired by an open-source tool, we used stream packaging and token_get_all to remove the blank php file. The package is only KB. Thank you for your attention. I added a simple file and a symfony process package to package MB, and composer...

Ask thinkphp functions

I want to remove the first two payments. how can I change the remaining three groups? I want to remove the first two payments. how can I change the remaining three groups? Reply content: I want to remove the first two payments. how can I

Javascript-how is API Gateway designed?

Currently, a page provides multiple interfaces for the front-end, but each interface is independent. it cannot be merged. the front-end requests data from multiple interfaces at a time. therefore, we want to design a gateway. for front-end use.

Javascript and php problems

The problem I am facing now is css + div and javascript and php .. Which of the two should I choose? They all have a certain degree of foundation. now I don't know which one to learn. I plan to go out for a job and want to learn something first.

The class introduced in the yii Framework cannot be found.

For more information, see yii. I used a Service class in the DemoController class under the controllers Directory. this class is located in the namespace of commonserviceService, class & #039; commonserviceService & #039; notfound ,... I would like

Using the Empire as an interface, Android and iOS do not get $ _ SESSION

The registration and login interfaces written by the empire cannot be obtained from $ _ SESSION during Android and iOS calls. the specific scenarios are as follows: at the time of registration, Android will send me a mobile phone number. after

You need to save a value for a long time and do not want to write it into the database.

I am working on a lottery system. I have 1 First Prize, 10 second prize, and 100 third prize. now I need to save some of the prize winners to see if there are enough prize winners, but it's a little tricky to write it into the database. how do you

Has anyone used wordpress?

Have you ever used wordpress? This is how wordpress can create a data table. if you can create a data table, is there any way to operate the created data table. I used the following code, which can be used in plug-ins on the Internet. But I didn't

Laravel access does not have a route jump problem!

When laravel5.2 accesses a non-existent route, how does one jump to the 404 and LNMP environment? How does one configure it? When laravel5.2 accesses a non-existent route, how does one jump to the 404 and LNMP environment? How does one configure it?

Can yii2 controller events be configured in the configuration file?

In yii2, what should I do if I want to execute some logic before the specific operation method? The current practice is to extract a basic controller and write it in the beforeAction. I would like to ask if I can configure it through the

Javascript @?

The {code...} must be 6-16 characters in length. it can be a hyphen (-) between numbers and letters. it cannot be a full underscore or a full hyphen (-) or a full number. var reg = /^[\w]{6,12}$/ ; if(password.match(reg)){ alert("The password is

How to parse the hidden variables in the preg_replace-php?

{Code ...} output result: $ items [0] and $ items [1] or ($ items [0]): a & amp; gt; 1 andb & amp; gt; 0or (a & amp; gt; 1 )? Please take a look. thank you! $a = " #0 and #1 or (#0)";$items = array( "a>1", "b>0");$str = preg_replace("/#(\w+)/",

How can I migrate nginx pseudo-static data to tengine?

The program written in thinkphp is used. below is the pseudo-static tengine. there is no problem with nginx. there is only the last rewrite ^ (. *) $ index. php on tengine? S $1 last; takes effect. html file rewriting has no effect. server {code ...}

Total Pages: 12780 1 .... 11697 11698 11699 11700 11701 .... 12780 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.