Aquiladan wrote:Thanks,
I have correct my error,
the path, now and all run well.
But now I have a doubt, in the example1.asp, in the <img> tag there is this code:
Well, I don't understand the scope of this code, can you explain me please?
I know programming but don't know ASP at all (just like Pierre). But I'll give it a try.
(Note: The ASP example is part of GFL SDK, path is .\GflAx\ASP)
-What the scripts do
Script example1 holds some visual part. Also, it calls script image.asp with the filename of an image as parameter Script image.asp opens the image, does some processing and streams it back to script example1.asp.
In some more detail:
There is two ASP scripts, example1.asp and image.asp.
- example1.asp
example1.asp is the sample page that is opened and seen by your visitors. Your code line
will call the script image.asp with the filename of an image file as parameter.
- image.asp
The script image.asp will retrieve the parameter...
...and then open the appropriate image and do some processing (add some text).
Finally it puts the image into the HTTP response:
Last not least, the streamed, dynamic image will be displayed in example1.asp.
More realistic sample
As written above, I'm not in ASP. But I think in a (bit) larger and more realistic sample, you would pass the filename from one script to the other using a named parameter. You can then easily pass several parameters.
The code line would then look like this:
Code: Select all
<img src="image.asp?filename=<% =file %>">
And the code to retrieve the parameter would look like this:
Code: Select all
File = Request.Querystring("filename")
Hope this helps.