Just to make it complete...
any idea how I could do this on a windows server?
passthru("c:\wamp\php\php.exe c:\wamp\www\app\jobs\script.php");
visit my website at http://www.phpscriptor.com
ok, how can I do that? can you help me with this?
this is what I have:
passthru("/usr/local/bin/php /home/admin/domains/myweb/app/jobs/script.php");
visit my website at http://www.phpscriptor.com
Hello,
How can I execute a script in the background. I don't want to wait until it's finished.
I tried passthru("myscript.php"). I worked, but I still need to wait until the script is finished before I can work on...
any help would be appriciated.
visit my website at http://www.phpscriptor.com
Sorry, I just found the solution. (why do we always find the solution after posting?)
foreach($array as $key=>$var) {
$company[$key]= $var['company'];
$name[$key] = $var[name];
}
array_multisort($company,SORT_ASC,$name,SORT_ASC,$array);
visit my website at http://www.phpscriptor.com
Hello,
I found a solution for this, but lost it and don't know how I did it. So maybe someone could help me..
array[0]['company'] = 'Company 1';
array[0]['name'] = 'Name 1';
array[1]['company'] = 'Company 1';
array[1]['name'] = 'Name 2';
that's how my array looks like. Now I want to...
aaaaaaaaaaaaaaaaaaaaaaaaah ... so easy... thanks
anyway, just for the record... is it possible in javascript to use a value as a variable?
visit my website at http://www.phpscriptor.com
Hello,
is it possible to use/convert a value in a variable to a variable name?
I have a object data.monday = 5
var test = "monday";
I want to use something like alert(data.test); Offcourse this is not working, anyone an idea what I could do?
visit my website at http://www.phpscriptor.com
thank you for your replay. I still need to test it with IE6, but IE7 and firefox are working fine.
One more question. Let's say I have 2 'popup' div's shown at the same time. And they are overlapping eachother (totally or just a part), how can I control them so that the first popup is above the...
Yes something like that. One way or the other it's calling the function when it loads the page? So it's not working.
Anyway you gave me a good direction and I managed to do it.
I'm not explaining how because it was not with javascript, I'm working with the Zend framework and I could easy add...
Hello,
Just wondering if it's possible to write one onsubmit function for every form in my website. So that the function is called when a form is submitted. I don't want to add onsubmit in every form tagg.
I just want to display a message when a form is submitted. Something like 'data is...
Hey,
I have a div where I show a little message like ("Loading data..."). I want this always in the middle of my screen.
So I did it with some javascript:
function showdiv() {
var A = document.getElementById(E);
var C = screen.width;
var D = screen.height;
A.style.position ="absolute"...
Hmm I don't know if I made myself clear.
I'm building a website. Where you can make a comment. And upload multiple files to that comment. Those files are stored in the table tbl_files. And upload to a path e.g. http://mydomain/files/. I want to delete those files. Not the table-file.
visit my...
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.