[PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
And why everytime I reply to the list am I getting an automated reply
from this email address

Belgacom Webteam [no-reply] supp...@skynet.be



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




Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Lester Caine

Ashley Sheridan wrote:

And why everytime I reply to the list am I getting an automated reply
from this email address

Belgacom Webteam [no-reply]supp...@skynet.be


Because of the way the list is set up ...
We all get every bounce message as a result of posting to PHP lists since WE are 
set as the reply-to address. This apparently is the right way of doing email 
lists ;)


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

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



Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Ashley Sheridan
On Sun, 2013-08-04 at 12:27 +0100, Lester Caine wrote:

 Ashley Sheridan wrote:
  And why everytime I reply to the list am I getting an automated reply
  from this email address
 
  Belgacom Webteam [no-reply]supp...@skynet.be
 
 Because of the way the list is set up ...
 We all get every bounce message as a result of posting to PHP lists since WE 
 are 
 set as the reply-to address. This apparently is the right way of doing email 
 lists ;)
 
 -- 
 Lester Caine - G8HFL
 -
 Contact - http://lsces.co.uk/wiki/?page=contact
 L.S.Caine Electronic Services - http://lsces.co.uk
 EnquirySolve - http://enquirysolve.com/
 Model Engineers Digital Workshop - http://medw.co.uk
 Rainbow Digital Media - http://rainbowdigitalmedia.co.uk
 


Maybe someone can take them off of the list? ;)

(hint, hint)

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




Re: [PHP] What the hell is Begacom?

2013-08-04 Thread Camilo Sperberg


On 4 aug. 2013, at 12:51, Ashley Sheridan a...@ashleysheridan.co.uk wrote:

 And why everytime I reply to the list am I getting an automated reply
 from this email address
 
 Belgacom Webteam [no-reply] supp...@skynet.be
 
 
 
 Thanks,
 Ash
 http://www.ashleysheridan.co.uk
 
 

So that's why I was getting those emails as well xD

Sent from my iPhone 6 Beta [Confidential use only]

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



Re: [PHP] What the hell is Begacom?

2013-08-04 Thread lester
Maybe someone can take them off of the list? ;)
(hint, hint)

No one moderates the list so there is little chance :(







[PHP] What wrong am I doing now?

2013-07-24 Thread Karl-Arne Gjersøyen
mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
+---+
| DATE_FORMAT(dato, '%e-%c-%Y') |
+---+
| 24-7-2013 |
| 23-7-2013 |
+---+
2 rows in set (0.00 sec)

mysql


// My PHP code looks like this.
// -
$sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
$resultat = mysql_query($sql, $tilkobling) or die(mysql_error());

while($rad = mysql_fetch_array($resultat)){
$dato = $rad['dato'];
var_dump($dato);

I gott NULL,NULL here and believe it is something with my PHP Source that
is wrong when using DATE_FORMAT. As you see above it work in terminal.

I hope this not is off-topic for the list. If so, I am sorry for it and
hope you can give me advice about a good MySQL list for newbie's.

Thanks again for your help!

Karl


Re: [PHP] What wrong am I doing now?

2013-07-24 Thread Matijn Woudt
On Wed, Jul 24, 2013 at 2:19 PM, Karl-Arne Gjersøyen karlar...@gmail.comwrote:

 mysql SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
 dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
 +---+
 | DATE_FORMAT(dato, '%e-%c-%Y') |
 +---+
 | 24-7-2013 |
 | 23-7-2013 |
 +---+
 2 rows in set (0.00 sec)

 mysql


 // My PHP code looks like this.
 // -
 $sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') FROM transportdokument WHERE
 dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;
 $resultat = mysql_query($sql, $tilkobling) or die(mysql_error());

 while($rad = mysql_fetch_array($resultat)){
 $dato = $rad['dato'];


$rad['dato'] probably doesn't exist because you used DATE_FORMAT.
Either use $rad[0], or use the following SQL:

$sql = SELECT DATE_FORMAT(dato, '%e-%c-%Y') AS dato FROM transportdokument
WHERE dato = '2013-07-20' AND dato = '2013-07-24' GROUP BY dato DESC;

Regards,

Matijn


Re: [PHP] What is the name of the pattern that will ...

2013-06-14 Thread Richard Quadling
On 13 June 2013 18:38, David Harkness davi...@highgearmedia.com wrote:

 Hi Richard,

 On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling rquadl...@gmail.comwrote:

 I'm building a class which needs to have certain methods called by the
 subclass, but the subclass can extend but not obscure/override the
 behaviour.


 This is the Template Method pattern, though in this case you could use a
 Strategy where the specific authentication implementation is in a separate
 class that gets injected into the Auth class. As for your example there a a
 few things I would change.

 * The template method that the subclass must implement should not be
 declared by an interface. Interfaces are for declaring public contracts.
 You can simply declare an abstract, protected method in Auth. This is the
 contract that every subclass must fulfill.

 * I would avoid reference variables as you've indicated. If you don't want
 to build a data-holder class yet, simply return an array for now. While you
 cannot enforce the return type at parse time, they should be verified with
 unit tests. Unit tests are critical with dynamic languages like PHP and
 Python since runtime is the only way to verify behavior.

 Otherwise, your example is spot on, though the name AuthRequestMade
 implies the request has already been made yet I think from your description
 that this method should *make* the actual request. Here's how I would
 write it with the above in place.

 class Auth {
 public function MakeAuthRequest() {
 // before
 $this-MakeAuthRequestImpl(); // Adding Impl suffix is a
 common convention
 // after
 }

 /**
  * Make the actual authentication request.
  *
  * @return array Must contain keys state and message to hold
 the result
  */
 protected abstract function MakeAuthRequestImpl();
 }

 Peace,
 David


Excellent advice.

I will be making an extendable data holder class. I'm going to do the sort
of thing Zend_Db does for the adapter/rowset/row classes, allowing an
extended class to supply the corresponding extended adapter/rowset/row
classes. Each of the base classes has a job to do, but they can only
operate in conjunction with an external provider.

Thanks for the pointers.

Richard.

-- 
Richard Quadling
Twitter : @RQuadling
EE : http://e-e.com/M_248814.html
Zend : http://bit.ly/9O8vFY


[PHP] What is the name of the pattern that will ...

2013-06-13 Thread Richard Quadling
Hi.

I'm building a class which needs to have certain methods called by the
subclass, but the subclass can extend but not obscure/override the
behaviour.

So, for example, a method AuthRequestMade() will record the activity of
making an authorisation request. It cannot make the actual request as that
is the subclass's job, but, no matter what, I need to have this method
called with the result of the actual auth request.

I want to make building the subclasses as simple and as fool proof as
possible.


I think I have to do something like this ...

interface AuthEnforcer{
 public function AuthRequestMade($i_State, $s_Message);
}

abstract class Auth implements AuthEnforcer{
 public method MakeAuthRequest(){
  // Do my stuff before.
  // Call the SpecificAuth class
  $this-AuthRequestMade($i_State, $s_Message);
  // Do my stuff after with state and message.
 }
}

class SpecificAuth extends Auth{
 public function AuthRequestMade($i_State, $s_Message){
  // Do my specific stuff, setting state and message.
 }
}

But a couple of things I don't like (and don't know how to avoid).

1 - The SpecificAuth::AuthRequestMade is public and I want it protected as
it shouldn't be called from the public scope.
2 - The response is by ref, but I think having a AuthResponse class
containing $i_State and $s_Message should be enough there, but no way to
enforce return types in PHP.

Any ideas?

Thank you.


-- 
Richard Quadling
Twitter : @RQuadling
EE : http://e-e.com/M_248814.html
Zend : http://bit.ly/9O8vFY


Re: [PHP] What is the name of the pattern that will ...

2013-06-13 Thread David Harkness
Hi Richard,

On Thu, Jun 13, 2013 at 10:16 AM, Richard Quadling rquadl...@gmail.comwrote:

 I'm building a class which needs to have certain methods called by the
 subclass, but the subclass can extend but not obscure/override the
 behaviour.


This is the Template Method pattern, though in this case you could use a
Strategy where the specific authentication implementation is in a separate
class that gets injected into the Auth class. As for your example there a a
few things I would change.

* The template method that the subclass must implement should not be
declared by an interface. Interfaces are for declaring public contracts.
You can simply declare an abstract, protected method in Auth. This is the
contract that every subclass must fulfill.

* I would avoid reference variables as you've indicated. If you don't want
to build a data-holder class yet, simply return an array for now. While you
cannot enforce the return type at parse time, they should be verified with
unit tests. Unit tests are critical with dynamic languages like PHP and
Python since runtime is the only way to verify behavior.

Otherwise, your example is spot on, though the name AuthRequestMade implies
the request has already been made yet I think from your description that
this method should *make* the actual request. Here's how I would write it
with the above in place.

class Auth {
public function MakeAuthRequest() {
// before
$this-MakeAuthRequestImpl(); // Adding Impl suffix is a
common convention
// after
}

/**
 * Make the actual authentication request.
 *
 * @return array Must contain keys state and message to hold
the result
 */
protected abstract function MakeAuthRequestImpl();
}

Peace,
David


Re: [PHP] What is an easiest way to port a PHP Web App to Android?

2013-03-27 Thread Ashley Sheridan


Kevin Peterson qh.res...@gmail.com wrote:

I have a web application written in PHP. It have been running for
several years. Now I want to run it as a stand-alone application on an
Android smartphone or tablet. How can I do it?

There are simple web servers you can run on Android, and also standalone PHP 
parsers too (i'm using one myself - search the play store for php server). Is 
that the sort of thing you wanted?

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

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



[PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
Hi,

I  have a client.php which calls an external python socket client
program exec(Client.py), the Client.py calls
sockobj.connect((localhost, 6)) to connect socket.

If I run the client.php from Linux command line $ ./client.php, it
works find, no problem at all.

But when I run it from web page http://localhost/client.php, it could
not connect to socket at following exception in python
sockobj.connect((localhost, 6)):

sockobj.connect Errno 13 Permission denied

Why it can run from command line, but cannot make socket connection
from web? Does it need some kind of configuration in php or apache?
Appreciate any tips and clues.

Thank you.

Kind regards.
I am puzzled by

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



Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread tamouse mailing lists
On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote:
 Hi,

 I  have a client.php which calls an external python socket client
 program exec(Client.py), the Client.py calls
 sockobj.connect((localhost, 6)) to connect socket.

 If I run the client.php from Linux command line $ ./client.php, it
 works find, no problem at all.

 But when I run it from web page http://localhost/client.php, it could
 not connect to socket at following exception in python
 sockobj.connect((localhost, 6)):

 sockobj.connect Errno 13 Permission denied

 Why it can run from command line, but cannot make socket connection
 from web? Does it need some kind of configuration in php or apache?
 Appreciate any tips and clues.

 Thank you.

 Kind regards.
 I am puzzled by

First question: why use a separate program and language to call a
socket? PHP has two ways of doing it, using the Socket extension and
using the Stream extension. The Stream extension is a little nicer as
you just use standard PHP file functions on it.

To look here, though, you might want to look at the permissions on
client.py to make sure it as well as the requisite paths to get to the
script are readable and executable by the user running your webserver,
or alternatively, your php scripts if running something like fcgi.

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



Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread Ashley Sheridan
On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:

 On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote:
  Hi,
 
  I  have a client.php which calls an external python socket client
  program exec(Client.py), the Client.py calls
  sockobj.connect((localhost, 6)) to connect socket.
 
  If I run the client.php from Linux command line $ ./client.php, it
  works find, no problem at all.
 
  But when I run it from web page http://localhost/client.php, it could
  not connect to socket at following exception in python
  sockobj.connect((localhost, 6)):
 
  sockobj.connect Errno 13 Permission denied
 
  Why it can run from command line, but cannot make socket connection
  from web? Does it need some kind of configuration in php or apache?
  Appreciate any tips and clues.
 
  Thank you.
 
  Kind regards.
  I am puzzled by
 
 First question: why use a separate program and language to call a
 socket? PHP has two ways of doing it, using the Socket extension and
 using the Stream extension. The Stream extension is a little nicer as
 you just use standard PHP file functions on it.
 
 To look here, though, you might want to look at the permissions on
 client.py to make sure it as well as the requisite paths to get to the
 script are readable and executable by the user running your webserver,
 or alternatively, your php scripts if running something like fcgi.
 


I'll take a bet that the Apache server is running as a different user
from your login, and doesn't have permissions to open sockets. You could
either give the Apache user permissions, or put the exec call as part of
an argument of sudo.

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




Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, tamouse mailing lists tamouse.li...@gmail.com wrote:
 On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote:
 Hi,

 I  have a client.php which calls an external python socket client
 program exec(Client.py), the Client.py calls
 sockobj.connect((localhost, 6)) to connect socket.

 If I run the client.php from Linux command line $ ./client.php, it
 works find, no problem at all.

 But when I run it from web page http://localhost/client.php, it could
 not connect to socket at following exception in python
 sockobj.connect((localhost, 6)):

 sockobj.connect Errno 13 Permission denied

 Why it can run from command line, but cannot make socket connection
 from web? Does it need some kind of configuration in php or apache?
 Appreciate any tips and clues.

 Thank you.

 Kind regards.
 I am puzzled by

 First question: why use a separate program and language to call a
 socket? PHP has two ways of doing it, using the Socket extension and
 using the Stream extension. The Stream extension is a little nicer as
 you just use standard PHP file functions on it.

I knew it was a bad example to run external python, so I tried to run
socket connection directly from the php file client.php, it got the
same error socket_connect() failed. Reason: () Permission denied at
$result = socket_connect($socket, localhost, 6).

Once again, it was fine to run the client.php from the command line. I
can feel something was missing either in php or apache  


 To look here, though, you might want to look at the permissions on
 client.py to make sure it as well as the requisite paths to get to the
 script are readable and executable by the user running your webserver,
 or alternatively, your php scripts if running something like fcgi.

Forget about client.py, and all files are with 755 access permission.
It is not my first time to program and run php, but it is my first
time to run php file calling socket connection. Something was not
quite right here.

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



Re: [PHP] What needs to configure to run php exec for socket connection?

2013-01-27 Thread jupiter
On 1/27/13, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
 On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:

 On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote:
  Hi,
 
  I  have a client.php which calls an external python socket client
  program exec(Client.py), the Client.py calls
  sockobj.connect((localhost, 6)) to connect socket.
 
  If I run the client.php from Linux command line $ ./client.php, it
  works find, no problem at all.
 
  But when I run it from web page http://localhost/client.php, it could
  not connect to socket at following exception in python
  sockobj.connect((localhost, 6)):
 
  sockobj.connect Errno 13 Permission denied
 
  Why it can run from command line, but cannot make socket connection
  from web? Does it need some kind of configuration in php or apache?
  Appreciate any tips and clues.
 
  Thank you.
 
  Kind regards.
  I am puzzled by

 First question: why use a separate program and language to call a
 socket? PHP has two ways of doing it, using the Socket extension and
 using the Stream extension. The Stream extension is a little nicer as
 you just use standard PHP file functions on it.

 To look here, though, you might want to look at the permissions on
 client.py to make sure it as well as the requisite paths to get to the
 script are readable and executable by the user running your webserver,
 or alternatively, your php scripts if running something like fcgi.



 I'll take a bet that the Apache server is running as a different user
 from your login, and doesn't have permissions to open sockets. You could
 either give the Apache user permissions, or put the exec call as part of
 an argument of sudo.

Well, it is apache for both user id and group id if you are running
from web server. The problem is not which user account, I can run it
without any problems from command line in any user accounts, the
problem is it got permission denied when you run from web server.

 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] What needs to configure to run php exec for socket connection?

2013-01-27 Thread Ashley Sheridan
On Sun, 2013-01-27 at 21:40 +1100, jupiter wrote:

 On 1/27/13, Ashley Sheridan a...@ashleysheridan.co.uk wrote:
  On Sun, 2013-01-27 at 03:45 -0600, tamouse mailing lists wrote:
 
  On Sun, Jan 27, 2013 at 3:10 AM, jupiter jupiter@gmail.com wrote:
   Hi,
  
   I  have a client.php which calls an external python socket client
   program exec(Client.py), the Client.py calls
   sockobj.connect((localhost, 6)) to connect socket.
  
   If I run the client.php from Linux command line $ ./client.php, it
   works find, no problem at all.
  
   But when I run it from web page http://localhost/client.php, it could
   not connect to socket at following exception in python
   sockobj.connect((localhost, 6)):
  
   sockobj.connect Errno 13 Permission denied
  
   Why it can run from command line, but cannot make socket connection
   from web? Does it need some kind of configuration in php or apache?
   Appreciate any tips and clues.
  
   Thank you.
  
   Kind regards.
   I am puzzled by
 
  First question: why use a separate program and language to call a
  socket? PHP has two ways of doing it, using the Socket extension and
  using the Stream extension. The Stream extension is a little nicer as
  you just use standard PHP file functions on it.
 
  To look here, though, you might want to look at the permissions on
  client.py to make sure it as well as the requisite paths to get to the
  script are readable and executable by the user running your webserver,
  or alternatively, your php scripts if running something like fcgi.
 
 
 
  I'll take a bet that the Apache server is running as a different user
  from your login, and doesn't have permissions to open sockets. You could
  either give the Apache user permissions, or put the exec call as part of
  an argument of sudo.
 
 Well, it is apache for both user id and group id if you are running
 from web server. The problem is not which user account, I can run it
 without any problems from command line in any user accounts, the
 problem is it got permission denied when you run from web server.
 
  Thanks,
  Ash
  http://www.ashleysheridan.co.uk
 
 
 


So you've logged on/sudo'd as the Apache user and the command runs?

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




RE: [PHP] What do you call the end-user?

2012-07-20 Thread Adam Nicholls


 -Original Message-
 From: Tedd Sperling [mailto:t...@sperling.com]
 Sent: 19 July 2012 18:27
 To: php-general@lists.php.net General
 Subject: [PHP] What do you call the end-user?
 
 What do you call the people who ultimately use your code?
 
 I call them the end-user, but others have stated other terms, such as
 customer or user.
 
 Cheers,
 
 tedd
 
 
 t...@sperling.com
 http://sperling.com



I suppose if you're working in Agile, you could also call them Stakeholders or 
the Product Owner.

Personally if I'm feeling a bit cheeky I'll go with Muggle - (thanks to J K 
Rowling!) - people just don't appreciate the magic involved behind the scenes 
in usability, infrastructure, application logic etc.

Thanks
Adam.
=

This email is intended solely for the recipient and is confidential and not for 
third party unauthorised distribution. If an addressing or transmission error 
has misdirected this email, please notify the author by replying to this email 
or notifying the system manager (online.secur...@hl.co.uk).  If you are not the 
intended recipient you must not disclose, distribute, copy, print or rely on 
this email. 

Any opinions expressed in this document are those of the author and do not 
necessarily reflect the opinions of Hargreaves Lansdown. In addition, staff are 
not authorised to enter into any contract through email and therefore nothing 
contained herein should be construed as such. Hargreaves Lansdown makes no 
warranty as to the accuracy or completeness of any information contained within 
this email. In particular, Hargreaves Lansdown does not accept responsibility 
for any changes made to this email after it was sent. 

Hargreaves Lansdown Asset Management Limited (Company Registration No 1896481), 
Hargreaves Lansdown Fund Managers Limited (No 2707155), Hargreaves Lansdown 
Pensions Direct Limited (No 3509545) and Hargreaves Lansdown Stockbrokers 
Limited (No 1822701) are authorised and regulated by the Financial Services 
Authority and registered in England and Wales. The registered office for all 
companies is One College Square South, Anchor Road, Bristol, BS1 5HL. 
Telephone: 0117 988 9880

__
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
__


Re: [PHP] What do you call the end-user?

2012-07-20 Thread Robert Williams
On Jul 20, 2012, at 0:59, Adam Nicholls adam.nicho...@hl.co.uk wrote:

 Personally if I'm feeling a bit cheeky I'll go with Muggle - (thanks to J K 
 Rowling!) - people just don't appreciate the magic involved behind the scenes 
 in usability, infrastructure, application logic etc.

Wow. I really, really (, really) hate to admit it, but that actually fits 
extremely well. Damn.

--
Bob Williams

Notice: This communication, including attachments, may contain information that 
is confidential. It constitutes non-public information intended to be conveyed 
only to the designated recipient(s). If the reader or recipient of this 
communication is not the intended recipient, an employee or agent of the 
intended recipient who is responsible for delivering it to the intended 
recipient, or if you believe that you have received this communication in 
error, please notify the sender immediately by return e-mail and promptly 
delete this e-mail, including attachments without reading or saving them in any 
manner. The unauthorized use, dissemination, distribution, or reproduction of 
this e-mail, including attachments, is prohibited and may be unlawful. If you 
have received this email in error, please notify us immediately by e-mail or 
telephone and delete the e-mail and the attachments (if any).

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



Re: [PHP] What do you call the end-user?

2012-07-20 Thread Tim Streater
On 19 Jul 2012 at 18:26, Tedd Sperling t...@sperling.com wrote: 

 First question:

 What do you call the people who ultimately use your code?

I expect I'll call her Dear. See, my app, a replacement for Eudora, is used 
by yours truly only at the mo. However, come time to upgrade SWMBO's Mini, 
which will run Lion or perhaps ML, Eudora will cease to function and I'll move 
her onto my app.

 This question transcends your code working correctly, accurately, and securely
 -- no need to comment on those aspects. But rather more specifically do you
 consider how easily your whomever can use your work efforts?

In principle, yes. But that's a bit hard at the moment.

--
Cheers  --  Tim

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

[PHP] What do you call the end-user?

2012-07-19 Thread Tedd Sperling
Hi gang:

I can't wait for tomorrow -- so here's my off-topic post today.

First question:

What do you call the people who ultimately use your code?

I call them the end-user, but others have stated other terms, such as 
customer or user.

Second question:

Are you concerned with their (whomever) experience in using your code? 

This question transcends your code working correctly, accurately, and securely 
-- no need to comment on those aspects. But rather more specifically do you 
consider how easily your whomever can use your work efforts?

As you may have guessed - I just attended a UX conference and they provide an 
interesting perspective on UX. I was wondering how php developers typically 
address the subject.

Cheers,

tedd


t...@sperling.com
http://sperling.com


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



Re: [PHP] What do you call the end-user?

2012-07-19 Thread Daniel Brown
On Thu, Jul 19, 2012 at 1:26 PM, Tedd Sperling t...@sperling.com wrote:

 What do you call the people who ultimately use your code?

If they're using the *code*, then user or developer.  If
they're using the finished product (site, application, or results
thereof), then end-user, customer, visitor, or subscriber work
just fine.  Ultimately, the term end-user signifies a bookend-like
link in the chain, such as a subscriber; the opposite bookend would be
the producer or creator, with connecting links being the publisher,
provider, distributor, perscriptionist, reseller, and so forth.

 Are you concerned with their (whomever) experience in using your code?

 This question transcends your code working correctly, accurately, and 
 securely -- no need to comment on those aspects. But rather more specifically 
 do you consider how easily your whomever can use your work efforts?

 As you may have guessed - I just attended a UX conference and they provide an 
 interesting perspective on UX. I was wondering how php developers typically 
 address the subject.

Overall, no.  If it's going to be user-facing and not just systems
interpretation (automation, AI, et cetera), then I leave that up to
the UX folks.  I work on the functionality and logic, they work on the
flow and presentation.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



RE: [PHP] What do you call the end-user?

2012-07-19 Thread Jeff Burcher
Hi,

I have always held that the opinion of the end-user/customer is the most
important goal in any systems development project, small or large,
regardless of the programming language/environment. The database structure,
programming, and interfaces are your product. If folks don't like it or
can't figure out how to use it or can't wait until something better comes
along, your product won't survive long in the marketplace. This attitude
should also be held for developers creating in-house solutions as well.
While management may have an overall goal for the purpose of the
programming, the people who will eventually be the ones typing/clicking
their way through your programs are the ones to ultimately satisfy. This
means more pro-active design work with the front line users is always
advisable to create long lasting programs/systems. I use mostly PHP to
create web-based interface screens for AS400 programs in a manufacturing
environment. I can spend all the time I want programming the next greatest
program, but if the guys in the plant don't/won't use it, I have completely
wasted my time. My two cents.


Thanks,

Jeff Burcher - IT Dept
Allred Metal Stamping
PO Box 2566
High Point, NC 27261
(336)886-5221 x229
j...@allredmetal.com

 -Original Message-
 From: Tedd Sperling [mailto:t...@sperling.com]
 Sent: Thursday, July 19, 2012 1:27 PM
 To: php-general@lists.php.net General
 Subject: [PHP] What do you call the end-user?
 
 Hi gang:
 
 I can't wait for tomorrow -- so here's my off-topic post today.
 
 First question:
 
 What do you call the people who ultimately use your code?
 
 I call them the end-user, but others have stated other terms, such as
 customer or user.
 
 Second question:
 
 Are you concerned with their (whomever) experience in using your code?
 
 This question transcends your code working correctly, accurately, and
 securely -- no need to comment on those aspects. But rather more
 specifically do you consider how easily your whomever can use your work
 efforts?
 
 As you may have guessed - I just attended a UX conference and they provide
 an interesting perspective on UX. I was wondering how php developers
 typically address the subject.
 
 Cheers,
 
 tedd
 
 
 t...@sperling.com
 http://sperling.com
 
 
 --
 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] What do you call the end-user?

2012-07-19 Thread Lester Caine

Tedd Sperling wrote:

I can't wait for tomorrow -- so here's my off-topic post today.

First question:

What do you call the people who ultimately use your code?

I call them the end-user, but others have stated other terms, such as customer or 
user.


If they are paying they are customers, if they are freeloading they are users.


Second question:

Are you concerned with their (whomever) experience in using your code?

This question transcends your code working correctly, accurately, and securely -- no need 
to comment on those aspects. But rather more specifically do you consider how easily your 
whomever can use your work efforts?

As you may have guessed - I just attended a UX conference and they provide an 
interesting perspective on UX. I was wondering how php developers typically 
address the subject.


I have an application which has evolved over 20 years, but still does 
essentially what it did 20 years ago. It was ported to PHP to replace it's own 
alphnumeric terminals around 2000 but still uses the basic functionality that 
the original hardware provided.


The nice thing about PHP is that it while the original stuff was all hard coded 
programs and changes were difficult, with PHP we can adjust things easily. 
Probably a little too easily, but molding things to each sites personal 
preferences is something that could not be done originally. So we tailor the 
user side to reflect local workflow rather than forcing a one size fits all 
solution that we had before.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk



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



RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin


-Original Message-
From: Tedd Sperling [mailto:t...@sperling.com] 
Sent: Thursday, July 19, 2012 1:27 PM
To: php-general@lists.php.net General
Subject: [PHP] What do you call the end-user?

Hi gang:

I can't wait for tomorrow -- so here's my off-topic post today.

First question:

What do you call the people who ultimately use your code?

I call them the end-user, but others have stated other terms, such as
customer or user.

Second question:

Are you concerned with their (whomever) experience in using your code? 

This question transcends your code working correctly, accurately, and
securely -- no need to comment on those aspects. But rather more
specifically do you consider how easily your whomever can use your work
efforts?

As you may have guessed - I just attended a UX conference and they provide
an interesting perspective on UX. I was wondering how php developers
typically address the subject.

Cheers,

tedd


t...@sperling.com
http://sperling.com


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


I call them the GUI between the Chair and the Key board (behind the
scenes)!
To their face/documented I call them the End-user I do however break this
down into tier level access users depending on access desires.

From straw dog to functioning portal the (easy, flow, and navigation) is
always designed for the most novice of users is HIGH priority.
This area gets a little hairy with different levels of knowledge are
concerns. Some want a point to point (Walk Trough scenario) and others want
more complex features as options. 

Reports, in my mind the most complex portion of any development because of
the mash of conceptual ideas of what the end product should look like. These
areas are rarely novice compliant, because of the sheer complexity of
filtering options desired. I stick to a Canned Report approach when
dealing with novice end-users.

My goal in life has been to develop the ultimate portal that thinks for you
and less dependent on your interactions. I am close to finishing a learning
module that learns from your interactions and navigates according to your
past history. But that is for another time 


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



Re: [PHP] What do you call the end-user?

2012-07-19 Thread Tedd Sperling
On Jul 19, 2012, at 1:54 PM, admin ad...@buskirkgraphics.com wrote:
 My goal in life has been to develop the ultimate portal that thinks for you
 and less dependent on your interactions. I am close to finishing a learning
 module that learns from your interactions and navigates according to your
 past history. But that is for another time 

If not now, when?

It sounds very interesting.

Cheers,

tedd

_
t...@sperling.com
http://sperling.com

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



Re: [PHP] What do you call the end-user?

2012-07-19 Thread Paul M Foster
On Thu, Jul 19, 2012 at 01:26:50PM -0400, Tedd Sperling wrote:

 Hi gang:
 
 I can't wait for tomorrow -- so here's my off-topic post today.
 
 First question:
 
 What do you call the people who ultimately use your code?
 
 I call them the end-user, but others have stated other terms, such
 as customer or user.

User, because I'm writing the code for *my* customer. The person
actually exposed to my code may or may not be a customer of anyone. They
may simply be an internet surfer at my customer's site.

 
 Second question:
 
 Are you concerned with their (whomever) experience in using your
 code? 
 
 This question transcends your code working correctly, accurately, and
 securely -- no need to comment on those aspects. But rather more
 specifically do you consider how easily your whomever can use your
 work efforts?
 
 As you may have guessed - I just attended a UX conference and they
 provide an interesting perspective on UX. I was wondering how php
 developers typically address the subject.

I'm interested in user experience to a limited extent. My interest stops
when a user wants the code to wipe their nose for them. Can we make the
website automatically update our accounting system and then write a
check for the cost of goods to the vendor? Sure. How much money do you
have? (Their accounting system is some inscrutable pile of Windows COM
objects, like SAP, behind a firewall. And they don't even know which
vendor to write the check to. I guess mental telepathy is a part of the
PHP libraries not installed on my development system.) Or when someone
sends the form on the website for an appointment request, can you make a
reminder pop up on all the desktops in the office? No, I can't. Here's
an idea: assign someone to check the email for appointment requests
throughout the day, and contact the customer to confirm, based on you 
actually *looking* at your appointment calendar. Sheesh. Apparently,
computers (not mine) are capable of performing magic tricks.

I think my screens should be fairly self-explanatory, if possible. But
I'm averse to making them idiot-proof. If you're an idiot, get someone
else to operate your computer for you. You shouldn't be using one. But
there may be times when a computer screen or set of screens will
absolutely require some training, rather than someone completely
unfamiliar with the workings of the office just sitting down and being
able to guess how to operate the system. You didn't learn to drive by
just sitting in a car and guessing how it is done. Don't expect a
web-based application to be operable simply by guessing, necessarily.

By the way, I'm quite happy to write documentation for systems.
Unfortunately, more than half the people who read anything can't
actually *apply* what they read to whatever system they're working with.
Supposedly they can read. But somehow they still need someone to explain
it to them, no matter how good the docs are.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



RE: [PHP] What do you call the end-user?

2012-07-19 Thread admin

-Original Message-
From: Paul M Foster [mailto:pa...@quillandmouse.com] 
Sent: Thursday, July 19, 2012 6:31 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What do you call the end-user?

On Thu, Jul 19, 2012 at 01:26:50PM -0400, Tedd Sperling wrote:

 Hi gang:
 
 I can't wait for tomorrow -- so here's my off-topic post today.
 
 First question:
 
 What do you call the people who ultimately use your code?
 
 I call them the end-user, but others have stated other terms, such 
 as customer or user.

User, because I'm writing the code for *my* customer. The person actually
exposed to my code may or may not be a customer of anyone. They may simply
be an internet surfer at my customer's site.

 
 Second question:
 
 Are you concerned with their (whomever) experience in using your 
 code?
 
 This question transcends your code working correctly, accurately, and 
 securely -- no need to comment on those aspects. But rather more 
 specifically do you consider how easily your whomever can use your 
 work efforts?
 
 As you may have guessed - I just attended a UX conference and they 
 provide an interesting perspective on UX. I was wondering how php 
 developers typically address the subject.

I'm interested in user experience to a limited extent. My interest stops
when a user wants the code to wipe their nose for them. Can we make the
website automatically update our accounting system and then write a check
for the cost of goods to the vendor? Sure. How much money do you have?
(Their accounting system is some inscrutable pile of Windows COM objects,
like SAP, behind a firewall. And they don't even know which vendor to write
the check to. I guess mental telepathy is a part of the PHP libraries not
installed on my development system.) Or when someone sends the form on the
website for an appointment request, can you make a reminder pop up on all
the desktops in the office? No, I can't. Here's an idea: assign someone to
check the email for appointment requests throughout the day, and contact the
customer to confirm, based on you actually *looking* at your appointment
calendar. Sheesh. Apparently, computers (not mine) are capable of
performing magic tricks.

I think my screens should be fairly self-explanatory, if possible. But I'm
averse to making them idiot-proof. If you're an idiot, get someone else to
operate your computer for you. You shouldn't be using one. But there may be
times when a computer screen or set of screens will absolutely require some
training, rather than someone completely unfamiliar with the workings of the
office just sitting down and being able to guess how to operate the system.
You didn't learn to drive by just sitting in a car and guessing how it is
done. Don't expect a web-based application to be operable simply by
guessing, necessarily.

By the way, I'm quite happy to write documentation for systems.
Unfortunately, more than half the people who read anything can't actually
*apply* what they read to whatever system they're working with.
Supposedly they can read. But somehow they still need someone to explain it
to them, no matter how good the docs are.

Paul

--
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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

---



LOL Paul,
You are so very spot on, I have a current customer who would like
the website to just load when he logs in. I wish I had not agreed to writing
him a startup script to load the interface for him because NOW he wants it
to auto login for him. They use a random key generator as a portion on their
login authentication. So let's see: The system sends you a report every hour
on the hour. You no longer have to navigate to the interface. It auto logs
into the system for you.

I pander to these kind of people like there is no tomorrow when they are the
ones who sign the check, because anything outside of scope cost BIG TIME. :)
I have gone so far to create training aids that are system mimics to explain
to them what they are doing wrong and what the next step is. I use to write
SCO compliant learning systems and let me tell you there is NO such thing as
idiot proof.



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



