🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by agent-blue Sat, 14 Oct 2000 00:00
Dynamic IP + File open
#94
Author: agent-blue
Date: Sat, 14 Oct 2000 00:00
16 lines
1105 bytes
I have a little prog that uploads a singel file to my website, changing
###.###.###.### to my current IP

I can then get the page to use the include fuction to open a file from my
local server if i am online, but if i am not online it gives a messy error
message

I thought about trying "is_file" are "file_exists" but neither seam to work
over HTTP (rather than local file system)

Any ideas ?

--

Will Tatam
www.netmindz.co.uk
Re: Dynamic IP + File open
#95
Author: Brian Tkatch
Date: Mon, 16 Oct 2000 00:00
33 lines
1370 bytes
Suggestions.

1) Try a cgi script instead.

2) Handle errors yourself
<URL:http://www.php.net/manual/features.error-handling.php>


Brian

On Sat, 14 Oct 2000 18:37:36 +0100, "agent-blue"
<agent_blue_17m@yahoo.co.uk> wrote:

>I have a little prog that uploads a singel file to my website, changing
>###.###.###.### to my current IP
>
>I can then get the page to use the include fuction to open a file from my
>local server if i am online, but if i am not online it gives a messy error
>message
>
>I thought about trying "is_file" are "file_exists" but neither seam to work
>over HTTP (rather than local file system)
>
>Any ideas ?
>
>--
>
>Will Tatam
>www.netmindz.co.uk
>
>
>
>
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads