ting instead of
implementing all the functions that are already done in built-in api.
Or is there some way how to register 'filter' that filters $path instead
of the content?
Thank you for sharing your knowledge
Danny 'elixon' Sevcik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
tble = "logs";
$sql = @mysql_query( "SELECT * FROM ...", $db ) or die( "problem..." );
// your stuff...
}
function logsOnOtherMachine($db) {
...
}
And if you would be really trying to dig in... have a look at OOP
implementation in PHP... After the beginner's pain you will love it ;-)
Hope I helped little.
elixon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
And I think that $_SESSION does not exist unless session is started =>
if (!is_array($_SESSION)) session_start();
might do the job as well.
elixon
Al wrote:
Is there a problem issuing multiple session_start()s for a given script?
I can't find anything in the manual that says one way or t
I guess that session_id() method will return null if session is not
started (not tested) so theoreticaly you can use:
if (!session_id()) session_start();
elixon
Al wrote:
Is there a problem issuing multiple session_start()s for a given script?
I can't find anything in the manual that say
$GLOBALS['array'][1] ...
}
elixon
Tip: I recommend to not use GLOBALS for this type of data. Better use
function parameters -> function database($host, $user, $pwd, $db) {...}
It will save you time when your application grows and starts clashing
with other global variables or third party
s well commented.
Thanks for any testing/feedback...
Link: sf.net/projects/simplerdf
elixon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
6 matches
Mail list logo