www.1.com/a.php Fill out the information page
www.1.com/b.php Save Data page
b.php use Http-referer to determine if the source page is a.php
Does this have a certain security effect?
Reply to discussion (solution)
OK
You can also use the
Recently self-taught PHP to see a piece of code
Class Queryfactory extends Base {
var $link, $count _queries, $total _query_time;
Queryfactory This class only $link, $count _queries, $total _query_time these variables.
But there's a connect method
Buy goods, group purchase is generally false data bar, how to deal with it better?
Reply to discussion (solution)
?? Crontab per minute? Since??? Increase M~n?
Would it seem too fake to have other solutions
?? Crontab per minute? Since???
So, I wrote a login, using the session. When you log in, store the SessionID with Redis.
Now I want to implement a function, that is, two users login to the same account, after the login to the front of the login to squeeze out.
One of my ideas
The requirement is this:
After selecting a file, the file can be displayed on the Web page, and if you confirm the import, click the Import button to deposit into the database.
The page is like this:
Now the problem is to click the Select
$file = ' 15.txt ';
$content = file_get_contents ($file);
$array = Explode ("\ r \ n", $content);
for ($i =0; $i
{
Preg_match ("/\ (. *) \ ' U", $array [$i], $DSS);
echo $dss [$i];
}
Want to extract the data from all the "Jed" to ' in the text, I
Server Win7, two sites of the same machine,
Site 1 is ASP. NET write, published in IIS 8080 port
Website 2 is written by PHP, posted on the same machine Apach, 80 port
Two sites can be accessed, can log on, their own data interaction is no problem,
How do I get the content information? In Ctrip did not find the corresponding interface, ask the official group, basic ignore!
Reply to discussion (solution)
Has curl been used yet?
If there is content in the source code, it should be able
I'm working on a Web page.
Save the value of session_id () in a cookie.
The value of session_id () is then removed from the cookie when it is used.
Re-place the value of session_id () in the session_id () function.
The value of the variable in this
Rewriterule ^ (?! Admin|user|inde\.php|config\.php|%{http_host})%{http_host} [R=301.L]
In addition to the home page and admin directory and user directory, as well as index.php and config.php all jump to the homepage ...
Reply to discussion (
while (!! $_rows = _fetch_array_list ($_RESULT2)) {?>
">
">
">
">" value="正常" style="zoom:150%;">Normal" value="不正常">Not normal
This sentence
" value="正常" style="zoom:150%;">Normal" value="不正常">Not normal
Do not know how
The question is written on the chart.
Reply to discussion (solution)
The execution of the statement on this side succeeds$stmt 3= $pdo->prepare ("INSERT into site (sitename) VALUES (: sitename)");$stmt 3->execute (Array (": sitename" =
Is it possible to make a restful API for uploading files? Client is a C program or DOS environment, how to call this API for file upload?
Please give more advice, preferably have code, thank you!
Reply to discussion (solution)
The client uses
I want to change the address that was uploaded to the server. The actual path in the foreground input box is right I want to know where the upload path should be modified?
Reply to discussion (solution)
Post a file to receive uploads
Post a
Firefox is normal, IE and 360 no effect, if not put to the server, directly run the progress bar. Html,360 is normal, but put it on the website, run the progress bar. Html,360 is not normal, really do not understand what is the reason?
My test is
Reply to discussion (solution)
What format do you fix in Ajax?
Untitled Document
Header ("content-type:text/html;charset= ' GBK '");$id =$_get["Key"];$link =mysql_connect ("localhost", "root", "");mysql_select_db
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