Novice help, want to write a feature to prevent the refresh

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

How to tell if a file has been included

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,

This question has been bothering me for a long time.

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

Press ENTER to not respond

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

PHP Two-station data interoperability problem

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

Assign a section of HTML to the JS variable to encounter a newline JS hint error problem

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?

Mysqli class does not have a query function?

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

Ask what this &this means in the PHP class.

Class Ci_base {private static $instance;p ublic function ci_base () {self:: $instance =& $this;} public static function &get_instance () {return self:: $instance;}} function &get_instance () {return ci_base::get_instance ();} Self:: $instance

Regular expression matches URL address question for help

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=

How to query the server file on the Web page

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

You want to compress spaces.

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 "> " >

An algorithm that bothered for several days

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

garbled behavior when generating directory names when generating file names

$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

PHP Connection Database causes Apache application error

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

Ask for a database table design problem

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

Guys, help me look at FancyBox's problem.

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

PHP screening problems, seeking ideas, seeking guidance

jquery Tag Filter linkage check-Cattle Gallery Material Network Classification: Pants 1 Hat Clothes Shoes Cell phone Price: 10-100 Bucks. 100 or more Brand: Handsome Handsome Dashing Mom Knitting

Please help me solve this problem

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

Idiot question-js verify check.

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 want to develop a Web-based employee management system for small and medium enterprises? Write in PHP, but what do my programming tools use?

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

Total Pages: 5208 1 .... 4933 4934 4935 4936 4937 .... 5208 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.