Re: [PHP] What do you call the end-user?

2012-07-19 Thread tamouse mailing lists
On Thu, Jul 19, 2012 at 12:26 PM, Tedd Sperling t...@sperling.com wrote:
 Hi gang:

 I can't wait for tomorrow -- so here's my off-topic post today.

 First question:

 What do you call the people who ultimately use your code?

It all depends on where and how my code is ultimately used. If it is
code that someone sitting at a browser making requests that end up
running code I wrote, they are a user, or where there needs to be
clarification, and end user.

 I call them the end-user, but others have stated other terms, such as 
 customer or user.

Again, it sort of depends on the disposition of the code I wrote. In
any case, customer to me implies some sort of delivery possibly for
remuneration. Customers tend to be singular for any given package (not
meaning exclusive) and some kind of contract is held between us.

I don't run any commercial sites for my own benefit, otherwise the
term customer might expand to people buying or trading things with me
via that site, in which case those customers become a subset of end
users as well.

Isn't this fun?

In the case where I'm developing a portion of a product that another
developer may pick up an use in application, they are using my code,
but are definitely quite distinct from an end-user or a customer.
Sometimes they might be called a partner, but not always.

 Second question:

 Are you concerned with their (whomever) experience in using your code?

All those various constituents have needs whom I may wish to address.
The end-user, obviously has need to be able to transact their business
in as easy a fashion as possible, and being able to trust the chain of
software and hardware that will carry out those wishes. The customer
needs to be able to trust in the product or service they are buying,
but equally, to be able to understand and navigate whatever process is
in place for our transaction. And the development partner, as well,
needs to be able to trust that the package I'm producing is documented
well enough, and it is clear and as easy as possible to integrate with
their own software.

 This question transcends your code working correctly, accurately, and 
 securely -- no need to comment on those aspects. But rather more specifically 
 do you consider how easily your whomever can use your work efforts?

 As you may have guessed - I just attended a UX conference and they provide an 
 interesting perspective on UX. I was wondering how php developers typically 
 address the subject.

This sort of thing is not only applicable to UX needs, but to many
other areas as well. It's also not limited to any particular
interface, but how that interface changes and evolves over time, and
it's responsiveness to the various constituents' needs.

 Cheers,

 tedd

 
 t...@sperling.com
 http://sperling.com


 --
 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] What do you call the end-user?

2012-07-19 Thread Paul M Foster
On Thu, Jul 19, 2012 at 06:57:53PM -0400, admin wrote:


[snip]

 
 LOL Paul,
   You are so very spot on, I have a current customer who would like
 the website to just load when he logs in. I wish I had not agreed to writing
 him a startup script to load the interface for him because NOW he wants it
 to auto login for him. They use a random key generator as a portion on their
 login authentication. So let's see: The system sends you a report every hour
 on the hour. You no longer have to navigate to the interface. It auto logs
 into the system for you.
 
 I pander to these kind of people like there is no tomorrow when they are the
 ones who sign the check, because anything outside of scope cost BIG TIME. :)
 I have gone so far to create training aids that are system mimics to explain
 to them what they are doing wrong and what the next step is. I use to write
 SCO compliant learning systems and let me tell you there is NO such thing as
 idiot proof.

My wife and I were discussing something tangential to this the other
day. When people are young, they engage in all sorts of silly things
that waste time. But when you get older, your time becomes progressively
more valuable to you. In this case, I wouldn't want to waste my time on
what you describe. I don't care how big the check is. I have too many
other more important things to do with my time.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



Re: [PHP] What is The best way/tool for debuging PHP?

2012-05-27 Thread As'ad Djamalilleil
i'm using dreamweaver its just good for designing + debugging ,, you
dont have to type all the code ,, it would generate the script by
itself so you can learn from the generated script ,, but takes time to
make it handy ,,

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



Re: [PHP] What is The best way/tool for debuging PHP?

2012-05-27 Thread Lester Caine

LEOPARD Corporation wrote:

Dev-PHP is an IDE, and I don't need such tool because I'm using Eclipse,
and I'm very comfortable with.
Good to hear others are using Eclipse as well ;) I work on a lot more than just 
PHP so as a single platform it's great - even between Linux and Windows.



what I really want to know is:
what is the best pure debugging tool which its function is to debug PHP
scripts and applications only.
I'm still using PHPEclipse for the PHP editing, and while I do have xdebug 
installed with it, I tend not to have to bother 'debugging', I normally just 
need to add the occasional print_r() in the simple stuff, and the bitweaver 
framework has some additional debugging facilities built right in for tracking 
SQL problems and proving a pretty view of data provided by print_r(). A little 
longer winded than setting breakpoints, but it works well the majority of the time.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



[PHP] What is The best way/tool for debuging PHP?

2012-05-26 Thread LEOPARD Corporation
Hello,

I'm new to this list, and this is the first time ever I send a message to
you.

I'm learning PHP since a couple of months, and I really wanna be a good PHP
programer, and I know that I should work hard for that.

Now, I just wanted to know what is the best way or tool for debuging PHP.

I have googled for this many many times, and found a lot of these stuff,
but I didn't figure out which one is really the best.

in fact, I don't care whether it's an easy way or hard way, all what I want
is to know what is the best and preferred way or tool.

Wish you all the best!


Re: [PHP] What is The best way/tool for debuging PHP?

2012-05-26 Thread LEOPARD Corporation
Thanks for your reply.

Dev-PHP is an IDE, and I don't need such tool because I'm using Eclipse,
and I'm very comfortable with.

what I really want to know is:
what is the best pure debugging tool which its function is to debug PHP
scripts and applications only.

Thanks in advance!



On Sat, May 26, 2012 at 6:03 PM, saeed ahmed mycomputerbo...@gmail.comwrote:

 Dev-php
 from
 http://devphp.sourceforge.net/

 2012/5/26, LEOPARD Corporation leopardonline@gmail.com:
  Hello,
 
  I'm new to this list, and this is the first time ever I send a message to
  you.
 
  I'm learning PHP since a couple of months, and I really wanna be a good
 PHP
  programer, and I know that I should work hard for that.
 
  Now, I just wanted to know what is the best way or tool for debuging PHP.
 
  I have googled for this many many times, and found a lot of these stuff,
  but I didn't figure out which one is really the best.
 
  in fact, I don't care whether it's an easy way or hard way, all what I
 want
  is to know what is the best and preferred way or tool.
 
  Wish you all the best!
 



