-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 (ba
-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
f-the-perfect-captc
ha/
On Tue, Apr 2, 2013 at 10:13 PM, Jen Rasmussen 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 blockin
ome across 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
-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 long
I found the following code here: https://gist.github.com/mywebpower/1035026
It appears 2 years old though ...
setFormat('gif');
$tmp->setImageDelay($delay*100);
$im->addImage($tmp);
$tmp->destroy();
unlink($wkImg);
}
$im->writeImages($outPath, true);
$im->destroy();
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: Joh
-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 wrote:
[snip!]
>
&g
p dir
$dir = $_SERVER['DOCUMENT_ROOT'].'/projects/temp/'.$pid.'/';
mkdir($dir);
//echo $dir."";
if (is_dir($dir) ) {
chmod($dir, 0777);
}
An
-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 wrote:
> I am setting the _SESSION v
-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
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 t
-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
wrote:
> Is it possible to have a "meeting of the minds" to come up with (an)
> a
te the URL settings 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@lis
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 c
:41, Jen Rasmussen wrote:
> Would this work?
>
> $content = "El Versículo del Día";
> $rss_content .= "" . $content . "\r\n";
>
> Cheers!
> Jen
The entities are HTML entities. They are not XML entities.
If they are displayed as ? then it
Would this work?
$content = "El Versículo del Día";
$rss_content .= "" . $content . "\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
Subject: [PHP] RSS Feed Accented Cha
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
http://www.youtube.com/watch?v=5GpOfwbFRc
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
My Heavenly profession is being
http://imagecache2.allposter
know. 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" writes
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
Disall
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)
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
> I don't always use braces, but when I do I use Compact Control
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
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
week
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 : http://www.youtube.co
On Mon, Aug 8, 2011 at 10:08 AM, Jen Rasmussen 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. As for a worka
via PDO 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,
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 h
29 matches
Mail list logo