[PHP] PHP Sockets, problem with remote execution (exec/system)

2010-11-18 Thread Ronny Tiebel
Good Morning List ;) ive allready postet my question on the german phpbar mailinglist, but no responses from anyone yet. i hope someone on that list could give me an advice or hint. i'm writing a php-daemon which will run on a debian lenny/squeeze. this daemon should listen to a specific port of

RE: [PHP] smary assign var

2010-11-18 Thread admin
Taking what I understand from C, I think you are looking for this equivalent in php. $product = array('reduction'=>'4','price_without_reduction'=>'22','price '=>'18') $yuzde = $product['reduction']*100; $yuzde = round($yuzde / $product['price_without_reduction']); Echo $yuzde; This is no reason

Re: [PHP] smary assign var

2010-11-18 Thread Ashley Sheridan
On Fri, 2010-11-19 at 00:59 +0100, Tontonq Tontonq wrote: > hi guys > i have 2x sub value > > [reduction] => 4 > [price_without_reduction] => 22 > [price] => 18 > > and i want to calculate how much i did reduction percent > > {assign var='yuzde' value=$product.reduction*100} > {assign var='yuzd

[PHP] smary assign var

2010-11-18 Thread Tontonq Tontonq
hi guys i have 2x sub value [reduction] => 4 [price_without_reduction] => 22 [price] => 18 and i want to calculate how much i did reduction percent {assign var='yuzde' value=$product.reduction*100} {assign var='yuzde' value=$yuzde/$product.price_without_reduction} -{$yuzde|truncate:3:''|escape:

RE: [PHP] I am a Windows programmer and getting started on PHP

2010-11-18 Thread Daevid Vincent
> -Original Message- > Subject: [PHP] I am a Windows programmer and getting started > on PHP. What is the easiest way of getting started? Most of > the stuff I encounter seems to be very Linux specific. > > I am a Windows programmer and getting started on PHP. What is > the easiest way

[PHP] PHP 5.2.15RC1 & 5.3.4RC1 Released for Testing

2010-11-18 Thread Johannes Schlüter
The first release candidates of 5.2.15 and 5.3.4 were just released for testing and can be downloaded here: http://downloads.php.net/ilia/php-5.2.15RC1.tar.bz2 (md5sum: 9b2c632427a533fdb3946081c7c382c2) http://downloads.php.net/johannes/php-5.3.4RC1.tar.bz2 (md5sum: 2edb695f94ef41cc9cfa35777b2656

Re: [PHP] Secure PHP Code

2010-11-18 Thread Richard West
Be sure to compile with hardened suhosin patch... RD On Nov 18, 2010, at 12:12 PM, Kaushal Shriyan wrote: > Hi, > > Can the php source code be secured ? > > Thanks > > Kaushal > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > --

Re: [PHP] Secure PHP Code

2010-11-18 Thread Daniel P. Brown
On Thu, Nov 18, 2010 at 12:12, Kaushal Shriyan wrote: > Hi, > > Can the php source code be secured ? When you say "secured," what do you mean? Obfuscated? Encoded? Compiled? Tightened against attack? Regardless, the answer is yes. You just need to be specific about your definition of

[PHP] Secure PHP Code

2010-11-18 Thread Kaushal Shriyan
Hi, Can the php source code be secured ? Thanks Kaushal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing Use of PHP site

2010-11-18 Thread tedd
At 4:51 AM -0800 11/17/10, Don Wieland wrote: Hello all, I have recently built a site using PHP. I was a little loose with GET and POST methods because I was using it for personal/private use. Now I am thinking of going public and allow different companies to use the site. I want to secure an

Re: [PHP] Stripslashes

2010-11-18 Thread Daniel Brown
On Thu, Nov 18, 2010 at 09:49, Tommy Pham wrote: > > You'll have to wait a very long time for that. IIRC, the official word (via > windows list) is that PHP 6 is cancelled.  The next official release is 5.4. Well, not canceled, just postponed. It goes back and forth all the time, and has for

[PHP] Re: Approved document

2010-11-18 Thread ramesh . onefluencer
Your document is attached. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Tommy Pham
> -Original Message- > From: Keerat Singh [mailto:professionalkee...@yahoo.in] > Sent: Thursday, November 18, 2010 2:09 AM > To: php-general@lists.php.net > Subject: [PHP] I am a Windows programmer and getting started on PHP. > What is the easiest way of getting started? Most of the stuff I

RE: [PHP] Stripslashes

2010-11-18 Thread Tommy Pham
> -Original Message- > From: Gary [mailto:gp...@paulgdesigns.com] > Sent: Wednesday, November 17, 2010 2:17 PM > To: php-general@lists.php.net > Subject: Re: [PHP] Stripslashes > > I also assume that until php 6 is out and or I upgrade to it, I will have to > deal with magic_quotes? >

RE: [PHP] I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?

2010-11-18 Thread Tommy Pham
> -Original Message- > From: Richard Quadling [mailto:rquadl...@gmail.com] > Sent: Thursday, November 18, 2010 4:41 AM > To: Kirti Kumar > Cc: php-general@lists.php.net > Subject: Re: [PHP] I am trying to install PHP on a Windows box, but the > PHPINFO page does not load up. Where could I b

Re: [PHP] Is it possible to install PHP on IIS?

2010-11-18 Thread Richard Quadling
On 16 November 2010 13:30, Jay Blanchard wrote: > [snip] > http://www.wampserver.com/en/ > [/snip] > > And yes, I know that this is Apache - I am just not a fan of IIS. > > I quite like it. It probably does way so much more than I need or want and I think I can do everything that I can on Apache.

Re: [PHP] I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?

2010-11-18 Thread Richard Quadling
On 18 November 2010 09:41, Kirti Kumar wrote: > I am trying to install PHP on a  Windows box, but the PHPINFO page does not > load > up. Where could I be  going wrong? What webserver are you using? Or are you looking just at command line usage? The PHP documentation covers a wide range of setup

Re: [PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Aman Singh
Keerat - I've been in the same boat myself lately. Microsoft provides an entire platform for PHP - that should be the easiest way I guess. You can find more info on http://learn.iis.net/page.aspx/773/how-to-install-the-microsoft-web-platform-for-php ?WT.mc_id=soc-c-in-loc--cfp Hope this helps. On

Re: [PHP] I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?

2010-11-18 Thread Aman Singh
This blog has details: http://blogs.iis.net/donraman/archive/2009/11/15/troubleshooting-php-installation-on-windows.aspx?WT.mc_id=soc-c-in-loc--cfp Hope this helps. On Thu, Nov 18, 2010 at 3:11 PM, Kirti Kumar wrote: > > > > > I am trying to install PHP on a Wi

[PHP] I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

2010-11-18 Thread Keerat Singh
I am a Windows programmer and getting started on PHP. What is the easiest way of getting started? Most of the stuff I encounter seems to be very Linux specific.

[PHP] I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?

2010-11-18 Thread Kirti Kumar
I am trying to install PHP on a Windows box, but the PHPINFO page does not load up. Where could I be going wrong?