[PHP] Re: What does the word 'parse' meant when you do a XML parse...

2003-10-23 Thread Dennis Sterzenbach
"Scott Fletcher" <[EMAIL PROTECTED]> wrote: > What does the word, 'parse' meant when you do a XML parse? What is it and > what does it exactly do? > > Thanks, > Scott F. Sorry, but I don't get clearly what you are asking for. Could you ask your

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Dennis Sterzenbach
arms/ > > thanks > moiz Change your save_path to C:/tmp and create this directory, if it does not exist. I never trust the blanks in directory names under windoze. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP not remembering sessions

2003-10-23 Thread Dennis Sterzenbach
t and the corresponding save_path (if using session.save_handler = file)? Also notice that the save_path should be made writable to php/apache. Between $_SESSION["var"] and $_SESSION['var'] should be no difference (except the obvious difference between the " and the ' themselves). I can't reproduce the problem on none of my systems (win9x, win2k, winxp, and some linux machines). -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Hotmail servers, Was RE: [PHP] LiteSpeed Web Server 1.1

2003-10-08 Thread Dennis Sterzenbach
"Dpcma Metalito" <[EMAIL PROTECTED]> wrote : > Why don´t we stop talking about Microsoft and products that they don´t own? > Reason: Can you imagine that Microsoft would show interest about PHP? Can > you imagine Ms Visual PHP? we´ll get a non-working scripting non-free > language while Microso

[PHP] Getting many virii the last time

2003-10-02 Thread Dennis Sterzenbach
to know the mailing addresses I report them. Thanks in advance! -- Dennis Sterzenbach -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: include() problems

2003-10-02 Thread Dennis Sterzenbach
> I'm trying to include that file because in my index page > because it has many > functions I need to use in other pages... I'm on ADDR.com > servers and I > can't set "allow_url_fopen" to 1 (it sucks!). > In ssi.php functions are called by accessing this address: > http://mydomain.com/forums/ss

[PHP] Re: Create from PHP on the Fly???

2003-10-02 Thread Dennis Sterzenbach
"Jeffrey Fitzgerald" <[EMAIL PROTECTED]> wrote: > > Can this be done? How much $$$? Quality of PDF?? Thanks very much... > WTF are you talking about? If you are talking about PDF: google is your friend. -- Dennis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: include() problems

2003-10-02 Thread Dennis Sterzenbach
rols access to remote-resources, so if you are allowed to do something like fopen("http://...";) or include("http://..";). Thus it doesn't have anything to do with your include. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: upload security

2003-10-01 Thread Dennis Sterzenbach
.htaccess disallowing all users from remote systems to change into or request files from inside (lookup some resource about .htaccess files. Should be something like the following (surrounded by I guess): Order Deny,Allow Deny from all Allow from localhost -- Dennis Sterzenbach www.darknoise.de --

[PHP] Re: documentation on "<<<"

2003-10-01 Thread Dennis Sterzenbach
Sorry forgot about the heredoc, just waste my post unterneath -- Dennis "Dennis Sterzenbach" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Rich Fox" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > Can someone point m

[PHP] Re: documentation on "<<<"

2003-10-01 Thread Dennis Sterzenbach
"Rich Fox" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Can someone point me to documentation on the <<< operator? I am wondering if > there are some quirks I don't know about. Yet I can't find it documented on > the php website. > > THanks, > > Rich I've never seen a <<< operator

Re: [PHP] exec command

2003-10-01 Thread Dennis Sterzenbach
t. One who is in practice could hack your system within seconds. Apache always MUST run as a non-privileged user! HTH. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: removing an element from an array

2003-10-01 Thread Dennis Sterzenbach
"Angelo Zanetti" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > how do I find the position of the element in the array? based on the value > that is passed? if there a funtion for this or do I manually have to get > this value? > $key = array_search(&qu

[PHP] Re: removing an element from an array

2003-10-01 Thread Dennis Sterzenbach
ut); $offset = 2; $array1 = array_splice($input, 0, $offset); $array2 = array_splice($input, $offset-1); $input = array_merge($array1, $array2); print_r($input); Results in output of: Array ( [0] => a [1] => b [2] => c [3] => d [4] => e ) Array ( [0] => a [1] => b [2] => d [3] =

Re: [PHP] removing an element from an array

2003-10-01 Thread Dennis Sterzenbach
> > Should work. > Rgrds. Well this only returns the differences between $array1 and $array2. But it doesn't touch/change the arrays themselves. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] removing an element from an array

2003-10-01 Thread Dennis Sterzenbach
t.php And you know that it is also used for purpose of deleting some element from an array at some key. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: removing an element from an array

2003-10-01 Thread Dennis Sterzenbach
> Is there no function to do this? It seems like alot of overhead to do this > process, especially if the array is big. comments? > Not if you do not create another array, which in my oppinion is totally unnecessary. I always did the following after finding the position from where to strip off the

Re: [PHP] Re: retrieving information about state of a function

2003-09-30 Thread Dennis Sterzenbach
> > I'm talking about disabled and enabled functions. > > You posted about (non-)existance / definition of functions. > > I already looked through this, and saw function still is defined but no > > longer enabled. > > How about using ini_get() to get the disabled functions, then parse that > for

[PHP] Re: retrieving information about state of a function

2003-09-30 Thread Dennis Sterzenbach
"Jon Kriek" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > get_defined_functions() > http://www.php.net/get_defined_functions > > function_exists() > http://www.php.net/function_exists > I'm talking about disabled and enabled functions. You posted about (non-)existance / definition

[PHP] retrieving information about state of a function

2003-09-30 Thread Dennis Sterzenbach
Hello all, Wouldn't it be nice having a function which tells you whether you are restricted to call a function or not? I think of something like: if (function_enabled("shell_exec")) { $info = shell_exec("dig myname.com"); } telling if it was defined as disabled function in php.ini (disable_f