Sponsored Content
Full Discussion: What are you eating ?
The Lounge What is on Your Mind? What are you eating ? Post 73753 by google on Friday 3rd of June 2005 07:08:21 PM
Old 06-03-2005
Well as I stated earlier -- no red meat for me. However, in light of what this thread has become, I have the following question.


How can one can one call himself/herself a vegetarian and use the term ovo or lacto or both. Clearly, these people fall into the category of omnivore (albeit they just limit the amount of animal intake they have). My assumption is that lacto refers to animal milk (I wonder how many coconut milk - vegetarians their are! Smilie )

Given the choice of Edible-Nest and Beef, I choose Beef - despite the threat of Mad Cow! I just dont think I could eat something like that. (To restate - To each his own I guess!)
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Hosting Service Eating Space

Dear Group, I am not much used to UNIX. The company I am hosting wiht refuses to help me with this trouble, but as near as I can see, it is NOT my trouble. I have had this service for over a year. I just renewed for another year and all of a sudden the disk quota has been disappearing. I... (3 Replies)
Discussion started by: cindy
3 Replies

2. UNIX for Dummies Questions & Answers

Eating memory

Hello I run Gentoo Linux on my computer: Athlon XP 1700+ ~1,46 mhz 512 mb ram After a while, my computer works really slow, and when I cat /proc/meminfo, I see that I only have 8mb of 512 mb free! How is that possible? I dont run anything I can think of that eats that amount of... (4 Replies)
Discussion started by: Maestin
4 Replies

3. UNIX for Dummies Questions & Answers

/proc is eating my disk man

