Forum: Python Aug 16th, 2005 |
| Replies: 1 Views: 2,089 Environment Variables question hi
I have this source
env = {}
env['SERVER_SOFTWARE'] = ''+self.version_string()
env['SERVER_NAME'] = self.server.server_name
env['GATEWAY_INTERFACE'] = 'CGI/1.1'
... |
Forum: Python Aug 16th, 2005 |
| Replies: 5 Views: 4,188 Re: popen2 problem i don't know maybe the problem is in
http://bugs.php.net/bug.php?id=22127&edit=2
Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect... |
Forum: Python Aug 16th, 2005 |
| Replies: 2 Views: 8,644 Re: simple python web server no problem it's ok now
I write web server like apache
with vhosts and more
with perl and python is ok but only with php5:( |
Forum: Python Aug 14th, 2005 |
| Replies: 5 Views: 4,188 |
Forum: Python Aug 13th, 2005 |
| Replies: 5 Views: 4,188 popen2 problem hi
I have a problem with this source code
#fi, fo = os.popen2('c:/python24/python.exe C:/AppServ/webserver/www/index.pyw')
#fi, fo = os.popen2('c:/Perl/bin/perl.exe... |
Forum: Python Aug 12th, 2005 |
| Replies: 2 Views: 8,644 simple python web server hi :)
i have problem with opening ".py" files in my web server
this is the source code:
import string,cgi,time
from os import curdir, sep
from BaseHTTPServer import BaseHTTPRequestHandler,... |
Forum: Python Jul 22nd, 2005 |
| Replies: 4 Views: 1,652 Re: problem with string 10x for the help
I try with this and it work perfect :))
playlist_txt += str(mp3id) + str(mp3_title) + str(mp3_artist) + '<br>'
#playlist_txt += "%s %s %s <br>" % (mp3id, mp3_title,... |
Forum: Python Jul 21st, 2005 |
| Replies: 4 Views: 1,652 |
Forum: Python Jul 21st, 2005 |
| Replies: 4 Views: 1,652 problem with string hi :)
I need some help for this script
I have
--------------------
cursor = conn.cursor()
cursor.execute("select * from playlist limit 5")
result = cursor.fetchall()
# iterate through... |