as i undestand it you can exec() from php which will run a command as if it were executed from the command line. i think this creates another process id as if it were a 'fork' like unix call. Not sure of the limitations of this call, but you can probably schedule something by making the called process sleep() and then run.
hth...
User Profile
Collapse
-
I didn't see what happens to the obj after it is used - is it or could it be destroyed
or moved?...Leave a comment:
-
if Von and Eric are in the same department, you can sum totals grouped by department...Leave a comment:
-
do you have session_start() in each file ?
also why not use session_id for the key?
also why not use POST instead of get?
hthLeave a comment:
-
sorry i had bad answer, and should read question properly. not only that i should read and parse properly the faq. please forgive and i apologize. Let me know if i am using the code tags properly this time ...
as to getting the problem solved - and i will minimize answer
if you echo the value inside a named 'space' such as an id tag
then the javascript can use the
[code= text]
document.getEle mentById(...Leave a comment:
-
when you say it doesn't work is there an error message? At what point in the program does it fail? There was a suggestion of using a call from the 'action' of the form - are you using that or are you supplying an onclick event to the submit button - i don''t think you need to do that unless you are trying to apply multiple events? in that case you probably would have to addlistener events to a button object in javascript.
if you have parts...Leave a comment:
-
If you are pulling the data out of the database can't you prepare the data in html tables and style them (css) at the same time, with a print media css file? So before you convert to pdf you will have something 'pretty'.
If you are storing in an array or extracting you can still store or exhibit the data as html tables with in-line styling. hth...Leave a comment:
-
I'm a newbie here so be extra sweet.
you are saying that i should type :
"Code: ( text )" before the script? Please explain how does that affect the look of code? (From the looks of my browser the script looks the same to me as it normally does, without code tags)
I believe a more helpful response to a post such as this:
1) give a link to the required code tag policy
2) forum technology management...Leave a comment:
-
you said you were using http object to post to php on server side - that means the results you have calculated are available to the object as responsetext or response xml - in your case you are posting to text object so any thing echoed is forwarded to client via the response text. ie ; here is some html with a form on it making call to a php form handler - the 'handler.php' echoes back to the area of the form called idresults - you can use that...Leave a comment:
-
thanks for your reply. I did find out the reason for my problem, only after trying your suggestions, and going even further - removing apache and php from my local machine. It turns out there is a drop down on the web application that i needed to choose, and then it works.
I was using web-developer community edition, and i can re-install it. but now I want to ask another question. I had a lot of trouble getting server side includes to work...Leave a comment:
-
PHP on webserver downloads instead of runs
I am running a program on the server that should execute exclusively on the server, but for some reason it would rather download. When it downloads, the file is empty, and DW3 opens. The path to the file is (on my xp) is documents&setti ngs\owner\local settings\Temp\f ilename.php
I see nothing in code view.
The program I am running on the serve is 'LinkMachine.ph p', which is a webserver app for creating reciprocal links. It...
No activity results to display
Show More
Leave a comment: