[PHP-WIN] available for freelancing

2001-10-09 Thread Priya Chanu
Hello!! Soory for those which are not relevant. I am available for freelancing ... Regards, Priya __ Do You Yahoo!? NEW from Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month. http://geocities.yahoo.com/ps/info1 -- PHP Window

[PHP-WIN] Re: php array

2001-10-09 Thread _lallous
$links = array( 'Altavista Search Engine' =>'http://www.altavista.com/', 'Google', =>'http://www.google.com/' ); while (list($linkname, $url) = each($links)) { echo "$linkname"; } hope it helps, "Sir D" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > hi > I

Re: [PHP-WIN] Re: IIS 5.1 weird problem - please help

2001-10-09 Thread Phil Driscoll
On Monday 08 October 2001 9:39 pm, Markus Weber wrote: > Hi, > > I think theres something wrong with your config. Iam working with > ISAPI.DLL and PHP4.0.6 and it works very good & fast. I had one time the > same that the logos from the phpinfo() site were not loaded. Check your > configuration -

[PHP-WIN] heredoc syntax: white space bug

2001-10-09 Thread Richard Prangnell
Hi y'all Thought I would share a buglet with you. In PHP 4, we now have the 'heredoc' syntax, a la Perl. Unfortunately, there is a slight bug with it. If you follow the statement-ending semi-colon with anything other than the 'return' character (even white space), you'll get a parse error at the

[PHP-WIN] Win2k/IIS/MSSQL Server problem

