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...
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...
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...
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
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...
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...
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 ...
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...
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...
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...
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...
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
I have the following input to XML::Parser
<?xml version="1.0" encoding="UTF-8"?>
<tag>
<text>Kø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
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...
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
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.