[PHP] Encrypt and Decript email using PHP
hello friends, Is there a way to send an encrypted email from server-side PHP, and then decrypt it using an email client such as Outlook? regards saeed http://saeed05.wordpress.com
Re: [PHP] Encrypt and Decript email using PHP
On Sun, Jun 20, 2010 at 12:46 PM, saeed ahmed wrote: > hello friends, > > Is there a way to send an encrypted email from server-side PHP, and then > decrypt it using an email client such as Outlook? > > regards > saeed > http://saeed05.wordpress.com > If you use a standard such as s/mime, then yes: http://en.wikipedia.org/wiki/S/MIME http://www.php.net/manual/en/function.openssl-pkcs7-encrypt.php http://deb-tech.spaces.live.com/blog/cns!49551AC4A11853DE!1021.entry http://support.apple.com/kb/TA22353 Adam -- Nephtali: PHP web framework that functions beautifully http://nephtaliproject.com
[PHP] function within a class function
Within a class function I have defined another function for use with the usort() function. How do I reference it? When it's not part of a class usort($arr,"cmp") works fine but when it's within a class function I get this error: PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION Is it not in the scope of the class function? -- "Memory is like an orgasm. It's a lot better if you don't have to fake it." -- Seymour Cray (on virtual memory) Rick Pasottor...@niof.nethttp://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] function within a class function
On Sun, Jun 20, 2010 at 08:47:53PM -0400, Brandon Rampersad wrote: > $this->usort(); > self::usort(); > > On Sun, Jun 20, 2010 at 7:45 PM, Rick Pasotto wrote: > > > Within a class function I have defined another function for use with the > > usort() function. How do I reference it? > > > > When it's not part of a class usort($arr,"cmp") works fine but when it's > > within a class function I get this error: > > > > PHP Parse error: syntax error, unexpected T_STRING, expecting T_FUNCTION > > > > Is it not in the scope of the class function? Forgive my ignorance but I have absolutely no idea what you're trying to tell me. usort() is part of the language so when, why, how does it become an object of some class? -- "We have rights, as individuals, to give as much of our own money as we please to charity; but as members of Congress we have no right so to appropriate a dollar of public money." -- David Crockett Rick Pasottor...@niof.nethttp://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Seeking developer for short term project
Just wanted to let everyone know that we will be finishing up with interview this week in order to make a decision. So, if anyone is interested, please let me know so we can discuss the project further. U.S. and UK solo developers (no teams) please. Thanks! On Mon, Jun 14, 2010 at 12:46 PM, Dev Job wrote: > Our company is looking to hire a PHP Developer for a short term project. > We're currently in the last couple weeks of the interview phase to narrow > down our options. We are looking for a developer that is comfortable > working with existing code as well as creating new code. You must be > skilled in PHP and MySQL in addition to HTML and javascript. Experience in > jQuery is a plus! > > We're looking for candidates from the U.S. and UK only right now. > > If you meet the requirements and are intersted, please respond with a > resume and contact information. > > We'll be making a decision in the next couple weeks, so please respond > soon! >
[PHP] not receiving mail from list
This evening I sent two emails to the list but have not received either of them back. Checking my logs I see that the last email I got was dated 2010-06-12. Could I have been unsubscribed without my knowing about it? (My posts were received by the list since I got private replies.) -- ...He who laughs does not believe in what he laughs at, but neither does he hate it. Therefore, laughing at evil means not preparing oneself to combat it, and laughing at good means denying the power through which good is self-propagating. -- Umberto Eco, "The Name of the Rose" Rick Pasottor...@niof.nethttp://www.niof.net -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Seeking developer for short term project
Hello, on 06/21/2010 12:04 AM Dev Job said the following: > Just wanted to let everyone know that we will be finishing up with interview > this week in order to make a decision. So, if anyone is interested, please > let me know so we can discuss the project further. > > U.S. and UK solo developers (no teams) please. You may want to also post it in the PHP jobs section in the PHPClasses.org site. Thousands of PHP developers have signed up to get jobs offers like yours. It is free for non-urgent jobs. http://www.phpclasses.org/jobs/ -- Regards, Manuel Lemos Find and post PHP jobs http://www.phpclasses.org/jobs/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] What am I missing here?
On Sat, 19 Jun 2010 13:21:02 -0400 Rick Dwyer wrote: > Hello List. > > I am completely at a loss for why the line of code below returns the > desired value: > > $PATH_INFO= substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRI > PT_NAME']), strlen($_SERVER['REQUEST_URI'])); > > BUT, putting the same line of code on 1 line fails to return anything: > > $PATH_INFO= > substr($_SERVER['REQUEST_URI'],strlen($_SERVER['SCRIPT_NAME']), > strlen($_SERVER['REQUEST_URI'])); > > > > --Rick > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > It looks like since you broke your key in the first line, the value returned is 0, since the key 'SRI PT_NAME' does not exist. When you fixed this, SCRIPT_NAME was the same length as REQUEST_URI so nothing was returned. look at the documentation on substr, you need to fix you parameters. -- Simcha Younger -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php