06-30-2009
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
i'm setting up a solaris 9 box to be my home network's DNS server. actually it's up and running, but it's set as a caching-only name server.
can i set it up to be the primary name server? what are the advantages if i can set it up to be a primary name server vs. a caching only name server? (3 Replies)
Discussion started by: xyyz
3 Replies
2. UNIX for Dummies Questions & Answers
Hi peeps,
I want to learn how to configure mail servers, I am in private network, I am running debian 4.0, practically I have tried courier-mta, courier-imap, postfix, and sendmail.
sometimes I am able to send mail and not able to connect to my imap server which is localhost, sometimes I am... (1 Reply)
Discussion started by: squid04
1 Replies
3. UNIX for Advanced & Expert Users
Hi ,
i am having RedHat AS 4 in my home PC.now i want to access applications remotely i.e from office.
how can i do that.
in short i would like to make my PC as server for doing test's. while I am @ work.
I am using static IP.
leenus (1 Reply)
Discussion started by: rrs
1 Replies
4. UNIX Desktop Questions & Answers
I want to setup a home SFTP server in order to transfer my files securely. But I don't know about this anything. My friends told that there are many secure file transfer tool are present in the net. I am unable to find the best one. Please share your experiences with and also give your suggestions... (1 Reply)
Discussion started by: verrock_poo
1 Replies
5. UNIX for Dummies Questions & Answers
Hi all,
So I am on server 1, and I want to grab the newest file from a particular directory on server 2, and place this in a directory on server 1.
I am trying to use: ls -tr | tail -1
This works, and gets me the newest file in a particular directory. Using svn `ls -tr | tail -1` etc I... (1 Reply)
Discussion started by: Lexx87
1 Replies
6. IP Networking
Does anyone would know a good tutorial for someone with basic linux/unix knowledge in order to build and setup a home website server?
1) First: I would like a step by step practical how to, with an example, and a good introduction to more detailed theory.
2) Second : What is the best and more... (3 Replies)
Discussion started by: freddie50
3 Replies
7. Solaris
I am interested in learning oracle solais 11 but I can't seem to find a discounted version/free version with security updates for home use (I would like to set it up as I would a real server for practice so I would like to get security updates I understand that there is a trial version but you... (3 Replies)
Discussion started by: crookedmaze
3 Replies
8. UNIX for Advanced & Expert Users
Hello,
Firstly, I am using Debian 7.1, updated (as of today), I installed postfix, sasl, and dovecot. I have read through various online tutorials and quick installation guides, videos etc. And, ventured into the actual text of postfix, sasl and dovecot.
Everything is installed and "appears"... (5 Replies)
Discussion started by: jalisco
5 Replies
LEARN ABOUT PHP
udm_add_search_limit
UDM_ADD_SEARCH_LIMIT(3) 1 UDM_ADD_SEARCH_LIMIT(3)
udm_add_search_limit - Add various search limits
SYNOPSIS
bool udm_add_search_limit (resource $agent, int $var, string $val)
DESCRIPTION
udm_add_search_limit(3) adds search restrictions.
PARAMETERS
o $agent
- A link to Agent, received after call to udm_alloc_agent(3).
o $var
- Defines the parameter, indicating limits. Possible $var values:
o UDM_LIMIT_URL - defines document URL limitations to limit the search through subsection of the database. It supports SQL %
and _ LIKE wildcards, where % matches any number of characters, even zero characters, and _ matches exactly one character.
E.g. http://www.example.___/catalog may stand for http://www.example.com/catalog and http://www.example.net/catalog.
o UDM_LIMIT_TAG - defines site TAG limitations. In indexer-conf you can assign specific TAGs to various sites and parts of a
site. Tags in mnoGoSearch 3.1.x are lines, that may contain metasymbols % and _. Metasymbols allow searching among groups
of tags. E.g. there are links with tags ABCD and ABCE, and search restriction is by ABC_ - the search will be made among
both of the tags.
o UDM_LIMIT_LANG - defines document language limitations.
o UDM_LIMIT_CAT - defines document category limitations. Categories are similar to tag feature, but nested. So you can have
one category inside another and so on. You have to use two characters for each level. Use a hex number going from 0-F or a
36 base number going from 0-Z. Therefore a top-level category like 'Auto' would be 01. If it has a subcategory like 'Ford',
then it would be 01 (the parent category) and then 'Ford' which we will give 01. Put those together and you get 0101. If
'Auto' had another subcategory named 'VW', then it's id would be 01 because it belongs to the 'Ford' category and then 02
because it's the next category. So it's id would be 0102. If VW had a sub category called 'Engine' then it's id would start
at 01 again and it would get the 'VW' id 02 and 'Auto' id of 01, making it 010201. If you want to search for sites under
that category then you pass it cat=010201 in the URL.
o UDM_LIMIT_DATE - defines limitation by date the document was modified. Format of parameter value: a string with first
character < or >, then with no space - date in unixtime format, for example:
Example #1
<?php
udm_add_search_limit($udm, UDM_LIMIT_DATE, "<908012006");
?>
If > character is used, then the search will be restricted to those documents having a modification date greater than
entered, if <, then smaller.
o $val
- Defines the value of the current parameter.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
PHP Documentation Group UDM_ADD_SEARCH_LIMIT(3)