RSS Forums RSS
Please support our Python advertiser: Programming Forums

stuck in cgi image stuff

Join Date: Jun 2005
Posts: 39
Reputation: nephish is an unknown quantity at this point 
Rep Power: 4
Solved Threads: 0
nephish nephish is offline Offline
Light Poster

Re: stuck in cgi image stuff

  #6  
Jun 15th, 2005
um.. sure.
instead of having the script write just the name of the image file to load , i had it write the whole html line when the image is selected like this

image = form['image'].value

then later....

OutFile.write('src="http://stretchweb.org/'+image+'"></td>\n')

the script that reads the lines, just does this...

print image...

and it worked !

if you need more details or want to see the whole script, let me know
Reply With Quote  
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 11:44 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC