Search found 9664 matches

by John Cartwright
Wed Jun 27, 2012 4:54 pm
Forum: General Discussion
Topic: Paypal process without redirect to Paypal site
Replies: 4
Views: 3414

Re: Paypal process without redirect to Paypal site

What's wrong with processing payments in an iframe? As long as it's SSL encrypted, of course, that's fine.

In fact, that is much more secure than having to collect that information and processing it on your server through paypal API.
by John Cartwright
Wed Jun 27, 2012 4:51 pm
Forum: PHP - Code
Topic: Help with listener script for PayPal IPN
Replies: 2
Views: 750

Re: Help with listener script for PayPal IPN

No you will not get multiple inserts when that script is called, because you are fetching the entire contents of the stream. I would suggest you read into more paypal documentation on the flow of the processes. As far as I know, there are many payment options that will yield a pending status as ther...
by John Cartwright
Wed Jun 27, 2012 4:43 pm
Forum: PHP - Theory and Design
Topic: What's with design patterns
Replies: 11
Views: 13424

Re: What's with design patterns

Others have covered this topic well, so I won't regurgitate anything. Just want to say design patterns are not a concept universally you can apply to fix bad design. It is just as important to know when to use them as it is to know what they are. As you learn more about them, you may even find you h...
by John Cartwright
Mon Mar 05, 2012 8:26 pm
Forum: PHP - Frameworks
Topic: Zend Framework - complex view
Replies: 2
Views: 4351

Re: Zend Framework - complex view

You might be tempted to use the action stack, don't! see http://www.rmauger.co.uk/2009/03/why-th ... k-is-evil/ (which also touches on partials, which is what you are after).
by John Cartwright
Mon Mar 05, 2012 8:20 pm
Forum: PHPDN Suggestions
Topic: Changing my username
Replies: 2
Views: 20615

Re: Changing my username

Please send a private message (or post here if you wish) to any moderator/admin the username you would like to be changed to.
by John Cartwright
Mon Mar 05, 2012 8:16 pm
Forum: General Discussion
Topic: Formal methods in software engineering
Replies: 2
Views: 1181

Re: Formal methods in software engineering

I can't imagine that you will find many projects using formal methods because it is so rigorous and expensive. Maybe some big government/military projects where the results must be proven to have no faults like nuclear or air traffic control. .. and it's not often (if ever) you will be government a...
by John Cartwright
Wed Nov 02, 2011 4:08 pm
Forum: PHP - Code
Topic: Display errors in CentOS
Replies: 4
Views: 1790

Re: Display errors in CentOS

Run a script with <?php phpinfo(); ?> This will give you information regarding your PHP, including which php.ini is being used (you likely have 2 as 1 is or Apache, the other is for CLI.) as well as the current error reporting settings. Check to make sure all the error settings are as you expected, ...
by John Cartwright
Wed Nov 02, 2011 3:59 pm
Forum: Linux
Topic: hide id with mod_rewrite
Replies: 1
Views: 4953

Re: hide id with mod_rewrite

Duplicate of viewtopic.php?f=1&t=132512

Locked.
by John Cartwright
Fri Oct 21, 2011 10:26 am
Forum: PHP - Code
Topic: PHP Log every click
Replies: 7
Views: 1298

Re: PHP Log every click

and what is your question?
by John Cartwright
Thu Oct 13, 2011 12:06 pm
Forum: General Discussion
Topic: PC hardware compatibility
Replies: 4
Views: 1466

Re: PC hardware compatibility

I would most certainly get more than 4GB of RAM considering how cheap it is. 4GB barely covers day-to-day usage after OS processes and a couple programs. Plus, you can't benefit from creating memory drives with extra ram to greatly boost your OS performance (considering your not using SSD this is al...
by John Cartwright
Fri Sep 23, 2011 10:43 am
Forum: General Discussion
Topic: CEhub / Tsunami - Patent Troll - Annette Abbott
Replies: 19
Views: 14065

Re: CEhub / Tsunami - Patent Troll - Annette Abbott

I got a call from Annette Abbott just yesterday 09/22/11 stating the exact same things. On the phone she claimed to be currently suing WordPress. I've contacted my lawyer about the accusations. Typically, I thought you would receive a cease and desist letter. What happened once you had her contact ...
by John Cartwright
Fri Sep 23, 2011 8:30 am
Forum: PHP - Code
Topic: switched servers -- a million bugs --
Replies: 10
Views: 807

Re: switched servers -- a million bugs --

twinedev wrote:Well, again, without seeing the code that is submitting that query (and/or what builds it), kinda hard to say.

-Greg
Indeed. Include the entire SQL in your error reporting functions to help replicate the issue.
by John Cartwright
Tue Sep 20, 2011 5:15 pm
Forum: PHP - Code
Topic: php object in memory
Replies: 6
Views: 1283

Re: php object in memory

Christopher wrote:It is is a single server application, then you can also use APC cache.
APC is definitely a requirement in any development as an opcode cache. As a typical key store, memcached is much faster as APC.
by John Cartwright
Tue Sep 20, 2011 5:08 pm
Forum: PHP - Code
Topic: php object in memory
Replies: 6
Views: 1283

Re: php object in memory

pickle wrote:You'll still be hitting the MySQL daemon, but won't be hitting the disk.
Which is where most of the delays are :D

I would definitely use memcache for any temporary data that can easily be queried, i.e., by a key. Anything that involves any querying complexity use MySQL memory tables.
by John Cartwright
Wed Sep 14, 2011 4:31 pm
Forum: General Discussion
Topic: Web App Upgrader
Replies: 3
Views: 1388

Re: Web App Upgrader

I wouldn't expect to find any canned solutions for such a specific issue. The "upgrade" functionality certainly will differ from application to application.