How can I write this PHP pseudo-static code? I have 10 php files, such as a1.php a2.php... a9.php a10.php. please use a pseudo-static rule to realize that a1.php is a1.html.... can I implement a rule ??
I remember the classification rules are written as follows:
RewriteRule ^ xxx/pad _ ([0-9] +) \. html xxx \. php \? Page = $1 [L, NC]. how can I implement the a
This article mainly share with you iis7.5 PHP pseudo-Static code example, I hope you have a clear understanding of PHP pseudo-static.
Save to Web site with directory file name Web. config
class name plus _model suffix
To load the model in the controller:
Add in construct:
$this->load->model (' User_model '); $this->user_model->get ();
Alias a model
$this->load->model (' User_model ', ' User '); $this->user->get ();
Common functions in 4.url
(1) Help us build the controller
$this->load->helper (' url '); Site_url (' Controller/method ');
(2) Use of Image path
$this->load->helper (' url ');
Upload/a.jpg "/>
Automatic loading can be configured in autoload.php
$autoload [' helper ']
("Learn to be");If (you know when there is sick | | Cannot act | | May be skipped on the day of an unexpected emergency)System.out.println ("You can develop to designers");}}}3 program = algorithm + structurepublic class Program {public static void Main (String[]args) {if (Design the algorithm describe the structure)SYSTEM.OUT.PRINTLN ("The program is already stereotyped");}}4 programming languagespublic class biancheng{public static void Main (String[]args) {If (you have mastered a language)S
This article brings the content is about the CSS3 in the pseudo-elements to implement the bubble box code (before, after), there is a certain reference value, there is a need for friends to refer to, I hope you have some help.
Bubble box principle is actually the normal border + triangle, CSS implementation of the triangle is also using the border property1, the triangle is solid
HTML
, high-definition event sequence logical relationship and dependencies buzhou[1] = coding){Efficient}Analyze events, high-definition events, logical relationships and dependenciesif (need to complete a project){BUZHOU[0][0] = Analysis requirementsBuzhou[0][1] = Method of determinationBUZHOU[0][2] = Organizational StaffBUZHOU[0][3] = problem handling occurs}Coding processif (needs to be implemented in code){if (problem occurs){Using the IF statement;}
to be a yard farmer I am intellectually normal I have a programming foundation and have a learning spirit) then{can start to write the program;}if (I master a language){I can learn to know and write programs in other languages in a short period of time;}if (Analysis good program structure){Write code completion program;}if (want to be a qualified code farmer){Because the computer technology with the time
Write program {public static void Main (string[] args) {If (already familiar with a language)Discovery can master a new language and proficiency in programming within two weeks;ElseSeize the time to master a door first;if (analytical design of the completion program){implemented in code;Run the program and test it;}Optimization program;}} , N Bsp , NB Sp , NB Sp , NB Sp ,
son and a son, and he has a child, and a son, and a son, and a grandchild, and a children's infinite chamber , while the mountain does not increase, and why it is unfair . }End;}In the second section, the question of whether or not to write a program is to say that everyone can learn to program as long as they are willing.Import.java. Boulevard to Jane *;Import.java. Will write the program *;public class Huibuhuixiechengxu{Begin{if (you know it's cold to wear clothes after washing hot then the
(algorithm ended)Read the first chapter of the sentimentBegin (Algorithm start)Dim (My Occupation) as (Program Ape) ' I will be involved in program-related majors 'if{I can start writing the program;/}if{I want to analyze the structure of the program, and can complete the program after the analysis is finished;}ifI will know that the programming language, although thousands of species, but the same, I will have the ability to master it in a short period of time;Case Myablity ofCase 1:myablity==
to move mountains;}Else{The foolish Duke then moved himself and his descendants to the mountain;}Do{The foolish Duke and his descendants went on to move the mountain;}while (Taihang Wang Hui to Flat);}//End of main program}//End of class definitionpublic class chengxu{public static void Main (String[]args) {If (receives a programming task) {The analysis of events clearly, the logical relationship between the incident and the dependence of the relationship to clarify;
special on that day)System.out.println ("You will make the program and show it to the designer.") ”);}}3.. program = algorithm + structurepublic class chengxu{public static void Main (String[]args) {If (a task is received) {To analyze the events clearly;Code implementation;}If (you are diligent) System.out.println ("You are the most hardworking programmer");}}4. Programming languagesif (you== "familiar with a language"){string problem;Switch (problem
:
================================================
The following is an example of a program to explain the implementation of the PHP pseudo static method, in fact, this method I have in other forums before the community has sent
Procedure as an example:
Http://www.jb51.net/soft.php/1,100,8630.html
Copy Code code as follows:
Using the server v
Import.java.Dadaozhijainpublic class Yugongyishan{Yugong YishanFoolish public ={project management staff};Original demand ={The north of the mountain, the entrance of the roundabout also};The way of communication ={to gather room to seek};Project Target ={Biliping Insurance, refers to the south of Henan, up to the Han printing};Technical solution ={to the sea, transported in the tail of the Bohai;Technical personnel ={descendants of the three-husband;if (foolish = = dead)Descendants to complete
. Avenue to Jane. *;Import.java. Yugong Yishan. *;public class Yugongyishan //defines a class named Yugongyishan{ //start of class definitionpublic static void Main (string[] args) //define main program{ //start of main program//The project organizer, group manager, programmer, technical analyst, etc. of the groupThe descendants of the three-person Dutch three techniciansThe man is a foreign associationGoal for the flat Wang Huata two mountainint Yu Gong, the descendants of the three husband;If
Beginwhile (mountain uneven) do{For (foolish public: = When the mountain moved to the foolish public dead) {rate descendants of the Mitsuo and neighbors of the capital of the Widows wife, knock stone ken Soil, Ji Hod in the Bohai Sea tail. }If (a foolish man dies) then{Biliping risk, referring to the southern Henan, up to Hanyin;}}EndBeginif (I have yugong yishan of courage, perseverance) then{I began to write the program;If (I'm going to start writing a program) then{I want to analyze the struc
= Total number, number of people + +)//set an array here, I named the mountain group, each person leads a number,Move Mountain Group [number of]= specific people, the oldest person in charge;Do the mountain work;//work ...Do dead person,//people are not immortal, so I set every time only death in charge, because he is the oldest (⊙﹏⊙ b Khan);At the same time to consider the problems of future generations;if (Offspring find a wife) {if (gave birth to a son) {join the group of the Moving Mountain
I found that many ASP systems are calling
ArticleIf static data is not generated, the output is similar.
Http://www.xxx.com/show.asp? Id = 26.
If you can change to http://www.xxx.com/show? 26 This format seems to have been removed a lot. Of course, for space that supports pseudo-staticIt can also be set to http://www.xxx.com/show/26 said Yang can increase the probability of Search Engine indexed.
CodeAs follows:First, create a show directory and
/* Insert after P I'm a good guy. */p.first:after {content: "Good guy"}/* Insert dear friend Men*/p:before before p {content: "Dear friend Men"}/* Set first P-element */p:first-child{/*background-color:yellow;*/}/* Setting the last P element is equivalent to: P:nth-last-child (1) */p:last-child{/*background-color:yellow;*/}/* Set positive number first P element */p:nth-child (1) {/*background-color:red;*/}/* Set the number of the first P-element */p:nth-last-child (1) {/*background-color:red;*/
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.