Re: Getting request's source site

2013-08-26 Thread Guy Tamir
On Monday, August 26, 2013 5:25:49 PM UTC+3, Steven D'Aprano wrote: > On Mon, 26 Aug 2013 06:10:41 -0700, Guy Tamir wrote: > > > > > Hi all, > > > > > > I was wondering how i can get the source from which the request came > > > from. If

Getting request's source site

2013-08-26 Thread Guy Tamir
Hi all, I was wondering how i can get the source from which the request came from. If a user posted a link that directs to my server on facebook i'd like to know that a specific click was from facebook or twitter etc.. Thanks -- http://mail.python.org/mailman/listinfo/python-list

Re: Reading log and saving data to DB

2013-08-15 Thread Guy Tamir
On Wednesday, August 14, 2013 4:46:09 PM UTC+3, mar...@python.net wrote: > On Wed, Aug 14, 2013, at 09:18 AM, Guy Tamir wrote: > > > Hi all, > > > > > > I have a Ubuntu server running NGINX that logs data for me. > > > I want to write a python script

Re: Reading log and saving data to DB

2013-08-15 Thread Guy Tamir
On Thursday, August 15, 2013 1:34:38 AM UTC+3, Dennis Lee Bieber wrote: > On Wed, 14 Aug 2013 06:18:08 -0700 (PDT), Guy Tamir > > declaimed the following: > > > > >Hi all, > > > > > >I have a Ubuntu server running NGINX that logs data for me. >

Reading log and saving data to DB

2013-08-14 Thread Guy Tamir
Hi all, I have a Ubuntu server running NGINX that logs data for me. I want to write a python script that reads my customized logs and after a little rearrangement save the new data into my DB (postgresql). The process should run about every 5 minutes and i'm expecting large chunks of data on se

Re: Redirecting to a third party site with injected HTML

2013-06-09 Thread Guy Tamir
On Sunday, June 9, 2013 9:24:56 PM UTC+3, Ian wrote: > On 09/06/2013 18:09, guytam...@gmail.com wrote: > > > Hi all, > > > > > > new to group and pretty new to python. > > > > > > I'm working on a new project and i want to receive a request from a user > > and to redirect him to a third party