Calling function in php page via GET?

From: Date: Tue, 18 Mar 2003 16:07:20 +0000
Subject: Calling function in php page via GET?
Groups: php.general 
Request: Send a blank email to php-general+get-140130@lists.php.net to get a copy of this message
I have a file that draws charts, called chart.php. Right now, I can call it using GET methods inside <IMG> tags.... <IMG src="chart.php?foo=bar"> Well, I'd like to be able to wrap it in a function, and call it via a function.... drawgraph(); and by GET syntax.... <IMG src="chart.php.drawgraph?foo==bar"> ?????? Is there a way to call a FUNCTION/METHOD in a php file using URLS? -Daniel

« previous php.general (#140130) next »