-
On the problem of regular matching
description: a regular match is given to the content of an input box, and the matching content is the product activation code. looks like this: "0C31-0B81-BB32-3094-0C31-0B81-BB32-3094 "
Code:
$( -sharplicenseCode ).keyup(function () {
le...
-
Problems with Chrome downloading using window.open ()
I configured the MIME type of the file with the amr suffix in the apache configuration as application ms-download, Why it is a garbled page when opening a file in amr format using window.open in chrome, while a file in amr format can be successfully dow...
-
Hurry! How to change the domain name of Aliyun Yunmeng?
the original domain name of our company s website has expired. I want to change it to another domain name. How can I change it? The website is developed using Aliyun s Yunmeng. ...
-
Php+ajax verification problem (with complete code). The error screenshot has been uploaded. Please point out where the error is.
this is the backend code
<?php
$password=$_POST[ password ];
function getRandPass(){
$chars = ("0123456789abcdefghijklmnopqrstuvwxyz");
$min = 6;
$max = 9;
$len = mt_rand($min,$max);
$password= ;
$a_len = strlen($chars);
for...
-
How to generate a page with PHP?
for example, for a shopping website, after adding an item to the database through the background, how to generate a page of the product for users to visit? I hope you can help ~ Thank you very much! ...
-
JS how does a json object traverse the value of each?
what should I do now to get the name value inside? ...
-
Looking for a tool to refresh the browser automatically?
Hope:
Monitor the specified content under www site.loc (a _ max _ bmax _ CSG _ JSON, x content [0-9] .md,. Php),
when the above content changes, the specified URL ( http: site.loc x *)) in the browser automatically refreshes.
Environment: linu...
-
User login timed out, how to pop up the login prompt box instead of jumping to the login interface?
in the current company s ERP system, when the user page is open, you will need to log in again after a period of time due to session timeout, and jump to the login page. but if the user is editing form data and the login timed out and refreshed direct...
-
WeChat Mini Programs, textarea always obscures one piece when it focuses on popping up the keyboard.
<view wx:if="{{reason}}">
<textarea auto-height placeholder="" focus= {{focus}} cursor-spacing= 200px >
<button class= submit bindtap= disagree >< button>
< vi...
-
How does the server deploy front-end separation?
recently I want to write a trial hand of a project with front and rear separation. since I have been self-taught nodejs, all this time, the idea is to build a back-end server with express framework, but in this way I don t know what to do in the middle...
-
How to configure the History mode of Vue in Nginx?
because vue-router has "- sharp " by default, but when forwarding the address in Wechat s official account, the address "- sharp ", including all future addresses, will be removed directly, resulting in the inability to share the page. so I set the ...
-
The size of the scatter circle in echarts cannot be set.
the code is as follows
series: [{
name: "",
type: "scatter",
coordinateSystem: "geo",
data: mapData,
symbolSize: function(val) {
return parseInt(val[2] 10);
},
label: {
...
-
How the php form is submitted to mysql and sent to the specified mailbox at the same time
now you can insert data into mysql by submitting the form through html.
the php code is as follows
<?php
session_start();
$username=$_REQUEST["username"];
$phone=$_REQUEST["phone"];
$datetime=$_REQUEST[&qu...
-
There is a strange problem for anyone who understands dedecms, about the error in getting the paging list.
this is the code for weaving dream list page to call paging
{dede:list pagesize= 8 }
<li class="do-element-media-li " ><a href="[field:url ]" target="_blank">
<div class="do-title do-html-conten...
-
PHP:strripos () does not recognize the < input > tag of string type?
question: I am using the lightning strike net custom form. In the rich text submitted to the backend, I extract the string of the html tag in the rich text string, and then I want to replace the html tag string in the rich text string with a space (tha...
-
Php uploads files to the specified folder
if you want to upload a local file to another local folder, use < form action= "doAction.php " method= "post " enctype= "multipart form-data " > to upload
try the code on the Internet, but you can t get out, and you won t report an error
<!DO...
-
How to solve the problem that Chinese file names will be garbled when uploading files in php?
I use wamp, to implement the file upload function if the file name uploaded is Chinese, it will be garbled , but the information in the database is correct . How to solve this? in addition, when accepting form information to create a folder, if it is...
-
How to set so that the browser can only go to the specified website?
1. There is another router on the upper layer, but the router is connected to several computers. I just want to limit one .
2. Set trusted access in ie until it still doesn t work
for example, you can only go to www.123.com, and nothing else .
...
-
Why does thinkphp5 always report an error when uploading multiple files using the multiple attribute?
Why does thinkphp5 always report errors when uploading multiple files using the multiple attribute?
error message:
HTML Code:
<input name="file" type="file" multiple >
<input type="submit" value=""...
-
The problem of html nesting php garbled.
HTML and PHP characters are both utf-8,. Why are there garbled codes
?
< meta http-equiv= "Content-Type " content= "text html; charset=utf-8 " >
header ( "content-type:text html;charset=utf-8 "); mysql_query ( "set names utf-8 ");
...