Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-10 Thread Per Jessen
Per Jessen wrote:

> Daniel Egeberg wrote:
> 
>> On Mon, Mar 8, 2010 at 23:21, Skip Evans 
>> wrote:
>>> D'oh!
>>>
>>> ...and I suppose there is just no way around that, eh?
>>>
>>> Skip
>> 
>> You can use SNI, but it's not supported by all web servers and
>> browsers.
>> 
>> http://en.wikipedia.org/wiki/Server_Name_Indication
>> 
> 
> I don't know about the browser support, but the Apache and SNI
> implementation is well described in this article:
> 
> http://www.heise.de/kiosk/archiv/ct/2009/23/174_kiosk  (download for a
> fee)
> 

This looks like a pretty decent article too:

http://en.gentoo-wiki.com/wiki/Apache2/SSL_and_Name_Based_Virtual_Hosts

According to that, the following browsers support SNI:

* Opera 8.0+
* Firefox 2+
* Internet Explorer 7+ (but not on Windows XP)
* Safari 3.2.1+ 


-- 
Per Jessen, Zürich (-3.9°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-10 Thread Per Jessen
Daniel Egeberg wrote:

> On Mon, Mar 8, 2010 at 23:21, Skip Evans 
> wrote:
>> D'oh!
>>
>> ...and I suppose there is just no way around that, eh?
>>
>> Skip
> 
> You can use SNI, but it's not supported by all web servers and
> browsers.
> 
> http://en.wikipedia.org/wiki/Server_Name_Indication
> 

I don't know about the browser support, but the Apache and SNI
implementation is well described in this article:

http://www.heise.de/kiosk/archiv/ct/2009/23/174_kiosk  (download for a
fee)

/Per

-- 
Per Jessen, Zürich (-4.0°C)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Daniel Egeberg
On Mon, Mar 8, 2010 at 23:21, Skip Evans  wrote:
> D'oh!
>
> ...and I suppose there is just no way around that, eh?
>
> Skip

You can use SNI, but it's not supported by all web servers and browsers.

http://en.wikipedia.org/wiki/Server_Name_Indication

-- 
Daniel Egeberg

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Kim Madsen

Skip Evans wrote on 08/03/2010 23:21:

D'oh!

...and I suppose there is just no way around that, eh?


two public IPs pointing to the same server? ;o)

--
Kind regards
Kim Emax - masterminds.dk

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Frank M. Kromann

Not that I know of.

- Frank

On 3/8/10 2:21 PM, Skip Evans wrote:

D'oh!

...and I suppose there is just no way around that, eh?

Skip

Frank M. Kromann wrote:
You can only have one SSL per IP address. The SSL connection between 
the client and server is done before the host header name is made 
available to Apache.


- Frank

On 3/8/10 2:13 PM, Skip Evans wrote:

Hey all,

I have an Apache virtual config running a bunch of sites, one with 
SSL. I finally have a need to add SSL to one more, but when I do the 
first one (which is further down the file) comes up "untrusted".


Since this is pretty far off topic I'd be obliged if someone who has 
configured this before can email me off list for some assistance.


Much thanks!
Skip



--

Frank M. Kromann, M.Sc.E.E.

Web by Pixel, Inc.


Phone: +1 949 742 7533

Cell: +1 949 702 1794

Denmark: +45 88 33 64 80





--

Frank M. Kromann, M.Sc.E.E.

Web by Pixel, Inc.


Phone: +1 949 742 7533

Cell: +1 949 702 1794

Denmark: +45 88 33 64 80



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Skip Evans

D'oh!

...and I suppose there is just no way around that, eh?

Skip

Frank M. Kromann wrote:
You can only have one SSL per IP address. The SSL connection between the 
client and server is done before the host header name is made available 
to Apache.


- Frank

On 3/8/10 2:13 PM, Skip Evans wrote:

Hey all,

I have an Apache virtual config running a bunch of sites, one with 
SSL. I finally have a need to add SSL to one more, but when I do the 
first one (which is further down the file) comes up "untrusted".


Since this is pretty far off topic I'd be obliged if someone who has 
configured this before can email me off list for some assistance.


Much thanks!
Skip



--

Frank M. Kromann, M.Sc.E.E.

Web by Pixel, Inc.


Phone: +1 949 742 7533

Cell: +1 949 702 1794

Denmark: +45 88 33 64 80



--

Skip Evans
PenguinSites.com, LLC
503 S Baldwin St, #1
Madison WI 53703
608.250.2720
http://penguinsites.com

Those of you who believe in
telekinesis, raise my hand.
 -- Kurt Vonnegut

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone good with multiple SSL on Apache?

2010-03-08 Thread Frank M. Kromann
You can only have one SSL per IP address. The SSL connection between the 
client and server is done before the host header name is made available 
to Apache.


- Frank

On 3/8/10 2:13 PM, Skip Evans wrote:

Hey all,

I have an Apache virtual config running a bunch of sites, one with 
SSL. I finally have a need to add SSL to one more, but when I do the 
first one (which is further down the file) comes up "untrusted".


Since this is pretty far off topic I'd be obliged if someone who has 
configured this before can email me off list for some assistance.


Much thanks!
Skip



--

Frank M. Kromann, M.Sc.E.E.

Web by Pixel, Inc.


Phone: +1 949 742 7533

Cell: +1 949 702 1794

Denmark: +45 88 33 64 80



Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Bipin Upadhyay

On 11/9/2009 11:42 PM, Ali Asghar Toraby Parizy wrote:

On Mon, Nov 9, 2009 at 7:58 PM, Martin Scottawrote:

   

On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl  wrote:

 

-Original Message-
From: Dave M G [mailto:mar...@autotelic.com]
Sent: 09 November 2009 05:36 PM
To: php-general@lists.php.net
Subject: [PHP] Anyone using Aptana and Xdebug? Or other debugger
recommendations besides Zend?

PHP List,

I won't go into a big rant about Zend, and instead simply say that while
   

I
 

was using Zend Studio to debug PHP pages since version 5.0. I was never
really all that happy with it. It seemed to be the most complete
   

debugging
 

environment for PHP, so I put up with it. I will say that the Studio
installation procedure has got better, but setting up a reliable
   

debugging
 

server has not.

Now, the current version of Zend Studio (7.0) is based on Eclipse (I
   

think
 

since v6.0), and so I'm just not sure what I'm paying for anymore.
Aptana Studio, also based on Eclipse has pretty much the exact same
interface and can even connect to a Zend server.

Since one of those is free, I can't see why I wouldn't switch. The issue
for
me is that paying for Zend hasn't really saved me much hassle, so even if
Aptana has difficulties, at least they are free difficulties.

The main failing point, so far as I can see, of Aptana/Xdebug, is a lack
   

of
 

good, clear, documentation (also note that Zend doesn't have great
documentation either). Especially on how to set it up.

I was wondering if anyone has used it and could provide a link or
instructions on how to get the debugging environment up and running.

Or, equally as valuable, would be recommendations on other debugging
environments. The key is finding one that has a clear set of instructions
for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.)

Thanks for any advice.

Dave M G
--

Dave, take a look at PhpED from Nusphere. I've used the Windows version
very
happily for the last 6 years. There is a Linux version but I haven't
   

tried
 

it so can't comment - from the forum I gather that most users use the
Windows version. Debugging in PhpED is brilliant, but so is the rest of
   

the
 

IDE. I also looked at Zend Studio every now and then over the last few
years
to see how it was progressing, but wasn't that impressed.

Cheers
Arno




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


   

Why anyone needs to buy a IDE for develop PHP code?

You can use any text editor.

I use SciTE. It is free and open source.
It does not provide any tool of any kind. It just allow me to write code,
and that's all I need.

Also there are a lot of tools for development.
And IDE is just a fat text editor with lot of tools on it, and in some
cases
it can make your development slower.

You can improve your development with a set of lightweight tools, this is
the linux style.

--
Martin Scotta

 

What do you think IDE is?
Do you think you can build a real commercial application without debugging
and project management tools?

   
Okay, before the answers deviate from the topic, a few quick personal 
pointers.

--> Zend IDE's good, but as you mention not _worth_ the price.
--> I use a number of editors based on which system I am using at the 
time, and they range from vim to NetBeans to EclipsePDT (and sometimes 
an unregistered demo version of Zend 7).
--> I prefer NetBeans-PHP and have it configured with XDebug. The 
configuration's fairly simple and documentation can help you do in 
several steps. Please search on NetBeans portal for the same.

IMHO, the same steps can be replicated for even an Eclipse based IDE.

--Bipin Upadhyay.
http://projectbee.org/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Ali Asghar Toraby Parizy
On Mon, Nov 9, 2009 at 7:58 PM, Martin Scotta wrote:

> On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl  wrote:
>
> > -Original Message-
> > From: Dave M G [mailto:mar...@autotelic.com]
> > Sent: 09 November 2009 05:36 PM
> > To: php-general@lists.php.net
> > Subject: [PHP] Anyone using Aptana and Xdebug? Or other debugger
> > recommendations besides Zend?
> >
> > PHP List,
> >
> > I won't go into a big rant about Zend, and instead simply say that while
> I
> > was using Zend Studio to debug PHP pages since version 5.0. I was never
> > really all that happy with it. It seemed to be the most complete
> debugging
> > environment for PHP, so I put up with it. I will say that the Studio
> > installation procedure has got better, but setting up a reliable
> debugging
> > server has not.
> >
> > Now, the current version of Zend Studio (7.0) is based on Eclipse (I
> think
> > since v6.0), and so I'm just not sure what I'm paying for anymore.
> > Aptana Studio, also based on Eclipse has pretty much the exact same
> > interface and can even connect to a Zend server.
> >
> > Since one of those is free, I can't see why I wouldn't switch. The issue
> > for
> > me is that paying for Zend hasn't really saved me much hassle, so even if
> > Aptana has difficulties, at least they are free difficulties.
> >
> > The main failing point, so far as I can see, of Aptana/Xdebug, is a lack
> of
> > good, clear, documentation (also note that Zend doesn't have great
> > documentation either). Especially on how to set it up.
> >
> > I was wondering if anyone has used it and could provide a link or
> > instructions on how to get the debugging environment up and running.
> >
> > Or, equally as valuable, would be recommendations on other debugging
> > environments. The key is finding one that has a clear set of instructions
> > for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.)
> >
> > Thanks for any advice.
> >
> > Dave M G
> > --
> >
> > Dave, take a look at PhpED from Nusphere. I've used the Windows version
> > very
> > happily for the last 6 years. There is a Linux version but I haven't
> tried
> > it so can't comment - from the forum I gather that most users use the
> > Windows version. Debugging in PhpED is brilliant, but so is the rest of
> the
> > IDE. I also looked at Zend Studio every now and then over the last few
> > years
> > to see how it was progressing, but wasn't that impressed.
> >
> > Cheers
> > Arno
> >
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> Why anyone needs to buy a IDE for develop PHP code?
>
> You can use any text editor.
>
> I use SciTE. It is free and open source.
> It does not provide any tool of any kind. It just allow me to write code,
> and that's all I need.
>
> Also there are a lot of tools for development.
> And IDE is just a fat text editor with lot of tools on it, and in some
> cases
> it can make your development slower.
>
> You can improve your development with a set of lightweight tools, this is
> the linux style.
>
> --
> Martin Scotta
>
What do you think IDE is?
Do you think you can build a real commercial application without debugging
and project management tools?


