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
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 worlds largest e-mail
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]>
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]>
>
create a file that says only this:
//start
//end
then copy and paste the first section.
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP Windows Mailing List (http://www.php.net/)
To
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
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
debugging as in variable watching etc, if you can do that i'd love to use
gvim... how?
_
Join the worlds largest e-mail service with MSN Hotmail.
http://www.hotmail.com
--
PHP Windows Mailing List (http://www.php.net/)
To unsub
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
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. -
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
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
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
__
13 matches
Mail list logo