RE: [PHP] free space

2012-01-31 Thread admin
> -Original Message- > From: Sean Greenslade [mailto:zootboys...@gmail.com] > Sent: Tuesday, January 31, 2012 2:50 PM > To: saeed ahmed > Cc: PHP General > Subject: Re: [PHP] free space > > On Tue, Jan 31, 2012 at 1:59 PM, saeed ahmed > wrote: > > > is there any free server where one can

Re: [PHP] free space

2012-01-31 Thread Sean Greenslade
On Tue, Jan 31, 2012 at 1:59 PM, saeed ahmed wrote: > is there any free server where one can practice php(myadmin) - sql without > installing on personal computer? > Not that I know of. There may be some, but I wouldn't bother. You can find Virtualbox server images pre-made from sites such as thi

[PHP] Re: Time zone in date function

2012-01-31 Thread Jonesy
On Tue, 31 Jan 2012 17:15:48 +0100, Matijn Woudt wrote: > On Tue, Jan 31, 2012 at 4:22 PM, Jonesy wrote: >> >> Is there a reason _not_ to use viz: >> >>        putenv("TZ=America/Anguilla"); >>  ?? >> >> Or, is it simple "Just The Linux Way"(tm) , i.e. there's >> always more than one way to do a '

[PHP] free space

2012-01-31 Thread saeed ahmed
is there any free server where one can practice php(myadmin) - sql without installing on personal computer?

Re: [PHP] differences in between these env. variables

2012-01-31 Thread Tedd Sperling
On Jan 29, 2012, at 7:01 PM, Adam Richardson wrote: > On Sun, Jan 29, 2012 at 11:38 AM, Tedd Sperling > wrote: > On Jan 27, 2012, at 12:45 PM, Adam Richardson wrote: > > > On Fri, Jan 27, 2012 at 12:09 PM, Tedd Sperling > > wrote: > > On Jan 11, 2012, at 9:24 PM, tamouse mailing lists wrote:

[PHP] Re: Cannot make bzip2 stream "on the fly"

2012-01-31 Thread Michael Shestero
Thank you for response. Script is server-side. It is to send a packed data as file (but the source isn't actually a file) via HTTP to client. bzcompress() are not suitable, because it cannot pack the stream on the fly (I have to store all amount of data in local variable before call it). My tas

Re: [PHP] When to call mysqli::close

2012-01-31 Thread Stuart Dallas
On 31 Jan 2012, at 16:28, Albert Kamau wrote: > When should i call mysqli::close ? Should I call $stmt->close() at the end > of the method(below) . Or should I call it after every condition ensuring > that I close the database connection even if the process fails at some > stage e.g bind param Thi

[PHP] When to call mysqli::close

2012-01-31 Thread Albert Kamau
Hi good people, When should i call mysqli::close ? Should I call $stmt->close() at the end of the method(below) . Or should I call it after every condition ensuring that I close the database connection even if the process fails at some stage e.g bind param public function function_name($id,$new_i

Re: [PHP] Re: Time zone in date function

2012-01-31 Thread Matijn Woudt
On Tue, Jan 31, 2012 at 4:22 PM, Jonesy wrote: > On Tue, 31 Jan 2012 14:57:41 +1300, Simon J Welsh wrote: >> On 31/01/2012, at 2:55 PM, Ron Piggott wrote: >> >>> >>> On my clients account when I use ?echo date(?D, d M Y H:i:s');? the output >>> is 5 hours ahead of us.  How do I change it to my lo

[PHP] Re: Cannot make bzip2 stream "on the fly"

2012-01-31 Thread Maciek Sokolewicz
On 31-01-2012 15:34, Michael Shestero wrote: header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=f.bzip2"); header("Content-Type: application/x-bzip2"); //header("Content-length: " . strlen($zippedfile) . "\n\n"); header("Content-Transfer-Encoding: bi

[PHP] Re: Time zone in date function

2012-01-31 Thread Jonesy
On Tue, 31 Jan 2012 14:57:41 +1300, Simon J Welsh wrote: > On 31/01/2012, at 2:55 PM, Ron Piggott wrote: > >> >> On my clients account when I use ?echo date(?D, d M Y H:i:s');? the output >> is 5 hours ahead of us. How do I change it to my local time? Is there a >> way to specify ?Eastern? tim

[PHP] Cannot make bzip2 stream "on the fly"

2012-01-31 Thread Michael Shestero
header("Content-Description: File Transfer"); header("Content-Disposition: attachment; filename=f.bzip2"); header("Content-Type: application/x-bzip2"); //header("Content-length: " . strlen($zippedfile) . "\n\n"); header("Content-Transfer-Encoding: binary"); ob_flush(); $bz = bzopen( 'php://outp

[PHP] Re: Time zone in date function

2012-01-31 Thread Ian
On 31/01/2012 01:55, Ron Piggott wrote: > > On my clients account when I use “echo date(‘D, d M Y H:i:s');” the output is > 5 hours ahead of us. How do I change it to my local time? Is there a way to > specify “Eastern” time zone? > > I expect this would work: > > echo date(‘D, d M Y H:i:s'

[PHP] EasyPHP 5.3.9 with PHP 5.3.9 and PHP 5.4.0 RC6

2012-01-31 Thread EasyPHP
New major version : EasyPHP 5.3.9 with PHP 5.3.9 and PHP 5.4.0 RC6 Plus Apache 2.2.21, MySQL 5.5.20, PhpMyAdmin 3.4.9, Xdebug 2.1.3. This version comes with a brand new administration page and new features : several versions of #PHP can be installed, same version can be installed several times wit