Re: [PHP] What is The best way/tool for debuging PHP?

2012-05-26 Thread shiplu
There is nothing you can call best. But whether some tools, technology will
perform better depends completely on the context.

I know some ways to debug PHP codes.

1. Netbeans IDE. The debugging facility here is excellent. You can debug
even a single file without creating a project.  It uses xdebug debugging
engine.

2. Zend Studio/Eclispe PDT. Recent Zend studios are based on Eclispe PDT.
They supports both xdebug and zend debugger. The problem I find with these
IDEs that you can not debug a single file without creating a project. May
be there is a way but I dont know.


Its always better to download those all-in-one package IDEs to
start development faster. These packages has zero setup time. So no time
wasting.

-- 
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader


RE: [PHP] What is The best way/tool for debuging PHP?

2012-05-26 Thread admin
-Original Message-
From: LEOPARD Corporation [mailto:leopardonline@gmail.com] 
Sent: Saturday, May 26, 2012 12:02 PM
To: php-general@lists.php.net
Subject: Re: [PHP] What is The best way/tool for debuging PHP?

Thanks for your reply.

Dev-PHP is an IDE, and I don't need such tool because I'm using Eclipse, and
I'm very comfortable with.

what I really want to know is:
what is the best pure debugging tool which its function is to debug PHP
scripts and applications only.

Thanks in advance!



On Sat, May 26, 2012 at 6:03 PM, saeed ahmed
mycomputerbo...@gmail.comwrote:

 Dev-php
 from
 http://devphp.sourceforge.net/

 2012/5/26, LEOPARD Corporation leopardonline@gmail.com:
  Hello,
 
  I'm new to this list, and this is the first time ever I send a 
  message to you.
 
  I'm learning PHP since a couple of months, and I really wanna be a 
  good
 PHP
  programer, and I know that I should work hard for that.
 
  Now, I just wanted to know what is the best way or tool for debuging
PHP.
 
  I have googled for this many many times, and found a lot of these 
  stuff, but I didn't figure out which one is really the best.
 
  in fact, I don't care whether it's an easy way or hard way, all what 
  I
 want
  is to know what is the best and preferred way or tool.
 
  Wish you all the best!
 


Yes many IDE's are used when debugging php because they can simulate the
environment needed for php.

Not to promote them but VSPHP is an amazing product, as a standalone or
integrated into Visual Studio 2010. I have enjoyed 
using this product for the last couple years. I am a HUGE Visual Studio
advocate, when VSPHP came along I exclusively use VS and 
notepad to develop applications in. Is this the BEST product? No clue!!

BUT:
I can develop and Debug in different versions of PHP. I can
integrate with any database, and I will (Toot the horn about) the ability to
use global variables instant insert.
Saves me time, headaches and I can search an entire project for every
instance of variable and no need to open each page. I like the color markup
and the debug options of stepping trough a segment of 
code for a real time analysis. To me it is the BEST tool on the market. I am
a .NET PHP developer who switched over from 15+ years of Linux/Unix systems.


Rick


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



Re: [PHP] What is wrong here?

2012-04-25 Thread ma...@behnke.biz


Karl-Arne Gjersøyen karlar...@gmail.com hat am 25. April 2012 um 06:45
geschrieben:

 Hello again.
 I can't figure out what is wrong here.

 move_uploaded_file() get error message from die() and can't copy/move
 temp_file into directory bilder

 I have try to chmod 0777 bilder/ but it did not help.
 Also I have try to chown www-data.www-data bilder/ since Ubuntu Server
 run apache as www-data user...

 Here is my souce code
 --
 // Temfil lagres midlertidig på serveren som
 // spesifisert i php.ini
 $tmp_fil = $_FILES['filbane']['temp_name'];

tmp_name not temp_name

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



Re: [PHP] What is wrong here?

2012-04-25 Thread Stuart Dallas
On 25 Apr 2012, at 09:45, ma...@behnke.biz wrote:

 Karl-Arne Gjersøyen karlar...@gmail.com hat am 25. April 2012 um 06:45
 geschrieben:
 
 Hello again.
 I can't figure out what is wrong here.
 
 move_uploaded_file() get error message from die() and can't copy/move
 temp_file into directory bilder
 
 I have try to chmod 0777 bilder/ but it did not help.
 Also I have try to chown www-data.www-data bilder/ since Ubuntu Server
 run apache as www-data user...
 
 Here is my souce code
 --
 // Temfil lagres midlertidig på serveren som
// spesifisert i php.ini
$tmp_fil = $_FILES['filbane']['temp_name'];
 
 tmp_name not temp_name

This indicates that you're developing with notices switched off. This is a very 
bad idea because it hides simple errors like this. See the manual for details: 
http://php.net/error_reporting.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/

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



[PHP] What is wrong here?

2012-04-24 Thread Karl-Arne Gjersøyen
Hello again.
I can't figure out what is wrong here.

move_uploaded_file() get error message from die() and can't copy/move
temp_file into directory bilder

I have try to chmod 0777 bilder/ but it did not help.
Also I have try to chown www-data.www-data bilder/ since Ubuntu Server
run apache as www-data user...

Here is my souce code
--
// Temfil lagres midlertidig på serveren som
// spesifisert i php.ini
$tmp_fil = $_FILES['filbane']['temp_name'];
// lagre filnavnet..
$filnavn = bilder/ . $_FILES['filbane']['name'];
// ..og legg fila i katalogen bilder
move_uploaded_file($tmp_fil, $filnavn) or die(Feilmelding: Kunne
ikke flytte $filnavn);


Karl

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



Re: [PHP] What is the mnemonic for date()'s Day format?

2012-02-13 Thread Matijn Woudt
On Mon, Feb 13, 2012 at 7:52 PM, Dotan Cohen dotanco...@gmail.com wrote:
 From the fine manual [1]:
 l (lowercase 'L')
 A full textual representation of the day of the week

 I can never remember this one, and I use it occasionally. What is the
 mnemonic for l? How did this letter come to be chosen? Can anyone
 more creative than me think of a way to associate the lower case
 letter l with the full textual representation of the day of the
 week?

 Thanks!


 [1] http://il2.php.net/manual/en/function.date.php

 --
 Dotan Cohen

Hi,

I've been wondering where the letter was chosen from too, so I took
svn and got all the way back to revision 214 where the options was
first added. Note that this commit is June 7, 1996, and we're talking
about php2 (php/fi) here. I tried to look at mailing list archives,
but it seems that rasmus was pretty much developing PHP on it's own in
those days.
It seems that it has been added when cookie support was added, and for
the cookie to set a date they wanted a nicely printed day. It seems to
be just a choice from rasmus back in those days.
My best guess would be that the 'l' is chosen because it is the last
letter of 'full' in 'full name of day', though I don't understand why
'f' or 'F' wasn't chosen.

Well, try remembering the 'l' in 'full' if you need it the next time..;)

- Matijn

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



Re: [PHP] What is the mnemonic for date()'s Day format?

2012-02-13 Thread Marc Guay
How about long dayname?

I find it interesting that the character for Day of the month without
leading zeros is j, which makes sense to me as a half-Francophone who
sometimes calls days jours.  Not that it helps me remember it, I
have to refer to that page pretty much every time I use date().

Marc

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



Re: [PHP] What is the mnemonic for date()'s Day format?

2012-02-13 Thread Dotan Cohen
On Mon, Feb 13, 2012 at 22:51, Matijn Woudt tijn...@gmail.com wrote:
 Hi,

 I've been wondering where the letter was chosen from too, so I took
 svn and got all the way back to revision 214 where the options was
 first added. Note that this commit is June 7, 1996, and we're talking
 about php2 (php/fi) here. I tried to look at mailing list archives,
 but it seems that rasmus was pretty much developing PHP on it's own in
 those days.
 It seems that it has been added when cookie support was added, and for
 the cookie to set a date they wanted a nicely printed day. It seems to
 be just a choice from rasmus back in those days.
 My best guess would be that the 'l' is chosen because it is the last
 letter of 'full' in 'full name of day', though I don't understand why
 'f' or 'F' wasn't chosen.

 Well, try remembering the 'l' in 'full' if you need it the next time..;)


You are some sleuth! Let me know first if you ever have any dirt on me, Matijn!

Thank you for the mnemonic full. I'll know next week if it sticks or
not. Though, I already foresee myself trying to use f!

-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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



Re: [PHP] What is the mnemonic for date()'s Day format?

2012-02-13 Thread Dotan Cohen
On Mon, Feb 13, 2012 at 23:04, Marc Guay marc.g...@gmail.com wrote:
 How about long dayname?


That makes sense. I now have two ways to remember. Thanks!


 I find it interesting that the character for Day of the month without
 leading zeros is j, which makes sense to me as a half-Francophone who
 sometimes calls days jours.  Not that it helps me remember it, I
 have to refer to that page pretty much every time I use date().


I also refer to that page enough to have it bookmarked on my homepage!


-- 
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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



Re: FW: [PHP] What is an information_id in directory

2011-10-30 Thread Lester Caine

Ernie Kemp wrote:

2 - Make a new content area in Site Manager-Content Manager. It doesn't
matter what you put in your content area, you could just put This is my new
content area or Hello World if you so choose.

3 - Grab the information_id of the new content area you made. When you are
editing a content area that already exists, the information_id can be gotten
from the update page URL.

I'm having trouble understanding this request:

1. In item #2 the client wishes to put content here, I can only guess he
means a file with text in it. ?
2. Item #3 I know what an ID is but not in this context. I'm don't
understand what the client wishes here.??


Assuming that this is a site that is powered by a database, then one would be 
creating a new record in the database to store the content in rather than a new 
file, although one could get away with a list of files. The problem is you need 
to identify the next 'file/content' number, and that needs the 'information_id'. 
Using a database, there would be a unique index on the 'information_id' field, 
and you would just look up in the database to see if a number exists and pull 
the data from that record. Creating a new page just grabs the next 
'information_id' number. One could get away by looking for the 'biggest' file 
number, but I suspect that 'Site Manager-Content Manager' already has some of 
the infrastructure to manage this?


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



[PHP] What is an information_id in directory

2011-10-29 Thread Ernie Kemp


2 - Make a new content area in Site Manager-Content Manager. It doesn't
matter what you put in your content area, you could just put This is my new
content area or Hello World if you so choose.

 

3 - Grab the information_id of the new content area you made. When you are
editing a content area that already exists, the information_id can be gotten
from the update page URL. 

 

I'm having trouble understanding this request:

 

1. In item #2 the client wishes to put content here, I can only guess he
means a file with text in it. ?

2. Item #3 I know what an ID is but not in this context. I'm don't
understand what the client wishes here.??

 

 

Any help here would be appreciated.

 

../Ernie 

 

 

 



Re: [PHP] What is an information_id in directory

2011-10-29 Thread Tim Streater
On 29 Oct 2011 at 20:46, Ernie Kemp ernie.k...@sympatico.ca wrote: 

 2 - Make a new content area in Site Manager-Content Manager. It doesn't
 matter what you put in your content area, you could just put This is my new
 content area or Hello World if you so choose.

 3 - Grab the information_id of the new content area you made. When you are
 editing a content area that already exists, the information_id can be gotten
 from the update page URL.

 I'm having trouble understanding this request:

 1. In item #2 the client wishes to put content here, I can only guess he
 means a file with text in it. ?

 2. Item #3 I know what an ID is but not in this context. I'm don't
 understand what the client wishes here.??

 Any help here would be appreciated.

I think you posted an HTML-formatted email with images to this list. That is a 
waste of time (images are stripped). You'll need to send another email 
formatted as text-only. As it stands your mail made no sense at all.

--
Cheers  --  Tim

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

FW: [PHP] What is an information_id in directory

2011-10-29 Thread Ernie Kemp
2 - Make a new content area in Site Manager-Content Manager. It doesn't
matter what you put in your content area, you could just put This is my new
content area or Hello World if you so choose.

3 - Grab the information_id of the new content area you made. When you are
editing a content area that already exists, the information_id can be gotten
from the update page URL. 

I'm having trouble understanding this request:

1. In item #2 the client wishes to put content here, I can only guess he
means a file with text in it. ?
2. Item #3 I know what an ID is but not in this context. I'm don't
understand what the client wishes here.??


Any help here would be appreciated.

../Ernie 


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



[PHP] What is wrong with this preg_match?

2011-10-27 Thread Paul Halliday
I have the following:

if (isset($argc)) {
if ($argc == 1 || $argc  2 || !preg_match((\d{4}-\d{2}-\d{2}),
$argv[1])) {
echo \nUsage: $argv[0] -mm-dd\n\n;
exit;
} else {
$base_date = $argv[1];
}
} else {
$base_date = date('Y-m-d');
}

When I run it:

 $ ./process_patches.php 201-01-01

Usage: ./process_patches.php -mm-dd

patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-011-01

Usage: ./process_patches.php -mm-dd

patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-01-011

Works..

What am I doing wrong?

Thanks!

-- 
Paul Halliday
http://www.squertproject.org/

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



RE: [PHP] What is wrong with this preg_match?

