Re: [PHP] HTTP_X_FORWARDED_FOR?

2002-01-10 Thread Attila Strauss
hi try something like $_SERVER["HTTP_X_FORWARDED_FOR"] best regards attila > > Hy, > > > [EMAIL PROTECTED] wrote: > > > Hi, > > > > I just installed IIS 5.0 and PHP 4.1.1 on Win 2000, and I'm wondering what happened to the HTTP_X_FORWARDED_FOR? I doesn't seem to exist on my system. Is it jus

Re: [PHP] array_walk inside class method

2002-01-05 Thread Attila Strauss
hi $this->func1(); best regards attila > > > Hi All, > I want to use "array_walk" function inside a class method. But the > problem is i want the second argument to array_walk ( function name ) > be a another function of the same class. when i gave like that its telling > > Error : function n

Re: [PHP] "Email-based PHP-Script"

2001-12-18 Thread Attila Strauss
Hi http://www.linuks.net/robot.phps best regards attila strauss > Hello List, > > I'm currently trying to setup a script which is processing incomming emails. > So I setup PHP as CGI and did configurate the email like > > robot "|/path/to/the/script.php"

Re: [PHP] Problem with Code

2001-12-16 Thread Attila Strauss
is. > > Configuration: > > OS: Solaris 2.8 10/00 on Intel Hardware. > Apache: 1.3.9 > PHP: 3.0.15 > mysql: 3.23.46 > > My ISP is running: > > OS: Irix 6.4 > Apache: 1.3.9 > PHP: 3.0.9 > mysql: 3.22.23b > > I do appreciate any help on this. > inclu

Re: [PHP] Re: php binary

2001-12-11 Thread Attila Strauss
Hi simply recompile ur php _without_ the config options --with-apxs or --with-apache ... thats it best regards attila strauss > > > Hi > > > > Can someone tell me from where can I get the binary file of php so that I > > can run php files from the command line

Re: [PHP] Re: please don't flame : it's an editor-question

2001-12-06 Thread Attila Strauss
hi http://www.itworks.demon.co.uk/phpeditors.htm best regards attila strauss > > > > >I can't afford 299$ for an Texteditor,so : > > >Does anyone know of a free/cheap Edtor that has this feature? > > > > On windows - PHPEdit (maybe even PHPCoder). >

Re: [PHP] PHP shopping cart packages

2001-12-05 Thread Attila Strauss
Heya, http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_Carts / best regards Attila Strauss > >I need a new cart program and would like to use something based in PHP. I > >was using a CGI paltform written in C, but we had session problems out the > >wazo

Re: [PHP] Piping into script...

2001-11-20 Thread Attila Strauss
hi check this: http://www.linuks.net/robot.phps best regards attila strauss > > If I want to pipe, say an incoming email to a PHP script (assuming I > have php compiled as a cgi binary), how do I deal with when it needs to > receive the stream of data, how to figure out w

Re: [PHP] php from the command line

2001-09-25 Thread Attila Strauss
Hi Simply put /usr/local/bin/php -q to the top of your script ... i've written one a while ago an email roboter ... it works on command line maybe u wanna check it out : http://linuks.net/robot.phps best regards attila strauss > > > Hi! > I was wondering how you could

[PHP] RE: newbie

2001-08-08 Thread Attila Strauss
hi, try this: track.sql CREATE TABLE table_track ( tid int(11) NOT NULL auto_increment, ip varchar(15) NOT NULL, PRIMARY KEY (tid), UNIQUE tid (tid), KEY tid_2 (tid) ); # that would insert the users ip into the table table_track ... check it out... i hope i c

Re: [PHP] MySQL connection

2001-08-08 Thread Attila Strauss
hi, there are 2 ways. 1. you hardcore the user/password in the php.ini file. 2. u do a simply error checking like : of course you could also do like kindaheader("Location: http://host";); instead of print "connection failed". i hope i could help you. best re

Re: [PHP] damn $REQUEST_URI

2001-06-25 Thread Attila Strauss
hi, try $SERVER_NAME http://www.php.net/manual/en/ref.http.php regards attila strauss > $REQUEST_URI gets me home/dir/index.php > but I need to get the domain name. > > Can't seem to find it anywhere, what's the environment variable for the > domain na

Re: [PHP] Templates??

2001-06-19 Thread Attila Strauss
Hi, > What the true advantage of using templates Abstraction between PHP and HTML. >where can I get info on using them? have a look at the well-known php sites like: http://www.phpbuilder.com/ http://www.phpdeveloper.org/ http://www.newbienetwork.net/ http://www.evilwalrus.com/

[PHP] pipe an email

2001-05-22 Thread Attila Strauss
hi all, could someone help me with this prob ... i wanna pipe an emails' sender, subject and body ... ( mailalias --> programm(script) ) any ideas how this could be done the *best* way? #!/usr/local/bin/php -q ---