Posted by Toby Inkster on 01/03/07 17:28
dmcglynn wrote:
> In each case, I am setting it to the same static IP, yes.
>
> I don't understand how PHP could possibly see a difference in the
> network media.. Is there some fine-tuning on my access-point that could
> fix this? It is completely confusing..
It could be that the wireless dongle device falls asleep after a period
of non-use. Have you tried something like...
if (!($handle = @opendir($dir)))
{
sleep 2;
if (!($handle = @opendir($dir)))
{
sleep 3;
$handle = opendir($dir);
}
}
/* do stuff */
--
Toby A Inkster BSc (Hons) ARCS
Contact Me ~ http://tobyinkster.co.uk/contact
[Back to original message]
|