Sponsored Content
The Lounge What is on Your Mind? A little light entertainment... ;oD Post 303021928 by wisecracker on Monday 20th of August 2018 05:04:33 PM
Old 08-20-2018
A little light entertainment... ;oD

New O'Reilly books...

URL: New O'Reilly books - Album on Imgur

I'll bet many of you have come across a few of these... ;oD
These 5 Users Gave Thanks to wisecracker For This Post:
 

6 More Discussions You Might Find Interesting

1. Solaris

troubleshooting cause of amber light

hi all, we've got an amber maintenance light on the front of our Netra-t4. I can't find out what's causing this issue. I've logged into the lom, and found the following. There's nothing in messages or prtdiag. Disks appear to be ok. Are there any other lom commands that can help? ... (6 Replies)
Discussion started by: badoshi
6 Replies

2. AIX

Orange light has come on server

Hi all, we are using IBM e series server on which AIX 5.3 is runing , we got orange light on our server, so please can any one suggest me how to diabled this light. thanks alot in advance i followed these instruction befor but i couldn't able to diabled these light #diag then... (2 Replies)
Discussion started by: younusdba
2 Replies

3. AIX

p520 -- amber light

it shows up after the upgrade to SF240_415, after 2 hrs. amber light shows up on the led of 9111-520, but alog shows: everything seems to work, not sure what's going on.. (6 Replies)
Discussion started by: ppchu99
6 Replies

4. What is on Your Mind?

A little bit of poetic light entertainment.

Over the years I have written light hearted poems about computers and computing... Hopefully this will put a smile on your face... If you like it I might post another one... My XMAS prezzy. --------------- 'Twas 1982, after the Falklands campaign, Christmas was about to come round once... (5 Replies)
Discussion started by: wisecracker
5 Replies

5. What is on Your Mind?

A bit of light relief...

How about a thread to show your Desktop, Console or computing environment... This is my current MacBook Pro 13 inch screen... Let's see some others no matter how boring... ;oD (7 Replies)
Discussion started by: wisecracker
7 Replies

6. What is on Your Mind?

A bit of light entertainment. ;oD

;oD I received this snippet on facebook the other day... Enjoy:- (0 Replies)
Discussion started by: wisecracker
0 Replies
ADDSLASHES(3)								 1							     ADDSLASHES(3)

addslashes - Quote string with slashes

SYNOPSIS
string addslashes (string $str) DESCRIPTION
Returns a string with backslashes before characters that need to be escaped. These characters are single quote ( '), double quote ( "), backslash ( ) and NUL (the NULL byte). An example use of addslashes(3) is when you're entering data into string that is evaluated by PHP. For example, O'Reilly is stored in $str, you need to escape $str. (e.g. eval("echo '".addslashes($str)."';"); ) To escape database parameters, DBMS specific escape function (e.g. mysqli_real_escape_string(3) for MySQL or pg_escape_literal(3), pg_escape_string(3) for PostgreSQL) should be used for security reasons. DBMSes have differect escape specification for identifiers (e.g. Table name, field name) than parameters. Some DBMS such as PostgreSQL provides identifier escape function, pg_escape_identifier(3), but not all DBMS provides identifier escape API. If this is the case, refer to your database system manual for proper escaping method. If your DBMS doesn't have an escape function and the DBMS uses to escape special chars, you might be able to use this function only when this escape method is adequate for your database. Please note that use of addslashes(3) for database parameter escaping can be cause of security issues on most databases. The PHP directive magic_quotes_gpc was on by default before PHP 5.4, and it essentially ran addslashes(3) on all GET, POST, and COOKIE data. Do not use addslashes(3) on strings that have already been escaped with magic_quotes_gpc as you'll then do double escaping. The func- tion get_magic_quotes_gpc(3) may come in handy for checking this. PARAMETERS
o $str - The string to be escaped. RETURN VALUES
Returns the escaped string. EXAMPLES
Example #1 An addslashes(3) example <?php $str = "Is your name O'Reilly?"; // Outputs: Is your name O'Reilly? echo addslashes($str); ?> SEE ALSO
stripcslashes(3), stripslashes(3), addcslashes(3), htmlspecialchars(3), quotemeta(3), get_magic_quotes_gpc(3). PHP Documentation Group ADDSLASHES(3)
All times are GMT -4. The time now is 12:41 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy