10-20-2011
it says "PHP Code" in the tags
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file called clientname_filename.csv
whose contents are like
col1|col2|col3|col4|
510|abc|xxx|450|
510|abc11|yyy|350
510|pqr99|zzz| 670
512|222|439|110
Here i have check the contents of column for data type.
i have a constraints that col1 always contain Numeric value column 2... (12 Replies)
Discussion started by: jambesh
12 Replies
2. Shell Programming and Scripting
I have a shell script that takes a file and uses "syncsort" to sort contents.
I want to add a condition to check whether the input file is textual or binary format. If textual, the "syncsort" will be used to sort the files contents. Otherwise, the sorting process will be skipped.
Note that the... (3 Replies)
Discussion started by: synthea
3 Replies
3. Red Hat
Hello,
I am using LINUX OS. I want to check what is the SAN storage size. How do i check this in server? Any help is really appreciated.. (3 Replies)
Discussion started by: govindts
3 Replies
4. UNIX for Dummies Questions & Answers
Can anybody help me ont to get the command to check storage type and storage size in unix.
Thank u in advanced!! (4 Replies)
Discussion started by: manisham
4 Replies
5. UNIX for Advanced & Expert Users
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (1 Reply)
Discussion started by: aesgs
1 Replies
6. Solaris
SunOS 5.10 Generic_142900-15 sun4v sparc SUNW,T5240
how can i check the storage type being used in unix solaris sparc system?
please help me its urgnet..
thank you (22 Replies)
Discussion started by: aesgs
22 Replies
7. AIX
Hi,
Here's the version of unix that we are working on.
> uname -a
AIX yyyyyyyy 1 6 00F613E24C00
@:on(cluster303)/iishomea/kmani00->
i have application id: aaabbb
Now i need to check whether the password for the application id set to non expiry type or not.
Moreover, with that unix... (3 Replies)
Discussion started by: kmanivan82
3 Replies
8. Shell Programming and Scripting
Hi,
I have the below script that checks if the .tar file exists in my present directory. If so, extract it and then delete it except if the .tar filename is blent.tar
#!/bin/bash
while ; do
echo "TAR BALL EXISTS"
for f in *.tar; do
echo "File -> $f"
tar -xvf $f
rm -ir $f... (7 Replies)
Discussion started by: mohtashims
7 Replies
LEARN ABOUT PHP
phpcredits
PHPCREDITS(3) 1 PHPCREDITS(3)
phpcredits - Prints out the credits for PHP
SYNOPSIS
bool phpcredits ([int $flag = CREDITS_ALL])
DESCRIPTION
This function prints out the credits listing the PHP developers, modules, etc. It generates the appropriate HTML codes to insert the
information in a page.
PARAMETERS
o $flag
- To generate a custom credits page, you may want to use the $flag parameter.
Pre-defined phpcredits(3) flags
+-----------------+---------------------------------------------------+
| name | |
| | |
| | description |
| | |
+-----------------+---------------------------------------------------+
| CREDITS_ALL | |
| | |
| | All the credits, equivalent to using: CRED- |
| | ITS_DOCS + CREDITS_GENERAL + CREDITS_GROUP + |
| | CREDITS_MODULES + CREDITS_FULLPAGE. It generates |
| | a complete stand-alone HTML page with the appro- |
| | priate tags. |
| | |
| CREDITS_DOCS | |
| | |
| | The credits for the documentation team |
| | |
|CREDITS_FULLPAGE | |
| | |
| | Usually used in combination with the other |
| | flags. Indicates that a complete stand-alone HTML |
| | page needs to be printed including the informa- |
| | tion indicated by the other flags. |
| | |
|CREDITS_GENERAL | |
| | |
| | General credits: Language design and concept, |
| | PHP authors and SAPI module. |
| | |
| CREDITS_GROUP | |
| | |
| | A list of the core developers |
| | |
|CREDITS_MODULES | |
| | |
| | A list of the extension modules for PHP, and |
| | their authors |
| | |
| CREDITS_SAPI | |
| | |
| | A list of the server API modules for PHP, and |
| | their authors |
| | |
+-----------------+---------------------------------------------------+
RETURN VALUES
Returns TRUE on success or FALSE on failure.
EXAMPLES
Example #1
Prints the general credits
<?php
phpcredits(CREDITS_GENERAL);
?>
Example #2
Prints the core developers and the documentation group
<?php
phpcredits(CREDITS_GROUP | CREDITS_DOCS | CREDITS_FULLPAGE);
?>
Example #3
Printing all the credits
<html>
<head>
<title>My credits page</title>
</head>
<body>
<?php
// some code of your own
phpcredits(CREDITS_ALL - CREDITS_FULLPAGE);
// some more code
?>
</body>
</html>
NOTES
Note
phpcredits(3) outputs plain text instead of HTML when using the CLI mode.
SEE ALSO
phpversion(3), php_logo_guid(3), phpinfo(3).
PHP Documentation Group PHPCREDITS(3)