Ref: Assigning IDs to the pages/files

(I could be double this announcement because I ask for help from the people who answered my previous announcement.) Therefore, please bare with me because it's in response to their instructions as well as any other person who can jump in and lend a hand)

A big thank you to those of you who have been able to respond to my ad. It's more useful.

However, as I was going through the instructions from you people who have kindly responded to my ad, I decided to call my Web host and I just discovered that my webhosting package does not support .asp or .php extension. However, I suppose I could replace .asp or .php to .html. Please correct me if I'm wrong.

So I can replace .asp or .php to .html, how can I proceed? It's because after trying to follow the instrcutions to all who responded to my ad, here's what I did and I'm afraid, that I failed because it does not work:

(1) you were asked: "you can have a page that includes every album when it's called...". »
My action: I created a page, which I named it "album.html" which will act as the default page where all the photos could be desplayed, when it is called. I assumed that replacing the extension .asp or .php .html would still be viable. I should add that, from your instructions, I understood that I must leave this page (album.html) with all of the code in tags such as < HEAD > < TITLE >, < META >, < LINK >... all the way normal to < / HEAD > tag.

If the step that I have given so far, using the .html extension is correct, what code should I include in the page to select, for example, album.html? a_id = 1, to display in the default page, which is album.html? Increasingly, where should I include such a code above < / HEAD > or in the body of the page, right where I want the album called to display? This question is similar to my question No. 5.

I don't know the rules of this forum. Therefore, if you, because of your time constraints, would you please give me an example page (album.html) default explanatory brief, but detailed and free with any code that needs to be included when and where? Thank you in advance! I too know what it asks for.

2. you asked: "strip your album of all pages < head > < title > <><... / head > so that.
only the album part remains and include it in your file (album.asp) using a simple if build... »
My action: For now, also following the instructions of the others who have responded to my ad, I created 1.html, 2. HTML and html 3 pages. I stripped all the tags between the < HTML > and < BODY > so that, at the top of the code page, only < HTML > that remains above the < BODY > tag.

However, I hit a roadblock here when I tried to follow your instructions: How can I include the only remaining part of the album of each page (1.html, 2. html and 3.html) in my default file (album.html) to make sure that when I call / click the link "album.html? a_id = 1" of any particular page in my Web site I will go to the default page (album.html), but the default page will only display the information contained in "1.html"... or when I call / click the link "album.html? a_id = 3" the default page display only the information contained in "3.html?

3. How do I encode the "if build" of these pages 1.html, 2. HTML 3.html? I'm assuming that, once I have this 'if' build I'll put it in the default page (album.html.) However, were if I put this building above < / HEAD > if it is in the default page (album.html) or between < HTML > and < BODY > OR in the body if the code should go to pages 1.html, 2. HTML and html 3. because I do not have < / HEAD > in the albuns (2 html and 3.html 1.html) pages?

4. should I put the code that you provided in the default page (album.html) or should I put it in every page of the album (1.html, 2 html and 3.html)? In addition, where in the page code will? Should I place him above < HEAD > if she goes into the default page (album.html)?

Here is the code you provided:

< a href = "references.php? client = 1 #more" > < customer strong > 1 < facilities > < /a >
< a href = "references.php? client = 2 #more" > < customer strong > 1 < facilities > < /a >

In this code, I only changed the extension .php to .html. This is why, at present, the code reads:

< a href = "references.html? client = 1 #more" > < customer strong > 1 < facilities > < /a >
< a href = "references.html? client = 2 #more" > < customer strong > 1 < facilities > < /a >

Is that what I did fix at all? Copy the following code works with the extension .html? How I changed it, if correct, is there anything what else I should change in the code mentioned previously?

5. you asked: «...» "The insertion point:"

<! - point insert - >
< a name = 'more' > < / a >

[...]

and the fi build in the same page

<? PHP
If ($_GET ['customer'] == "1")
include("includes/client1.php");
If ($_GET ['customer'] == "2")
include("includes/client2.php");
? >
"

