PHP Snippet:
xml parsing
Posted on Jan 1, 2007 12:15 am
Posted on Jan 1, 2007 12:15 am
SPL contains a class for parsing XML, http://www.php.net/~helly/php/ext/spl/classSimpleXMLIterator.html
Although poorly documented so far it looks promising.
Although poorly documented so far it looks promising.
mIRC Snippet:
remke 2 below
Posted on Oct 24, 2006 9:38 am
Posted on Oct 24, 2006 9:38 am
@shugo103: because it's all about dynamic popups
mIRC Snippet:
remke 2 below
Posted on Oct 24, 2006 12:22 am
Posted on Oct 24, 2006 12:22 am
@ Goriff, Put it on a new remote file. (ALT-R -> FILE -> New)
mIRC Snippet:
remke 2 below
Posted on Oct 24, 2006 12:13 am
Posted on Oct 24, 2006 12:13 am
I'm a total noob at this, where exactly in the scripts editor would you put the coding?
mIRC Snippet:
[b]List h1.1
Posted on Oct 13, 2006 5:39 am
Posted on Oct 13, 2006 5:39 am
Updated my rating.
PHP Snippet:
check_referer()
Posted on Sep 26, 2006 3:33 pm
Posted on Sep 26, 2006 3:33 pm
I just think it's a good idea to give a detailed description above your code defining it's purpose. Don't want to exclude anybody who can't read the code and understand it completely.
PHP Snippet:
check_referer()
Posted on Sep 19, 2006 8:35 pm
Posted on Sep 19, 2006 8:35 pm
Well Mr. Hawkee, it's my belief that I shouldn't speak above people's heads. Frankly, if your unable to tell what the code does, your probably not going to know how to use it and will probably have no use for it :)
Collectivly: Im sure, anyone who's active in the PHP section is able to determine the code's direct use/capability <3
Collectivly: Im sure, anyone who's active in the PHP section is able to determine the code's direct use/capability <3
PHP Snippet:
check_referer()
Posted on Sep 18, 2006 7:42 pm
Posted on Sep 18, 2006 7:42 pm
What exactly does this do? Might be nice to have an explanation of the purpose in the description.
mIRC Snippet:
[b]List h1.1
Posted on Sep 17, 2006 7:04 pm
Posted on Sep 17, 2006 7:04 pm
Updated: In english, sorry. lol
mIRC Snippet:
[b]List h1.1
Posted on Sep 17, 2006 10:05 am
Posted on Sep 17, 2006 10:05 am
I must agree converting it to english wouldn't be a bad idea but if you really wanted you or any could use a online translator like babelfish.
PHP Snippet:
duration()
Posted on Sep 17, 2006 1:39 am
Posted on Sep 17, 2006 1:39 am
Basically this will transform seconds in human readable durations. The first parameter of the function represents the number of seconds to transform, while the second represents how detailed will the transformation be (in his examples, duration 6 returns years, months, weeks, days, minutes and seconds, while duration 4 returns only years, months, weeks and days).
the biggest value $max_periods should have is 7 (years, months, weeks, days, hours, minutes and seconds), but in some cases, the function will act as with $max_periods = 6 (when one of the time values is null).
I would vote this as a very useful snippet. good job
the biggest value $max_periods should have is 7 (years, months, weeks, days, hours, minutes and seconds), but in some cases, the function will act as with $max_periods = 6 (when one of the time values is null).
I would vote this as a very useful snippet. good job
PHP Snippet:
xml parsing
Posted on Sep 15, 2006 11:14 pm
Posted on Sep 15, 2006 11:14 pm
XML snippets are always useful.
PHP Snippet:
duration()
Posted on Sep 15, 2006 11:13 pm
Posted on Sep 15, 2006 11:13 pm
What could this be used for? Your description needs a bit more information. Thank you.
mIRC Snippet:
[b]List h1.1
Posted on Sep 15, 2006 11:31 am
Posted on Sep 15, 2006 11:31 am
Its a good snippet, but i would give it 7 if it would be in English.
mIRC Snippet:
remke 2 below
Posted on Jul 27, 2006 4:34 am
Posted on Jul 27, 2006 4:34 am
Omg Why so dramatic with the scripts layout? lol. when you can just do.
on *:TEXT:*:#: {
if ($nick == %nick) .msg # $1-
}
on *:ACTION:*:#: {
if ($nick == %nick) .describe # $1-
}
Menu nicklist {
[Mimic]:/set %nick $1
[SMimic]:/unset %nick
}
on *:TEXT:*:#: {
if ($nick == %nick) .msg # $1-
}
on *:ACTION:*:#: {
if ($nick == %nick) .describe # $1-
}
Menu nicklist {
[Mimic]:/set %nick $1
[SMimic]:/unset %nick
}
mIRC Snippet:
encrypt typeR
Posted on Jul 25, 2006 10:33 am
Posted on Jul 25, 2006 10:33 am
try being a little more original when writing scripts. at first glance i thought this was my old encryption script.
mIRC Snippet:
encrypt typeR
Posted on Jul 10, 2006 7:30 pm
Posted on Jul 10, 2006 7:30 pm
maybe people dont want to comment you ?