Re: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Martin Scotta
On Mon, Nov 9, 2009 at 1:04 PM, Arno Kuhl  wrote:

> -Original Message-
> From: Dave M G [mailto:mar...@autotelic.com]
> Sent: 09 November 2009 05:36 PM
> To: php-general@lists.php.net
> Subject: [PHP] Anyone using Aptana and Xdebug? Or other debugger
> recommendations besides Zend?
>
> PHP List,
>
> I won't go into a big rant about Zend, and instead simply say that while I
> was using Zend Studio to debug PHP pages since version 5.0. I was never
> really all that happy with it. It seemed to be the most complete debugging
> environment for PHP, so I put up with it. I will say that the Studio
> installation procedure has got better, but setting up a reliable debugging
> server has not.
>
> Now, the current version of Zend Studio (7.0) is based on Eclipse (I think
> since v6.0), and so I'm just not sure what I'm paying for anymore.
> Aptana Studio, also based on Eclipse has pretty much the exact same
> interface and can even connect to a Zend server.
>
> Since one of those is free, I can't see why I wouldn't switch. The issue
> for
> me is that paying for Zend hasn't really saved me much hassle, so even if
> Aptana has difficulties, at least they are free difficulties.
>
> The main failing point, so far as I can see, of Aptana/Xdebug, is a lack of
> good, clear, documentation (also note that Zend doesn't have great
> documentation either). Especially on how to set it up.
>
> I was wondering if anyone has used it and could provide a link or
> instructions on how to get the debugging environment up and running.
>
> Or, equally as valuable, would be recommendations on other debugging
> environments. The key is finding one that has a clear set of instructions
> for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.)
>
> Thanks for any advice.
>
> Dave M G
> --
>
> Dave, take a look at PhpED from Nusphere. I've used the Windows version
> very
> happily for the last 6 years. There is a Linux version but I haven't tried
> it so can't comment - from the forum I gather that most users use the
> Windows version. Debugging in PhpED is brilliant, but so is the rest of the
> IDE. I also looked at Zend Studio every now and then over the last few
> years
> to see how it was progressing, but wasn't that impressed.
>
> Cheers
> Arno
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
Why anyone needs to buy a IDE for develop PHP code?

You can use any text editor.

I use SciTE. It is free and open source.
It does not provide any tool of any kind. It just allow me to write code,
and that's all I need.

Also there are a lot of tools for development.
And IDE is just a fat text editor with lot of tools on it, and in some cases
it can make your development slower.

You can improve your development with a set of lightweight tools, this is
the linux style.

-- 
Martin Scotta


RE: [PHP] Anyone using Aptana and Xdebug? Or other debugger recommendations besides Zend?

2009-11-09 Thread Arno Kuhl
-Original Message-
From: Dave M G [mailto:mar...@autotelic.com] 
Sent: 09 November 2009 05:36 PM
To: php-general@lists.php.net
Subject: [PHP] Anyone using Aptana and Xdebug? Or other debugger
recommendations besides Zend?

PHP List,

I won't go into a big rant about Zend, and instead simply say that while I
was using Zend Studio to debug PHP pages since version 5.0. I was never
really all that happy with it. It seemed to be the most complete debugging
environment for PHP, so I put up with it. I will say that the Studio
installation procedure has got better, but setting up a reliable debugging
server has not.

Now, the current version of Zend Studio (7.0) is based on Eclipse (I think
since v6.0), and so I'm just not sure what I'm paying for anymore.
Aptana Studio, also based on Eclipse has pretty much the exact same
interface and can even connect to a Zend server.

Since one of those is free, I can't see why I wouldn't switch. The issue for
me is that paying for Zend hasn't really saved me much hassle, so even if
Aptana has difficulties, at least they are free difficulties.

The main failing point, so far as I can see, of Aptana/Xdebug, is a lack of
good, clear, documentation (also note that Zend doesn't have great
documentation either). Especially on how to set it up.

I was wondering if anyone has used it and could provide a link or
instructions on how to get the debugging environment up and running.

Or, equally as valuable, would be recommendations on other debugging
environments. The key is finding one that has a clear set of instructions
for how to set it up (On Ubuntu/Debian Linux with a local LAMP server.)

Thanks for any advice.

Dave M G
--

Dave, take a look at PhpED from Nusphere. I've used the Windows version very
happily for the last 6 years. There is a Linux version but I haven't tried
it so can't comment - from the forum I gather that most users use the
Windows version. Debugging in PhpED is brilliant, but so is the rest of the
IDE. I also looked at Zend Studio every now and then over the last few years
to see how it was progressing, but wasn't that impressed.

Cheers
Arno




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Clancy
On Tue, 15 Sep 2009 13:47:06 +0100, a...@ashleysheridan.co.uk (Ashley Sheridan) 
wrote:

>On Tue, 2009-09-15 at 13:45 +0100, Richard Heyes wrote:
>> Hi,
>> 
>> > It is good to hear that they teach PHP in kindergarden these days.
>> 
>> I've heard it's soon to be part of the national curriculum here in the UK.
>> 
>> -- 
>> Richard Heyes
>> HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
>> Lots of PHP and Javascript code - http://www.phpguru.org
>> 
>I hope not, I'm not having some toddler doing me out of a job!

It's been known for years that the essential accessory for any piece of modern 
electronics
equipment is a 10-year-old boy!


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Ashley Sheridan
On Tue, 2009-09-15 at 13:45 +0100, Richard Heyes wrote:
> Hi,
> 
> > It is good to hear that they teach PHP in kindergarden these days.
> 
> I've heard it's soon to be part of the national curriculum here in the UK.
> 
> -- 
> Richard Heyes
> HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
> Lots of PHP and Javascript code - http://www.phpguru.org
> 
I hope not, I'm not having some toddler doing me out of a job!

Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Richard Heyes
Hi,

> It is good to hear that they teach PHP in kindergarden these days.

I've heard it's soon to be part of the national curriculum here in the UK.

-- 
Richard Heyes
HTML5 graphing: RGraph - www.rgraph.net (updated 5th September)
Lots of PHP and Javascript code - http://www.phpguru.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Yeti
It is good to hear that they teach PHP in kindergarden these days.

//Yeti

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone interested in PHP? Call for moderator

2009-09-15 Thread Ashley Sheridan
On Tue, 2009-09-15 at 08:22 -0400, Patrick wrote:
> It seems that list list has degenerated into a kindergarten brawl.
> 
> Is there a moderator here? Someone to silence all this name calling and
> of topic non-sense
> 
I'll give you kindergarten you Yank! ;)

I think the list is meant to be self moderating, although my best guess
as to how that happens is to shout people down... On the plus side, it
does give way to some amusing emails!

Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone using session_mysql successfully

2009-06-24 Thread Shawn McKenzie
Michael A. Peters wrote:
> Randy Paries wrote:
>> Hello,
>> i am trying to get session_mysql
>>
>> http://websupport.sk/~stanojr/projects/session_mysql/
>>
>> It configured, compiled and installed ok (no errors anyways)
>>
>> but i am getting an error
>> session_start() [> href='function.session-start'>function.session-start]: Cannot find
>> save handler mysql in
>>
>> I was hoping someone in the group was using this and has seen the error
>>
>> Thanks
>> Randy
>>
> 
> Not sure about your problem but you shouldn't need to use a compiled
> module to use MySQL (or any other database) for sessions.
> 
> There are several tutorials on the web, not of which involve compiling
> squat.

Just use this:
http://us.php.net/manual/en/function.session-set-save-handler.php


And define functions for the different operations.

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone using session_mysql successfully

2009-06-23 Thread Michael A. Peters

Randy Paries wrote:

Hello,
i am trying to get session_mysql

http://websupport.sk/~stanojr/projects/session_mysql/

It configured, compiled and installed ok (no errors anyways)

but i am getting an error
session_start() [function.session-start]: Cannot find
save handler mysql in

I was hoping someone in the group was using this and has seen the error

Thanks
Randy



Not sure about your problem but you shouldn't need to use a compiled 
module to use MySQL (or any other database) for sessions.


There are several tutorials on the web, not of which involve compiling 
squat.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Tom Worster
On 6/1/09 6:43 AM, "Muhammad Hassan Samee"  wrote:

> Anyone know whats the best way to learn PHP? Every time I open an php book
> or look the codes online, my mind goes "oh man, So many stuffs to learn and
> gets frustrated before i even start" but on the other hand, I don't know why
> some how the brain keep on nagging me to learn PHP. I guess what's the fun
> way to learn php? Any good books?

i've often tried to learn a language from a book and always failed. clearly
this works for some folk, never has for me.

i find the initial ramp of the learning curve very hard to take. it's
daunting. but that's always true and anything really worth your time is
going to be difficult.

after doing hello world, think of a simple project of your own to tinker
with as you learn.

that's the generalities. as for php, if you already know a few programming
languages, i think the the manual's chapter called "language reference" is
not a bad place to start. lots of examples. systematic one language feature
at a time. skip stuff that really makes no sense, you can lear those bits
later. you'll forget most of it but you'll know where to find it when you
need it. try things out in your sample project.

once you're programming and getting stuff done, reading other people's code
is great. there's lots available (e.g. in pear). but don't assume it's all a
model for what you should do, it's just examples of what can be done --
good, bad and indifferent.

good luck



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Peter van der Does
On Mon, 1 Jun 2009 15:43:21 +0500
Muhammad Hassan Samee  wrote:

> Hi
> 
> Anyone know whats the best way to learn PHP? Every time I open an php
> book or look the codes online, my mind goes "oh man, So many stuffs
> to learn and gets frustrated before i even start" but on the other
> hand, I don't know why some how the brain keep on nagging me to learn
> PHP. I guess what's the fun way to learn php? Any good books?

Do you already code?
If so, just download something you are interested in, maybe WordPress
if you blog, with some plugins as those are most likely easier to read,
and look at the programs and try figuring out why things are working
they way they work.
I can't really remember how I started but I believe it was with
Postnuke a long time ago. I looked at the code, try to help fix bugs.

The best way to learn any language, computer or natural, is not by
sitting down and reading books, it's by actually programming/speaking
the language.

-- 
Peter van der Does

GPG key: E77E8E98
IRC: Ganseki on irc.freenode.net
Blog: http://blog.avirtualhome.com
Forums: http://forums.avirtualhome.com
Jabber ID: pvanderd...@gmail.com

GetDeb Package Builder
http://www.getdeb.net - Software you want for Ubuntu

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Michael A. Peters

Muhammad Hassan Samee wrote:

Hi

Anyone know whats the best way to learn PHP? Every time I open an php book
or look the codes online, my mind goes "oh man, So many stuffs to learn and
gets frustrated before i even start" but on the other hand, I don't know why
some how the brain keep on nagging me to learn PHP. I guess what's the fun
way to learn php? Any good books?



Start with something small, like maintaining a database of your personal 
book collection - and learn to administer a DB (IE MySQL) at the same time.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know whats the best way to learn PHP

2009-06-01 Thread Patrick
I don't think there are any substitutes for good books but
www.phpvideotutorials.com has screencasts. I have really enjoyed them.
There are free ones and paid ones. If funds permit I would recommend the
paid ones, there are hours and hours of them. It does not work out to be
much at all per hour. The free ones are of course the place to start
however.

-Patrick

Muhammad Hassan Samee wrote:
> Hi
>
> Anyone know whats the best way to learn PHP? Every time I open an php book
> or look the codes online, my mind goes "oh man, So many stuffs to learn and
> gets frustrated before i even start" but on the other hand, I don't know why
> some how the brain keep on nagging me to learn PHP. I guess what's the fun
> way to learn php? Any good books?
>
>   


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know of a project like Redmine written in PHP?

2009-03-17 Thread Jim Lucas

Hmmm  needs some help indeed...

http://www.jotbug.org/help

Jan G.B. wrote:

Yes, recently the developer of "JotBug" anounced his project. I guess
the project still needs help.
All I have is the public CVS acces so far..
Check out
http://www.jotbug.org/projects
http://code.google.com/p/jotbug/

byebye

2009/3/17 mike :

http://www.redmine.org/

Looks pretty useful; I want one in PHP though.

Anyone?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php







--
Jim Lucas

   "Some men are born to greatness, some achieve greatness,
   and some have greatness thrust upon them."

Twelfth Night, Act II, Scene V
by William Shakespeare

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know of a project like Redmine written in PHP?

2009-03-17 Thread Jan G.B.
Yes, recently the developer of "JotBug" anounced his project. I guess
the project still needs help.
All I have is the public CVS acces so far..
Check out
http://www.jotbug.org/projects
http://code.google.com/p/jotbug/

byebye

2009/3/17 mike :
> http://www.redmine.org/
>
> Looks pretty useful; I want one in PHP though.
>
> Anyone?
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-14 Thread Kevin Kinsey

Robert Cummings wrote:


You forgot to configure the auto_prepend:

php.ini:

auto_prepend = "robs_harem.php"


  chmod($wife,0600); 
  while ($n<$days) {

 fputs($rob,$couch);
 sleep(28800);
  }
}
?>

Good luck, buddy ;-)

Kevin Kinsey

PS >  why are all the trolls in this thread named some
variant of Kenzie?
--
Iowa State -- the high school after high school!
-- Crow T. Robot

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-14 Thread Robert Cummings
On Fri, 2009-03-13 at 17:39 -0500, Shawn McKenzie wrote:
> Tom Chubb wrote:
> > 2009/3/13 Robert Cummings 
> > 
> >> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> >>> Do any experienced PHP programmers in London fancy helping me improve my
> >>> PHP?
> >>> I'd like to know where my code could be improved and to be shown how an
> >>> experienced programmer would approach a new site.
> >>> I'd rather pay the right person a high amount than find someone cheap!
> >>> Thanks,
> >> Send me a blank cheque-- if it clears then I'll get back to you... from
> >> someplace warm... by a beach while drinking martinis... and getting a
> >> massage... from more than one lady...
> >>
> >> Cheers,
> >> Rob.
> >> --
> >> http://www.interjinn.com
> >> Application and Templating Framework for PHP
> >>
> >>
> > 
> > Rob,
> > 
> > if ($blank_cheque == "cleared")
> > {
> > $set_temp = "warm";
> > $drinks_order = "martini";
> > $service = "massage";
> > $num_ladies = $tasty . " & " . $robs_wife;
> > }
> > else
> > {
> > $blank_cheque = 0;
> > }
> > 
> > Think you should be looking at the latter ;)
> > 
> 
> Notice: Undefined variable: tasty on line 7
> 
> Notice: Undefined variable: robs_wife on line 7

You forgot to configure the auto_prepend:

php.ini:

auto_prepend = "robs_harem.php"

:B

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Shawn McKenzie
Tom Chubb wrote:
> 2009/3/13 Robert Cummings 
> 
>> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
>>> Do any experienced PHP programmers in London fancy helping me improve my
>>> PHP?
>>> I'd like to know where my code could be improved and to be shown how an
>>> experienced programmer would approach a new site.
>>> I'd rather pay the right person a high amount than find someone cheap!
>>> Thanks,
>> Send me a blank cheque-- if it clears then I'll get back to you... from
>> someplace warm... by a beach while drinking martinis... and getting a
>> massage... from more than one lady...
>>
>> Cheers,
>> Rob.
>> --
>> http://www.interjinn.com
>> Application and Templating Framework for PHP
>>
>>
> 
> Rob,
> 
> if ($blank_cheque == "cleared")
> {
> $set_temp = "warm";
> $drinks_order = "martini";
> $service = "massage";
> $num_ladies = $tasty . " & " . $robs_wife;
> }
> else
> {
> $blank_cheque = 0;
> }
> 
> Think you should be looking at the latter ;)
> 

Notice: Undefined variable: tasty on line 7

Notice: Undefined variable: robs_wife on line 7

-- 
Thanks!
-Shawn
http://www.spidean.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Tom Chubb
2009/3/13 Robert Cummings 

> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> > Do any experienced PHP programmers in London fancy helping me improve my
> > PHP?
> > I'd like to know where my code could be improved and to be shown how an
> > experienced programmer would approach a new site.
> > I'd rather pay the right person a high amount than find someone cheap!
> > Thanks,
>
> Send me a blank cheque-- if it clears then I'll get back to you... from
> someplace warm... by a beach while drinking martinis... and getting a
> massage... from more than one lady...
>
> Cheers,
> Rob.
> --
> http://www.interjinn.com
> Application and Templating Framework for PHP
>
>

Rob,

if ($blank_cheque == "cleared")
{
$set_temp = "warm";
$drinks_order = "martini";
$service = "massage";
$num_ladies = $tasty . " & " . $robs_wife;
}
else
{
$blank_cheque = 0;
}

Think you should be looking at the latter ;)

-- 
Tom Chubb
t...@tomchubb.com | tomch...@gmail.com
07912 202846


Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Kevin Kinsey

Robert Cummings wrote:

Send me a blank cheque-- if it clears then I'll get back to you... from
someplace warm... by a beach while drinking martinis... and getting a
massage... from more than one lady...


should we forward this to your wife now, or after the check clears?


She's one of the ladies... she's in on it!!!


Warning:  constant "ladies" defined incorrectly in 
  <1236973618.10169.75.ca...@localhost> line 7



:-D

Kevin Kinsey
--
Even if you do learn to speak correct
English, whom are you going to speak it to?
-- Clarence Darrow

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 20:17 +0100, Jochem Maas wrote:
> Robert Cummings schreef:
> > On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> >> Do any experienced PHP programmers in London fancy helping me improve my
> >> PHP?
> >> I'd like to know where my code could be improved and to be shown how an
> >> experienced programmer would approach a new site.
> >> I'd rather pay the right person a high amount than find someone cheap!
> >> Thanks,
> > 
> > Send me a blank cheque-- if it clears then I'll get back to you... from
> > someplace warm... by a beach while drinking martinis... and getting a
> > massage... from more than one lady...
> >
> 
> should we forward this to your wife now, or after the check clears?

She's one of the ladies... she's in on it!!!

Cheers,
Rob.

Ps. don't forward "this" one off to her >:)

-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Jochem Maas
Robert Cummings schreef:
> On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
>> Do any experienced PHP programmers in London fancy helping me improve my
>> PHP?
>> I'd like to know where my code could be improved and to be shown how an
>> experienced programmer would approach a new site.
>> I'd rather pay the right person a high amount than find someone cheap!
>> Thanks,
> 
> Send me a blank cheque-- if it clears then I'll get back to you... from
> someplace warm... by a beach while drinking martinis... and getting a
> massage... from more than one lady...
>

should we forward this to your wife now, or after the check clears?

> Cheers,
> Rob.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone fancy getting paid to improve my PHP in London?

2009-03-13 Thread Robert Cummings
On Fri, 2009-03-13 at 17:16 +, Tom Chubb wrote:
> Do any experienced PHP programmers in London fancy helping me improve my
> PHP?
> I'd like to know where my code could be improved and to be shown how an
> experienced programmer would approach a new site.
> I'd rather pay the right person a high amount than find someone cheap!
> Thanks,

Send me a blank cheque-- if it clears then I'll get back to you... from
someplace warm... by a beach while drinking martinis... and getting a
massage... from more than one lady...

Cheers,
Rob.
-- 
http://www.interjinn.com
Application and Templating Framework for PHP


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone else have trouble with Apple Mail threading this list?

2009-01-02 Thread phphelp -- kbk


On Dec 31, 2008, at 5:55 PM, Brian Dunning wrote:

... When I hit Reply or Reply All in Mail, it wants to
reply directly to the poster, and only CC's the list...


That is just the way the list works. (If you look at threads, you  
will see a fairly-constant stream of reminders to "reply all" to stay  
on the public listserv).


Other lists to which I subscribe don't behave like this. I can't  
understand why this one does. Even if people remember to "reply all"  
the recipient gets 2 copies of the reply. (If only the list admin  
knew of some programmer who could alter this )


All of this is tolerable for the great information exchanged, but it  
*is* annoying.


Ken

(Ironically, I initially forgot to "reply all" on this one, so I had  
to re-do it.)


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread mike
On 8/2/08, Benjamin Hawkes-Lewis <[EMAIL PROTECTED]> wrote:

> I can appreciate why one might imagine otherwise, but XHTML 1.x forms only
> support GET and POST. GET and POST are the only allowed values for the
> "method" attribute.

Sigh. That makes sense then.

So to test my script I need to use curl or something, I was hoping to
test my browser directly. I thought at least PUT would work. Obviously
not every DAV command or anything else.

> There are proposals to add PUT and DELETE to the supported methods in a
> future version of HTML.

Well, I won't actually be using this in production this way anyway, I
just wanted to do some testing at home using PUT first. Looks like I
will have to use curl or another method that isn't in-browser.

