We've always tried to keep BoltWire php4 compatible. In this
particular I never could get fopen to work right--Kevin explained why.
At this point, as I'm transitioning to BoltWire 4.xx I'm planning on
dropping support for php4. I don't know what to do with the last
version of BoltWire 3.xx but will leave it as file_exists. If someone
is still on php4, we can either point out the lines that need to be
switched, or perhaps someone can figure out a way to do it right in
php4 properly and we release a patch. However, I don't think too many
are still on php4.

Cheers,
Dan


On Fri, Dec 23, 2011 at 10:49 PM, DrunkenMonk <[email protected]> wrote:
> Oh, my bad, it totally does. 3.4.16 seems to use file_exists.
> Either that or I've changed it myself.
>
> I would strongly reccomend upgrading from 3.4.15 anyway, since .16
> includes a security fix.
>
> On Dec 24, 5:36 am, DrunkenMonk <[email protected]> wrote:
>> That doesnt explain why it works for me.
>>
>> On Dec 23, 9:23 pm, Kevin <[email protected]> wrote:
>>
>>
>>
>>
>>
>>
>>
>> > I've been using that since June 2010 as all of my sites are PHP5.  It is
>> > not a Windows thing, but rather a PHP5 thing.
>>
>> > *From a note I sent in in June 2010:*
>>
>> > *The reason why this is failing is because the file being opened with fopen
>> > is
>>
>> >http://www.tnet.com/boltwire/farm/img/arff2.png
>>
>> > Which under PHP5 will always return a file descriptor because the web
>> > server will report data.
>> > In this case, the "data" is the web servers 404 error message which
>> > incorrectly tells BW that the file exists when it really doesn't.
>>
>> > Note that file_exists supports URL's in PHP 5.
>>
>> > So for a PHP5 based system, file_exist works properly.*
>>
>> > On Thu, Dec 22, 2011 at 11:55 PM, luminofer <[email protected]> wrote:
>> > > [^image.gif^] markup doesn't work in apache+php5+windows
>>
>> > > markups.php (boltwire3.4.15 doesn't work):
>> > >        if (@fopen($location, 'r')) {
>>
>> > > markups.php: (from boltwire 3.4 works fine)
>> > >        if (file_exists($location)) {
>>
>> > > --
>> > > You received this message because you are subscribed to the Google Groups
>> > "BoltWire" group.
>> > > To post to this group, send email to [email protected].
>> > > To unsubscribe from this group, send email to
>>
>> > [email protected].> For more options, visit this group 
>> > at
>>
>> >http://groups.google.com/group/boltwire?hl=en.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "BoltWire" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/boltwire?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"BoltWire" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/boltwire?hl=en.

Reply via email to