My action: Inserted the code < a name = "more" > < /a > in the default page (album.html).
In addition, I inserted the updated the "if build" code above < HTML > in the default page (album.html). Here's the modified code. Please note that I just replace .php .html.

<? PHP
If ($_GET ['customer'] == "1")
include("includes/client1.html");
If ($_GET ['customer'] == "2")
include("includes/client2.html");
If ($_GET ['customer'] == "3")
include("includes/client3.html");
? >

Is my change correct? From the beginning, I'm afraid, I could be done wrong because it could only work in php. Now, how could it be changed to work with the extension .html? Also, I notice normally once a <? PHP...? > code is used and placed above < html > there are parts of the code that turns the red, which means that it works. Not in my code became Red, which led me to believe what I've done is not correct. How can I make this work?

Let me emphasize that, except adding the modifice slightly "if build" (above < html >) and insertion (< a name = "more" > < / has >) between the < BODY > and < / BODY > exactly where I want my called albuns, displayed in the default page (album.html), I did no other modifications. In fact, I realized that for the default page (album.html) I could leave all the tags intact. Is this correct? If this is not the case, how can I remove the tags that you all asked me to strip while still perserving my uniform site design to the default page (album.html)?

6. you also said: "of course you can use a switch - case construction as well...". »
In the interest of learning and for the sake of having a plan B in my arsenal, could you or any who set up a functional explantion how this could work using my album.html for call 1. HTML and display on the page by default (album.html), when I click on the link "album.html? a_id = 1"... and call 3. HTML and display on the default page (album.html) when I click on the link "album.html? a_id = 3?"

I apologize for this might be too long. However, I am new at this and I tried to explain, in detail, what I need. I could appreciate any help I coud get this.

Thank you all, once again, for your help!

Sunday, August 13, 2006 04:15:54 + 0000 (UTC), "Mungomba.
wrote:

> Thank you, Gary! I'm trying to change my accommodation now.
> At the same time, I'll replace it all by .php .html extensions. That said,
> Would you still be able to tell me what code should I put where? Moreover, I
> could I code the "if build?

First of all, the files that need to be understood must not contain,
orTags. Where a normal page looks like this:



stuff head


stuff body

You need to change up to where it's just:

stuff body

Then in your .php page, you have all the,and
Tags.


<>
{Switch($_GET['client'])}
case 1: include "1.html"; break;
case 2: include "2.html"; break;
box 3: include "3.html"; break;
by default:
print '.

Error

Customer not found

";
}
?>

Gary

Tags: Dreamweaver

Similar Questions

  • Two hard drives - what to set the page file to?

    I have two hard drives, Windows is installed on C:, what should I set my page of the settings file for better performance? Hard drive space is not a problem, I have a 250 GB and a 1 TB drive, both are less than half full. I have 3.25 GB of RAM DDR2.

    I heard move the swap file on a second hard drive is beneficial, because the OS files and the page file could be consulted at the same time. Defining a very large page file or file page on both drives will hurt performance? What is a variable size compared to a matter of constant size?

    It shouldn't be noticeable performance difference if the swap file is bigger than "necessary".

    If your system can it take into account, it is considered generally to be a performance advantage to put the file on a different physical disk than the operating system is installed, provided the other player does not see many IO already.

    By using a constant size / fixed can eliminate fragmentation of the file page that can occur if it is sized dynamically.

    If you anticipate relying heavily on the swap file, maybe reconsider and add more RAM to the system, if possible, or upgrade to a 64-bit computer and the operating system that is able to handle more RAM.

  • Where is the page files?

    I am running Vista Home premium. I want to reduce the size of my partition of my boot c: drive. I want to find my page files and move them to another drive and then reduce the size of the partition.

    Where are they?

    How can I see them?

    How can I move them?

    Hello

    The page file (Pagefile.sys) is a hidden file on your hard drive that Windows Vista uses as if it were a memory (RAM). The file exchange and physical memory is the virtual memory. By default, Windows stores the paging file on the boot partition (the partition that contains the operating system and its support files). The default paging file size is equal to 1.5 times the total RAM. However, this default configuration is perhaps not optimal in all cases. This article describes how to configure the paging file for optimization of the system and recovery.

    You can follow the steps in the link given by bob.

    http://answers.Microsoft.com/en-us/Windows/Forum/Windows_7-performance/Windows-7-set-to-no-page-file-and-i-cannot-change/992de6a8-bec2-4E74-b6d9-d418a7f5cda0?TM=1367819685901

    Alternatively, you can follow the steps to move the paging files.

    1. Log the computer as an administrator.
    2. Click Startand then click Control Panel.
    3. Click performance and Maintenanceand then click System.
    4. Click on the Advanced tab, and then, under performance, click settings.
    5. Click the Advanced tab, and then under virtual memory, click change.
    6. In the drive [Volume label] list, click one drive other than the one on which Windows is installed (Windows is usually installed on the drive C). Under Total paging of the size of file for all drives, note the value that is displayed next to recommended.
    7. Click custom size, and type the value recommended in the initial size (MB) box.
    8. Type the maximum size that you want to allow for paging in the size maximum (MB) , and then click set.
    9. In the drive [Volume label] box, click the drive on which Windows is installed (usually drive C), and then use one of the following steps:
      • If you don't want a swap to disk file, click No paging file, and then click set. A message similar to the following message is displayed:

    If the pagefile on volume C: has an initial size of less than 126 megabytes, then the system may not be able to create a debugging information file if a STOP error occurs.
    Continue anyway?

    Click Yes.

      • If you want to keep the minimum size of the file on the drive, click custom size, and type a value that is equal or greater than the amount of RAM in the computer in the initial size (MB) box. Type the same value in the box size maximum (MB) , and then click set.
    1. The following message appears:

    The changes you did ask you to restart your computer before they can take effect.

    Click OK, click OK, click OK, and then click Yes when you are prompted to restart the computer.

    Hope it helps you to solve the problem.

  • Try to calculate the size of the PAGE file

    This is an academic exercise. I am trying to determine why my PAGE file size is what it is. Currently, he is registered to 28,000,331 bytes. (He's alone). Here are the facts:

    3 dense dimensions, stored members are 17 * 20 * 5, for a total of 1,700 * 8 = 13 600 bytes.

    The actual maximum blocks are 19 800. The maximum reported are 24 750.

    I have disabled compression for ease of calculation.

    There is only 1 block no missing.

    I use SER60 as my guide in the section estimate disk and the memory required. However, when I use the planned calculation:

    Number of blocks * (size of data block expanded + 72 bytes)

    I don't get anywhere near the number of bytes listed for the PAG file. I realize that I am not to mention the rest of the database files and do not know if this calculation is only for the PAG files or all files. I am not very interested in the size of the entire database, just the file PAG. So my questions are:

    1. is the calculation provided for all files or just the file PAG?

    2. If the answer to 1 is Yes, is there a separate calculation, that I can use to determine the size of the PAGE file only?

    Take a look at NUMBLOCKSTOEXTEND in the technical reference on Essbase.  We had a long conversation that addressed this issue on Network54 recently: http://www.network54.com/Forum/58296/thread/1374608752/11-1-2-2+Fragmentation

    Short answer is that Essbase allocates file space .pag in 2048-block pieces, which is the default value of NUMBLOCKSTOEXTEND 11.1.2.2.  Calculate how many blocks (including header block 72 bytes) integrate 28,000,331 bytes and you will see that this is almost exactly 2048.

    With compression on it more difficult (for me, at least) to understand how Essbase arrives with the size of the average disk blocks to use as the size on the disk with compression on is not constant.

  • Assign the page file (.vmem) VM a specific file and folder name.

    My AV (Comodo) analysis file (.vmem) VM paging to death (the hosts making it unusable).  I want to assign the file to the SSD and give it a permanent name.  I read that I can attribute the work of virtual machine files directory and this will help you.  The problem is Comodo.  Can I exclude a file or folder of the analysis, but the mutation .vmem file name prevents the exclusion to work whenever I turn off / the virtual machine.  Thanks for any help.  Enjoy, John.

    EDIT: I just restarted my VM and host and then grew up the virtual machine.  He continued to wear the same name of file (.vmem).  It will continue to be this way?

    One option is to add the following parameter to the file vmx of your comments (with comments turned off and closed player).

    mainMem.useNamedFile = "false".

    This will change the behavior to NOT use the named file for the permutation of VRAM.

    If this does not change the behavior, you may need to change the host config.ini file and add the line there instead.

    Personally, for any AV I always exclude my file to the root of the VMS under analysis, given that the files are constantly changing and open, and the files themselves do not contain viruses. This is NOT to say that the customers themselves can not GET a virus inside their own operating system... but the files to your host will not some virus shipped including your AV needs to scan contain.

  • I have two 2 physical HDD (logic 1 = 2 partitions, 1 with partion unique); on all the page files will improve performance, or is an annex of page file?

    My laptop has two 2 750 GB HDD (plus a 8 GB SSD Express Cache). The first HARD disk is partitioned into 2 letters two logical sectors (~ 275 GB & 375 GB {more system/recovery NTFS partitions 2}), assigned drive C (main system partition), and D (logical partition) and the second physical disk E (750 GB). Win7Pro64 created a pagefile managed system on the C drive, but not on readers D & E. Y has an advantage, or more importantly, a disadvantage to the creation of swap files on the D & E readers?

    I am not opposed to using all the 375GB logical partition on drive D as a swap file if this can help performance, and/or create a pagefile on the E drive the same size as on the C drive, once again, to help performance.

    Can someone help me with the best approach?

    Also, I have an Intel i7-3610QM with 16 GB of RAM and a GPU Nvidia GeForce GTX G675M with 2 GB of RAM.

    Thank you.

    Hello

    The best option is to let Windows control the pagefile.

    Here's more information: http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/optimal-page-file-size/3c68f053-1248-48c9-bd10-72874834d595

    I hope this helps.

  • size of the page file and the hibernation Windows 7

    I've recently updated the RAM in my computer to 16 GB.  I noticed that my pagefile.sys is now 15.9 GB and file hiberfil.sys is 12.0 GB.  I do not hibernate.  My computer has two physical hard drives (essentially a disk OS/program and a data reader).   What is the amount appropriate for the page on the operating system drive file size and is at - there a way to remove or reduce the size of the hiberfil.sys file?  I plan on migration of my OS drive to an SSD in the near future and wish to reduce the footprint of these two files for migration.

    Thanks for any advice.

    Check your power option settings

    and http://www.howtogeek.com/howto/15140/what-is-hiberfil.sys-and-how-do-i-delete-it/

    Allow victory to manage the size of page file

    What size ssd you plan on buying?

  • URL - separated by commas contains a list of values to assign items to the page '&amp; '.

    I want to pass values to the page elements in a URL which includes this symbol '& '.

    example: ...f?p=209:1:::p1_ind:aerospace%20%26%20defense
    expects that AEROSPACE & DEFENSE would be passed to the element P1_IND to Page 1 of application 209
    the page is a select and display in the selection list value is AEROSPACE & DEFENSE
    This URL causes an error - mod_plsql: / pls/eds/f HTTP - 400 Missing '=' in query string or post the form (from firefox)... (IE returns a HTTP 400 .but you can find the mod_plsql error in the Apache error_log)

    If I run the same URL as above, but this time modify the P1_IND page to display text element (special escape characters, does not save the State)
    the URL successfully calls the page and displays the value in the element P1_IND - AEROSPACE & amp; DEFENCE (without the space between the & amp...) I could not determine how to get the word combined to make here)

    Once more with the same URL, but this time the page P1_IND element set to display text (does not save the State)
    the URL successfully calls the page and displays the value in the element P1_IND - AEROSPACE & DEFENSE

    QUESTION: How to pass a value to a page element 'list of selection' in a URL when the page element includes an ampersand?
    .. .and what is the relevance of the mod_plsql error... /f HTTP - 400 Missing '=' in query string or form post

    The Solution is to use the spaces (%20) instead of 26%

  • His delay on the page file

    I have an audio file that I want to start with a button and does not play at the start of the timeline. I know there is a way to do it, but don't know what it is.

    Do not add the audio to the slide, but using one of these techniques:

    1. Join the action "Play Audio" button, then point to the audio clip (it must be saved, you can have in the library or elsewhere)
    2. Set the audio to an object that is 'invisible' to the user (such as a shape without a fill or a stroke); This will allow you to save this object. Make this invisible object output (click on the top eye of the icon left properties). The button to "Show object" action When the object appears audio will play.
  • How can I configure the page files?

    I have files in the wrong places and need to learn how to fix them

    PAB

    Don't forget to set up your site definition properly and have all your files inside your site definition. Without more information, it is quite difficult to advise.

  • SSI does not have the image on the page files.

    Hi, I use PS CS5. On my site I have a SSI file appearing on my homepage index.shtml. Now, SSI file contains a table with image in there place holders. When I replace the placeholder image with an actual image file, it does not appear on index.shtml DW and browser either (instead of jpg file I have this error.jpg ). I use the localhost server and all files have been uploaded to my server from my local directory.

    Thank you!

    You can use an absolute URL for the image "http://yourdomain.com/images/image.jpg" file or simply delete the main points and slashes of the path of the image in your include file.

    The second half of the suggestion of Nancy must use ROOT relative links in your include files.  You must always use only the root of the relative links in the files include.

  • I refreshed Firefox and I lost my tabs at the top of the page (file, tools, etc.). How can I get this back bar?

    I am lost without these tabs. Help, please.

    Press the ALT key, or press F10 to display the Menu bar

    You can use one of them to set toolbars to display.

    • Firefox '3-bar' menu button > customize > show/hide toolbars
    • View > toolbars
      Press the ALT key, or press F10 to display the Menu bar
    • Right click on empty toolbar space
  • Clear the Page file at shutdown - Windows 7

    I looked at ways to speed up the shutdown for Windows 7 Enterprise 64-bit process and came to the conclusion that the only way to drastically improve the speed is to disable the registry key "ClearPageFileAt Shutdown".  I work for a fairly large company, and if this is the way to go, we need to implement this change on about 10 000 + desktop computers / laptops.  My question is how this change will affect the pc in the long term?  Is there a downside to this solution?  Some PCs take as long as two minutes to the stop.  With this change, it takes 13 seconds...

    Clear the pagefile at shutdown is a security measure, and one might expect Windows to close more slowly than usual

    Try this... http://www.SevenForums.com/tutorials/717-shut-down-speed-up.html

  • Can I change the size of my page file?

    If I change the size of the page file, I see an increase in the performance of the system?

    Leaving the page set to automatic file size is usually more effective.  Any improvements you might see by increasing the size of the file would be minimal, at best.

    A good explanation of how virtual memory and how the swap file can be found at:

    http://windowshelp.Microsoft.com/Windows/en-us/help/fd3e9104-1076-4600-9F9D-8739849387ec1033.mspx

  • The file size of the page

    I noticed that my drive 120 GB SSD use much more space for the installation of windows 7 (and also windows 10).  It seems that this is due to the size of the page file created automatically once I upgraded my computer to 32 GB of RAM...

    But it leaves me not a lot of space left on my 120 GB SSD!  Should this system really a 32 GB page file or more?

    But it leaves me not a lot of space left on my 120 GB SSD!  Should this system really a 32 GB page file or more?

    You can decide that for yourself by taking one of these steps, then keeping an eye on the performance of your machine:

    • Move the pagefile to another drive (if you have one).
    • Manually set a smaller size for your swap file, such as 8 GB.

Maybe you are looking for