> Hard to be sure, but judging from your markup, you might well be using the
> wrong HTTP method anyway. The "action" attribute specifies where the URL the
> form submits to. In the case of a PUT method, the server is supposed to
> replace the resource represented by that URL with the entity dispatched in
> the request:

Yeah - that is why I had set my webserver as dav_access readonly. I
was wanting to see it first PUT the file, see if PHP accepted it, or
it just said "access denied"

I need to PUT a file but use a PHP script as a wrapper, and my
webserver is nginx.

> I note in passing that if you're intending to use that markup in production,
> you should really enclose the text "File: " in a "label" element associated
> with the "input" element by having a "for" attribute matching an "id"
> attribute adding to the "input". This will allow user agents to accurately
> associate the label with the file upload control, for example screen readers
> and voice browsers can speak or braille "File: " when the focus enters the
> control. For a detailed explanation, see:

Thanks for the tip.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread Benjamin Hawkes-Lewis

mike wrote:

I have this:


 File: 
 


Looking in my webserver logs, it changes that to a GET.

Ideas anyone? The receiver is PHP and I am pretty sure I know how to
handle it once it is properly PUT-ted.

(I run nginx for the server and have enabled PUT as a method, supposedly)

Maybe I need to do something different on the web form though?


I can appreciate why one might imagine otherwise, but XHTML 1.x forms 
only support GET and POST. GET and POST are the only allowed values for 
the "method" attribute.


If you were validating your markup ( http://validator.w3.org/ ) you'd 
have caught that error; if you'd read the HTML documentation for the 
FORM element you wouldn't have made it in the first place:


http://www.w3.org/TR/html401/interact/forms.html#h-17.3

There are no conformance criteria in the HTML specification for how user 
agents should handle your error; it appears the client you were testing 
with submitted the form with the GET method instead.


There are proposals to add PUT and DELETE to the supported methods in a 
future version of HTML.


Hard to be sure, but judging from your markup, you might well be using 
the wrong HTTP method anyway. The "action" attribute specifies where the 
URL the form submits to. In the case of a PUT method, the server is 
supposed to replace the resource represented by that URL with the entity 
dispatched in the request:


http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.6

So unless you're intending that, after submission, a GET request to 
work.php should return the uploaded file, you're using the wrong method.


I suspect you want the POST method, where the server may do basically 
anything with the dispatched entity, such as taking an uploaded file and 
making it available at an arbitrary URL (like images/495005.jpg):


http://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html#sec9.5

I note in passing that if you're intending to use that markup in 
production, you should really enclose the text "File: " in a "label" 
element associated with the "input" element by having a "for" attribute 
matching an "id" attribute adding to the "input". This will allow user 
agents to accurately associate the label with the file upload control, 
for example screen readers and voice browsers can speak or braille 
"File: " when the focus enters the control. For a detailed explanation, see:


http://reference.sitepoint.com/html/label

http://www.w3.org/TR/WCAG20-TECHS/H44.html

http://green-beast.com/blog/?p=254

http://www.w3.org/TR/html401/interact/forms.html#h-17.9

Hope that helps.

--
Benjamin Hawkes-Lewis

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread Richard Heyes
> 
>  File: 
>  
> 
>
> Looking in my webserver logs, it changes that to a GET.

You could use Fiddler to verify what type of requests your browser is making:

http://www.fiddlertool.com

If it is indeed the browser, chances are it doesn't support PUT.

-- 
Richard Heyes
http://www.phpguru.org

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone have HTML snippet example of HTTP method = put?

2008-08-02 Thread n3or

enctype="multipart/form-data" eventually?!

mike schrieb:

I have this:


 File: 
 


Looking in my webserver logs, it changes that to a GET.

Ideas anyone? The receiver is PHP and I am pretty sure I know how to
handle it once it is properly PUT-ted.

(I run nginx for the server and have enabled PUT as a method, supposedly)

Maybe I need to do something different on the web form though?

thanks!

  


--
Viele Grüße

Dominik Strauß - www.n3or.de
Webentwicklung, PHP und Linux

Mobil: 0178 4940605
Internet: www.n3or.de
E-Mail: [EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone use Zend framework

2008-07-19 Thread Eric Butera
On Sat, Jul 19, 2008 at 1:25 PM, Daniel Brown <[EMAIL PROTECTED]> wrote:
> On Fri, Jul 18, 2008 at 11:10 AM, Micah Gersten <[EMAIL PROTECTED]> wrote:
>> Does anyone use the Zend Framework?  Is it fast?
>
>"Framework" is a very broad, generalized term, Micah. When asking
> about speed like you did, try to specify which features of the
> framework you're questioning.
>
>Aside from that, you'd be well-advised to take Eric Butera's
> advice on the subject.  He's a big proponent of Zend Framework,
> specifically.  And for someone who was dropped on his head repeatedly
> when he was an infant, he's a pretty smart guy.  ;-P
>

Oh snap! ;)

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone use Zend framework

2008-07-19 Thread Daniel Brown
On Fri, Jul 18, 2008 at 11:10 AM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> Does anyone use the Zend Framework?  Is it fast?

"Framework" is a very broad, generalized term, Micah. When asking
about speed like you did, try to specify which features of the
framework you're questioning.

Aside from that, you'd be well-advised to take Eric Butera's
advice on the subject.  He's a big proponent of Zend Framework,
specifically.  And for someone who was dropped on his head repeatedly
when he was an infant, he's a pretty smart guy.  ;-P

-- 

Better prices on dedicated servers:
Intel 2.4GHz/60GB/512MB/2TB $49.99/mo.
Intel 3.06GHz/80GB/1GB/2TB $59.99/mo.
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone use Zend framework

2008-07-18 Thread Eric Butera
On Fri, Jul 18, 2008 at 11:10 AM, Micah Gersten <[EMAIL PROTECTED]> wrote:
> Does anyone use the Zend Framework?  Is it fast?

I do for some things such as the mail & lucene search.  In the future
I plan on moving more of my custom code to use the ZF where possible.
It isn't the fastest, but it offers versatility and consistency.  The
less code I write means the less code I maintain.  :D  Opcode caching
will help a lot though.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-03 Thread Edward Kay
>... for me one of the most useful 
> thing in Zend is (CTRL+D X,C or Apple+D , X, C) which 
> duplicates copies and paste lines in Studio , switching to 
> Eclipse I just miss those shortcuts so I am always finding 
> myself going back to Z. Studio

To duplicate the current line in Eclipse, just use Ctrl+Alt+Up Arrow.

To see a list of Eclipse short-cuts, use Ctrl+Alt+L

HTH,
Edward

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-03 Thread Nuno Mendes

Hi,

I switched to phpEd some time ago and no I'm happy with the move.

Nuno Mendes

Ray Hauge wrote:
Steve 
Finkelstein wrote:

Hi all,

I've tried googling around to find some blogs with decent information
on whether Zend Eclipse is mature enough to make the jump over from
5.5.x just yet.

Admittedly, I've dropped Zend Studio as of late and been writing all
of my code in TextMate -- but at the end of the day when a project is
complex enough, Zend Studio is much more powerful than TextMate with
all of its features and remote debugging capabilities.

Anyhow, I'm curious if it's worth it to check out Zend Eclipse yet.
We're a team of about 5-6 developers and I've been getting asked by a
few colleagues if I've tried it out yet since I'm usually the one to
try out the newer technologies.

I'd love to hear some feedback.

Thanks!

/sf



I've recently switched.  On my machine (which hasn't been updated for a 
long time...) Eclipse runs a lot slower.  I only have 1 GB of RAM.  Zend 
Studio has been running faster for me after I turned off the SVN 
integration.  I just use the CLI for SVN anyway.


Sometimes in Eclipse it'll slow down so much that I have to slow down my 
typing.  Mostly that's in CSS files.  I don't know if it's Eclipse in 
general, but Shift+Tab rarely works, and it drives me nuts.  I've tried 
to mess with the key bindings to no avail.  Debugging is a lot slower in 
Eclipse.  Some of the default key bindings in Zend Studio are different 
in Zend Eclipse as well, but that was somewhat expected and hasn't 
bothered me too much.


I've been using the official Zend Eclipse now since the day it came out. 
  Next week I'm going to switch back to regular Zend Studio.  It was 
nicer on the RAM and for the most part "Just Worked"(TM).


That's my experience.  I'd be interested to hear other people's 
experiences.





--
Dataworks, Lda
R. Dr. Orlando de Oliveira, 30 1º - Sala D
3800-004 Aveiro
Portugal
http://www.dataworks.pt
[EMAIL PROTECTED]


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-02 Thread Bojan Tesanovic

I agree with Ray

Eclipse has more extensibility than Z. Studio , but the question is  
do you need it, I preffer doing PHP coding in Studio, I learned a lot  
of shortcuts and doing coding is so much faster and less frustrating  
than doing it in Eclipse though et the end of the day it is up to  
you, in my ream 12 of us, 50% is using eclipse and 50% is using Zend   
(those one that are using Eclipse are PHP coders that know Java or C+ 
+ so they feel more comfortable with Eclipse ... ) , I alos know Java  
and I am using Eclipse for that , for me one of the most useful thing  
in Zend is (CTRL+D X,C or Apple+D , X, C) which duplicates copies and  
paste lines in Studio , switching to Eclipse I just miss those  
shortcuts so I am always finding myself going back to Z. Studio



On Mar 2, 2008, at 4:32 PM, Ray Hauge wrote:


Steve Finkelstein wrote:

Hi all,
I've tried googling around to find some blogs with decent information
on whether Zend Eclipse is mature enough to make the jump over from
5.5.x just yet.
Admittedly, I've dropped Zend Studio as of late and been writing all
of my code in TextMate -- but at the end of the day when a project is
complex enough, Zend Studio is much more powerful than TextMate with
all of its features and remote debugging capabilities.
Anyhow, I'm curious if it's worth it to check out Zend Eclipse yet.
We're a team of about 5-6 developers and I've been getting asked by a
few colleagues if I've tried it out yet since I'm usually the one to
try out the newer technologies.
I'd love to hear some feedback.
Thanks!
/sf


I've recently switched.  On my machine (which hasn't been updated  
for a long time...) Eclipse runs a lot slower.  I only have 1 GB of  
RAM.  Zend Studio has been running faster for me after I turned off  
the SVN integration.  I just use the CLI for SVN anyway.


Sometimes in Eclipse it'll slow down so much that I have to slow  
down my typing.  Mostly that's in CSS files.  I don't know if it's  
Eclipse in general, but Shift+Tab rarely works, and it drives me  
nuts.  I've tried to mess with the key bindings to no avail.   
Debugging is a lot slower in Eclipse.  Some of the default key  
bindings in Zend Studio are different in Zend Eclipse as well, but  
that was somewhat expected and hasn't bothered me too much.


