http://social.msdn.microsoft.com/Forums/en-US/sqldriverforphp/thread/0e2a6caa-2fc6-49ca-a93d-bb0b4d78a042/
This link indicates that multiple queries are definately allowed. You might find it useful.
Well I went through the Plesk online help system, and it turns out that there is a page where you can turn safe mode on or off. It seems to operate independently of any ini settings and override what phpinfo thinks the value is set to.
I disabled it there and rerun your test script. Sure...
Thanks for the help. Its appreciated.
This is what I get. I also tried doing kill that way:
[root@xxxxxxxx ~]# php -r 'exec("/usr/bin/ls",$o);print_r($o);'
sh: /ls: No such file or directory
Array
(
)
[root@xxxxxxxx ~]# php -r 'exec("kill -l",$o);print_r($o);'
sh: /kill: No such file or...
Right, I tried kill -l and I get exactly the same result.
However, if I connect by Putty and type that on the command line I do indeed get a list of what I presume are signals.
Perhaps it would help if I explained my environment. I am using a virtual linux server hosted on 1&1. It is running...
Hi, thanks for the suggestion. I ran your code and get the following:
SYSTEM:
EXEC: ( exitcode : 127 )
--------------------------------------------------------------------------------
Array
()
According to a quick google, exitcode 127 means file not found. Is there a linux command I can...
Ah ok, never used virtual tables. I would suggest however that while you are trying to get it to work you strip it to a bare minimum, and create a virtual table with a single row. If nothing else it will make it easier for other people to follow.
Also, you seem to be sending multiple queries...
If I run the following script on my Plesk 10.2 linux server:
$c = system("ls");
echo "<br />SYSTEM: ".$c;
$out = array();
$d = exec("ls",$out);
echo "<br />EXEC: ".$d;
echo "<hr /><pre>";
print_r($out);
echo "</pre>";
I get nothing. Well, I get the following:
SYSTEM:
EXEC...
Ah, I shrunk my example down too much. In the full code, init_demo does a lot more work, and stores data in an array. My problem is, if I take the show function outside of the init_demo function, I no longer have access to that array.
I need to either be able to access the array externally, or...
Hello,
I am currently learning Javascript and as a project am writing a lightbox using exist examples.
I found one such in the JQuery cookbook, which works well. However, I wanted to add thumbnails to the box, for multiple images. These would be generated on the fly, and have onclick events...
Sorry but having to rotate a monitor in order to work with a software "feature" is not a solution.
My question is this. Does anybody actually like the 2007 interface?
I have the XML addin which lets me convert a range into an xml list.
I can then go DATA -> XML -> EXPORT to save as an XML file.
HOWEVER...
Any unicode data gets converted to latin. How do I generate a unicode XML export file?
I am tipping my toes into iphone application development. I see that I need a machine running Leopard 10.5.7 in order to run the sdk, my question is this: would a G4 Mac with 1G Ram and 1.2Mhz processor be sufficient to run the SDK and the iphone simulator, or would it be a dog?
My second...
Well I could have done that, but it would have only worked in that instance. On my site, there are any number of elements that will be in the place of the H3. Using overflow: hidden on the container works on all of them.
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.