including php in image tag
Posted: Fri Aug 07, 2009 1:02 pm
What I am trying to do is to have an <img> tag where the sourse is a URL with parameters on the end. I have a PHP file which takes in the parameters, munges things, and should return a url to an image it creates based on the parameters passed in.
If I type the complete URL into a browser, the image appears (ie: http://myURL?render_text=myparameter).
If I have a separate webpage (index.php), and use <img src="http://myURL?render_text=myparameter" /> I get nothing.
I am at a loss for how to get this to work. I haven't worked with PHP in quite some time, but I didn't think this would be all that difficult.
Any ideas?
Thanks!
Jenn
If I type the complete URL into a browser, the image appears (ie: http://myURL?render_text=myparameter).
If I have a separate webpage (index.php), and use <img src="http://myURL?render_text=myparameter" /> I get nothing.
I am at a loss for how to get this to work. I haven't worked with PHP in quite some time, but I didn't think this would be all that difficult.
Any ideas?
Thanks!
Jenn