Re: [PHP-WIN] Re: decision between explorer types

2002-03-27 Thread Dan Zarrella
str_replace might also be of intrest, in replacing regex with faster string functions. _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visi

Re: [PHP-WIN] Re: decision between explorer types

2002-03-27 Thread Dan Zarrella
the php string functions strstr and stristr are faster and just as usefull as the regex stuff in this case, strstr(string haystack, string needle) is case sensitive, and stristr is insensitive.-dan _ Join the world’s largest e-mail

RE: [PHP-WIN] Undefines constant

2002-03-18 Thread Dan Zarrella
try making this change::(i think the error was being generated my the use of the cancatenation operator with and empty variable. $myLine = " "; while(!feof($myFile)) { $myLine.=fgets($myFile,255); } fclose($myFile); >From: "Leo Sten" <[EMAIL PROTECTED]>

RE: [PHP-WIN] Undefines constant

2002-03-18 Thread Dan Zarrella
ok register globals is on, i can't see anything else of the top of my head, can you paste the line that php is giving and error and the error message in one or two of the scripts so that i can see what is throwing the error. >From: "Leo Sten" <[EMAIL PROTECTED]> >

RE: [PHP-WIN] Undefines constant

2002-03-18 Thread Dan Zarrella
create a file that says only this: //start //end then copy and paste the first section. _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP Windows Mailing List (http://www.php.net/) To

RE: [PHP-WIN] Undefines constant

2002-03-18 Thread Dan Zarrella
have you checked things like register_globals since the default settings have changed in the new version of php, paste your settings please -dan _ Send and receive Hotmail on your mobile device: http://mobile.msn.com -- PHP Windo

Re: [PHP-WIN] Undefines constant

2002-03-18 Thread Dan Zarrella
I've seen this a few times, mostly having to do with arrays and thier indexes, namely associative arrays. $foo[bar]; is enough to cause that error, it should be $foo['bar']; try that. -dan _ Chat with friends online, try MSN Messen

RE: [PHP-WIN] PHP ide

2002-03-15 Thread Dan Zarrella
debugging as in variable watching etc, if you can do that i'd love to use gvim... how? _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP Windows Mailing List (http://www.php.net/) To unsub

RE: [PHP-WIN] PHP ide

2002-03-15 Thread Dan Zarrella
as much as i do like vim (i've replaced notepad and wordpad with gvim and winvi) it doesn't offer the debugging, sytax higlightng etc that i am looking for. _ MSN Photos is the easiest way to share and print your photos: http://ph

[PHP-WIN] PHP ide

2002-03-15 Thread Dan Zarrella
I'm curious to see everyone's opion on php-ide's/editors, which one is the best, most complete, easiest, and why, personally i have huge demands i place on my editor (html-kit) and i'm looking for one (free) that can meet my demands for a more php-centric and complete Development Environment. -

Re: [PHP-WIN] Unable to load dynamic library 'c:\php\extensions\php_gd.dll' -The specified procedure could not be found

2002-03-08 Thread Dan Zarrella
when i got that error i ussually copy and paasted the .dll file in lots of places, like c:\windows or c:\winnt and the windows\sytem dir. try that and rememebr to restart the server.-dan _ Send and receive Hotmail on your mobile de

[PHP-WIN] sessions

2002-03-08 Thread Dan Zarrella
Does anyone know anything about the differnce in session handling between linux and windows, i have an admin interface working fin with sessions in windows but it flops on linux, register_globals is on, yet there is somekind of problem with retriving session variables inside of functions. -dan

[PHP-WIN] error message

2002-03-08 Thread Dan Zarrella
check how php is installed and configured with your servers, sessiona dn persistant DB connections do not work correctly when php is used as a cgi excecutable(which may be the case under windows) and they do as an api-style module(most likely the case with apache/*nix). -dan __