hi I have an sun ultra 5 running a firewall which has logging enabled (essential). The disk is sliced up with /proc on / (c0t0d0s0). / is sliced at 3 gig. My problem is this, one afternoon, a manager asked me to retrieve some firewall logs, so i went into the relevant directory (also on the /... (3 Replies)
Discussion started by: hcclnoodles
3 Replies

4. Solaris

This application is eating up the CPU

Hi, I am not very much fmiliar with Solaris OS. My main concern for posting is One application is eating 50% of CPU and I cannot run that application, If I perform any action in that application it takes real long time. I have solaris installed on my development machine.I have my application... (11 Replies)
Discussion started by: pandu345
11 Replies

5. Solaris

Sendmail is eating high memory

Hi, I have installed sendmail on my solaris server. But sendmail its up high memory. its eat upto around 9-10 GB memory. What to do in this ? Thanks NeeleshG (6 Replies)
Discussion started by: neel.gurjar
6 Replies

6. Shell Programming and Scripting

[bash] IF is eating my loops

Hi! Could someone explain me why the below code is printing the contents of IF block 5 times instead of 0? #!/bin/bash VAR1="something" VAR2="something" for((i=0;i<10;i++)) do if(($VAR1=~$VAR2)) then echo VAR1: $VAR1 echo... (3 Replies)
Discussion started by: machinogodzilla
3 Replies

7. Shell Programming and Scripting

how to find a job which is writing a big file and eating up space?

how to find a job which is writing a big file and eating up space? (3 Replies)
Discussion started by: rush2andy
3 Replies

8. Shell Programming and Scripting

awk eating too much memory?

Hi all, using AWK iam sorting auniq data from a file the file size is 8GB, while running that script , the over all cpu usage will be nearly 8 how to avoid this ?? any other alternate is available for awk? Thanks in Advance Anish kumar.V (13 Replies)
Discussion started by: anishkumarv
13 Replies
HTTP_BUILD_QUERY(3)							 1						       HTTP_BUILD_QUERY(3)

http_build_query - Generate URL-encoded query string

SYNOPSIS
string http_build_query PHP_QUERY_RFC1738 (mixed $query_data, [string $numeric_prefix], [string $arg_separator], [int $enc_type]) DESCRIPTION
Generates a URL-encoded query string from the associative (or indexed) array provided. PARAMETERS
o $query_data - May be an array or object containing properties. If $query_data is an array, it may be a simple one-dimensional structure, or an array of arrays (which in turn may contain other arrays). If $query_data is an object, then only public properties will be incorporated into the result. o $numeric_prefix - If numeric indices are used in the base array and this parameter is provided, it will be prepended to the numeric index for ele- ments in the base array only. This is meant to allow for legal variable names when the data is decoded by PHP or another CGI application later on. o $arg_separator -arg_separator.output is used to separate arguments, unless this parameter is specified, and is then used. o $enc_type - By default, PHP_QUERY_RFC1738. If $enc_type is PHP_QUERY_RFC1738, then encoding is performed per RFC 1738 and the applica- tion/x-www-form-urlencoded media type, which implies that spaces are encoded as plus ( +) signs. If $enc_type is PHP_QUERY_RFC3986, then encoding is performed according to RFC 3986, and spaces will be percent encoded ( %20). RETURN VALUES
Returns a URL-encoded string. CHANGELOG
+--------+------------------------------------------+ |Version | | | | | | | Description | | | | +--------+------------------------------------------+ | 5.4.0 | | | | | | | The $enc_type parameter was added. | | | | | 5.1.3 | | | | | | | Square brackets are escaped. | | | | | 5.1.2 | | | | | | | The $arg_separator parameter was added. | | | | +--------+------------------------------------------+ EXAMPLES
Example #1 Simple usage of http_build_query(3) <?php $data = array('foo'=>'bar', 'baz'=>'boom', 'cow'=>'milk', 'php'=>'hypertext processor'); echo http_build_query($data) . " "; echo http_build_query($data, '', '&amp;'); ?> The above example will output: foo=bar&baz=boom&cow=milk&php=hypertext+processor foo=bar&amp;baz=boom&amp;cow=milk&amp;php=hypertext+processor Example #2 http_build_query(3) with numerically index elements. <?php $data = array('foo', 'bar', 'baz', 'boom', 'cow' => 'milk', 'php' =>'hypertext processor'); echo http_build_query($data) . " "; echo http_build_query($data, 'myvar_'); ?> The above example will output: 0=foo&1=bar&2=baz&3=boom&cow=milk&php=hypertext+processor myvar_0=foo&myvar_1=bar&myvar_2=baz&myvar_3=boom&cow=milk&php=hypertext+processor Example #3 http_build_query(3) with complex arrays <?php $data = array('user'=>array('name'=>'Bob Smith', 'age'=>47, 'sex'=>'M', 'dob'=>'5/12/1956'), 'pastimes'=>array('golf', 'opera', 'poker', 'rap'), 'children'=>array('bobby'=>array('age'=>12, 'sex'=>'M'), 'sally'=>array('age'=>8, 'sex'=>'F')), 'CEO'); echo http_build_query($data, 'flags_'); ?> this will output : (word wrapped for readability) user%5Bname%5D=Bob+Smith&user%5Bage%5D=47&user%5Bsex%5D=M& user%5Bdob%5D=5%2F12%2F1956&pastimes%5B0%5D=golf&pastimes%5B1%5D=opera& pastimes%5B2%5D=poker&pastimes%5B3%5D=rap&children%5Bbobby%5D%5Bage%5D=12& children%5Bbobby%5D%5Bsex%5D=M&children%5Bsally%5D%5Bage%5D=8& children%5Bsally%5D%5Bsex%5D=F&flags_0=CEO Note Only the numerically indexed element in the base array "CEO" received a prefix. The other numeric indices, found under pas- times, do not require a string prefix to be legal variable names. Example #4 Using http_build_query(3) with an object <?php class parentClass { public $pub = 'publicParent'; protected $prot = 'protectedParent'; private $priv = 'privateParent'; public $pub_bar = Null; protected $prot_bar = Null; private $priv_bar = Null; public function __construct(){ $this->pub_bar = new childClass(); $this->prot_bar = new childClass(); $this->priv_bar = new childClass(); } } class childClass { public $pub = 'publicChild'; protected $prot = 'protectedChild'; private $priv = 'privateChild'; } $parent = new parentClass(); echo http_build_query($parent); ?> The above example will output: pub=publicParent&pub_bar%5Bpub%5D=publicChild SEE ALSO
parse_str(3), parse_url(3), urlencode(3), array_walk(3). PHP Documentation Group HTTP_BUILD_QUERY(3)
All times are GMT -4. The time now is 03:31 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy