Tag Archives: File Txt

Cross-domain SSI on same server

Okay, here’s my dilemma. Will server facet includes work among 2 domains making use of their own FTP accounts hosted for the same server One example is, let’s just say I squeeze below code on a page in http: //www. mysite. com: HTML: <! –#include virtual=" http: //www. space. com/shared/menu. txt" –> But equally mysite. com plus domain. com are about the SAME server, so would this SSI work in cases like this I ask because I know you can’t carry out cross-server SSI, but can one does cross-domain SSI given that they’re hosted within the SAME server Thanks ahead! The easiest method to know it is usually by testing it It might work better considering the full path and FILE as opposed to VIRTUAL: Code: <! –#include file=" D: \somewhere\on\your\hard\drive\include. html" –> Even so the files will be stored for the server, not my hard disk… I am baffled. Yeah I would test it, but the simply problem is, many of us haven’t bought this server. I just didn’t prefer to design 100 pages and have research ALL of them if the SSI doesn’t job. Sigh. Do this.. Code: <! –#include file=" /ssi/file. txt" –> That implies the ‘ssi’ … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , , , | Leave a comment

Frames: Good or Bad?

Hello there all. I already are aware that frames aren’t the best thing to use on websites (search engine problems, compatibility issues and so on. ) but I should get a common navigation bar between all of my pages. I’ve had complications before with needing to change a link for a 1 day offer or something and needing to change each site, just to change it back again. My solution was to acquire a ‘header. htm’ inside the root of our web directory as well as put an iframe at each page that’s source is defined to " /header. htm" The remaining portion of the page is completed with tables. Is is okay to acquire this one frame on each page Regards, Phillid This is exactly why you use PHP. Either change the extensions of the files from. htm to help. php, as well as command the node to process. htm data as PHP (using. htaccess). After this you have a solitary file (script) that’s your navigation list. That only contains the actual menu part. Perhaps you call it " palate. php". On some other page, you " include" in which script… where the idea becomes inserted in the place … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , , , , , | Leave a comment