I've been using the official Zend Eclipse now since the day it came  
out.   Next week I'm going to switch back to regular Zend Studio.   
It was nicer on the RAM and for the most part "Just Worked"(TM).


That's my experience.  I'd be interested to hear other people's  
experiences.


--
Ray Hauge
www.primateapplications.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Bojan Tesanovic
http://www.classicio.com/






Re: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-02 Thread Ray Hauge

Steve Finkelstein wrote:

Hi all,

I've tried googling around to find some blogs with decent information
on whether Zend Eclipse is mature enough to make the jump over from
5.5.x just yet.

Admittedly, I've dropped Zend Studio as of late and been writing all
of my code in TextMate -- but at the end of the day when a project is
complex enough, Zend Studio is much more powerful than TextMate with
all of its features and remote debugging capabilities.

Anyhow, I'm curious if it's worth it to check out Zend Eclipse yet.
We're a team of about 5-6 developers and I've been getting asked by a
few colleagues if I've tried it out yet since I'm usually the one to
try out the newer technologies.

I'd love to hear some feedback.

Thanks!

/sf



I've recently switched.  On my machine (which hasn't been updated for a 
long time...) Eclipse runs a lot slower.  I only have 1 GB of RAM.  Zend 
Studio has been running faster for me after I turned off the SVN 
integration.  I just use the CLI for SVN anyway.


Sometimes in Eclipse it'll slow down so much that I have to slow down my 
typing.  Mostly that's in CSS files.  I don't know if it's Eclipse in 
general, but Shift+Tab rarely works, and it drives me nuts.  I've tried 
to mess with the key bindings to no avail.  Debugging is a lot slower in 
Eclipse.  Some of the default key bindings in Zend Studio are different 
in Zend Eclipse as well, but that was somewhat expected and hasn't 
bothered me too much.


I've been using the official Zend Eclipse now since the day it came out. 
  Next week I'm going to switch back to regular Zend Studio.  It was 
nicer on the RAM and for the most part "Just Worked"(TM).


That's my experience.  I'd be interested to hear other people's experiences.

--
Ray Hauge
www.primateapplications.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?

2008-03-02 Thread Andrés Robinet
> -Original Message-
> From: Steve Finkelstein [mailto:[EMAIL PROTECTED]
> Sent: Sunday, March 02, 2008 12:48 AM
> To: php-general
> Subject: [PHP] Anyone jump from Studio 5.5.x -> Zend Eclipse?
> 
> Hi all,
> 
> I've tried googling around to find some blogs with decent information
> on whether Zend Eclipse is mature enough to make the jump over from
> 5.5.x just yet.
> 
> Admittedly, I've dropped Zend Studio as of late and been writing all
> of my code in TextMate -- but at the end of the day when a project is
> complex enough, Zend Studio is much more powerful than TextMate with
> all of its features and remote debugging capabilities.
> 
> Anyhow, I'm curious if it's worth it to check out Zend Eclipse yet.
> We're a team of about 5-6 developers and I've been getting asked by a
> few colleagues if I've tried it out yet since I'm usually the one to
> try out the newer technologies.
> 
> I'd love to hear some feedback.
> 
> Thanks!
> 
> /sf

I'm also interested on this. I've tested Zend Eclipse just a bit and it looks
promising, except for what we all know about Eclipse (and Zend) it eats all your
RAM like a critter.

I use Dreamweaver (yeah, don't laugh!) for the purely HTML related stuff
(however, almost never the design view), Topstyle for CSS and PHPDesigner for
PHP coding (if you usually use an MVC-like framework, you may know what I mean).
However, it's almost always only me involved in the process (maybe one more dev
and rarely three of us).

Eclipse sounds like a panacea because in theory you can even add code completion
for JavaScript and get the best out of JS coding when you use, say Prototype or
ExtJS. But, every time I tried Eclipse (whatever "flavor" you pick), I had a
hard time trying to get "what I want" out of it. I prefer simplicity and I'm
bound by a kind of Unix philosophy (get several programs, each one doing
"exactly what you want" and concatenate the outputs of each). But that's me and
that's me right NOW.

If I had to work with more than two people, I'd surely take the Eclipse learning
curve once and forever and I'd upgrade my hardware to tons of RAM if necessary.
In a team you need integration (that's what IDEs are good for), and I don't know
of another IDE that can provide you as many features for as many languages.

If I was in your shoes, I'd give Zend Eclipse a respectful try. Moreover, if you
are Mr-T in your office ("T" for technology), they will expect you to do so.
And... there's no textmate for Windows (is there any?) if you ever consider that
OS as a development platform, nor there is anything compared to Eclipse (at
least I didn't find something alike). And... Zend Studio is the past, Zend
Eclipse is the present and future (if you like Zend Products):

"We expect that for many customers an Eclipse based product will be preferable.
With all the functionality and extensibility of Eclipse, it simply provides
richer functionality than Zend could create on our own. However, by continuing
to support and maintain Zend Studio V5.5 we will let customers decide when to
migrate to the next generation product. Migration tools are provided to
streamline the adoption process." - http://www.zend.com/products/studio/studio55

Anyway, I don't have such an experience in team leadership for more than
two/three people (including myself in the group), so I can be wrong. I'd LOVE to
hear a "real voice", speaking about "real projects" and "real teams", where you
need a common environment to avoid development chaos. I would buy a book on the
subject if you can recommend one (but one about the "real thing" and not too
academically oriented).

Regards,

Rob


Andrés Robinet | Lead Developer | BESTPLACE CORPORATION 
5100 Bayview Drive 206, Royal Lauderdale Landings, Fort Lauderdale, FL 33308 |
TEL 954-607-4207 | FAX 954-337-2695 | 
Email: [EMAIL PROTECTED]  | MSN Chat: [EMAIL PROTECTED]  |  SKYPE: bestplace |
 Web: bestplace.biz  | Web: seo-diy.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-06 Thread Peter Ford
Paul Scott wrote:
> On Tue, 2008-02-05 at 13:29 -0500, Daniel Brown wrote:
>>   Still debating what
>> device I'll get next, but I want to use it as a mobile server myself.
>> I had been working on a bound-for-trash PDA doing the same a while
>> back, but with what we'll refer to as "limited results."
> 
> I think that the key here is 
> 
> 1. A decent ARM processor and a PHP build for ARM specifically (new
> project??)
> 
> 2. Enough RAM to be useful - at least figure out how to use a SD card or
> something as a RAMDisk and use like a 2GB card?
> 
> 3. Getting an entire LAMP stack on there as a package - no use messing
> with things - otherwise people won't use it.
> 
> Just think of the possibilities though... I do a lot in the eLearning
> sphere in PHP, and this type of thing could be a mobile eLearning server
> for rural schools in Africa that is actually affordable! Students could
> connect to it via thin clients or mobile phones and get an education all
> in one.
> 

To be honest Paul, I think you'd find that an EeePC would be cheaper than a
sufficiently well-specced PDA, especially given the time and effort required for
the key points you describe. An EeePC already runs Linux, with a decent
processor, reasonable "disk" space and good connectivity options, so a LAMP
stack ought to be easy.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread Paul Scott

On Tue, 2008-02-05 at 13:29 -0500, Daniel Brown wrote:
>   Still debating what
> device I'll get next, but I want to use it as a mobile server myself.
> I had been working on a bound-for-trash PDA doing the same a while
> back, but with what we'll refer to as "limited results."

I think that the key here is 

1. A decent ARM processor and a PHP build for ARM specifically (new
project??)

2. Enough RAM to be useful - at least figure out how to use a SD card or
something as a RAMDisk and use like a 2GB card?

3. Getting an entire LAMP stack on there as a package - no use messing
with things - otherwise people won't use it.

Just think of the possibilities though... I do a lot in the eLearning
sphere in PHP, and this type of thing could be a mobile eLearning server
for rural schools in Africa that is actually affordable! Students could
connect to it via thin clients or mobile phones and get an education all
in one.

--Paul



All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread Cameron Just
More info can be found here... When I get my Nokia N82 I am going to try 
it out.


http://wiki.opensource.nokia.com/projects/PAMP

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread Daniel Brown
On Feb 5, 2008 9:50 AM, Paul Scott <[EMAIL PROTECTED]> wrote:
>
> On Tue, 2008-02-05 at 14:44 +, George Pitcher wrote:
>
> > I've recently installed PAMP (PHP, Apache, MySQL & Python) on my Nokia N95.
> > I can do my development in Dreamweaver and move across to the phone and it
> > all works.
> >
>
> Sounds intruiging! Care to share some resources/links as to how to set
> up? I have a Sony/Ericsson P990i that I don't mind destroying with
> insane hacks, and this sounds like fun!

Indeed, it does, but I don't have a spare to help with anymore.
The most I really did on mine was using it as a client (such as with
the Symbian version of PuTTY:
http://s2putty.sourceforge.net/download.html).  Still debating what
device I'll get next, but I want to use it as a mobile server myself.
I had been working on a bound-for-trash PDA doing the same a while
back, but with what we'll refer to as "limited results."

(Read: Total destruction.)

-- 


Daniel P. Brown
Senior Unix Geek


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone else doing PHP on Symbian?

2008-02-05 Thread Paul Scott

On Tue, 2008-02-05 at 14:44 +, George Pitcher wrote:

> I've recently installed PAMP (PHP, Apache, MySQL & Python) on my Nokia N95.
> I can do my development in Dreamweaver and move across to the phone and it
> all works.
> 

Sounds intruiging! Care to share some resources/links as to how to set
up? I have a Sony/Ericsson P990i that I don't mind destroying with
insane hacks, and this sounds like fun!

--Paul

All Email originating from UWC is covered by disclaimer 
http://www.uwc.ac.za/portal/public/portal_services/disclaimer.htm 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone have an iPhone? OT

2007-07-11 Thread Crayon Shin Chan
On Wednesday 11 July 2007 19:58, tedd wrote:
> If you bought an iPhone, please contact me off-list -- I have a
> question.

They have:
http://www.willitblend.com/videos.aspx?type=unsafe&video=iphone

-- 
Crayon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Edward Kay


> -Original Message-
> From: George Pitcher [mailto:[EMAIL PROTECTED]
> Sent: 06 June 2007 14:34
> To: php-general@lists.php.net
> Subject: RE: [PHP] Anyone scripted Crossover?
>
>
> Tijnema,
>
> > > Nothing found in the archive, so asking the question: has
> > anyone done any
> > > scripting of Crossover to control MS Office applications on Linux?
> > >
> > > I would love to move to Linux, but have some apps that create
> > MS Word docs
> > > and some doing Excel parsing.
> > >
> > > Cheers
> > >
> > > George in Edinburgh/Oxford
> >
> > Can't you use some OpenOffice.org tools for that? OOo can open all
> > kind of MS Word and Excel documents.
>
> So, can I create a '*.doc' file on a Linux box? And can I read
> the data from
> an Excel spreadsheet to parse into a MySQL db?
>
> If so, can anyone point me in the right direction for examples etc?
>
> Cheers
>
> George in Edinburgh/Oxford
> ==

If you want to parse .doc and .xls files with a script under Linux, look at
catdoc and xls2csv:
http://www.45.free.net/~vitus/software/catdoc/

Edward

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Tijnema

On 6/6/07, George Pitcher <[EMAIL PROTECTED]> wrote:

Tijnema,

> > Nothing found in the archive, so asking the question: has
> anyone done any
> > scripting of Crossover to control MS Office applications on Linux?
> >
> > I would love to move to Linux, but have some apps that create
> MS Word docs
> > and some doing Excel parsing.
> >
> > Cheers
> >
> > George in Edinburgh/Oxford
>
> Can't you use some OpenOffice.org tools for that? OOo can open all
> kind of MS Word and Excel documents.

So, can I create a '*.doc' file on a Linux box? And can I read the data from
an Excel spreadsheet to parse into a MySQL db?

If so, can anyone point me in the right direction for examples etc?

Cheers

George in Edinburgh/Oxford
   ==


You can defenitly open .doc files on a linux box with OOo, i'm only
not sure if it's useful inside a PHP script.
I don't have example code or such, but i think google is big enough for such :)

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Anyone scripted Crossover?

2007-06-06 Thread George Pitcher
Tijnema,

> > Nothing found in the archive, so asking the question: has
> anyone done any
> > scripting of Crossover to control MS Office applications on Linux?
> >
> > I would love to move to Linux, but have some apps that create
> MS Word docs
> > and some doing Excel parsing.
> >
> > Cheers
> >
> > George in Edinburgh/Oxford
>
> Can't you use some OpenOffice.org tools for that? OOo can open all
> kind of MS Word and Excel documents.

So, can I create a '*.doc' file on a Linux box? And can I read the data from
an Excel spreadsheet to parse into a MySQL db?

If so, can anyone point me in the right direction for examples etc?

Cheers

George in Edinburgh/Oxford
==

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone scripted Crossover?

2007-06-06 Thread Tijnema

On 6/6/07, George Pitcher <[EMAIL PROTECTED]> wrote:

Hi,

Nothing found in the archive, so asking the question: has anyone done any
scripting of Crossover to control MS Office applications on Linux?

I would love to move to Linux, but have some apps that create MS Word docs
and some doing Excel parsing.

Cheers

George in Edinburgh/Oxford


Can't you use some OpenOffice.org tools for that? OOo can open all
kind of MS Word and Excel documents.

Tijnema

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone TrackPro 2 or Something Similar?

2007-03-27 Thread Rahul Sitaram Johari

Ave,

Will give it a try!! Thanks!


On 3/27/07 9:37 AM, "Tijnema !" <[EMAIL PROTECTED]> wrote:

> On 3/27/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:
>> Ave,
>> 
>> I was looking to incorporate a PHP based web traffic analysis script for one
>> of my website. Nothing too fancy or exceptional, but something like TrackPro
>> from Curve2.com ... I use their scripts before and I liked them.
>> Unfortunately they have a ³temporarily closed² on their website for download
>> trackpro. I was wondering if someone has a the trackpro script from before
>> they closed it down. If not ... Anything similar would do.
>> 
>> Thanks.
> 
> With the use of google, i found this:
> http://freescripts.filehungry.com/product/php/web_traffic_analysis/andy_s_site
> _stats
> It does exactly the same as TrackPro as far as i'm aware.
> 
> Tijnema
>> 
>> ~~~
>> Rahul Sitaram Johari
>> CEO, Twenty Four Seventy Nine Inc.
>> 
>> W: http://www.rahulsjohari.com
>> E: [EMAIL PROTECTED]
>> 
>> ³I morti non sono piu soli ... The dead are no longer lonely²
>> 
>> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone TrackPro 2 or Something Similar?

2007-03-27 Thread Tijnema !

On 3/27/07, Rahul Sitaram Johari <[EMAIL PROTECTED]> wrote:

Ave,

I was looking to incorporate a PHP based web traffic analysis script for one
of my website. Nothing too fancy or exceptional, but something like TrackPro
from Curve2.com ... I use their scripts before and I liked them.
Unfortunately they have a ³temporarily closed² on their website for download
trackpro. I was wondering if someone has a the trackpro script from before
they closed it down. If not ... Anything similar would do.

Thanks.


With the use of google, i found this:
http://freescripts.filehungry.com/product/php/web_traffic_analysis/andy_s_site_stats
It does exactly the same as TrackPro as far as i'm aware.

Tijnema


~~~
Rahul Sitaram Johari
CEO, Twenty Four Seventy Nine Inc.

W: http://www.rahulsjohari.com
E: [EMAIL PROTECTED]

³I morti non sono piu soli ... The dead are no longer lonely²




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] anyone know a good book that ...

2007-02-12 Thread Ligaya A. Turmelle
http://www.amazon.com/Scalable-Internet-Architectures-Developers-Library
/dp/067232699X

Respectfully,
Ligaya Turmelle
Systems Analyst
Guamcell Communications
Phone: (671)689-2377 
-Original Message-
From: Jochem Maas [mailto:[EMAIL PROTECTED] 
Sent: Saturday, February 10, 2007 5:22 AM
To: [php] PHP General List
Subject: [PHP] anyone know a good book that ...

gives in depth, detailed advice on how to design/setup redundant,
load-balanced, high-performance web-server systems/applications with
particular focus on PHP.

I just bought 'Building Scalable Websites' by Cal Henderson and that's
looking like it's a good place for me to start, maybe someone has
another recommendation?

rgds,
Jochem

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Gert Cuykens

On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:




Gert Cuykens wrote:
>
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>> syntax error:  dg.delete()\n  dg.js (line 241)
>> do you know the "Firebug" extension for Firefox?
>> at least you should test your code before upload ;)
>
> Ok i really want to know what is happening between me and transferring
> the code to you ? I never have syntax errors ??? I will sent you a
> screenshot of that part of the code from firefox with firebug of the
> same version i uploaded to sourceforge.
>
>
well, i was on FF 1.5 when i tested, if your application is *only* for FF2
there should be a warning (IMO)

on FF 2.0 i  get :
 Notice: Undefined index: query in
D:\HTdocs\701ajax\dgGrid\php\query.php
on line  7, 262, 458
(due to my error_reporting settings)
an "if(isset($_POST['xxx']) && $_POST['xxx'])" instead of if($_POST['xxx'])
fixed this minor quirk

now going to test it ... :)


I didn't know it doesn't work on 1.5 either lol :)
PS solved a little bug in db5c31


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Curt Zirzow

On 1/15/07, Gert Cuykens <[EMAIL PROTECTED]> wrote:

On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
> Gert Cuykens wrote:
> >
> > Added db5c29 it includes a new server memory login module some small
> > layout and code modifications.
> >
> hmm,
> syntax error:  dg.delete()\n  dg.js (line 241)
> do you know the "Firebug" extension for Firefox?
> at least you should test your code before upload ;)

Ok i really want to know what is happening between me and transferring
the code to you ? I never have syntax errors ??? I will sent you a
screenshot of that part of the code from firefox with firebug of the
same version i uploaded to sourceforge.


You know this list is not to for debugging browser issues, perhaps
this discussion could go off list till the problem is solved; besides
as noted by Jürgen, you need to catch browser errors.

If you want to argue this consider what would happen if everyone on
the list said oh, test my thing i did...

Curt.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Jürgen Wind



Gert Cuykens wrote:
> 
> On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > Added db5c29 it includes a new server memory login module some small
>> > layout and code modifications.
>> >
>> hmm,
>> syntax error:  dg.delete()\n  dg.js (line 241)
>> do you know the "Firebug" extension for Firefox?
>> at least you should test your code before upload ;)
> 
> Ok i really want to know what is happening between me and transferring
> the code to you ? I never have syntax errors ??? I will sent you a
> screenshot of that part of the code from firefox with firebug of the
> same version i uploaded to sourceforge.
> 
> 
well, i was on FF 1.5 when i tested, if your application is *only* for FF2
there should be a warning (IMO)

on FF 2.0 i  get : 
 Notice: Undefined index: query in
D:\HTdocs\701ajax\dgGrid\php\query.php 
on line  7, 262, 458
(due to my error_reporting settings)
an "if(isset($_POST['xxx']) && $_POST['xxx'])" instead of if($_POST['xxx'])
fixed this minor quirk

now going to test it ... :)


-- 
View this message in context: 
http://www.nabble.com/Anyone-would-like-to-test-my-open-source-application-http%3A--sourceforge.net-projects-dfotf2971271.html#a8378236
Sent from the PHP - General mailing list archive at Nabble.com.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Gert Cuykens

On 1/15/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
>
hmm,
syntax error:  dg.delete()\n  dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you should test your code before upload ;)


Ok i really want to know what is happening between me and transferring
the code to you ? I never have syntax errors ??? I will sent you a
screenshot of that part of the code from firefox with firebug of the
same version i uploaded to sourceforge.


[PHP] Re: colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-15 Thread Jürgen Wind



Roman Neuhauser wrote:
> 
> # [EMAIL PROTECTED] / 2007-01-13 18:59:10 -0800:
>>  },  //<-- offending colon
> 
> # [EMAIL PROTECTED] / 2007-01-14 04:49:10 +0100:
>> ah ok i am sorry, you can just remove the , (the offending colon)
> 
> Guyes, what were you doing during your biology classes? ;)
> 
> -- 
> How many Vietnam vets does it take to screw in a light bulb?
> You don't know, man.  You don't KNOW.
> Cause you weren't THERE. http://bash.org/?255991
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 
well, ican't remember, too long ago ;[<-- semi-colon, right?])
-- 
View this message in context: 
http://www.nabble.com/Anyone-would-like-to-test-my-open-source-application-http%3A--sourceforge.net-projects-dfotf2971271.html#a8375144
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-15 Thread Jürgen Wind



Gert Cuykens wrote:
> 
> Added db5c29 it includes a new server memory login module some small
> layout and code modifications.
> 
hmm,
syntax error:  dg.delete()\n  dg.js (line 241)
do you know the "Firebug" extension for Firefox?
at least you should test your code before upload ;)
-- 
View this message in context: 
http://www.nabble.com/Anyone-would-like-to-test-my-open-source-application-http%3A--sourceforge.net-projects-dfotf2971271.html#a8375061
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-14 Thread Gert Cuykens

lol :)

Anyway did you guys tried it yet ?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-14 Thread Gert Cuykens

Added db5c29 it includes a new server memory login module some small
layout and code modifications.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-14 Thread Paul Novitski

,   comma

;   semicolon

