If you want to capture the output of your current script, toss
ob_start() at the top and $data = ob_get_content() at the bottom and
then munge it as you will.
Though I also think you'd be better off putting the JS validation
in-line with the Anyone have a good method of grabbing the current page
i agree with brian.
i still need to enhance my skills w/ javascirpt, but i think in the case of
validation, a simple
solution is to write generic validation components in javascript. then
simply dynamically
include the ones you need for a particular form.
as far as the javascript knowing how to lo
Jas wrote:
Anyone have a good method of grabbing the current page and reading data
from it?
For example:
http://php.net"; );
?>
The above code would output the following:
Array
(
[0] =>
[1] =>http://"; . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'] );
?>
Not only does it
Anyone have a good method of grabbing the current page and reading data
from it?
For example:
http://php.net"; );
?>
The above code would output the following:
Array
(
[0] =>
[1] =>http://"; . $_SERVER['SERVER_NAME'] .
$_SERVER['REQUEST_URI'] );
?>
Not only does it take a helluv
4 matches
Mail list logo