Re: [PHP] Date () Help please

2002-07-15 Thread Attila
OK thought I should share in case any needs it but got it to work. Here is what it looks like and thanks to Richard Baskett for the help. $yr= date (Y); $mnth = date (F); $dy= 1; $string = "$dy $mnth $yr"; $today = date("w",strtotime($string)); Thanks for

Re: [PHP] Date () Help please

2002-07-15 Thread Attila
month $string = "$year $month $day"; $today = date("w",strtotime($string)); echo $today; My result is: 3 What am I doing wrong should this work Thanks for the help attila http://www.glorynaspiration.com "Richard Baskett" <[EMAIL PROTECTED]> wrote in me

[PHP] Date () Help please

2002-07-15 Thread Attila
need the dates to start my tables so they insert the numbers in the right day. Thanks, Attila -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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_FORWARD

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 i

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
could help you best regards attila > Hi, I'm a real newbie at this stuff and I have a little problem... I read > the manual but the answer to my questions were not clear. What I am trying > do do is track down a user when he or she visits my site. I would like to > store some

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
n/php -q regards attila -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]