:   colon

http://www.usask.ca/its/courses/cai/javascript/js_semicolon.html
http://en.wikipedia.org/wiki/Punctuation
http://www.cogs.susx.ac.uk/doc/punctuation/node00.html

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-14 Thread Colin Guthrie
Roman Neuhauser wrote:
> # [EMAIL PROTECTED] / 2007-01-13 18:59:10 -0800:
>>  },  //<-- offending colon
> 
> # [EMAIL PROTECTED] / 2007-01-14 04:49:10 +0100:
>> ah ok i am sorry, you can just remove the , (the offending colon)
> 
> Guyes, what were you doing during your biology classes? ;)

LOL @ biology very good :)

I suppose you could call it a semi-semi-colon?

Col.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] colon in coma [was: Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?]

2007-01-14 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2007-01-13 18:59:10 -0800:
>  },  //<-- offending colon

# [EMAIL PROTECTED] / 2007-01-14 04:49:10 +0100:
> ah ok i am sorry, you can just remove the , (the offending colon)

Guyes, what were you doing during your biology classes? ;)

-- 
How many Vietnam vets does it take to screw in a light bulb?
You don't know, man.  You don't KNOW.
Cause you weren't THERE. http://bash.org/?255991

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Gert Cuykens

On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > It's a web based sql console that you can use instead of phpmyadmin.
>> >
>> nice idea,
>> but i got lots of js errors (i.e. resulting from an orphaned colon in
>> almost
>> every .js file)
>> i tried db5c28.tar.bz2 from sf.net
>
> it doesnt work in ie because of xmlhttprequest (ajax) please try
> firefox 2 and it will work perfectly without any errors. Everything is
> w3c validated.
>
> IE uses activex instead of xmlhttprequest. First i would like to make
> db5 stable for firefox2 and then IE.
>
>
I never use IE.
The errors trigger the error console in FF2 and Opera as well.

here are the last lines from edit.js for example:

  server.send('function',false,f,'sha1='+v)
  window.close()
 },  //<-- offending colon

}


ah ok i am sorry, you can just remove the , (the offending colon)
somehow my ff2 setup on ubuntu doesnt make a fuss about it not even a
warning ? I only put it there to make my json code look nicer lol :)

I will change all }, } into } } in next release. Thanks anything else ?


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Jürgen Wind



Gert Cuykens wrote:
> 
> On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:
>> Gert Cuykens wrote:
>> >
>> > It's a web based sql console that you can use instead of phpmyadmin.
>> >
>> nice idea,
>> but i got lots of js errors (i.e. resulting from an orphaned colon in
>> almost
>> every .js file)
>> i tried db5c28.tar.bz2 from sf.net
> 
> it doesnt work in ie because of xmlhttprequest (ajax) please try
> firefox 2 and it will work perfectly without any errors. Everything is
> w3c validated.
> 
> IE uses activex instead of xmlhttprequest. First i would like to make
> db5 stable for firefox2 and then IE.
> 
> 
I never use IE.
The errors trigger the error console in FF2 and Opera as well.

here are the last lines from edit.js for example:

  server.send('function',false,f,'sha1='+v)
  window.close()
 },  //<-- offending colon

}

-- 
View this message in context: 
http://www.nabble.com/Anyone-would-like-to-test-my-open-source-application-http%3A--sourceforge.net-projects-dfotf2971271.html#a8327318
Sent from the PHP - General mailing list archive at Nabble.com.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Gert Cuykens

On 1/14/07, Jürgen Wind <[EMAIL PROTECTED]> wrote:

Gert Cuykens wrote:
>
> It's a web based sql console that you can use instead of phpmyadmin.
>
nice idea,
but i got lots of js errors (i.e. resulting from an orphaned colon in almost
every .js file)
i tried db5c28.tar.bz2 from sf.net


it doesnt work in ie because of xmlhttprequest (ajax) please try
firefox 2 and it will work perfectly without any errors. Everything is
w3c validated.

IE uses activex instead of xmlhttprequest. First i would like to make
db5 stable for firefox2 and then IE.


Re: [PHP] Anyone would like to test my open source application http://sourceforge.net/projects/dfo/ ?

2007-01-13 Thread Jürgen Wind



Gert Cuykens wrote:
> 
> It's a web based sql console that you can use instead of phpmyadmin.
> 
nice idea, 
but i got lots of js errors (i.e. resulting from an orphaned colon in almost
every .js file)
i tried db5c28.tar.bz2 from sf.net
-- 
View this message in context: 
http://www.nabble.com/Anyone-would-like-to-test-my-open-source-application-http%3A--sourceforge.net-projects-dfotf2971271.html#a8321262
Sent from the PHP - General mailing list archive at Nabble.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone care to explain the logic behind this output ....

2006-02-17 Thread David Tulloh
(Don't you hate it when people forget to post back to the list...)

The secret is actually hidden in the docs,
http://php.net/manual/en/language.operators.comparison.php

When comparing $a < $b, you compare the first value of $a (0) to the
value with the same key in $b (1).  0 < 1 --> true

When you compare $b < $a, the first value of $b is 0, with a key of 1.
The value in $a is 1, 0 < 1 --> true

The discussion on php-dev, where you found this example, reveals that
PHP makes the assumption that $a > $b == $b < $a.  This means that they
can reuse the less than function for greater than calls.

In this case the assumption isn't actually valid.  $a > $b should be 0 >
1 --> false.



David

Jochem Maas wrote:
> THIS CODE
> 
> 
> php -r '
> $a = array(0, 1);
> $b = array(1 => 0, 0 => 1);
> var_dump($a < $b); // true
> var_dump($a > $b); // true
> var_dump($b < $a);
> var_dump($b > $a);
> 
> echo "\n\$a:\n"; var_dump((bool)$a, (int)$a, (string)$a, intval($a),
> strval($a));
> echo "\n\$b:\n"; var_dump((bool)$b, (int)$b, (string)$b, intval($b),
> strval($b));
> '
> 
> OUTPUTS (on php5.0.4):
> 
> 
> bool(true)
> bool(true)
> bool(true)
> bool(true)
> 
> $a:
> bool(true)
> int(1)
> string(5) "Array"
> 
> $b:
> bool(true)
> int(1)
> string(5) "Array"
> 
> WHICH MEANS THAT:
> 
> 
> one the one hand $a is greater than AND less than $b
> but on the other hand casting $a OR $b to either a boolean,
> integer or string results in the exact same value. ie:
> 
> php -r '
> $a = array(0, 1); $b = array(1 => 0, 0 => 1);
> var_dump( ((($a > $b) === ($b > $a)) === ((int)$a === (int)$b)) ); //
> WTF IT'S TRUE
> '
> 
> weird? I think so - but then again I'd never test that array $a is
> greater than array $b because this is meaningless to me (in what way is $a
> greater - how is this quantified, what 'rules' determine 'greatness' in
> this context?)
> 
> PS - changing the $b array to something else (anything else as far as i
> can tell)
> causes the weirdness to not occur - which gives me the impression this
> could be a bug,
> anyone else get this impression? for instance try changing the second
> line of
> the code above to (merely switching the order or the defined array
> elements):
> 
> $b = array(0 => 1, 1 => 0);
> 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone care to explain the logic behind this output ....

2006-02-17 Thread Jochem Maas

Robin Vickery wrote:

On 17/02/06, Jochem Maas <[EMAIL PROTECTED]> wrote:


   THIS CODE


php -r '
$a = array(0, 1);
$b = array(1 => 0, 0 => 1);
var_dump($a < $b); // true
var_dump($a > $b); // true
var_dump($b < $a);
var_dump($b > $a);
[...]
   OUTPUTS (on php5.0.4):


bool(true)
bool(true)
bool(true)
bool(true)
[...]
weird? I think so - but then again I'd never test that array $a is
greater than array $b because this is meaningless to me (in what way is $a
greater - how is this quantified, what 'rules' determine 'greatness' in
this context?)



The rules are simple enough, and listed in the documentation here:

http://www.php.net/manual/en/language.operators.comparison.php#AEN4390

But if you apply those comparison rules to your four expressions,
you'd expect to see

bool(true)
bool(false)
bool(true)
bool(false)


exactly.



What you need to know to explain your results is that internally, PHP
doesn't do a greater-than comparison, it converts them into
less-than-or-equals by reversing the values. So your expressions


I learnt this on internals - which was what trigger me to investigate this...
the thing I really couldn't grok was how php was auto-casting the arrays
when doing the LT/GT comparison (well apparently it wasn't casting them at all!)

thanks to you and David for helping to clear up my confusion (and
for pointing out what I had missed - or forgotten about - in the manual)

rgds,
Jochem


become:

$a < $b
$b <= $a
$b < $a
$a <= $b

Now if you apply the comparison rules to your arrays using those
rewritten operations, you get true every time.

Fun eh?

  -robin


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] anyone care to explain the logic behind this output ....

2006-02-17 Thread Robin Vickery
On 17/02/06, Jochem Maas <[EMAIL PROTECTED]> wrote:
> THIS CODE
> 
>
> php -r '
> $a = array(0, 1);
> $b = array(1 => 0, 0 => 1);
> var_dump($a < $b); // true
> var_dump($a > $b); // true
> var_dump($b < $a);
> var_dump($b > $a);
> [...]
> OUTPUTS (on php5.0.4):
> 
>
> bool(true)
> bool(true)
> bool(true)
> bool(true)
> [...]
> weird? I think so - but then again I'd never test that array $a is
> greater than array $b because this is meaningless to me (in what way is $a
> greater - how is this quantified, what 'rules' determine 'greatness' in
> this context?)

The rules are simple enough, and listed in the documentation here:

http://www.php.net/manual/en/language.operators.comparison.php#AEN4390

But if you apply those comparison rules to your four expressions,
you'd expect to see

bool(true)
bool(false)
bool(true)
bool(false)

What you need to know to explain your results is that internally, PHP
doesn't do a greater-than comparison, it converts them into
less-than-or-equals by reversing the values. So your expressions
become:

$a < $b
$b <= $a
$b < $a
$a <= $b

Now if you apply the comparison rules to your arrays using those
rewritten operations, you get true every time.

Fun eh?

  -robin


Re: [PHP] Anyone getting bounces from

2005-12-08 Thread David Robley
Max Belushkin wrote:

> John Nichel wrote:
>> Jay Blanchard wrote:
>>> [EMAIL PROTECTED] ?
>>>
>>> I am getting failure notices out the wazoo for some very old messages
>>> to the
>>> general list.
> 
> I am too.

 Ask me! Ask me!

No, I'm not getting them


Cheers
-- 
David Robley

A clean desk is a sign of a cluttered desk drawer.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Curt Zirzow
On Wed, Dec 07, 2005 at 08:36:05AM -0600, Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
> 
> I am getting failure notices out the wazoo for some very old messages to the
> general list.
> 

expect some more of them, if you've sent a message recently. time
to get him/her unsubscribed..

Curt.
-- 
cat .signature: No such file or directory

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Stephen Leaf
had about 15 in my inbox this morning :)

