On Aug 31, 4:13 am, DrunkenMonk <[email protected]> wrote:
> Blank pages will happen because there is a php error that blocks the
> site from working. You can look at your apache error log, or similar,
> or turn on error reporting (bad because people can see what is wrong
> with your site and exploit it).

There is no php error.  There was nothing in the error logs at all,
and there was a complete page, just contains a header with refresh in
it.

> > I put the type at the end because of the line you had:
>
> > elseif( isset($args['1']) ) $link = $args['1'];
>
> My line means: If the "link" option is defined, use the "link" option
> (link=). If the link option is not defined, use the first argument
> (without an option).

Will go back and play with it later today, but I think that $args[1]
would be the
first argument regardless of options.

I think that if the call were changed so that the order was different,
like

[(float [link=]image_file [side='left|right'] [type='ext|int'])] then
you could use $args[0] for the image if there is no link.

> So it uses "link=" first, and if that does not exist, it uses the
> first non-= argument.
>
> Well done! I was going to extend my thing to be able to use as
> [(include)] later, as well. Lots of things one could do to make it
> pretty and useful.

Good learning...
--~--~---------~--~----~------------~-------~--~----~
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