Now it could be as simple as at work I use tsch, and at home it is bash.
Warning, first post and I am a complete newbie to unix.
At work, I use a simple script for updating a window when I am watching to see how a render is doing...
while 1
echo ---------------------------
echo
ls -lrth... (1 Reply)
I am studying part-time degree course ( Information system ), I just ask to do the following question , but it is not easy for me as I do not have IT background , does someone can help for it.
"Consider the following web application for a property agent : The server download to the client... (1 Reply)
Hello,
My question is very basic for the settings to SSH my home PC from work.
Home network two PC:
Internet comes into my house through ISP modem and then the two PCs are connected with the router (Trendnet). The IPs for my PCs are
How to set other stuffs for me to access my home PC from... (5 Replies)
Hi,
I have the following basic script. However, the statement (line 5) is not work. The output data is not able to set my request format a30. Any advise? :mad:
echo " Column filename format a30"|sqlplus4
echo Input file list to check:
read filelist
for file in `cat $filelist.txt`
do... (1 Reply)
Hello:
I am trying to build a ksh shell script which would summarize space occupied by "product" directory under /u*/app/oracle
and summarize and report the total size occupied by it in one server.
Environment is this...
HP UNIX 11i
Korn Shell
some thing like ... (1 Reply)
Discussion started by: Sam1974
1 Replies
LEARN ABOUT PHP
parse_str
PARSE_STR(3) 1 PARSE_STR(3)parse_str - Parses the string into variablesSYNOPSIS
void parse_str (string $str, [array &$arr])
DESCRIPTION
Parses $str as if it were the query string passed via a URL and sets variables in the current scope.
Note
To get the current QUERY_STRING, you may use the variable $_SERVER['QUERY_STRING']. Also, you may want to read the section on vari-
ables from external sources.
Note
The magic_quotes_gpc setting affects the output of this function, as parse_str(3) uses the same mechanism that PHP uses to populate
the $_GET, $_POST, etc. variables.
PARAMETERS
o $str
- The input string.
o $arr
- If the second parameter $arr is present, variables are stored in this variable as array elements instead.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
Using parse_str(3)
<?php
$str = "first=value&arr[]=foo+bar&arr[]=baz";
parse_str($str);
echo $first; // value
echo $arr[0]; // foo bar
echo $arr[1]; // baz
parse_str($str, $output);
echo $output['first']; // value
echo $output['arr'][0]; // foo bar
echo $output['arr'][1]; // baz
?>
SEE ALSO parse_url(3), pathinfo(3), http_build_query(3), get_magic_quotes_gpc(3), urldecode(3).
PHP Documentation Group PARSE_STR(3)