RE: [PHP] Friday's Question

2013-09-20 Thread Jen Rasmussen
-Original Message- From: larry.mart...@gmail.com [mailto:larry.mart...@gmail.com] On Behalf Of Larry Martell Sent: Friday, September 20, 2013 12:26 PM To: j...@cetaceasound.com Cc: Tedd Sperling; PHP General Subject: Re: [PHP] Friday's Question On Fri, Sep 20, 2013 at 11:20 AM, Jen

RE: [PHP] Friday's Question

2013-09-20 Thread Jen Rasmussen
-Original Message- From: Tedd Sperling [mailto:t...@sperling.com] Sent: Friday, September 20, 2013 11:52 AM To: php-general@lists.php.net Subject: [PHP] Friday's Question Hi gang: Do you use a Mousepad? My reason for asking is that I've used a Mousepad ever since mice first came out

[PHP] webform spam prevention

2013-04-02 Thread Jen Rasmussen
this module: http://spam-ip.com/phpnuke-spam-module.php Has anyone used this method or have any other better suggestions? Thanks in advance! Jen Rasmussen Web Development Manager | Cetacea Sound Corp. 763-225-8465 | www.cetaceasound.com P Before printing this message, make sure that it's

FW: [PHP] webform spam prevention

2013-04-02 Thread Jen Rasmussen
-of-the-perfect-captc ha/ On Tue, Apr 2, 2013 at 10:13 PM, Jen Rasmussen j...@cetaceasound.com wrote: Can someone recommend a best practice for blocking spam on web forms (aside from captcha) ? I've been for the most part utilizing a honeypot method and then individually blocking IPs and am

FW: [PHP] Accessing Files Outside the Web Root

2013-03-13 Thread Jen Rasmussen
-Original Message- From: Dale H. Cook [mailto:radiot...@plymouthcolony.net] Sent: Wednesday, March 13, 2013 3:38 PM To: php-general@lists.php.net Subject: [PHP] Accessing Files Outside the Web Root Let me preface my question by noting that I am virtually a PHP novice. Although I am a

FW: [PHP] Imagick morphImages

2013-03-11 Thread Jen Rasmussen
I found the following code here: https://gist.github.com/mywebpower/1035026 It appears 2 years old though ... ?php /** * GD+Imagick = morphing * * @param string $fromPath * @param string $toPath * @param string $outPath * @param integer $frame OPTIONAL * @param integer $delay OPTIONAL

FW: [PHP] Re: Populate input from another form

2013-03-08 Thread Jen Rasmussen
Are both forms on the same page? This is confusing because if you're populating one field with POST data and both forms are on the same page, why wouldn't you just populate both fields with the POST data? Please provide more details or some actual code... Jen -Original Message- From:

[PHP] Programatically create directory

2012-10-04 Thread Jen Rasmussen
$dir = $_SERVER['DOCUMENT_ROOT'].'/projects/temp/'.$pid.'/'; mkdir($dir); //echo $dir.br /; if (is_dir($dir) ) { chmod($dir, 0777); } Any suggestions for me, please? Thanks. Jen

FW: [PHP] Programatically create directory

2012-10-04 Thread Jen Rasmussen
-Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Sent: Thursday, October 04, 2012 2:56 PM To: j...@cetaceasound.com Subject: Re: [PHP] Programatically create directory On Thu, Oct 4, 2012 at 3:05 PM, Jen Rasmussen j...@cetaceasound.com

RE: [PHP] PHP session variables

2012-08-08 Thread Jen Rasmussen
-Original Message- From: David Harkness [mailto:davi...@highgearmedia.com] Sent: Wednesday, August 08, 2012 11:53 AM To: Ansry User 01 Cc: php-general@lists.php.net Subject: Re: [PHP] PHP session variables On Wed, Aug 8, 2012 at 8:24 AM, Ansry User 01 yrsna.res...@gmail.comwrote: I am

RE: [PHP] Creating drop-down menus

2012-07-16 Thread Jen Rasmussen
-Original Message- From: Ramiro Barrantes [mailto:ram...@precisionbioassay.com] Sent: Monday, July 16, 2012 3:17 PM To: php-general@lists.php.net Subject: [PHP] Creating drop-down menus Hello, I am making an application using PHP/Javascript/mysql and had a question. Sometimes I need to

RE: [PHP] What's happened to our newsgroup?

2012-06-26 Thread Jen Rasmussen
LOL -Original Message- From: Ashley Sheridan [mailto:a...@ashleysheridan.co.uk] Sent: Tuesday, June 26, 2012 3:13 PM To: Marc Guay Cc: php-general@lists.php.net Subject: Re: [PHP] What's happened to our newsgroup? On Tue, 2012-06-26 at 15:42 -0400, Marc Guay wrote: Everyone switched

RE: [PHP] SQL Injection

2012-06-08 Thread Jen Rasmussen
-Original Message- From: Adam Richardson [mailto:simples...@gmail.com] Sent: Friday, June 08, 2012 11:50 AM To: PHP-General Subject: Re: [PHP] SQL Injection On Fri, Jun 8, 2012 at 12:37 PM, Ethan Rosenberg eth...@earthlink.net wrote: Is it possible to have a meeting of the minds to come

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
If I remember this correctly ... The database information can be setup/modified only with the install/reinstall. If the DB's are moving to a new server, You have to copy out the databases directly from the DB manager and then do a fresh install of WP. You should also copy out any custom theme

RE: [PHP] Need help Wth PHP

