How does such a web page work?

Updated on technology 2024-04-27
9 answers
  1. Anonymous users2024-02-08

    What you're talking about:"The value of the URL on different pages is the same, but the content displayed is different from different pages. "Is that so?

    If this is the case, you can determine the referer segment of the HTTP header of the request in the program, and return different contents according to the value of the referer segment.

    After reading the landlord's supplement, I finally seem to understand.

    Here's how the URL is constructed:

    For example, the URL above can be split into four segments as above: (1), (2), (3), and (4).

    1) Segment represents the protocol used, where HTTP is used, in addition to FTP, Telnet, etc.

    2) The segment represents the hostname (or domain name IP address) and is used to identify the host on the Internet.

    3) The segment represents the path to access the files on that host. It may be a static web page file, like; It could also be a CGI program (or as it is called"Dynamic pages", hereinafter referred to as uniformly"CGI program"), as in the new

    4) paragraph,"?"The data passed to the CGI program with the URL, in this case new ID=53, is followed by the data that the CGI program analyzes and processes the data passed to it, and then returns it to the relevant page (or other data) of the user's browser

    Paragraphs 1 and (2) are clearly stated in Example 1.

    3) paragraphs":"The following represents the port number that the browser wants to access.

    Paragraphs 4 and (5) are not mentioned, as explained in Example 1.

    6) and (7), if there are multiple items of data passed to the CGI program with the URL, separate them with &.

    In addition, under the link provided by the landlord, the document referred to in the link is the same"new_", but pass to"new_"The data is different. I don't know if the landlord has noticed.

    How can this be achieved? Is it related to databases? "

    This effect is achieved in a CGI program (i.e., dynamic page), and the user sees different pages depending on the data passed to it. The implementation of dynamic pages can be database-related or database-independent.

    20 October 2006. 02:18

  2. Anonymous users2024-02-07

    I don't know your question very well, please be clear!

    However, your problem should exist on the server side, it should belong to server scripting, and it is often related to the database! For example, view the product category also side.

    type=Product type.

    The generated surface also depends on the query results of the database.

    If I'm not getting to the point, please be on point.

  3. Anonymous users2024-02-06

    One of the basics of dynamic web pages: URL parameters. Basically, many web pages are HTML output after judging the value of the URL parameter.

  4. Anonymous users2024-02-05

    Not quite sure what you're asking. But you can say that the same file has different contents, and you can pass different internal parameters.

  5. Anonymous users2024-02-04

    1.First determine what you want to do, that is, what you are doing this ** for; For example, what I want to do is an enterprise, which is to do electronic appliances, so I should conceive around these contents, and I can also refer to some similar **, 2Take a domain name according to the conceived theme, the domain name must be good, this is very important for your future development, so you must take it according to your theme (if it is an enterprise, it will generally be taken by the full spelling or simple spelling of the company's brand name);

    3.After the domain name is taken, the next thing is the most complex part of the construction mentioned above (web design, program development), that is, the program source code, I use the template source code developed by others to modify, because this can save a lot of time, in fact, many will find some relevant templates to modify according to what they want to do;

    4.After the program source code is done and tested locally, the server space is rented according to the space requirements to be used, and the general enterprise uses 300m of space (except for the enterprise displayed in the form of **), and it should be noted that the server is divided into domestic and foreign, the biggest difference is that the domestic space should be filed and the foreign space is not used, and it can be used directly after purchase;

    5.After the server space is purchased, the program source code will be uploaded to the server space with the ftp upload tool, and the background data will be imported into the space database, and the program can be operated normally on the Internet.

  6. Anonymous users2024-02-03

    If you haven't learned this kind of thing, I advise you not to make web pages, it's better to ask someone to help, after all, people have technology, we don't.

  7. Anonymous users2024-02-02

    For website building, registering a domain name, purchasing space, and selecting a program are the three major elements of building a website, and any of these elements cannot be accessed normally. Of course, in addition to these, you also need to resolve the domain name, upload and install the ** program, and other operations.

    1. Register a domain name.

    The first step is to register a domain name that meets your needs, after all, the domain name is the house number and a business card on the Internet, so it is necessary to choose a good domain name that is easy to remember and meaningful, and you can establish your own brand image.

    2. Buy space.

    Space is used to store data such as web pages and databases. **There are many kinds of space, VPS, virtual hosting, independent servers, etc., and the individual webmaster can choose the host, which not only meets the needs but also reduces the cost. In addition, the virtual host only needs to be managed simply through the graphical operation interface, while the VPS and independent servers also require certain technology, which is not suitable for novice webmasters.

    3. Select a program.

    Nowadays, there are many kinds of programs, which one to choose depends on what type of program you want to build, such as WordPress blog program, Dream Weaving CMS management system, ShopEx** program, etc., friends who build a website should not ignore the choice of this piece, because choosing a program is a very important part of construction, of course, you can also develop a program independently, and there are many ready-made programs on the Internet.

  8. Anonymous users2024-02-01

    Step 1: <>

    Step 2: <>

    Step 3: <>

    Fourth: Double-click to open, the following effect will appear, which means that your first html page has been successfully made!

    Isn't it very simple, but it's just the simplest static page, and the ** we usually visit is much more complicated than this.

  9. Anonymous users2024-01-31

    Step 3: Real-name authentication of domain name (verify the authenticity of domain name information);

    Step 8: Secondary development and imitation station.

    Hope it helps.

Related questions
14 answers2024-04-27

You can do it without a VBA:

Point first"tools"->"option"->"Recalculate", selected"Automatic recalculation"with"Iterative calculations", will"Maximum number of iterations"Set to 1 and enter the formula: in cell b1 >>>More

3 answers2024-04-27

My ideals. Some people say that life is like a boat on the sea, so there is no doubt that the ideal is the beacon of our way forward. With this bright lighthouse, we will not get lost, we will not be discouraged, we will move forward firmly and resolutely, and finally we can reach the other side of success. >>>More

6 answers2024-04-27

2.Start learning and go to NetEase Academy to learn how to make a web page. >>>More

4 answers2024-04-27

Apply for a domain name, find a server, and upload the finished web page.

5 answers2024-04-27

To do a good job in the positioning of professionals and realize the transformation of roles, special attention needs to be paid to the following aspects: >>>More