2011-10-27 Thread Steve Staples
-Original Message-
From: Paul Halliday [mailto:paul.halli...@gmail.com] 
Sent: Thursday, October 27, 2011 2:43 PM
To: PHP-General
Subject: [PHP] What is wrong with this preg_match?

I have the following:

if (isset($argc)) {
if ($argc == 1 || $argc  2 || !preg_match((\d{4}-\d{2}-\d{2}),
$argv[1])) {
echo \nUsage: $argv[0] -mm-dd\n\n;
exit;
} else {
$base_date = $argv[1];
}
} else {
$base_date = date('Y-m-d');
}

When I run it:

 $ ./process_patches.php 201-01-01

Usage: ./process_patches.php -mm-dd

patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-011-01

Usage: ./process_patches.php -mm-dd

patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-01-011

Works..

What am I doing wrong?

Thanks!

--
Paul Halliday
http://www.squertproject.org/


Paul,

To me, it looks like you're just getting the next 2 digits, so 2011-01-011 is 
getting 2011-01-01 and truncating the last 1.

If you had used (I think)  ^(\d{4}-\d{2}-\d{2})$  I think that would give you 
what you want... (but my reg-ex is horrible)

Steve

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



Re: [PHP] What is wrong with this preg_match?

2011-10-27 Thread Robert Williams
On 10/27/11 11:43, Paul Halliday paul.halli...@gmail.com wrote:


if ($argc == 1 || $argc  2 || !preg_match((\d{4}-\d{2}-\d{2}),

Usage: ./process_patches.php -mm-dd

patches@innm2 ~/Code/Oculi $ ./process_patches.php 2011-01-011

The problem is that your expression basically defines a 'contains'-type
search, so it's matching the first 10 characters as required but then
simply ignoring that last, 11th character because there's no requirement
regarding it in the expression.

Try this instead:

^(\d{4}-\d{2}-\d{2})$

The ^ anchors the matching string to the beginning of the string, while
the $ anchors it to the end, which effectively forces the expression to
match the entire string, disallowing extra characters before or after it.


Regards,
Bob
--
Robert E. Williams, Jr.
Associate Vice President of Software Development
Newtek Businesss Services, Inc. -- The Small Business Authority
https://www.newtekreferrals.com/rewjr
http://www.thesba.com/







Notice: This communication, including attachments, may contain information that 
is confidential. It constitutes non-public information intended to be conveyed 
only to the designated recipient(s). If the reader or recipient of this 
communication is not the intended recipient, an employee or agent of the 
intended recipient who is responsible for delivering it to the intended 
recipient, or if you believe that you have received this communication in 
error, please notify the sender immediately by return e-mail and promptly 
delete this e-mail, including attachments without reading or saving them in any 
manner. The unauthorized use, dissemination, distribution, or reproduction of 
this e-mail, including attachments, is prohibited and may be unlawful. If you 
have received this email in error, please notify us immediately by e-mail or 
telephone and delete the e-mail and the attachments (if any).

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



[PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Jamie Krasnoo
Hey All,

I'm guessing that the subject probably doesn't fit the question I'm
asking here so I'll apologize in advance.

Lately I've been getting in to how I can streamline my development
after a bad experience with a contract. One of the areas I was looking
at is when it would be appropriate to use certain DB frameworks? What
I mean by frameworks is probably more like DB abstract, like Doctrine
or ZF's native Zend_Db. I know this isn't a black and white
explanation so I would like to know what influences your decision on
using a DB abstract framework. Whether to use one or not and if so
which one?

Jamie

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



Re: [PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Jamie Krasnoo
Sorry, not sure if the first part of the conversation made it to the list.

I will be looking in to Symfony. I'm well versed with ZF and Zend_Db.
I'm also somewhat versed with Doctrine and integrating it with ZF. My
question isn't whether Doctrine is a part *of* that framework but
rather on *what* and *when* it is appropriate to *use* or *substitute*
something like Doctrine instead of using straight pdo or mysqli or the
abstract that came with that particular framework. Substituting
Doctrine or some other abstract could complicate a project rather than
help.

Jamie

On Thu, Sep 22, 2011 at 10:52 AM, Slith slith...@gmail.com wrote:
 Have you looked into other PHP Frameworks like Symfony that includes
 Doctrine support?

 Not sure exactly what your requirements are but most PHP frameworks include
 some sort of DB abstraction based on Active Record/ORM.

 See also CodeIgniter, Zend Framework

 On 9/22/2011 10:46 AM, Jamie Krasnoo wrote:

 Hey All,

 I'm guessing that the subject probably doesn't fit the question I'm
 asking here so I'll apologize in advance.

 Lately I've been getting in to how I can streamline my development
 after a bad experience with a contract. One of the areas I was looking
 at is when it would be appropriate to use certain DB frameworks? What
 I mean by frameworks is probably more like DB abstract, like Doctrine
 or ZF's native Zend_Db. I know this isn't a black and white
 explanation so I would like to know what influences your decision on
 using a DB abstract framework. Whether to use one or not and if so
 which one?

 Jamie




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



Re: [PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Lester Caine

Jamie Krasnoo wrote:

My question isn't whether Doctrine is a part*of*  that framework but
rather on*what*  and*when*  it is appropriate to*use*  or*substitute*
something like Doctrine instead of using straight pdo or mysqli or the
abstract that came with that particular framework. Substituting
Doctrine or some other abstract could complicate a project rather than
help.


Jamie
The first question is probably do you need cross database operation? If the 
answer is no, then there is little point moving to an abstraction layer, you are 
better sticking with your database of choice ...


If the requirement is to allow cross database working, then one needs to address 
the SQL as well as the simple data stuff which PDO attempt. I've been using 
ADOdb for a long time now and have also successfully moved projects TO that when 
wanting to allow them to work with my own preferred database. It successfully 
maps many SQL differences and tidies up those problems.


--
Lester Caine - G8HFL
-
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk//
Firebird - http://www.firebirdsql.org/index.php

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



Re: [PHP] What determines your use of the type of DB framework/abstract?

2011-09-22 Thread Paul M Foster
On Thu, Sep 22, 2011 at 11:31:54AM -0700, Jamie Krasnoo wrote:

 Sorry, not sure if the first part of the conversation made it to the list.
 
 I will be looking in to Symfony. I'm well versed with ZF and Zend_Db.
 I'm also somewhat versed with Doctrine and integrating it with ZF. My
 question isn't whether Doctrine is a part *of* that framework but
 rather on *what* and *when* it is appropriate to *use* or *substitute*
 something like Doctrine instead of using straight pdo or mysqli or the
 abstract that came with that particular framework. Substituting
 Doctrine or some other abstract could complicate a project rather than
 help.

Doctrine is more than just an abstraction layer. Well, no, but it's also
an ORM framework. That alone would kill it for me.

I built my own wrapper around PDO, that I use whenever possible. Main
reason: it makes my interface the same, whether I'm using MySQL or
PostgreSQL. That simplifies things for me. Why not just use PDO? I think
PDO, for all its assets, has kind of a clunky interface. When I'm doing
work internally, I use PostgreSQL. But for customers, I'm generally
forced to use MySQL. So having the same interface for both (for the most
part) eases the work. As for ORMs, I'm old skool; my preference is to
use straight SQL where possible. I think it makes you think more
carefully about your database structure and the type of queries you do.
And sooner or later, ORM gets in the way of multi-table foreign-key
reliant queries.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-16 Thread Marco Lanzotti
Il 13/09/2011 21:56, Brad Huskins ha scritto:
 So I would like to get some feedback on what features people would
 most want, since I am still at a very flexible stage in development.

Configurable syntax highlight, autoindent and autocomplete.

Bye,
Marco

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-16 Thread Joshua Stoutenburg
On Fri, Sep 16, 2011 at 12:51 AM, Marco Lanzotti ma...@lanzotti.com wrote:
 Il 13/09/2011 21:56, Brad Huskins ha scritto:
 So I would like to get some feedback on what features people would
 most want, since I am still at a very flexible stage in development.


I wouldn't want a text editor. I'd want an IDE.

debugging - runtime control, watches, breakpoints, call stack, etc
syntax highlighting
project level intelligence (Ctrl+Click on usage of a function,
variable, class, etc takes you to the definition, as ONE example)
phpdoc, javadoc, etc auto-completion and referencing
function/parameter hinting
integration with Git
task list generated from customizable keyword comments like TODO
multiple coding languages (PHP, CSS, Javascript, HTML, SQL, etc, etc)
find and replace within selection, file, files, directories, etc.
(with regex too)
FAST (unlike Dreambeaver)

Netbeans and Eclipse have all/many of these features.

I started out with Notepad++. It's a text editor trying really really
hard to be an IDE.

I mostly use Netbeans. But in the future I will primarily use Eclipse
as I do more work in Java, Android, and Python.

Love the IDE for projects. Never going back.

I still use Notepad++ for editing config files.

-- Josh --
Web Developer
PHP, SQL, HTML, CSS, Javascript, AJAX

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Johan Lidström
On 13 September 2011 21:56, Brad Huskins brad.husk...@gmail.com wrote:

 Hello all you php coders out there,

 I'm doing an Open Source text editor (just a hobby) that's designed for PHP
 developers and is accessible through the web. This has been stewing for a
 while, and has gotten to the point where I can use it for my own work. I
 would like any feedback on things that people really like/dislike about
 their current editors, as I believe some of these things could be resolved
 in mine.

 I currently have username/password protection (with Salted-Hash passwords),
 a file-system browser, file loading/saving, and syntax highlighting -- and
 these things seem to work reasonably well. As well, most things about the
 editor are scriptable with JavaScript. This would seem to imply that in a
 few weeks I would have something useful. So I would like to get some
 feedback on what features people would most want, since I am still at a very
 flexible stage in development.

 If you would like to see what I have, you can go to un1tware.wordpress.com.
 You can also peruse the code at github.com/bhus/scriptr. In particular,
 the README on github gives a little bit better rationality for why something
 like this might be useful, and how things are currently structured.

 --Brad

 [ Yes, this is based on the layout of Linus' original post to
 comp.os.minix. ]

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


Refactoring (that is, changing the name or arguments of variables or
functions and have all references to that variable or function
changed accordingly) would be nice to see in an online editor. ^_^

-- 
It is not possible to simultaneously understand and appreciate the Intel
architecture --Ben Scott


Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Richard Quadling
On 14 September 2011 01:23, tamouse mailing lists
tamouse.li...@gmail.com wrote:
 On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com wrote:
 I'm a big fan of editors that work in the terminal.

 You'll get my emacs when you pry it out of my cold dead hands.

Pah! You and your full screen editor.

EDLIN is the way to go.


-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Tim Streater
On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: 

 On 14 September 2011 01:23, tamouse mailing lists
 tamouse.li...@gmail.com wrote:
 On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com
 wrote:
 I'm a big fan of editors that work in the terminal.

 You'll get my emacs when you pry it out of my cold dead hands.

 Pah! You and your full screen editor.

 EDLIN is the way to go.

Is that more or less terse than TECO?

Back in 1989 when I was at SLAC, they were just getting into unix, and debates 
were raging about which editor to standardise on and teach people (emacs, vi, 
jove, etc). Because this wasn't settled, I started using notepad (and later, 
dxnotepad) and got on with coding. Six months later, the debates were still 
raging. I then had an epiphany: I'd been using notepad for six moths  got work 
done. It took me 5 minutes to find out how to use it. I didn't need teaching 
about it or to have a manual. So IMO, emacs, vi, and all their ilk belong in 
the dustbin of history.

--
Cheers  --  Tim

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

Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Brad Huskins

Thanks Tim.

That is some very useful feedback.

I am aiming to build something that is almost as easy to use as Notepad.

Don't know if I'll be successful or not, but nice to know people value 
simplicity.


--Brad.

On 09/14/2011 08:18 AM, Tim Streater wrote:

On 14 Sep 2011 at 12:40, Richard Quadlingrquadl...@gmail.com  wrote:


On 14 September 2011 01:23, tamouse mailing lists
tamouse.li...@gmail.com  wrote:

On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummingsrob...@interjinn.com
wrote:

I'm a big fan of editors that work in the terminal.


You'll get my emacs when you pry it out of my cold dead hands.


Pah! You and your full screen editor.

EDLIN is the way to go.


Is that more or less terse than TECO?

Back in 1989 when I was at SLAC, they were just getting into unix, and debates were 
raging about which editor to standardise on and teach people (emacs, vi, jove, 
etc). Because this wasn't settled, I started using notepad (and later, dxnotepad) 
and got on with coding. Six months later, the debates were still raging. I then had 
an epiphany: I'd been using notepad for six moths  got work done. It took me 5 
minutes to find out how to use it. I didn't need teaching about it or to have a 
manual. So IMO, emacs, vi, and all their ilk belong in the dustbin of history.

--
Cheers  --  Tim



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



Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Richard Quadling
On 14 September 2011 13:18, Tim Streater t...@clothears.org.uk wrote:
 On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote:

 On 14 September 2011 01:23, tamouse mailing lists
 tamouse.li...@gmail.com wrote:
 On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com
 wrote:
 I'm a big fan of editors that work in the terminal.

 You'll get my emacs when you pry it out of my cold dead hands.

 Pah! You and your full screen editor.

 EDLIN is the way to go.

 Is that more or less terse than TECO?

 Back in 1989 when I was at SLAC, they were just getting into unix, and 
 debates were raging about which editor to standardise on and teach people 
 (emacs, vi, jove, etc). Because this wasn't settled, I started using notepad 
 (and later, dxnotepad) and got on with coding. Six months later, the debates 
 were still raging. I then had an epiphany: I'd been using notepad for six 
 moths  got work done. It took me 5 minutes to find out how to use it. I 
 didn't need teaching about it or to have a manual. So IMO, emacs, vi, and all 
 their ilk belong in the dustbin of history.

 --
 Cheers  --  Tim


TECO - OUCH.

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Jim Giner
But why?
Brad Huskins brad.husk...@gmail.com wrote in message 
news:66.b1.08893.200a0...@pb1.pair.com...

 I am aiming to build something that is almost as easy to use as Notepad.




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



Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Paul M Foster
On Wed, Sep 14, 2011 at 01:18:00PM +0100, Tim Streater wrote:

 On 14 Sep 2011 at 12:40, Richard Quadling rquadl...@gmail.com wrote: 
 
  On 14 September 2011 01:23, tamouse mailing lists
  tamouse.li...@gmail.com wrote:
  On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings
  rob...@interjinn.com
 wrote:
  I'm a big fan of editors that work in the terminal.
 
 You'll get my emacs when you pry it out of my cold dead hands.
 
 Pah! You and your full screen editor.
 
 EDLIN is the way to go.
 
 Is that more or less terse than TECO?
 
 Back in 1989 when I was
 at SLAC, they were just getting into unix, and debates were raging
 about which editor to standardise on and teach people (emacs, vi,
 jove, etc). Because this wasn't settled, I started using notepad (and
 later, dxnotepad) and got on with coding. Six months later, the
 debates were still raging. I then had an epiphany: I'd been using
 notepad for six moths  got work done. It took me 5 minutes to find
 out how to use it. I didn't need teaching about it or to have a
 manual. So IMO, emacs, vi, and all their ilk belong in the dustbin of
 history.
 
 --
 Cheers  --  Tim
 

I agree with you for the most part. I used to use Nano for this reason,
which tends to be available on any given system. But sometimes Nano
isn't available and/or is difficult to find/install. It offers very
little flexibility and, as far as I know, no capability to do add-ons.
It also doesn't do syntax highlighting, as far as I know.

I resisted Emacs because I'd have arthritis in short order from having
to deal with the plethora of control and alt keystrokes which don't make
mnemonic sense to me. Plus, it can be a massive.

Eventually I switched to Vim (counter-intuitively) because 1) there's no
*unix variant on which it's not available; 2) at some point, you're
probably going to *have* to know how to operate Vi if you move around
among foreign machines and networks; 3) there are many other
applications which use many of the same keystroke patterns which are
fundamental to Vi; 4) most keystroke combinations do not require leaving
the home row, etc.; 5) Vi easily does syntax hilighting and a variety of
other things, depending on add-ons.

The modal model of Vi/Vim is sometimes a pain in the ass. And yes, it
can take a long time to know all the features of Vim. But there are a
number of things I can do faster in Vim, than anyone else can do in
other editors, with less effort.

No attempt here to dissuade Emacers or others. Whatever floats your boat
and you're happy with, continue using. Why should you or I care what
someone else uses for an editor?

BTW, my big beef with online editors is latency, and it's a *huge*
problem, as far as I'm concerned. Ultimately this is why I wrote blog
software for myself which requires you to compose and edit your posts
locally, and then *upload* them to the blog. That, and the silly idea
that one should store huge masses of text in relation databases; large
masses of text should be stored as what they are-- flat files.

Paul

-- 
Paul M. Foster
http://noferblatz.com
http://quillandmouse.com

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread tamouse mailing lists
On Tue, Sep 13, 2011 at 7:56 PM, James Yerge ja...@nixsecurity.org wrote:
 I'd have to go agree with the exception of s/emacs/vi/ :P

invoke(EditorChoiceReligiousArgument);

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



Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread tamouse mailing lists
On Wed, Sep 14, 2011 at 11:52 AM, Paul M Foster pa...@quillandmouse.com wrote:
 BTW, my big beef with online editors is latency, and it's a *huge*
 problem, as far as I'm concerned. Ultimately this is why I wrote blog
 software for myself which requires you to compose and edit your posts
 locally, and then *upload* them to the blog. That, and the silly idea
 that one should store huge masses of text in relation databases; large
 masses of text should be stored as what they are-- flat files.

^^This.

This is my hugest complaint about using Google Docs. I seem to suffer
from lag a lot, despite having a high speed cable connection. Concerns
about losing work, losing control, losing access, etc.

I don't think I'd like it very much if didn't have the possibility of
working on code and text files while I was not connected to a network.

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



Re: Re: Re: [PHP] What would you like to see in most in a text editor?

2011-09-14 Thread Tim Streater
On 14 Sep 2011 at 17:52, Paul M Foster pa...@quillandmouse.com wrote: 

 Eventually I switched to Vim (counter-intuitively) because 1) there's no
 *unix variant on which it's not available; 2) at some point, you're
 probably going to *have* to know how to operate Vi if you move around
 among foreign machines and networks

Yes, this is entirely valid IMO. I still have my ultrix vi summary card for 
such occasions.

--
Cheers  --  Tim

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

[PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins

Hello all you php coders out there,

I'm doing an Open Source text editor (just a hobby) that's designed for 
PHP developers and is accessible through the web. This has been stewing 
for a while, and has gotten to the point where I can use it for my own 
work. I would like any feedback on things that people really 
like/dislike about their current editors, as I believe some of these 
things could be resolved in mine.


I currently have username/password protection (with Salted-Hash 
passwords), a file-system browser, file loading/saving, and syntax 
highlighting -- and these things seem to work reasonably well. As well, 
most things about the editor are scriptable with JavaScript. This would 
seem to imply that in a few weeks I would have something useful. So I 
would like to get some feedback on what features people would most want, 
since I am still at a very flexible stage in development.


If you would like to see what I have, you can go to 
un1tware.wordpress.com. You can also peruse the code at 
github.com/bhus/scriptr. In particular, the README on github gives a 
little bit better rationality for why something like this might be 
useful, and how things are currently structured.


--Brad

[ Yes, this is based on the layout of Linus' original post to 
comp.os.minix. ]


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



[PHP] What would you like to see in a text editor?

2011-09-13 Thread Brad Huskins
Hello all you PHP devs,

I'm building an Open Source text editor accessible through the web. It 
has been brewing for a while in one form or another. But I think I 
finally have something solid to build on. I would like some feedback on 
things people like/dislike about their current editors.

I currently have a basic system working with a login, file browser, 
ability to load/save files and syntax highlighting working. All 
keystrokes are sent through a client-side JavaScript API built on JQuery. 
This would seem to imply that something usable is not more than a few 
weeks away, so I figured I would get some input now while things are 
still quite flexible. All suggestions are welcome, though not all will be 
implemented.

If you want, you can visit the web site for the project at 
un1tware.wordpress.com. There's a link to a video demo, as well as a the 
current version of the source code to try out.

As well, the project can be found at github.com/bhus/scriptr. I have 
tried to make the README readable and yet comprehensive.

--Brad

[And yes, this message is modeled after Linus' original post to 
comp.os.minix]

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



[PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins

Hello all you php coders out there,

I'm doing an Open Source text editor (just a hobby) that's designed for 
PHP developers and is accessible through the web. This has been stewing 
for a while, and has gotten to the point where I can use it for my own 
work. I would like any feedback on things that people really 
like/dislike about their current editors, as I believe some of these 
things could be resolved in mine.


I currently have username/password protection (with Salted-Hash 
passwords), a file-system browser, file loading/saving, and syntax 
highlighting -- and these things seem to work reasonably well. As well, 
most things about the editor are scriptable with JavaScript. This would 
seem to imply that in a few weeks I would have something useful. So I 
would like to get some feedback on what features people would most want, 
since I am still at a very flexible stage in development.


If you would like to see what I have, you can go to 
un1tware.wordpress.com. You can also peruse the code at 
github.com/bhus/scriptr. In particular, the README on github gives a 
little bit better rationality for why something like this might be 
useful, and how things are currently structured.


--Brad

[ Yes, this is based on the layout of Linus' original post to 
comp.os.minix. ]


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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Robert Cummings

On 11-09-13 03:56 PM, Brad Huskins wrote:

Hello all you php coders out there,

I'm doing an Open Source text editor (just a hobby) that's designed for
PHP developers and is accessible through the web. This has been stewing
for a while, and has gotten to the point where I can use it for my own
work. I would like any feedback on things that people really
like/dislike about their current editors, as I believe some of these
things could be resolved in mine.

I currently have username/password protection (with Salted-Hash
passwords), a file-system browser, file loading/saving, and syntax
highlighting -- and these things seem to work reasonably well. As well,
most things about the editor are scriptable with JavaScript. This would
seem to imply that in a few weeks I would have something useful. So I
would like to get some feedback on what features people would most want,
since I am still at a very flexible stage in development.

If you would like to see what I have, you can go to
un1tware.wordpress.com. You can also peruse the code at
github.com/bhus/scriptr. In particular, the README on github gives a
little bit better rationality for why something like this might be
useful, and how things are currently structured.


I'm a big fan of editors that work in the terminal.

Cheers,
Rob.
--
E-Mail Disclaimer: Information contained in this message and any
attached documents is considered confidential and legally protected.
This message is intended solely for the addressee(s). Disclosure,
copying, and distribution are prohibited unless authorized.

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Alex Nikitin
+1 on terminal.

For gui-based ones, i like to be able to syntax check my code and run it
from within the editor window, tabs for dozens of files i usually have open
at once, highlight that supports many languages as i can be working on many
at once (php, css, js, ruby, python, C, lua, sql, for the ones i have open
in geany atm), shortcuts are essential for things like find or replace in a
selected area or what have you, regex support in search, and something that
can be themed with white on black.

For web-based ones, i never want to have to physically press anything to
save my work, and i expect it to be within a few words if i just closed the
browser and came back. It can't use any more resources than a usual web-page
and has to be responsive.

For other features to think about, built in version control system, ability
to sync with github or really any cvs/svn/git repo, diff tool integrated
into the editor, collaboration.

Essential 1: utmost security, if they pwn your servers, they should not be
able to have my data, this means that some part of what i pass to you in my
credentials needs to not even reside on your servers (for example you can
use the salted hash to check my the password, but the clear text version is
still needed to decrypt that user's data store) and for the ultra paranoid,
i should be able to further protect my data store with another password the
hash for which you don't store, but rather store the md5 of the hash.
Essential 2: reliability, i would like to be in an N+N+1 where the service
and my data are both highly available without performance degradation when
one of the services/servers goes kablewey (technical term)

Enjoy.


--
The trouble with programmers is that you can never tell what a programmer is
doing until it’s too late.  ~Seymour Cray



On Tue, Sep 13, 2011 at 4:35 PM, Robert Cummings rob...@interjinn.comwrote:

 On 11-09-13 03:56 PM, Brad Huskins wrote:

 Hello all you php coders out there,

 I'm doing an Open Source text editor (just a hobby) that's designed for
 PHP developers and is accessible through the web. This has been stewing
 for a while, and has gotten to the point where I can use it for my own
 work. I would like any feedback on things that people really
 like/dislike about their current editors, as I believe some of these
 things could be resolved in mine.

 I currently have username/password protection (with Salted-Hash
 passwords), a file-system browser, file loading/saving, and syntax
 highlighting -- and these things seem to work reasonably well. As well,
 most things about the editor are scriptable with JavaScript. This would
 seem to imply that in a few weeks I would have something useful. So I
 would like to get some feedback on what features people would most want,
 since I am still at a very flexible stage in development.

 If you would like to see what I have, you can go to
 un1tware.wordpress.com. You can also peruse the code at
 github.com/bhus/scriptr. In particular, the README on github gives a
 little bit better rationality for why something like this might be
 useful, and how things are currently structured.


 I'm a big fan of editors that work in the terminal.

 Cheers,
 Rob.
 --
 E-Mail Disclaimer: Information contained in this message and any
 attached documents is considered confidential and legally protected.
 This message is intended solely for the addressee(s). Disclosure,
 copying, and distribution are prohibited unless authorized.


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




Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Igor Escobar
+ extensible plug-ins.


Regards,
Igor Escobar
*Software Engineer
*
+ http://blog.igorescobar.com
+ http://www.igorescobar.com
+ @igorescobar http://www.twitter.com/igorescobar





On Tue, Sep 13, 2011 at 6:13 PM, Alex Nikitin niks...@gmail.com wrote:

 +1 on terminal.

 For gui-based ones, i like to be able to syntax check my code and run it
 from within the editor window, tabs for dozens of files i usually have open
 at once, highlight that supports many languages as i can be working on many
 at once (php, css, js, ruby, python, C, lua, sql, for the ones i have open
 in geany atm), shortcuts are essential for things like find or replace in a
 selected area or what have you, regex support in search, and something that
 can be themed with white on black.

 For web-based ones, i never want to have to physically press anything to
 save my work, and i expect it to be within a few words if i just closed the
 browser and came back. It can't use any more resources than a usual
 web-page
 and has to be responsive.

 For other features to think about, built in version control system, ability
 to sync with github or really any cvs/svn/git repo, diff tool integrated
 into the editor, collaboration.

 Essential 1: utmost security, if they pwn your servers, they should not be
 able to have my data, this means that some part of what i pass to you in my
 credentials needs to not even reside on your servers (for example you can
 use the salted hash to check my the password, but the clear text version is
 still needed to decrypt that user's data store) and for the ultra paranoid,
 i should be able to further protect my data store with another password the
 hash for which you don't store, but rather store the md5 of the hash.
 Essential 2: reliability, i would like to be in an N+N+1 where the service
 and my data are both highly available without performance degradation when
 one of the services/servers goes kablewey (technical term)

 Enjoy.


 --
 The trouble with programmers is that you can never tell what a programmer
 is
 doing until it’s too late.  ~Seymour Cray



 On Tue, Sep 13, 2011 at 4:35 PM, Robert Cummings rob...@interjinn.com
 wrote:

  On 11-09-13 03:56 PM, Brad Huskins wrote:
 
  Hello all you php coders out there,
 
  I'm doing an Open Source text editor (just a hobby) that's designed for
  PHP developers and is accessible through the web. This has been stewing
  for a while, and has gotten to the point where I can use it for my own
  work. I would like any feedback on things that people really
  like/dislike about their current editors, as I believe some of these
  things could be resolved in mine.
 
  I currently have username/password protection (with Salted-Hash
  passwords), a file-system browser, file loading/saving, and syntax
  highlighting -- and these things seem to work reasonably well. As well,
  most things about the editor are scriptable with JavaScript. This would
  seem to imply that in a few weeks I would have something useful. So I
  would like to get some feedback on what features people would most want,
  since I am still at a very flexible stage in development.
 
  If you would like to see what I have, you can go to
  un1tware.wordpress.com. You can also peruse the code at
  github.com/bhus/scriptr. In particular, the README on github gives a
  little bit better rationality for why something like this might be
  useful, and how things are currently structured.
 
 
  I'm a big fan of editors that work in the terminal.
 
  Cheers,
  Rob.
  --
  E-Mail Disclaimer: Information contained in this message and any
  attached documents is considered confidential and legally protected.
  This message is intended solely for the addressee(s). Disclosure,
  copying, and distribution are prohibited unless authorized.
 
 
  --
  PHP General Mailing List (http://www.php.net/)
  To unsubscribe, visit: http://www.php.net/unsub.php
 
 



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins

On 09/13/2011 04:35 PM, Robert Cummings wrote:

On 11-09-13 03:56 PM, Brad Huskins wrote:

Hello all you php coders out there,

I'm doing an Open Source text editor (just a hobby) that's designed for
PHP developers and is accessible through the web. This has been stewing
for a while, and has gotten to the point where I can use it for my own
work. I would like any feedback on things that people really
like/dislike about their current editors, as I believe some of these
things could be resolved in mine.

I currently have username/password protection (with Salted-Hash
passwords), a file-system browser, file loading/saving, and syntax
highlighting -- and these things seem to work reasonably well. As well,
most things about the editor are scriptable with JavaScript. This would
seem to imply that in a few weeks I would have something useful. So I
would like to get some feedback on what features people would most want,
since I am still at a very flexible stage in development.

If you would like to see what I have, you can go to
un1tware.wordpress.com. You can also peruse the code at
github.com/bhus/scriptr. In particular, the README on github gives a
little bit better rationality for why something like this might be
useful, and how things are currently structured.


I'm a big fan of editors that work in the terminal.

Cheers,
Rob.


Thanks for the input.

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Daniel Brown
On Tue, Sep 13, 2011 at 18:50, Brad Huskins brad.husk...@gmail.com wrote:

 Thanks for the input.

Brad, I'd be willing to bet that, if you added in the ability for
multiple users to simultaneously view and edit the same file without
issues of corruption and such (think along the same lines as Google
Docs), you'd have quite a winner on your hands there.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread tamouse mailing lists
On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com wrote:
 I'm a big fan of editors that work in the terminal.

You'll get my emacs when you pry it out of my cold dead hands.

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Jim Lucas
On 9/13/2011 5:23 PM, tamouse mailing lists wrote:
 On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com wrote:
 I'm a big fan of editors that work in the terminal.
 
 You'll get my emacs when you pry it out of my cold dead hands.
 

+1

mg too



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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread James Yerge
On 09/13/2011 08:40 PM, Jim Lucas wrote:
 On 9/13/2011 5:23 PM, tamouse mailing lists wrote:
 On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummings rob...@interjinn.com 
 wrote:
 I'm a big fan of editors that work in the terminal.
 You'll get my emacs when you pry it out of my cold dead hands.

 +1

 mg too




I'd have to go agree with the exception of s/emacs/vi/ :P

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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins

Daniel,

Thanks for your response. That's the direction I was thinking of taking 
this, but wanted to get some input before I got ahead of myself.


-Brad.

On 09/13/2011 06:54 PM, Daniel Brown wrote:

On Tue, Sep 13, 2011 at 18:50, Brad Huskinsbrad.husk...@gmail.com  wrote:


Thanks for the input.


 Brad, I'd be willing to bet that, if you added in the ability for
multiple users to simultaneously view and edit the same file without
issues of corruption and such (think along the same lines as Google
Docs), you'd have quite a winner on your hands there.




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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Brad Huskins

Oh geez. Didn't mean to start a flame war...

On 09/13/2011 08:56 PM, James Yerge wrote:

On 09/13/2011 08:40 PM, Jim Lucas wrote:

On 9/13/2011 5:23 PM, tamouse mailing lists wrote:

On Tue, Sep 13, 2011 at 3:35 PM, Robert Cummingsrob...@interjinn.com  wrote:

I'm a big fan of editors that work in the terminal.

You'll get my emacs when you pry it out of my cold dead hands.


+1

mg too





I'd have to go agree with the exception of s/emacs/vi/ :P



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



Re: [PHP] What would you like to see in most in a text editor?

2011-09-13 Thread Jim Lucas

On 9/13/2011 7:11 PM, Brad Huskins wrote:

Oh geez. Didn't mean to start a flame war...


Quit fanning it then... :)



On 09/13/2011 08:56 PM, James Yerge wrote:

On 09/13/2011 08:40 PM, Jim Lucas wrote:

On 9/13/2011 5:23 PM, tamouse mailing lists wrote:

On Tue, Sep 13, 2011 at 3:35 PM, Robert
Cummingsrob...@interjinn.com wrote:

I'm a big fan of editors that work in the terminal.

You'll get my emacs when you pry it out of my cold dead hands.


+1

mg too





I'd have to go agree with the exception of s/emacs/vi/ :P






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



[PHP] What is valid for a named parameter in a prepared query using PDO_SQLSRV.

2011-08-01 Thread Richard Quadling
Hi.

Just started using PDO with the nice and shiny SQLSRV driver form
Microsoft for SQL Server.

I seem to be having an issue with named parameters in prepared statements.

Are there limitations to the characters that can be used for named parameters.

UPPER, lower and MixedCase all seem OK, but I think I'm messing up with _.

And my brain JUST fired and told me _ is a single character wildcard
(as when used within a LIKE statement).

Can anyone confirm?

The usernote http://www.php.net/manual/en/pdo.prepared-statements.php#97162
mentions the use of hyphen (-), but not underscore (_).

I'm also going to be converting an old style coding mysql to mysqli
prepared statements (I know very little mysql, so 2 lots of learning
going on here).

Would mysqli have the same behaviour?

Is it driver specific?

Regards,

Richard.

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: Re: [PHP] What is a label?

2011-07-14 Thread Steve Staples
On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
 On 13 Jul 2011 at 22:39, Micky Hulse rgmi...@gmail.com wrote: 
 
  They must mean labels as in general naming convention rules for
  programming... Like not naming a variable/function label with a number at
  the front.
 
  Here's a page about variables:
 
  http://www.php.net/manual/en/language.variables.basics.php
 
  Variable names follow the same rules as other labels in PHP. A valid
  variable name starts with a letter or underscore, followed by any
  number of letters, numbers, or underscores. As a regular expression,
  it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'
 
 Except that variables are case-sensitive whereas function names are not. And 
 if there's going to be a formal or programmatic definition, then I think 
 I'd prefer BNF to a regexp.
 
 --
 Cheers  --  Tim
 

Isn't that statement a little misleading?

 A valid variable name starts with a letter or underscore

If I am not mistaken, $_1 is not a valid variable name.  

Steve.


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



Re: Re: [PHP] What is a label?

2011-07-14 Thread Stuart Dallas
On Thu, Jul 14, 2011 at 1:37 PM, Steve Staples sstap...@mnsi.net wrote:

 On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
  A valid variable name starts with a letter or underscore

 If I am not mistaken, $_1 is not a valid variable name.


You are mistaken. Try it.

-Stuart

-- 
Stuart Dallas
3ft9 Ltd
http://3ft9.com/


Re: Re: [PHP] What is a label?

2011-07-14 Thread Steve Staples
On Thu, 2011-07-14 at 13:39 +0100, Stuart Dallas wrote:
 On Thu, Jul 14, 2011 at 1:37 PM, Steve Staples sstap...@mnsi.net wrote:
 
  On Wed, 2011-07-13 at 23:27 +0100, Tim Streater wrote:
   A valid variable name starts with a letter or underscore
 
  If I am not mistaken, $_1 is not a valid variable name.
 
 
 You are mistaken. Try it.
 
 -Stuart
 

You're right... I have like 100 php scripts open in my Komodo IDE, and I
tried it before I posted out of curiosity.  I put it in the wrong
script, therefore, when it didn't do anything I assumed it didn't work.

Thanks Stuart, for pointing that out!  I've never used a number as the
first character after the $_, and I still probably never will... force
of habit I guess :)

Steve.


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



Re: Re: [PHP] What is a label?

2011-07-14 Thread Richard Quadling
On 14 July 2011 13:37, Steve Staples sstap...@mnsi.net wrote:
 A valid variable name starts with a letter or underscore

 If I am not mistaken, $_1 is not a valid variable name.

[2011-07-14 13:19:18] [Z:\] [\\richardquadling\scratch$ ] php -r $_1
= 'one'; echo $_1;
one

It starts with an undercore and is, therefore, just fine!

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



Re: [PHP] What is a label?

2011-07-14 Thread Daniel Brown
On Wed, Jul 13, 2011 at 16:57, Tim Streater timstrea...@greenbee.net wrote:
 Looking over the definition of a function today I see:

    Function names follow the same rules as other labels in PHP.

 but I can't find the definition of a label anywhere. I can't see it listed in 
 the contents - have I overlooked it? If not, how can I request the the doccy 
 be updated?

In this context, a label refers to the human-readable text
referencing the underlying bits and bytes.  Variables, function names,
class definitions, et cetera, are all considered labels, or - in
another way of explaining it - an alias to the corresponding program
address.

The second part of your message is simple: look at the top-right
section of any document entry and you'll see, just to the left of the
last updated string, an [edit] link.  Click that, and you're on your
way.  The documentation won't update immediately, and your changes
will have to be reviewed by someone here on the Docs team, of course,
but you're certainly welcome - and encouraged - to contribute if you'd
like.

-- 
/Daniel P. Brown
Network Infrastructure Manager
http://www.php.net/

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



[PHP] What is a label?

2011-07-13 Thread Tim Streater
Looking over the definition of a function today I see:

Function names follow the same rules as other labels in PHP.

but I can't find the definition of a label anywhere. I can't see it listed in 
the contents - have I overlooked it? If not, how can I request the the doccy be 
updated?

Tim Streater
Bedford House
Kake St
Waltham  CT4 5RZ
01227 700322

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

Re: [PHP] What is a label?

2011-07-13 Thread Micky Hulse
They must mean labels as in general naming convention rules for
programming... Like not naming a variable/function label with a number at
the front.

Here's a page about variables:

http://www.php.net/manual/en/language.variables.basics.php

Variable names follow the same rules as other labels in PHP. A valid
variable name starts with a letter or underscore, followed by any
number of letters, numbers, or underscores. As a regular expression,
it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'

But I agree though, it would be nice if label was defined somewhere
in the docs.

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



Re: Re: [PHP] What is a label?

2011-07-13 Thread Tim Streater
On 13 Jul 2011 at 22:39, Micky Hulse rgmi...@gmail.com wrote: 

 They must mean labels as in general naming convention rules for
 programming... Like not naming a variable/function label with a number at
 the front.

 Here's a page about variables:

 http://www.php.net/manual/en/language.variables.basics.php

 Variable names follow the same rules as other labels in PHP. A valid
 variable name starts with a letter or underscore, followed by any
 number of letters, numbers, or underscores. As a regular expression,
 it would be expressed thus: '[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*'

Except that variables are case-sensitive whereas function names are not. And if 
there's going to be a formal or programmatic definition, then I think I'd 
prefer BNF to a regexp.

--
Cheers  --  Tim

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

Re: [PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-08 Thread Geoff Shang

On Fri, 8 Jul 2011, Varuna Seneviratna wrote:


I am Using Ubuntu 11.04 Desktop as my OS.Below are the two types of
PHP5 available for installation

php5 - server-side, HTML-embedded scripting language (metapackage)
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)

I got the above by running the command apt-cache search PHP5
1 What is the difference between the two.


One is part of the other.

I'm running Debian (which Ubuntu is based on), and by looking at the php5 
package you can see that it depends on php5-cgi and a few other packages.



2 What shall I install to learn PHP with apache(Please specify the
apache version too since there are two types available for Ubuntu)


Can't really help you much there without more information, though again 
assuming the Debian packages are the same or similar, installing the 
apache2 package should pull in everything you need.


HTH,
Geoff.


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



Re: [PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-08 Thread Shiplu Mokaddim
See https://help.ubuntu.com/community/ApacheMySQLPHP

Also you can try the command bellow

sudo apt-get install lamp-server^

Note, ^ is a part of the package name.


Sent from a handheld device
 

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



[PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-07 Thread Varuna Seneviratna
I am Using Ubuntu 11.04 Desktop as my OS.Below are the two types of
PHP5 available for installation

php5 - server-side, HTML-embedded scripting language (metapackage)
php5-cgi - server-side, HTML-embedded scripting language (CGI binary)

I got the above by running the command apt-cache search PHP5
1 What is the difference between the two.
2 What shall I install to learn PHP with apache(Please specify the
apache version too since there are two types available for Ubuntu)

-- 
VS

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



Re: [PHP] What type of PHP5 shall I install to learn PHP5 together with Apache, Please specify the Apache type too Since There are Two Apache types also

2011-07-07 Thread Md Ashickur Rahman Noor
Install lamp, it is a virtual package which will install all the basic
necessary thing that is need for web development.
--
Dedicated Linux Forum in
Bangladeshhttp://forums.linuxdesh.com/member.php?action=registerreferrer=3%20
Follow Me Twiter https://twitter.com/#%21/AshickunNoor
Thank you
Md Ashickur Rahman




On Fri, Jul 8, 2011 at 7:42 AM, Varuna Seneviratna
varunawith...@gmail.comwrote:

 I am Using Ubuntu 11.04 Desktop as my OS.Below are the two types of
 PHP5 available for installation

 php5 - server-side, HTML-embedded scripting language (metapackage)
 php5-cgi - server-side, HTML-embedded scripting language (CGI binary)

 I got the above by running the command apt-cache search PHP5
 1 What is the difference between the two.
 2 What shall I install to learn PHP with apache(Please specify the
 apache version too since there are two types available for Ubuntu)

 --
 VS

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




[PHP] what kind of features would you like in php orms?

2011-06-17 Thread 李白|字一日
and how to design such an orm in current state of php language?


Re: [PHP] what kind of features would you like in php orms?

2011-06-17 Thread jean-baptiste verrey
- defining the mapping schema in an alternate method than using meta data (I
HATE them, I would prefer an XML file with a DTD so you could use
autocompletion with IDE like NetBeans)
- clear keywords in the schema
- OQL can do UPDATEs
- one and only one configuration file with everything in it (and with why
not the schema)
- to not forget to KEEP IT SIMPLE, specialised ORM that does everything
already exists so there's no point in writing one!

that's it for me (at least at the moment)

Of course I would suggest to use PHP 5.3 specially for late static binding
(and for people that love namespaces)

On 17 June 2011 07:42, 李白|字一日 calid...@gmail.com wrote:

 and how to design such an orm in current state of php language?



Re: [PHP] what kind of features would you like in php orms?

2011-06-17 Thread 李白|字一日
thanks, how about the abstraction of different databases?
it seems PDO is still lack of functions of importance.

I'm currently trying to design a automated model like django or
activeRecord.
it should be quiet simple and automated,
i have managed to possibly create the whole database only once.
but the abstraction of the database and subsequent manipulation seem far
more complicated than the previous part

i'm currently only support mysql and only support whole query at once.

2011/6/17 jean-baptiste verrey jeanbaptiste.ver...@gmail.com

 - defining the mapping schema in an alternate method than using meta data
 (I HATE them, I would prefer an XML file with a DTD so you could use
 autocompletion with IDE like NetBeans)


 java's hibernate instead of python's exlir or ruby 's rail style ? mean no
ActiveRecord?


 - clear keywords in the schema



 - OQL can do UPDATEs


- one and only one configuration file with everything in it (and with why
 not the schema)


- to not forget to KEEP IT SIMPLE, specialised ORM that does everything
 already exists so there's no point in writing one!

 that's it for me (at least at the moment)

 Of course I would suggest to use PHP 5.3 specially for late static binding
 (and for people that love namespaces)







 On 17 June 2011 07:42, 李白|字一日 calid...@gmail.com wrote:

 and how to design such an orm in current state of php language?





Re: [PHP] what kind of features would you like in php orms?

2011-06-17 Thread jean-baptiste verrey
You could simply use like doctrine DBAL or an already existing one made
specially for ORM, or you can design one and at the moment make it to use
only MySQL
PDO is actually good enough to do that, I know that the only thing I had to
do in my ORM was to write a special class to translate some queries for
MySQL (to be able to use LIMIT for objects instead of rows).


On 17 June 2011 12:06, 李白|字一日 calid...@gmail.com wrote:

 thanks, how about the abstraction of different databases?
 it seems PDO is still lack of functions of importance.

 I'm currently trying to design a automated model like django or
 activeRecord.
 it should be quiet simple and automated,
 i have managed to possibly create the whole database only once.
 but the abstraction of the database and subsequent manipulation seem far
 more complicated than the previous part

 i'm currently only support mysql and only support whole query at once.

 2011/6/17 jean-baptiste verrey jeanbaptiste.ver...@gmail.com

 - defining the mapping schema in an alternate method than using meta data
 (I HATE them, I would prefer an XML file with a DTD so you could use
 autocompletion with IDE like NetBeans)


  java's hibernate instead of python's exlir or ruby 's rail style ? mean no
 ActiveRecord?


 - clear keywords in the schema



 - OQL can do UPDATEs


 - one and only one configuration file with everything in it (and with why
 not the schema)


 - to not forget to KEEP IT SIMPLE, specialised ORM that does everything
 already exists so there's no point in writing one!

 that's it for me (at least at the moment)

 Of course I would suggest to use PHP 5.3 specially for late static binding
 (and for people that love namespaces)







 On 17 June 2011 07:42, 李白|字一日 calid...@gmail.com wrote:

 and how to design such an orm in current state of php language?






[PHP] What do you get for ...

2011-06-07 Thread Richard Quadling
Hi.

What do you get for ...

php -r var_dump(realpath(null));

I'm wondering if the result should be a boolean false.

But I'm getting very different results for different versions of PHP
for Windows.

For PHP5+ (upto lastest 5.3.7-dev), the output is always the same as getcwd()

For PHP4, some very interesting differences ...

V4.0.0 : string(5) Z:\\/
V4.0.1 : string(5) z:\\/
V4.0.1pl1 : string(5) z:\\/
V4.0.2 : bool(false)
V4.0.3 : bool(false)
V4.0.4 : string(3) z:\
V4.0.4pl1 : string(3) z:\
V4.0.5 : string(3) z:\
V4.0.6 : string(3) z:\
V4.1.0 : string(3) z:\
V4.1.1 : string(3) z:\
V4.1.2 : string(3) z:\
V4.2.0 : string(98) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.2.x\php-4.2.0
V4.2.1 : string(3) z:\
V4.2.2 : string(3) z:\
V4.2.3 : string(3) z:\
V4.2.3RC1 : string(3) z:\
V4.2.3RC2 : string(3) z:\
V4.3.0 : string(3) z:\
V4.3.0pre2 : string(102) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0pre2
V4.3.0RC1 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC1
V4.3.0RC2 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC2
V4.3.0RC3 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC3
V4.3.0RC4 : string(3) z:\
V4.3.1 : string(3) z:\
V4.3.10 : string(3) z:\
V4.3.11 : string(3) z:\
V4.3.2 : string(3) z:\
V4.3.2RC1 : string(3) z:\
V4.3.2RC2 : string(3) z:\
V4.3.2RC3 : string(3) z:\
V4.3.3 : string(3) z:\
V4.3.3RC1 : string(3) z:\
V4.3.3RC2 : string(3) z:\
V4.3.3RC3 : string(3) z:\
V4.3.3RC4 : string(3) z:\
V4.3.4 : string(3) z:\
V4.3.4RC1 : string(3) z:\
V4.3.4RC2 : string(3) z:\
V4.3.4RC3 : string(3) z:\
V4.3.5 : string(3) z:\
V4.3.5RC1 : string(3) z:\
V4.3.5RC2 : string(3) z:\
V4.3.5RC3 : string(3) z:\
V4.3.5RC4 : string(3) z:\
V4.3.6 : string(3) z:\
V4.3.6RC1 : string(3) z:\
V4.3.6RC2 : string(3) z:\
V4.3.6RC3 : string(3) z:\
V4.3.7 : string(3) z:\
V4.3.7RC1 : string(3) z:\
V4.3.8 : string(3) z:\
V4.3.9 : string(3) z:\
V4.3.9RC1 : string(3) z:\
V4.4.0 : string(3) z:\
V4.4.1 : string(3) z:\
V4.4.2 : string(3) z:\
V4.4.3 : string(3) z:\
V4.4.4 : string(3) z:\
V4.4.5 : string(3) z:\
V4.4.6 : string(3) z:\
V4.4.7 : string(3) z:\
V4.4.8 : string(3) z:\
V4.4.9 : string(3) z:\

Z:\ is essentially the equivalent of __DIR__ in this example.

What output do you get on non Windows setups?

php -r var_dump(realpath(null));

If the current releases on other OS's all have output equivalent to
getcwd(), then I'll change the documentation to at least mention that
a null or empty path equates to the current working directory for V5+.

Richard.

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

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



RE: [PHP] What do you get for ...

2011-06-07 Thread Jason
-Original Message-
From: Richard Quadling [mailto:rquadl...@gmail.com] 
Sent: 07 June 2011 11:35
To: PHP General list
Subject: [PHP] What do you get for ...

Hi.

What do you get for ...

php -r var_dump(realpath(null));

I'm wondering if the result should be a boolean false.

But I'm getting very different results for different versions of PHP
for Windows.

For PHP5+ (upto lastest 5.3.7-dev), the output is always the same as getcwd()


[snip]

I get the following in Win7 Pro x64 SP1 running PHP 5.3.6:


--- BEGIN OUTPUT ---
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

D:\php -r var_dump(realpath(null));
string(3) D:\

D:\

-- END OUTPUT ---

HTH
J


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



RE: [PHP] What do you get for ...

2011-06-07 Thread admin
Microsoft Windows Version 5.1.2600

E:\php -r var_dump(realpath(null));
string(41) E:\

E:\

Richard L. Buskirk


-Original Message-
From: Richard Quadling [mailto:rquadl...@gmail.com] 
Sent: Tuesday, June 07, 2011 6:35 AM
To: PHP General list
Subject: [PHP] What do you get for ...

Hi.

What do you get for ...

php -r var_dump(realpath(null));

I'm wondering if the result should be a boolean false.

But I'm getting very different results for different versions of PHP
for Windows.

For PHP5+ (upto lastest 5.3.7-dev), the output is always the same as getcwd()

For PHP4, some very interesting differences ...

V4.0.0 : string(5) Z:\\/
V4.0.1 : string(5) z:\\/
V4.0.1pl1 : string(5) z:\\/
V4.0.2 : bool(false)
V4.0.3 : bool(false)
V4.0.4 : string(3) z:\
V4.0.4pl1 : string(3) z:\
V4.0.5 : string(3) z:\
V4.0.6 : string(3) z:\
V4.1.0 : string(3) z:\
V4.1.1 : string(3) z:\
V4.1.2 : string(3) z:\
V4.2.0 : string(98) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.2.x\php-4.2.0
V4.2.1 : string(3) z:\
V4.2.2 : string(3) z:\
V4.2.3 : string(3) z:\
V4.2.3RC1 : string(3) z:\
V4.2.3RC2 : string(3) z:\
V4.3.0 : string(3) z:\
V4.3.0pre2 : string(102) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0pre2
V4.3.0RC1 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC1
V4.3.0RC2 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC2
V4.3.0RC3 : string(101) D:\Personal
Files\Downloads\Software\Programming\PHP\Official
Releases\PHP4.x.x\PHP4.3.x\php-4.3.0RC3
V4.3.0RC4 : string(3) z:\
V4.3.1 : string(3) z:\
V4.3.10 : string(3) z:\
V4.3.11 : string(3) z:\
V4.3.2 : string(3) z:\
V4.3.2RC1 : string(3) z:\
V4.3.2RC2 : string(3) z:\
V4.3.2RC3 : string(3) z:\
V4.3.3 : string(3) z:\
V4.3.3RC1 : string(3) z:\
V4.3.3RC2 : string(3) z:\
V4.3.3RC3 : string(3) z:\
V4.3.3RC4 : string(3) z:\
V4.3.4 : string(3) z:\
V4.3.4RC1 : string(3) z:\
V4.3.4RC2 : string(3) z:\
V4.3.4RC3 : string(3) z:\
V4.3.5 : string(3) z:\
V4.3.5RC1 : string(3) z:\
V4.3.5RC2 : string(3) z:\
V4.3.5RC3 : string(3) z:\
V4.3.5RC4 : string(3) z:\
V4.3.6 : string(3) z:\
V4.3.6RC1 : string(3) z:\
V4.3.6RC2 : string(3) z:\
V4.3.6RC3 : string(3) z:\
V4.3.7 : string(3) z:\
V4.3.7RC1 : string(3) z:\
V4.3.8 : string(3) z:\
V4.3.9 : string(3) z:\
V4.3.9RC1 : string(3) z:\
V4.4.0 : string(3) z:\
V4.4.1 : string(3) z:\
V4.4.2 : string(3) z:\
V4.4.3 : string(3) z:\
V4.4.4 : string(3) z:\
V4.4.5 : string(3) z:\
V4.4.6 : string(3) z:\
V4.4.7 : string(3) z:\
V4.4.8 : string(3) z:\
V4.4.9 : string(3) z:\

Z:\ is essentially the equivalent of __DIR__ in this example.

What output do you get on non Windows setups?

php -r var_dump(realpath(null));

If the current releases on other OS's all have output equivalent to
getcwd(), then I'll change the documentation to at least mention that
a null or empty path equates to the current working directory for V5+.

Richard.

-- 
Richard Quadling
Twitter : EE : Zend : PHPDoc
@RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY : bit.ly/lFnVea

-- 
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



  1   2   3   4   5   6   7   8   9   10   >