[PHP] Moodle: Add field to user listing

2007-10-07 Thread RalfGesellensetter
Dear list, is there any approach to patch any PHP files within moodle in order to gain further columns for the user list? Reference: http://docs.moodle.org/en/Browse_list_of_users Objective: I wish to add a (sortable) user field in order to find users by additional aspects. Thanks Ralf --

Re: [PHP] keep SESSION using wget?

2007-02-09 Thread RalfGesellensetter
Am Donnerstag 08 Februar 2007 20:36 schrieb Robert Cummings: Or... wget --save-cookies cookies.txt --load-cookies cookies.txt --keep-session-cookies http://my.domain/tracker.php You only need one cumulative call. Dear Rob, thanks again. However, my server uses Debian Sarge with wget

[PHP] keep SESSION using wget?

2007-02-08 Thread RalfGesellensetter
Dear list, I wrote a php script to keep track of a remote server. This script is called every 10 minutes via http by a cronjob using wget. The cronjob calls (from the remote server) open a new session each time. This way I cannot use session variables to limit mail notifications to cases

Re: [PHP] keep SESSION using wget?

2007-02-08 Thread RalfGesellensetter
Hi Rob, thanks for your quick reply! Am Donnerstag 08 Februar 2007 19:22 schrieb Robert Cummings: I don't suppose you checked the man page for wget did you? shame on me: I didn't RTFM ;) Now having done so, I wonder if I can store the cookie file with every call or if I should store it once

Re: [PHP] strip urls

2006-09-11 Thread RalfGesellensetter
Am Montag 11 September 2006 15:36 schrieb Merlin: I am trying to strip URL's out of a text. There is a function for this in php, but I can't find it anywhere. Can sombody help? hi, it's strip_tags and only removes the tags (a href ...) but keeps the plain text that would be displayed in a text

Re: [PHP] S: function to remove break URLs

2006-08-28 Thread RalfGesellensetter
Dear Jon, cheers for your lines ... Am Montag 28 August 2006 02:31 schrieb Jon Anderson: Guestbook spam (and comment spam) is something I'd like to try to eliminate altogether myself. I don't think there are any one-size-fits all solutions out there yet for detection/elimination. I'd

[PHP] S: function to remove break URLs

2006-08-27 Thread RalfGesellensetter
Dear list, does anybody of you know these spammers filling up your guestbook with URLs? With strip_tags, I managed to remove the html tags. But what I want is this: 1. Detect such entries (to hide them by default) 2. Destroy URLs As for 2. I am thinking of adding spaces after at least every