I am trying to user header() to direct to a page above the document root. I'm running XAMPP so I'm trying to call a script above htdocs.
My problem is it gives me the 404 error and can't find the document.
My question: can you use header() to call a script above the document root or is it better to use an include() to accomplish this?...
Hi,
Does anyone know a better way of creating XML Document from XML Schema?
...
I have to display a picture with a link on the masterpage of a sharepoint site. I also have a document library with a custom field named status. When in the library exists a document with the status "Active" the picture should be red with the link pointing to the document. When there is no Active document the picture should be blue and p...
I have a Word document (template) that I want to programmatically modify and than display to the user. I have been able to open the document and modify it but I realized that I was working on the template, while I would like to create a temporary file and work on it.
Have you got any suggestion?
I tried:
myDocument.Contect.Text = Doc...
Hi,
I'm currently investigating whether any .NET controls exist where I can design a document and generate an XSL-FO template from it?
I've seen syntax editors, but I'd rather have a drag and drop designer that anyone can use.
...
I have large text files 140k or larger full of paragraphs of text and need to insert a sentence in to this file at random intervals only if the file contains more then 200 words.
The sentence I need to insert randomly throughout the larger document is 10 words long.
I have full control over the server running my LAMP site so I can use...
I can get window.document but how can I get document.window? I need to know how to do it in all browsers.
...
Hi,
I need to inject in an iframe window a document object that I instanciated previously, and I cannot serialize it into a string or a remote url (those are solutions proposed on previous stackoverflow posts), because elements of this document objects are bound to other objects in my code.
How can I do it ?
thanks,
b.
...
I need a java script function that converts the document object of the current loaded page back to it's source text. In firefox it's smth like that:
var doc = document;
var str = (new XMLSerializer()).serializeToString(doc);
alert(str);
But i need a cross browser solution. How would this be done?
For example:
<html>
<body>
<sc...
I have a SharePoint server. I am building an rails application which can interact with sharepoint server although this is not the primary goal of the application. I am planning to provide this as an advantage.
My target areas would be
1. Fetching available document repository from SharePoint
2. Add documents to sharepoint using Rails fr...
I'm tired of going through all the steps it takes (for me) to change the DocumentRoot in Apache. I'm trying to facilitate the process with the following Python script...
#!/usr/bin/python
import sys, re
if len(sys.argv) == 2:
f = open('/tmp/apachecdr', 'w')
f.write(open('/etc/apache2/httpd.conf').read())
f = open('/tmp/apachecdr',...
Is this the correct way to do it?
<a id="load" href="#" class="btn load" onclick="request(this); $('#load').fadeOut(2000)">add</a>
<a href="#" id="test" onClick="alert( 'TEST!' )">here</a>
<script language="javascript">
var requests = 2;
function request(self)
{if(self.href != "#")
requests -= 1;
if(requests === 0)
document.getEleme...
I am trying to get the filename of a word document or any other window for that matter while some dialog box like Save as or Open or Print etc. is open. Can anybody give me an example of how to implement this in C#.
Thanks!
Saurabh
...
Is there a way to get the filenames of the files in an iPhone application's document-folder? How do you do that?
...
I'd like to implement a filter/search feature in my application using Lucene.
Querying Lucene index gives me a Hits instance, which is nothing more than a list of Documents matching my criteria.
Since I generate the indexed Documents from my objects, which is the best way to find the original object related to a specific Lucene Doc...
I have to start doing technical evaluations of web applications, mostly ecommerce. I'm just looking for some good points to touch on in terms of
Server Configuration,
Security,
How to evaluate current features and implementations,
Shopping Cart,
Checkout,
Third party integrations,
Coding Style
Site speed performance
just basic stuff ...
Javascript can manipulate the document the browser is displaying, so the following:
<script>
document.write("<table><tr><td>Hola</td><td>Adios</td></tr></table>");
</script>
Will make the browser display a table just like if it was the original HTML document:
<table>
<tr>
<td>Hola</td>
<td>Adios</td>
</tr...
Is it possible to use PHP within an XSL document?
Always when I try to do so I get errors... so before freaking out I'd like to know whether or not it's even possible. (I am an absolute beginner)
...
SharePoint is breaking the emails apart separating the attachments from the emails were sent into, resulting in multiple files where should be only one.
Does anyone knows a solution around this issue? How to store an email and its content in one file in SharePoint?
Thanks,
...
Hello!
I am dealing with an already created Document object.
I have to be able to set it's base namespace (attribute name "xmlns") to certain value.
My input is DOM and is something like:
<root>...some content...</root>
What I need is DOM which is something like:
<root xmlns="myNamespace">...some content...</root>
That's it. Easy,...