2011-10-10 Thread Jen Rasmussen
in WP admin and I think I just found it easier and less confusing to do it the way I recommended. Whoops ..good luck! Jen -Original Message- From: Jen Rasmussen [mailto:j...@cetaceasound.com] Sent: Monday, October 10, 2011 8:32 AM To: r...@okinawa-te.info; php-general@lists.php.net

RE: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Jen Rasmussen
Would this work? $content = El Versiacute;culo del Diacute;a; $rss_content .= description . $content . /description\r\n; Cheers! Jen -Original Message- From: Ron Piggott [mailto:ron@actsministries.org] Sent: Friday, September 30, 2011 11:26 AM To: php-general@lists.php.net

RE: [PHP] RSS Feed Accented Characters

2011-09-30 Thread Jen Rasmussen
:41, Jen Rasmussen j...@cetaceasound.com wrote: Would this work? $content = El Versiacute;culo del Diacute;a; $rss_content .= description . $content . /description\r\n; Cheers! Jen The entities are HTML entities. They are not XML entities. If they are displayed as ? then it is an encoding

RE: [PHP] Episode 2 - All The Cool Kids Use Ruby

2011-09-16 Thread Jen Rasmussen
WOOT! ...you made my day with this :D thanks Cheers! -Original Message- From: Daevid Vincent [mailto:dae...@daevid.com] Sent: Friday, September 16, 2011 1:30 PM To: php-general@lists.php.net Subject: [PHP] Episode 2 - All The Cool Kids Use Ruby

Re: [PHP] innerHTML triple quotes issue

2011-09-15 Thread Jen Rasmussen
Grega, Do you HAVE TO use PHP to echo the output or can you just write it in HTML? It seems much simpler and if so... below will work. The code is not indented properly but I did this so you can see what's going on. HTML VERSION h3My Heavenly profession is being/h3 span class=see

RE: [PHP] Code should be selv-maintaining!

2011-08-31 Thread Jen Rasmussen
Genius! -Original Message- From: Matt Graham [mailto:danceswithcr...@usa.net] Sent: Tuesday, August 30, 2011 5:59 PM To: php-general@lists.php.net Subject: Re: [PHP] Code should be selv-maintaining! From: David Harkness davi...@highgearmedia.com I don't always use braces, but when I

RE: [PHP] mysqli sql question

2011-08-31 Thread Jen Rasmussen
Peet, Could you do something like this instead? This is using named placeholders and a separate line for your statement but I was able to get it to echo the statement in this manner. $sql = UPDATE table SET field1=:field1, field2=:field2 WHERE id=:id; $sth = $dbh-prepare($sql);

RE: [PHP] Hide php action pages from google

2011-08-31 Thread Jen Rasmussen
Merlin, Do you have a robots.txt file in your root folder? A text document named robots.txt in your document root containing the following text should solve your problem. # robots.txt for http://www.yourdomain.com/ User-agent: * Disallow: /subapp_search/search.php User-Agent: Googlebot

RE: [PHP] Re: mysqli sql question

2011-08-31 Thread Jen Rasmussen
. I've been up to my ears in PDO the last several weeks. Jen -Original Message- From: Richard Riley [mailto:rile...@googlemail.com] Sent: Wednesday, August 31, 2011 9:18 AM To: php-general@lists.php.net Subject: [PHP] Re: mysqli sql question Jen Rasmussen j...@cetaceasound.com writes

RE: [PHP] Code should be selv-maintaining!

2011-08-30 Thread Jen Rasmussen
David Harkness ...you must be... the most interesting coder in the world ;) -Original Message- From: David Harkness [mailto:davi...@highgearmedia.com] Sent: Tuesday, August 30, 2011 2:57 PM To: Robert Cummings Cc: rquadl...@gmail.com; Tedd Sperling; php-general@lists.php.net Subject: Re:

[PHP] Secure vs httpOnly cookie flag: is one better?

2011-08-16 Thread Jen Rasmussen
Thank you in advance for your input on my question here . I am currently running PHP 5.1.6 and would prefer to set both the secure and httpOnly flags for a session cookie, however, httpOnly is not added until PHP 5.2. I have found an elegant way to set it ( courtesy of :

RE: [PHP] Secure vs httpOnly cookie flag: is one better?

2011-08-16 Thread Jen Rasmussen
Andrew, Wow, copied and pasted in the wrong link ...no wonder it made no sense - WHOOPS!! The correct link is: http://blog.mattmecham.com/2006/09/12/http-only-cookies-without-php-52/comment-page-1/#comment-14609 Below are the methods I WAS working with (similar to your recommendation last

[PHP] PHP Security: Best Practices

2011-08-08 Thread Jen Rasmussen
in addition to basic PHP.ini and .htaccess server settings and properly escaping and validating input/output. On a side note, PHP versions prior to 5.3+ do not allow to set the httponly flag as a cookie parameter, is there any acceptable alternative for this? Thanks in advance, Jen

RE: [PHP] PHP Security: Best Practices

2011-08-08 Thread Jen Rasmussen
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen j...@cetaceasound.com wrote: [snip] On a side note, PHP versions prior to 5.3+ do not allow to set the httponly flag as a cookie parameter, is there any acceptable alternative for this? I believe that has been supported since 5.2.0

FW: [PHP] saving sessions

2011-08-05 Thread Jen Rasmussen
In addition to the info below, I would caution you to do some research on password hashing. MD5 and SHA-1 are both known to be compromised because they are too fast. OWASP (Open Web Application Security Project) is a great resource for security research. There are many hashes available, if you