NYCPHP Meetup

NYPHP.org

<script language="php">

Jon Baer jonbaer at jonbaer.net
Thu Feb 6 11:30:21 EST 2003


A small but annoying thing, I have been using this convention for a while
but always wonder why you really couldn't use it for header() since it is
your first code to pass through:

ie:

<script language="php">
    header("Location: file.php");
</script>

It is so much cleaner but I get the feeling it's not really acceptable ...
(this is coming from someone with JSP exp), in fact is it possible to write
parsing for a custom tag?

<script language="php" src="foo.php" arg1="bar"/>

Sorry for off the wall question :-)

- Jon





More information about the talk mailing list