Jump to content

calling functions via URL


basballguy

Recommended Posts

I'm using PHP Nuke so that may have some impact...but here's my understanding


<?

function test() {
    echo "test";
}

echo test;

?>

that will show "test" within the page.  I thought if i called the function through a URL on PHP_SELF then that would also echo the function...i seem to be wrong.  Can someone advise me what i should be doing differently?
Link to comment
https://forums.phpfreaks.com/topic/35757-calling-functions-via-url/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.