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 strongm 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: afx
  • Order by date
  1. afx

    permissions?

    Well, that's the strange thing - I don't get any error messages - the Perl module just fails to "see" the file. The file exists and it has 777 permissions. I've added a test: if (-e "/a/b/c") { print STDERR "yes"; } else { print STDERR "no"; } The test ALWAYS produces "no" in the apache...
  2. afx

    permissions?

    I have an Apache2 with mod_perl2 running on two servers. On the first everything runs without any problems. On the second, when the appropriate perl module is executed, simple things, like if (-e "/usr/xyz/filename.txt") {...} always fail even though the file DOES exist and has 777...
  3. afx

    drawing irregular grid, and trying to debug code in general?

    There is a program call PSAlter ( http://www.quite.com/psalter/psalter.htm )which appears to be a PostScript debugger. I have NO experience with the product and cannot say whether it would help solve your problems. It costs about £200 + VAT so it's not an insignificant investment! Let me...
  4. afx

    Coons patch or tensor product examples

    In PostScript Language Reference Ed. 3 - there is a section on coons patch and tensor product patterns - but no examples of how to implement/use them. Does anyone have, or know of any examples that I could use? regards Mark H., AFX
  5. afx

    talking to Flash XMLsocket

    Thanks for the link. I've had success with sockets aimed at a Perl-based socket on a unix box and that works fine. Does this mean that the XMLsocket in flash cannot RECEIVE messages - your reply implied that Flash had to talk PHP run on a command line. All I want to do is have the user hit a...
  6. afx

    talking to Flash XMLsocket

    I forgot to say what it should do! There is a text area that I would (eventually) like to output whatever message PHP has sent to it. Another question: does the flash movie need to loop to constantly receive updates? The idea is that the text area should contain the progress messages from a...
  7. afx

    talking to Flash XMLsocket

    I have a very simple flash. It has a single layer: layer 1: (ActionScript) myXML = new XMLSocket; myXML.onConnect = handleConnect; myXML.onXML = handleXML; myXML.onClose = handleDisconnect; myXML.connect("localhost", 8090); function handleConnect(connectionStatus){ connectionStatus ...
  8. afx

    dynamic update

    Hi Dan I got it working - sort of! It now runs without giving me any errors in either IE or Firefox. However, although the last line of text to be output using the javascript "document.getElementById("progress").childNodes[0].nodeValue = mytext" (which replaces the previous value of the node...
  9. afx

    dynamic update

    Hi BillyRayPreachersSon(Dan) Thanks for the info. I a still having a problem: I have a form with a file/browse/submit structure. On pressing submit it calls the current page again and runs the appropriate code (it processes the file - which is correct). However, my right-hand panel doesn't...
  10. afx

    dynamic update

    I have a page with a 1 row x 3 column table. In the center cell I have some PHP that sends commands through a socket to a unix box that runs a process that generates a PDF. I would like the right-hand cell to automatically update with the text lines stating what command is being run next...
  11. afx

    dynamic updating

    I have a page with a 1 row x 3 column table. In the center cell I have some PHP that sends commands through a socket to a unix box that runs a process that generates a PDF. I would like the right-hand cell to automatically update with the text lines stating what command is being run next...
  12. afx

    XML::Parser / entities

    Thanks for the reply 'Pengo. Actually, what I meant was that when I send the XML data through XML::Parser when it outputs the text I get all the hex codes and not the character entities any more. regards Mark H., AFX
  13. afx

    XML::Parser / entities

    I have the following input to XML::Parser <?xml version="1.0" encoding="UTF-8"?> <tag> <text>K&#248;benhavns</text> <!-- K o-slash benhavns --> </tag> What I get out is: K^c3^83^c2^b8benhavns Where ^?? is a hex byte Anyone have any ideas? regards Mark H., AFX
  14. afx

    Word OLE

    I have some code that opens Word (which then runs the AutoOpen macro which is programmed to run some VB code to convert math equations to XML) then does a SaveAs to an RTF file. This works fine - ONCE!! When I run the same code again - it doesn't do anything (that I can see). I changed the...
  15. afx

    NO power schemes listed

    Thank you, thank you, thank you. That was exactly right! If you weren't already feeling good about your level of knowledge - feel MUCH better as Sony Vaio support had no idea how to resolve this!!!!!! Thanks again. regards Mark H., AFX
  16. afx

    NO power schemes listed

    Oops. Sorry for typo in "now power schemes listed" ... I wondered why my Sony laptop's screen hadn't powered off (just the screen - not the whole machine). I checked Display Properties/Screen Saver/Power and saw that all the fields for "plugged in" and "running on batteries" where ghosted and...
  17. afx

    now power schemes listed

    I wondered why my Sony laptop's screen hadn't powered off (just the screen - not the whole machine). I checked Display Properties/Screen Saver/Power and saw that all the fields for "plugged in" and "running on batteries" where ghosted and there were no Power Schemes in the pull-down list. The...
  18. afx

    XML::Dumper

    Many thanks for your interest in helping me. In the end my test file worked but only after I had dereferenced the $variable that was the result of the $dump->xml2pl($xml_data_read_from_file). i.e. $ref = $dump->xml2pl(($xml_data_read_from_file) @info = @$ref; The strangest thing was that...
  19. afx

    XML::Dumper

    I am trying to use XML::Dumper to dump a complex variable structure to a file and read it back in. I can generate the XML file but I'm having problems reading it back in. I can't get the doc examples to work either. I've got the latest XML::Dumper and XML::Parser - any ideas? anyone? please...
  20. afx

    webserviceconnector doesn't work when called from http page

    If I load the file (c:\......\kp\test.htm - which contains the <object> code to call out the .swf) the flash file works correctly (it sends/receives data to a web service. However, if I load test.htm as http://localhost/kp/test.htm, I see the flash file and the menus, text fields etc "work" but...

Part and Inventory Search

Back
Top