here's my website organization :
index.php includes header, home, and footer files :
How should I set .htaccess so that MyWebSite/ is the only allowed URL ?
Does anyone have suggestions/recommendations for an embeddable web component that can interpret and/or compile C or show command-line shell (more than just syntax highlighting)? Think of CodePen, but for these languages, similar to Lapis http://leafo.net/lapis/ or to Ideone http://ideone.com/, but something I can actually embed in a website?
I'm making a website with django and I want to add a search bar so it will search posts by tags.
How can I do that? Can someone give a direction?
P.S. I'm using django together with mongodb to store and get the tags.
Thanks in advance.
i want to inspect and analyse a function in php, but I don't know where the function is defined (eg. line and file) and I also don't know the headerfiles, because I don't need them in php. The function I want to analyze is 'include()'. How I can get the source code or file where the function is defined and how I can get the source of other well known functions (eg. print, echo)?
I am using Java with the Spring Web MVC framework to set up a site. I have a form:
<form:form method="post" action="exman/action" modelAttribute="exmanModel">
<fieldset>
<form:label path="name">Name</form:label>
<form:input path="name" type="text" required="required"/>
</fieldset>
<button type="submit" class="bt_submit" name="action" value="clear">Clear</button>
<button type="submit" class="bt_submit" name="action" value="add">Add Entry</button>
<button type="submit" class="bt_submit" name="action" value="search">Search</button>
</form:form>
When the user clicks Add Entry, they must enter all required fields. However, when the user clicks Clear or Search, no fields should be required. How can I do this?
Let's say for example you developed a website and would like to present it in your portfolio.
It was built for a company, so it will most certainly change over time. So obviously, linking to the active domain is not a solution.
I know services like the wayback machine exist. However, this doesn't appear to preserve sites completely.
Is there any way to neatly package and present a website demo without dealing with decay? (I suppose some decay is unavoidable with advancements and changes to the web and clients)