Search found 12 matches

by Nemesis
Mon Feb 14, 2005 12:33 pm
Forum: PHP - Code
Topic: Changing system date, page hanging revisited
Replies: 4
Views: 437

The mtsiExecutCommand function writes the specified command to the system, it's my own PHP exec() function since the exec() function causes issues with our hardware and operating system. It also reads all output generated, and returns this in linearay. As far as I know, the command hwclock does not ...
by Nemesis
Mon Feb 14, 2005 10:20 am
Forum: PHP - Code
Topic: Changing system date, page hanging revisited
Replies: 4
Views: 437

It's kinda like a web-configuration utility for your router....only on a larger scale industrial signaling equipement. This is just a customer requirement, and works nicely....just having problems with the page.....it's really weird, Ive never had this kind of problem before.
by Nemesis
Mon Feb 14, 2005 9:46 am
Forum: PHP - Code
Topic: Changing system date, page hanging revisited
Replies: 4
Views: 437

Changing system date, page hanging revisited

hey, after hours and hours of looking into this: http://forums.devnetwork.net/viewtopic.php?t=30438 I have still no solution, however, a better understanding of the problem: I can no longer assume that the page hangs only when I set the date back, as the user is logged out automatically when setting...
by Nemesis
Fri Feb 11, 2005 1:07 pm
Forum: PHP - Code
Topic: Setting the date back on Linux machine causes page to hang?
Replies: 6
Views: 776

Weirdest thing:

I changed the exit(); function for:

Code: Select all

exit("Date and Time changed successfully");
and it now works in Mozilla, however, not in IE.

Any ideas?
by Nemesis
Fri Feb 11, 2005 11:16 am
Forum: PHP - Code
Topic: Setting the date back on Linux machine causes page to hang?
Replies: 6
Views: 776

I know, I added the debug because it was not working.
The code behaves as I described it without the debug, sorry if I was not specific enough.
by Nemesis
Fri Feb 11, 2005 11:04 am
Forum: PHP - Code
Topic: Setting the date back on Linux machine causes page to hang?
Replies: 6
Views: 776

Furthermore, if I call the exit(); before the Redirection, the same thing happens.....it's like the redirection gets ignored: $date = $month.$day.$hour.$min.$year.".".$sec; $date = trim($date); echo "<pre>Date: "; // DEBUG print_r($date); // DEBUG echo "</pre>"; // DEBU...
by Nemesis
Fri Feb 11, 2005 10:46 am
Forum: PHP - Code
Topic: Setting the date back on Linux machine causes page to hang?
Replies: 6
Views: 776

so why doesnt the redirect work?

It works fine when I set the time forward instead of backwards.

It just doesnt seem to load the page.....it tries, but it doesnt.
by Nemesis
Fri Feb 11, 2005 9:23 am
Forum: PHP - Code
Topic: Setting the date back on Linux machine causes page to hang?
Replies: 6
Views: 776

Setting the date back on Linux machine causes page to hang?

Hey all, I can set the time forward no problem. However, when I use the same code to set the date back, the page hangs, seemingly IN the exit(); statement. Here is the code snipet: $date = $month.$day.$hour.$min.$year.".".$sec; $date = trim($date); echo "<pre>Date: "; // DEBUG pr...
by Nemesis
Tue Feb 08, 2005 12:25 pm
Forum: PHP - Code
Topic: Help with locking mechanism via web page
Replies: 6
Views: 512

Sorry, I dont know what a Database session is.

Furthermore, there are no databases accessible from the Web page. These are back end things, and the Web never has database connectivity.
by Nemesis
Tue Feb 08, 2005 11:07 am
Forum: PHP - Code
Topic: Help with locking mechanism via web page
Replies: 6
Views: 512

Yes, this is a solution that I had hoped would work.....sorry if I was not specific enough, The problem is that I need to call an unlock function if the user navigated to an unlocked page. So I need a way to call a function when the page is changed, when the page is closed, when the browser is close...
by Nemesis
Tue Feb 08, 2005 10:59 am
Forum: PHP - Code
Topic: Help with locking mechanism via web page
Replies: 6
Views: 512

They are built in a non-OO old-school PHP way.

Every PHP file represents one or a few web pages, depending on variables etc.

If this was a project that I had built myself, I would be ashamed :P
by Nemesis
Tue Feb 08, 2005 10:49 am
Forum: PHP - Code
Topic: Help with locking mechanism via web page
Replies: 6
Views: 512

Help with locking mechanism via web page

Hello, I need a little help. My Web Services system has an applet running in the background, but I cannot assume that everyone will have Java enabled. I need a reliable way to implement a locking mechanism (which will consist of calling lock and unlock functions of my middleware layer). I am not ver...