02-13-2007
Quote:
Originally Posted by srirams
Could you please redirect me there(datecalc) ... Thanks .
thats a famous one
Please search the forums
10 More Discussions You Might Find Interesting
1. Post Here to Contact Site Administrators and Moderators
Please delete my account?
Thanks, so very much, really. (2 Replies)
Discussion started by: spaceshiporion
2 Replies
2. Shell Programming and Scripting
Hi,
I have a list of directories which contain old files that are to be deleted.
I put the list of all directories in a txt file and it is being read by a script
Iam searching for the files older than 60 days using mtime and then deleting it
But all the files are getting deleted... (3 Replies)
Discussion started by: Chidvilas
3 Replies
3. Shell Programming and Scripting
I have created a address book file. Insertion of Record (using >> symbol)and searching of record (using grep command) into the address book is also working correctly. Now I want to delete a record into a file. Any body can help me in this case without using sed and awk18 18.
Thanks and best... (24 Replies)
Discussion started by: murtaza
24 Replies
4. Forum Support Area for Unregistered Users & Account Problems
Could you please close SunburntYux as I would like to use the emaill address on this account to register FloridaBSD, (0 Replies)
Discussion started by: SunBurntYux
0 Replies
5. Shell Programming and Scripting
Hi,
I am trying to write a script which would go search and get the info from the logs based on yesterday timestamp and write yesterday logs in new file. The log file format is as follows:
""""""""""""""""""""""""""... (3 Replies)
Discussion started by: harish.parker
3 Replies
6. Shell Programming and Scripting
How to delete a particular character in a file and then removing the spaces created by that removal.I am working with a text file containing nucleotide sequences.
I have tried sed command but it replaces N with spaces.
example:I want to delete all the N without creating a space after its ... (1 Reply)
Discussion started by: ankitachaurasia
1 Replies
7. Shell Programming and Scripting
Hi,
I have file with footer (5records) at end of the file. I want to delete the footer as well as the empty records between the main records and footer record.(The gap between main records and Footer records is dynamic)
Example:
MainRecord1 "115494",","FAELD","CT","... (12 Replies)
Discussion started by: vsairam
12 Replies
8. Shell Programming and Scripting
How can i delete the contents of the directory except one file? (8 Replies)
Discussion started by: proactiveaditya
8 Replies
9. Post Here to Contact Site Administrators and Moderators
Admin: I've had posted twice my last post Can you please delete it from the SCO forum=? thanks (1 Reply)
Discussion started by: funyotros
1 Replies
10. Shell Programming and Scripting
Appreciate help for the below issue.
Im using below code.....I dont want to attach the logs when I ran the perl twice...I just want to take backup with today date and generate new logs...What I need to do for the below scirpt..............
1)if logs exist it should move the logs with extention... (1 Reply)
Discussion started by: Sanjeev G
1 Replies
LEARN ABOUT PHP
output_add_rewrite_var
OUTPUT_ADD_REWRITE_VAR(3) 1 OUTPUT_ADD_REWRITE_VAR(3)
output_add_rewrite_var - Add URL rewriter values
SYNOPSIS
bool output_add_rewrite_var (string $name, string $value)
DESCRIPTION
This function adds another name/value pair to the URL rewrite mechanism. The name and value will be added to URLs (as GET parameter) and
forms (as hidden input fields) the same way as the session ID when transparent URL rewriting is enabled with session.use_trans_sid. Please
note that absolute URLs (http://example.com/..) aren't rewritten.
This function's behavior is controlled by the url_rewriter.tags php.ini parameter.
Note
Calling this function will implicitly start output buffering if it is not active already.
PARAMETERS
o $name
- The variable name.
o $value
- The variable value.
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
output_add_rewrite_var(3) example
<?php
output_add_rewrite_var('var', 'value');
// some links
echo '<a href="file.php">link</a>
<a href="http://example.com">link2</a>';
// a form
echo '<form action="script.php" method="post">
<input type="text" name="var2" />
</form>';
print_r(ob_list_handlers());
?>
The above example will output:
<a href="file.php?var=value">link</a>
<a href="http://example.com">link2</a>
<form action="script.php" method="post">
<input type="hidden" name="var" value="value" />
<input type="text" name="var2" />
</form>
Array
(
[0] => URL-Rewriter
)
SEE ALSO
output_reset_rewrite_vars(3), ob_flush(3), ob_list_handlers(3).
PHP Documentation Group OUTPUT_ADD_REWRITE_VAR(3)