2001-10-09 Thread Enzo Suma
I have configure PHP over IIS like CGI and then like ISAPI. I have find some of the biggest problems with these configurations (shapes) never solved: 1. it was not able to manage sessions (if PHP is installed like ISAPI) 2. some personalized error pages (for example: white page "CGI Error The sp

[PHP-WIN] Win2k/IIS/MSSQL Server problem

2001-10-09 Thread Enzo Suma
I have configure PHP over IIS like CGI and then like ISAPI. I have find some of the biggest problems with these configurations (shapes) never solved: 1. it was not able to manage sessions (if PHP is installed like ISAPI) 2. some personalized error pages (for example: white page "CGI Error The sp

[PHP-WIN] Win2k/IIS/MSSQL Server problem

2001-10-09 Thread Oronzo \(detto Enzo\) Suma
I have configure PHP over IIS like CGI and then like ISAPI. I have find some of the biggest problems with these configurations (shapes) never solved: 1. it was not able to manage sessions (if PHP is installed like ISAPI) 2. some personalized error pages (for example: white page "CGI Error The sp

[PHP-WIN] Stripping filepath from string

2001-10-09 Thread Christian Sandfeld
Hi list, I know I have seen this somewhere - but I can't find it (and for some reason I can't get my head around it). Is there a predefined function or alternatively an easy way to strip the filepath of a string containing both filepath and filename? Strings could look like this: /my/fi

RE: [PHP-WIN] Stripping filepath from string

2001-10-09 Thread Christian Sandfeld
Oh, I should probably have mentioned that what I want to end up with is the stuff to the right of the last slash (be that forward of backslash). /Christian -Original Message- From: Christian Sandfeld [mailto:[EMAIL PROTECTED]] Sent: 9. oktober 2001 15:41 To: '[EMAIL PROTECTED]' Subject:

Re: [PHP-WIN] Stripping filepath from string

2001-10-09 Thread Delbono Nicola
I created this function http://www.key5.com/demo/getpath/getpath.php3 Take a look. Be careful that sometimes you must use (-4) to get the -second level of path. - Original Message - From: "Christian Sandfeld" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, October 09, 200

[PHP-WIN] Re: Stripping filepath from string

2001-10-09 Thread _lallous
this regex/example should do: "Christian Sandfeld" <[EMAIL PROTECTED]> wrote in message 8710AE4FCD7ED511B1C800025558393005C92C@ZENSYS02">news:8710AE4FCD7ED511B1C800025558393005C92C@ZENSYS02... > Hi list, > > I know I have seen this somewhere - but I can't find it (and for some reason > I can't

RE: [PHP-WIN] Stripping filepath from string

2001-10-09 Thread Christian Sandfeld
Thanks to all who provided input. The basename function does the trick (as pointed out by Serge). Once again thank you ;-) /Christian -Original Message- From: Serge Nicolas [mailto:[EMAIL PROTECTED]] Sent: 9. oktober 2001 18:37 To: Christian Sandfeld Subject: Re: [PHP-WIN] Stripping fi

php-windows Digest 9 Oct 2001 17:20:20 -0000 Issue 796

2001-10-09 Thread php-windows-digest-help
php-windows Digest 9 Oct 2001 17:20:20 - Issue 796 Topics (messages 9754 through 9768): Re: php array 9754 by: Asendorf, John 9758 by: _lallous Message 9755 by: Sichta Daniel Re:Re: session timeout 9756 by: Michel Laine available for freelancing 97

[PHP-WIN] setcookie problem

2001-10-09 Thread Angie Tollerson
I am using phpauction scripts with have authentication using session cookies. The strangest thing is happening...there is a line when you successfully login that sets a cookie: setcookie("authenticated","1",0,"","",0); But the rest of the pages fail to stay logged in becase the cookie does

[PHP-WIN] InstallShield coulnd't find OCX control...

2001-10-09 Thread Jon Grover
I'm sure a bunch of people here have seen this issue before; at the end of the InstallShield wizard, I get a message saying that IIS couldn't be configured because it failed to find an OCX control. I know that I can download the binaries and go through the install.txt, but it looks a little daunt

[PHP-WIN] Mysql and mysql_fetch_array

2001-10-09 Thread Darko
Hello. This script gives me every data twice in print if I have database with names on database output look like this: John John Doe Doe Phone Phone 1234 1234 Why? \n"; while($line = mysql_fetch_array($result)){ print "\t\n"; while(list($col_name, $col_value) = each($line)){ print "\t

Re: [PHP-WIN] Mysql and mysql_fetch_array

2001-10-09 Thread Mark
On Tue, 09 Oct 2001 20:27:07 +0200, Darko wrote: >Hello. >This script gives me every data twice in print if I have database >with >names on database output look like this: > >John John Doe Doe Phone Phone 1234 1234 > >Why? check out the second argument to mysql_fetch_array(): http://www.php.net/

[PHP-WIN] session open failed and header() don't redirect

2001-10-09 Thread Web user
Hi, There are problems with session and header(); Please give me some advice. Thank you! Mike System: PHP4.06 + Apache 1.3.20 Win32 + Win98 (the session configurations are default in php.ini) when the 1.php is running, the IE shows 2 errors as below: Warning: open(/tmp\sess_5176646ce5a800db910

[PHP-WIN] Re: InstallShield coulnd't find OCX control...

2001-10-09 Thread _lallous
get the PHP binaries and unzip them, then get the text file that tells you how to do manual configuration...that's how it worked with me with same system as you. "Jon Grover" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I'm sure a bunch of people here have s

php-windows Digest 10 Oct 2001 07:16:39 -0000 Issue 797

2001-10-09 Thread php-windows-digest-help
php-windows Digest 10 Oct 2001 07:16:39 - Issue 797 Topics (messages 9769 through 9774): setcookie problem 9769 by: Angie Tollerson InstallShield coulnd't find OCX control... 9770 by: Jon Grover 9774 by: _lallous Mysql and mysql_fetch_array 9771 by: Darko

[PHP-WIN] Re: session open failed and header() don't redirect

2001-10-09 Thread Michel Laine
"Warning: Cannot add header information - headers already sent by (output started at c:\program files\apache group\apache\htdocs\web1\1.php:2) in c:\program files\apache group\apache\htdocs\web1\1.php on line 6" Seems to me that you have some HTML output (probably in the .INC file) and then try t