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 just a variable

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 not exist.

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 The little testscript I tried looks like

Re: [PHP] Problem with Code

2001-12-16 Thread Attila Strauss
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. include_once() was added in PHP 4.0.1pl2 best regards attila strauss -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

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 of Unix. if linux check your

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). On linux - I, too would like to know, mabe emacs

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 wazoo when traffic

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 when

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 run php from the command

Re: [PHP] MySQL connection

2001-08-08 Thread Attila Strauss
;); instead of print connection failed. i hope i could help you. best regards attila strauss Hey Jouri, I don't agree with this one. I tested it out on my localhost and got the two error messages I told you I was going to get: Warning: Unknown MySQL Server Host... Warning: MySQL

[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) ); # ?php $host = localhost; $user = dbuser; $pass = dbpass; $db = database; $dbconnect =

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 name again? Thanks! Peter -- PHP

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/