I think the session should be possible, but no daoteng.
This is my code.
if (Empty ($_session[' online '))//accessed {if ($_session[' time ']+10
My idea is that no access to the affirmation can be directly sent, access to a
I think so.
if (a.php not included) {
Include ("a.php");
}
Reply to discussion (solution)
For example, there is the following code: to get the value of the variable from config, include is written in the function, the first function is called,
Add a testaction () {} inside the Indexcontroller
then enter Http://localhost/index/test
Error HTTP 500
Says the application has errors.
What to do?
Reply to discussion (solution)
The landlord uses what frame AH.
The landlord uses what frame
When you click the form button. PHP code works, but does not respond by hitting enter?
Reply to discussion (solution)
You can specifically put a JS to respond to the carriage return action. But the onsubmit of the normal form will not
Title
I now have the Data interface API defined on the PHP side. Returns the JSON-formatted data that is passed through the HTTPS protocol. I would like to know when accessing the data interface to do encryption or what operation, afraid of data
For example, this paragraph, the text has a line, JS is wrong, how to solve these problems? HTML is dynamic content.
Reply to discussion (solution)
Add \ number before each line break
Add \ number before each line breakWhat's the whole?
I use the function to provide a database connection function, most of the situation is allowed to normal, but recently the following error prompt:
Fatal Error:call to a member function query () on a non-object in h:\w ..., sometimes refreshing under
I want to match the URL of each search result in http://www.so.com/s?q=csdn&pn=7&j=0, with the following regular match the result is empty, where is wrong?
$c 1 = "/\s* (?:. *) \s*/uis "; $content = get_content (' http://www.so.com/s?q=csdn&pn=7&j=
A directory on the server has dozens of g of picture files, but did not do database management, these images are stored in folders, how to find these pictures according to the folder, and download on the Web page??? For advice
Reply to
There are the following template code, two div template, I like the above Div, because indentation and alignment are good, with the following wording will cause difficult to read maintenance
Aafdsa
">
" >
Find an algorithm idea
For example, is probably a "against" word, composed of "1", and then there are some scattered around the "1", I now want to remove these scattered "1". My train of thought is to calculate the number of "1" connected
$ming = "First Name" $weizhi =fopen (".. /dowtxt/$xsming. txt "," a ");
Prompt for this, the page output and print normal.
Generated after this kind of tight crotch?? ょ? Departure??. Txt
Execute on the code file in/a/1.php.
The Dowtxt in
The Apache application error occurs when you click Sign in.
Then write a random page PHP connection database This error occurs.
Reply to discussion (solution)
Real egg pain, before the software to order, now write environment variables to
Ready to build a database table to put the report data, involving three aspects, one is to upload the attachment of the report, one is the Forum module theme posts, there is a forum reply to the report. Now the purpose is to report information
Sales order List
$ (". various"). FancyBox ({
$.fancybox ({
Above statement error, how to write can pop FancyBox window
Reply to discussion (solution)
Post an error code?
What's wrong with the report? Not used Jquery.fancybox, is
Little brother just learned PHP soon, wrote the following code, you heroes laughed at.
The approximate function of the code is the picture and text displayed on the current page modification page. Text messages and picture information are stored in
Dear God: My Code is this:
I want to give this check to add a JS test, if one did not choose to stay in the original page and send a warning, if selected, jump to reponse.php. I tried the online many JS code, not a successful, I would like to
I have not touched PHP before, there are some C + + and Java Foundation.
My development environment is Appserv (MySQL + APACHE +php)
But my writing tools with what Ah, I have self-taught some of Dreamweaver, I want to write with Dreamweaver CS5, but
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