On Wednesday 07 December 2005 08:36, Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
>
> I am getting failure notices out the wazoo for some very old messages to
> the general list.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Jesús Fernández
4 here

--
http://esu.proyectoanonimo.com
http://www.proyectoanonimo.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Angelo Zanetti

me 3

Jason Gerfen wrote:

Yeah, I am recieving the same.

Jay Blanchard wrote:


[EMAIL PROTECTED] ?

I am getting failure notices out the wazoo for some very old messages 
to the

general list.

 






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread David Grant
Jay Blanchard wrote:
> [EMAIL PROTECTED] ?
> 
> I am getting failure notices out the wazoo for some very old messages to the
> general list.
> 

Just got seven in a row, looks like the MTA is trying for three weeks
and then giving up.  The messages appear to be for:

[EMAIL PROTECTED]

Can this address be unsubscribed?

Cheers,

David
-- 
David Grant
http://www.grant.org.uk/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Max Belushkin

John Nichel wrote:

Jay Blanchard wrote:

[EMAIL PROTECTED] ?

I am getting failure notices out the wazoo for some very old messages 
to the

general list.


I am too.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread Jason Gerfen

Yeah, I am recieving the same.

Jay Blanchard wrote:


[EMAIL PROTECTED] ?

I am getting failure notices out the wazoo for some very old messages to the
general list.

 




--
Jason Gerfen

"Oh I have seen alot of what
the world can do, and its
breaking my heart in two..."
~ Wild World, Cat Stevens

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone getting bounces from

2005-12-07 Thread John Nichel

Jay Blanchard wrote:

[EMAIL PROTECTED] ?

I am getting failure notices out the wazoo for some very old messages to the
general list.



I'm not.  Told you Bill was going to get mad at you.  ;)

--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone know where 5.1 RC1 has gone?

2005-10-31 Thread Thilo Raufeisen
Hi,
RC4 is available since last Friday.
Take a look here http://downloads.php.net/ilia/

Richard Davey wrote:
> Hi,
> 
>   PHP 5.1 RC1 was on the site two days ago, but has since been
>   removed. I can see it in Googles cache, and snapshots are in CVS,
>   but no Release Candidate. Does this mean an RC2 is imminent? :)
> 
> Cheers,
> 
> Rich

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread Jasper Bryant-Greene

wayne wrote:

I have one other question that I would like answered.
One of the respondents in the archive file to the
above question said that "in PHP objects don't
have to be explicitly instantiated", could someone
point me to some docs that explains this.The person
never did give an explanation.


The post I just sent to the list regarding your earlier question 
explains this. If you do not instantiate an object before using it, it 
is automatically instantiated as an object of the stdClass class. You 
can then add and read attributes, like an "array dressed up as an object."


Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Wed, 2005-08-17 at 04:47 -0400, wayne wrote:
> On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> > Hi,
> > Before I post some of the install script for
> > Moodle I thought that I would ask how
> > $CFG gets instantiated in the install.php script.
> > Thanks.
> > 
> Okay, I got a reply from a moodle user pointing
> me to an archive, apparently someone had the same
> question. The answer seems to be that $CFG is
> an array dressed up as an object.The books that
> I'm learning from don't show this concept. Could
> some kind soul give an example.
> Thanks.
> 
I have one other question that I would like answered.
One of the respondents in the archive file to the
above question said that "in PHP objects don't
have to be explicitly instantiated", could someone
point me to some docs that explains this.The person
never did give an explanation.
Thanks

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread Jasper Bryant-Greene

wayne wrote:

Okay, I got a reply from a moodle user pointing
me to an archive, apparently someone had the same
question. The answer seems to be that $CFG is
an array dressed up as an object.The books that
I'm learning from don't show this concept. Could
some kind soul give an example.
Thanks.


http://php.net/manual/en/language.types.object.php

When you use the uninitialised $CFG as an object, an object of class 
stdClass is created. You can then assign and read stuff to and from its 
properties, basically like you said, as an "array dressed up as an object".


There's no real reason for doing this although it may be a hack because 
some of the required files in that script may expect a $CFG object to exist.


Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
> 
Okay, I got a reply from a moodle user pointing
me to an archive, apparently someone had the same
question. The answer seems to be that $CFG is
an array dressed up as an object.The books that
I'm learning from don't show this concept. Could
some kind soul give an example.
Thanks.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone on the list using Moodle?

2005-08-17 Thread wayne
On Tue, 2005-08-16 at 17:41 -0400, wayne wrote:
> Hi,
> Before I post some of the install script for
> Moodle I thought that I would ask how
> $CFG gets instantiated in the install.php script.
> Thanks.
> 
Attach is the first 85 line of the moodle install
script.What I would like to know is, if I put
some code like this after the use of $CFG->

$default_classes = get_declared_classes ();
print "" . "THE BEGINNING = ";
  foreach ($default_classes as $class_name)
 print 'the class is ==' . $class_name . '';

shouldn't I see the class that $CFG was instantiated
from?
Thanks.



wayne
Description: application/php
-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Anyone on the list using Moodle?

2005-08-16 Thread Esteamedpw
have you tried their forums at moodle.org ?
 
- Clint


Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Greg Donald
On 6/15/05, Brian Dunning <[EMAIL PROTECTED]> wrote:
> On Jun 15, 2005, at 2:28 PM, Greg Donald wrote:
> 
> > Make yourself a phpinfo() page.  Your PHP configuration will be at the
> > top of the page.  You can use that configure line to build/upgrade to
> > a newer PHP.
> 
> I see that, thanks - but if you'll forgive an ignorant question, what
> do I do with that configure line?

You use it to configure your PHP for compilation.

See http://www.php.net/manual/en/install.php


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Laurent Duchesne
Hi,

you need to get the appropriate php tarball from
http://www.php.net/downloads.php and check out this page:

http://www.geocities.com/tipsforlinux/articles/27.html

It will tell you how to:

 - extract the sources
 - run configure (this is where you use the configure line from phpinfo)
 - install compiled binaries

Laurent


2005/6/15, Brian Dunning <[EMAIL PROTECTED]>:
> On Jun 15, 2005, at 2:28 PM, Greg Donald wrote:
> 
> > Make yourself a phpinfo() page.  Your PHP configuration will be at the
> > top of the page.  You can use that configure line to build/upgrade to
> > a newer PHP.
> 
> I see that, thanks - but if you'll forgive an ignorant question, what
> do I do with that configure line?
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Brian Dunning

On Jun 15, 2005, at 2:28 PM, Greg Donald wrote:


Make yourself a phpinfo() page.  Your PHP configuration will be at the
top of the page.  You can use that configure line to build/upgrade to
a newer PHP.


I see that, thanks - but if you'll forgive an ignorant question, what  
do I do with that configure line?


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Anyone ever upgraded PHP at GoDaddy?

2005-06-15 Thread Greg Donald
On 6/15/05, Brian Dunning <[EMAIL PROTECTED]> wrote:
> GoDaddy's "Virtual Dedicated Servers" come with PHP 4.2 - anyone ever
> upgraded this to 4.3 or later? I've never done any command line stuff
> or anything like that - is there an easier way?

Make yourself a phpinfo() page.  Your PHP configuration will be at the
top of the page.  You can use that configure line to build/upgrade to
a newer PHP.


-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] anyone has successful to use a PHP SoapClient talking with .Net Web services?

2005-01-18 Thread Luis Lebron
 I recently had to get one to work. The key in my case was building the
soap message for the paramaters instead of the standard paramaters array
something like
$parameters = " 
   Username
   Password
   ";

Also, I am using the nusoap library.


Luis

-Original Message-
From: Michael Leung [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 17, 2005 9:08 PM
To: [EMAIL PROTECTED]; PHP-GEMERAL
Subject: [PHP] anyone has successful to use a PHP SoapClient talking
with .Net Web services?

Hi all,
anyone has successful to use a PHP SoapClient talking with .Net Web
services?
at this moment, that seem to no success for my testes. If anyone has
successful to do this, please tell me.

yours,
Michael

--
PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:
http://www.php.net/unsub.php

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] {Spam?} Re: [PHP] Anyone using SPL Iterators?

2004-09-22 Thread John Holmes
Curt Zirzow wrote:
* Thus wrote John Holmes:
A later example implements ArrayAccess and IteratorAggregate and then 
says you can use count($A), but it doesn't work for my tests. It always 
returns 1.

That example i think is minor mistake. As noted in the example
above you have to call pass ->getIterator() to count(). count()
doesn't detect if the object if getIterator is present, its just
returns 1 since $A isn't an array.
BUT.. this works:
  echo count( (array)$A );
Yet, even if you use count($A->getIterator()) or cast the object,
the indexes (0,1,2) arn't defined, unlesss you redifine the
offsetGet() to get the proper one.
So is there an implementation so that you can use count() on the 
"object" and have it treated like an array? i.e. you define what the 
count should return?

The ideal solution, as I understand all of this, would be to have
$A = new ArrayReloaded(array('one','two','three'));
and have count($A) return 3. Do you know how that'd be done?
--
---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


Re: [PHP] {Spam?} Re: [PHP] Anyone using SPL Iterators?

2004-09-21 Thread Curt Zirzow
* Thus wrote Curt Zirzow:
> * Thus wrote John Holmes:
> > 
> > A later example implements ArrayAccess and IteratorAggregate and then 
> > says you can use count($A), but it doesn't work for my tests. It always 
> > returns 1.
> 
> That example i think is minor mistake. As noted in the example
> above you have to call pass ->getIterator() to count(). count()
> doesn't detect if the object if getIterator is present, its just
> returns 1 since $A isn't an array.
> 
> BUT.. this works:
> 
>   echo count( (array)$A );

btw, the casting of the object isn't calling getIterator(), but
simply returns an array of all the public members of the object.

Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] {Spam?} Re: [PHP] Anyone using SPL Iterators?

2004-09-21 Thread Curt Zirzow
* Thus wrote John Holmes:
> 
> A later example implements ArrayAccess and IteratorAggregate and then 
> says you can use count($A), but it doesn't work for my tests. It always 
> returns 1.

That example i think is minor mistake. As noted in the example
above you have to call pass ->getIterator() to count(). count()
doesn't detect if the object if getIterator is present, its just
returns 1 since $A isn't an array.

BUT.. this works:

  echo count( (array)$A );

Yet, even if you use count($A->getIterator()) or cast the object,
the indexes (0,1,2) arn't defined, unlesss you redifine the
offsetGet() to get the proper one.

Curt
-- 
The above comments may offend you. flame at will.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



  1   2   >