Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: thenewa2x
  • Content: Threads
  • Order by date
  1. thenewa2x

    New to Server in PHP

    I am attempting to create an abstract PHP class that will allow some developer to create their own custom server using PHP. I am able to start the server, bind the socket, and start listening. The only issue I have is how to handle multiple connections for reading and writing. From what I...
  2. thenewa2x

    Daemon server forking additional children?

    Hello. I'm writing a server class in PHP and so far it is working. The is one I would like to implement but I'm not sure how to do it. What I want to do is fork the process on every incoming connection. This way each connection to the server will spawn a separate process to complete the...
  3. thenewa2x

    Linux-based Batch Password Changer?

    Our company has about 1500 PDFs that are password protected or do not have a password. What I would like to know is if there are any Linux-based applications that will change the password on password protected PDFs to another password and add a password if non is set. If at all possible I...
  4. thenewa2x

    XML to Word 2k

    Does anyone know of any converters that will converter an XML file to a Word 2000 .doc document? I am more than willing to write a stylsheet if the XML needs to be formatted differently. After searching Google for an hour or so, I could only find websites providing tools and information on...
  5. thenewa2x

    PHP + ArrayObject + __set overload

    At the moment I can set and retrieve array values using the ArrayObject class when overloading my class using __get. However for some reason the __set function isn't triggered when setting a value but the value is set anyway, in the appropriate private property. <?php $test = new MyClass (...
  6. thenewa2x

    Properly Wording a Project

    (This is not strictly PHP) I'm developing a set of PHP scripts that will allow developers to expand on the functionality of the scripts but develop their own script by using the functions and classes within this set of scripts. Which description would best describe this set of scripts? - PHP...
  7. thenewa2x

    XML::LibXML: replaceNode() removes attribute ns prefixes?

    Hello, When I use XML::LibXML's replaceNode() method on an element, all of the namespace prefixes are removed from the attributes of the element I used to replace. Example: <ext-link xlink:title="My Title" xlink:href="http://www.somedomain.com/">http://www.somedomain.com/</ext-link> Becomes...
  8. thenewa2x

    XML Schema: Alternative to all, choice, or sequence?

    Here is my XML: <document> <title>Document Title</title> <content> <section> <heading>Some Heading</heading> <paragraph>Some paragraph.</paragraph> <list> <item>Some list item.</item> </list> </section> <section> <heading>First...
  9. thenewa2x

    XML Schema: &quot;xs:ID&quot; scope?

    I'm trying to create a schema for a test. The test XML would look something like this: <document> <test> <question> <content>Some content for the question goes here</content> <choices> <choice id="a">This is choice A.</choice> <choice id="b">This is choice...
  10. thenewa2x

    Simple PHP Source Code Manager?

    I've googled my fingers into oblivion and I couldn't find a simple source code manager that is PHP-based. I know about CVS and SVN (I know they're not written in PHP) but I can't seem to figure it out how to configure my clients. I'm registered with SourceForge. Before you refer me to SF's...
  11. thenewa2x

    ZipArchive::close() causes Internal Server Error

    Hello. I am trying to dynamically create an archive, save it, and output the results so that a browser and download the zip file. At the exact point where I call the close() method, an "Internal Server Error" occurs with nothing in the logs. Here is the script: <?php /** * Mukei...
  12. thenewa2x

    XPath &quot;following-sibling&quot; does not include text nodes?

    I'm trying to create a template that will make inline references look like this: My sentence.(1) My other sentence. (2, 3) Using this tempate: <!-- Match Ref --> <xsl:template match="ref"> <fo:inline baseline-shift="4" font-size="7.5pt"> <xsl:if test="not( preceding-sibling::ref...
  13. thenewa2x

    Multiple Monitors: Independant Screensavers?

    Is there a utility out there that will allow each of my monitors to have their own screensavers? For example, my right-most monitor has had no activity for about 10 minutes. I would like that monitor to have a screensaver on it while my other monitors that do have activity remain screensaver...
  14. thenewa2x

    Remove Redundant Namespace

    In Perl when I replaceNode() I get an extra xlink namespace added to that particular node. Is there a way to prevent that from happening or to remove it? - I am not adding ANY attributes. - The namespace is NOT in the original node. TNA!
  15. thenewa2x

    XSLT: Table parts in multiple templates

    Hi, I need to be able to begin a table in one template and end it in another. I would do all of the table stuff in a single template but a special editor called Serna does not handle templates like this very well. So is having a table (table, row, and cell) broken out into several templates...
  16. thenewa2x

    Catching stragglers?

    FYI, I'm using XSL FO. I have templates for each element that I will be displaying. What I want to do is prevent all of the elements I do not use (but that do exist in the document) from being displayed. I tried the following but I get a blank document: <xsl:template match="*" /> And...
  17. thenewa2x

    Recursive XSL in Serna?

    I use an editor for creating XML documents and Serna uses XSLT 1.0 for on-the-fly transformations. I created a template for a document that we will be working on and it all works fine except that subsequent lists (anything after list1 such as list2, list2red, list3, list3red, etc...) is not...
  18. thenewa2x

    XSL FO: Is left to right text so hard?!

    I spent quite a few hours searching through Google, W3, and other sites and I cannot figure out why my text is being displayed backwards. Everything is backwards except one element called <tt>sectioncontent</tt>. Here is the XSL FO document: <?xml version='1.0'?> <xsl:stylesheet...
  19. thenewa2x

    Autmoted HTML Printing?

    Is there a way to batch print HTML pages from an online source? I tried searching Google and Source Forge and nothing relevant came up. I do not want a GUI, just something simple such as a command line program. Example syntax: printhtml -d <printername> <list of urls to print> It would also...
  20. thenewa2x

    Get object keys in IE?

    In Firefox, this works: for ( var key in obj ) alert( key ); It would alert you of all the keys in the object. It fails in IE though and Google results only return object oriented stuff. Any ideas as to IE equivalent of this type of loop? If not, is there a built-in method in the...

Part and Inventory Search

Back
Top