Python CGI & Webpage with an Image
rodmc
userprogoogle-139 at yahoo.co.uk
Sat Mar 8 14:40:57 EST 2008
> Is the cgi script in the same directory? The user's browser looks
> for the jpg relative to the URL it used to get the page, which in
> the case of the CGI script is the path to the script, not the
> path to the html file.
No the CGI script is in a different folder, I could move everything to
the same folder I guess.
> If server logs are hard to get or read, try my runcgi.py script:
>
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/550822
Thanks, I will try this.
Rod
More information about the Python-list
mailing list