tamouse mailing lists | 1 Aug 2012 03:34
Picon
Gravatar

Re: Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

Ugh. This is why I no longer want an apple computer.

On Jul 31, 2012 8:26 AM, "JeffPGMT" <jeffpgmt <at> gmail.com> wrote:
>
> AGAIN - THANKS TO ALL...
>
> IT installed XCode, here's another? command line tools sans XCode
available
> from Kenneth's github,
> https://github.com/kennethreitz/osx-gcc-installer
>
> However another irony, now that XCode is installed, in the new XCode 4.4
> command line tools are not installed by default, so I found my way to
> Preferences, Downloads, Command Line tools Install checkbox... it's
> downloading (similar to watching paint dry)
>
> JeffP...
>
> "Simon J Welsh" <simon <at> simon.geek.nz> wrote in message
> news:2A4921BF-DB43-464B-8BBE-5EA1E36659DD <at> simon.geek.nz...
> On 31/07/2012, at 10:54 PM, Jason Pruim <lists <at> pruimphotography.com>
wrote:
> > On Jul 30, 2012, at 12:01 PM, "JeffPGMT" <jeffpgmt <at> gmail.com> wrote:
> >
> >> Thanks All, now I have to tell the business owner to let the IT guy
> >> update
> >> to 10.8 if he likes, which will buy me time to sort out all of what you
> >> folks contributed.
> >>
> >> I wasn't aware that Mamp free installed anything more than basic and
(Continue reading)

tamouse mailing lists | 1 Aug 2012 03:35
Picon
Gravatar

Re: File moving hell on Windows

On Jul 31, 2012 12:12 PM, "Brian Dunning" <brian <at> briandunning.com> wrote:
>
> Regular Windows networking.
>
> On Jul 30, 2012, at 2:29 PM, Mike Mackintosh <
mike.mackintosh <at> angrystatic.com> wrote:
> >>
> > What protocol are you targeting? FTP, SFTP, SSH, SMB, etc?
> >
> > --
> > Mike Mackintosh
> > PHP 5.3 ZCE
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

Is this a php problem?
tamouse mailing lists | 1 Aug 2012 03:39
Picon
Gravatar

Re: PHP Stats

On Jul 31, 2012 12:19 PM, "Lester Caine" <lester <at> lsces.co.uk> wrote:
>
> Sebastian Krebs wrote:
>>
>> http://w3techs.com/technologies/details/pl-php/all/all For example. Click
>> around, nice stats there.
>
> http://w3techs.com/technologies/history_overview/programming_language/ms/yis the more
interesting one ... PHP usage IS still growing.
>
> --
> 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
>

Interesting to see coldfusion on there still... but not Ruby...
Mike Mackintosh | 1 Aug 2012 03:47
Gravatar

Re: File moving hell on Windows

On Tuesday, July 31, 2012 at 9:35 PM, tamouse mailing lists wrote:
> On Jul 31, 2012 12:12 PM, "Brian Dunning" <brian <at> briandunning.com (mailto:brian <at> briandunning.com)> wrote:
> > 
> > Regular Windows networking.
> > 
> > On Jul 30, 2012, at 2:29 PM, Mike Mackintosh <
> mike.mackintosh <at> angrystatic.com (mailto:mike.mackintosh <at> angrystatic.com)> wrote:
> > > > 
> > > 
> > > What protocol are you targeting? FTP, SFTP, SSH, SMB, etc?
> > > 
> > > --
> > > Mike Mackintosh
> > > PHP 5.3 ZCE
> > > 
> > 
> > 
> > 
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> > 
> 
> 
> Is this a php problem? 

That would be SMB. There is not a lot of PHP support out there for SMB, but you should take a look at 

http://basitali.wordpress.com/2008/10/02/accessing-windows-share-samba-from-php/

(Continue reading)

Slith | 1 Aug 2012 03:58
Picon

Re: Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

save yourself the trouble and setup a virtualized Linux box using Vagrant http://vagrantup.com. I think
this is the way to go on Mac.

On Jul 31, 2012, at 6:34 PM, tamouse mailing lists wrote:

> Ugh. This is why I no longer want an apple computer.
> 
> On Jul 31, 2012 8:26 AM, "JeffPGMT" <jeffpgmt <at> gmail.com> wrote:
>> 
>> AGAIN - THANKS TO ALL...
>> 
>> IT installed XCode, here's another? command line tools sans XCode
> available
>> from Kenneth's github,
>> https://github.com/kennethreitz/osx-gcc-installer
>> 
>> However another irony, now that XCode is installed, in the new XCode 4.4
>> command line tools are not installed by default, so I found my way to
>> Preferences, Downloads, Command Line tools Install checkbox... it's
>> downloading (similar to watching paint dry)
>> 
>> JeffP...
>> 
>> "Simon J Welsh" <simon <at> simon.geek.nz> wrote in message
>> news:2A4921BF-DB43-464B-8BBE-5EA1E36659DD <at> simon.geek.nz...
>> On 31/07/2012, at 10:54 PM, Jason Pruim <lists <at> pruimphotography.com>
> wrote:
>>> On Jul 30, 2012, at 12:01 PM, "JeffPGMT" <jeffpgmt <at> gmail.com> wrote:
>>> 
>>>> Thanks All, now I have to tell the business owner to let the IT guy
(Continue reading)

Matt Graham | 1 Aug 2012 05:40
Picon

Re: File moving hell on Windows

Mike Mackintosh wrote:
>> What protocol are you targeting? FTP, SFTP, SSH, SMB, etc? 
From: Brian Dunning <brian <at> briandunning.com>
> Regular Windows networking.

If you're using a 'Doze box, and you want to use PHP functions like rename(),
then IIRC the only real option that you have is to do something like:

system("net use m: \\BORG\SHARE PASSWORD /user:DOMAIN\USER");
system("net use n: \\MACHINE\SHARE2 PASSWORD2 /user:DOMAIN2\USER2");
rename("n:/path/to/file","m:/path/to/otherfile");
/* more stuff */
system("net use n: \\MACHINE\SHARE2 /delete");
// equivalent of "umount //machine/share2"

However, there may be a better/easier/more elegant way to do these things. 
Not sure; our PHP-running machines are all running Linux.

-- 
Matt G / Dances With Crows
The Crow202 Blog:  http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see

--

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

JeffPGMT | 1 Aug 2012 17:03
Picon

Re: Mac 10.7 Install/Copy fresh PHP over Pre-Installed PHP

This is really a saga and I have a bone to pick w/Mac or anyone for that 
matter that writes procedures

Now after getting command line tools installed which enabled "make" to work, 
and downloading & un-taring the c-client, whoa, now ./configure doesn't 
work... humm oh Apple also pulled out "autoconf", humm.... more downloads 
and setup just to enable php_imap, which was "PULLED" out of PHP to work as 
it should.

Okay bone to pick w/anyone who writes something that begins, How to Add/Do 
"ABC"....

Title: How to Add "ABC"....
Overview: What & why you would might want to do this and why you may have to 
do this if you need to do "X".
Prerequisites: NOT only things you should have, but for a novice, simple yet 
comprehensive "checks" to verify that those components exist. Don't expect a 
novice to see a rudimentary command and have a way to check if its there or 
even question if it is or isn't. What if cp (copy in Mac) were not there or 
"mkdir"? Would anyone/novice think to check or how to check first, or how to 
correct?

For example on the MacPorts website it says you must have among other 
things, X11, but there's no suggested check to verify that you do, how would 
a novice know to check?  Also, for experienced folks, a quick check to see 
if essential components are present and how they're configured/enabled or 
not.  I've seen many experienced techs get to points in a process only to 
find that things aren't working as they should because of prerequisites.

Component name: Click "here" to verify you have this installed/enabled and 
(Continue reading)

Tolga | 2 Aug 2012 06:49
Picon

About Preg Match patterns

hi, i have a question, i dont know what keywords to search, so im asking 
here.

while using preg_match, there are lots of thing that can be written as 
$pattern.
for example:
preg_match("/php/i", "PHP is the web scripting language of choice.")

what is the meaning of  /i  ?
or ' <at> ^(?:http://)?([^/]+) <at> i'  there are lots of chars here,

or this: /(?P<name>\w+): (?P<digit>\d+)/
/[^\\d\\sa-zA-Z$_]/
/^[a-zA-Z\p{Cyrillic}0-9\s\-]+$/u    (there is a extra "/u" )

#^http:\/\/(.*)\.(gif|png|jpg)$#i
#<head>(.*?)<\/head>#si

there is lots and lots of different usage of these.

my question is, where can i find a very detailed information about these 
? i want and need to know whats what about these.

Thanks,
tolga.

--

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

(Continue reading)

Paul Halliday | 1 Aug 2012 20:54
Picon
Gravatar

Re: About Preg Match patterns

On Thu, Aug 2, 2012 at 1:49 AM, Tolga <kacmaztolga <at> gmail.com> wrote:
> hi, i have a question, i dont know what keywords to search, so im asking
> here.
>
> while using preg_match, there are lots of thing that can be written as
> $pattern.
> for example:
> preg_match("/php/i", "PHP is the web scripting language of choice.")
>
> what is the meaning of  /i  ?
> or ' <at> ^(?:http://)?([^/]+) <at> i'  there are lots of chars here,
>
> or this: /(?P<name>\w+): (?P<digit>\d+)/
> /[^\\d\\sa-zA-Z$_]/
> /^[a-zA-Z\p{Cyrillic}0-9\s\-]+$/u    (there is a extra "/u" )
>
> #^http:\/\/(.*)\.(gif|png|jpg)$#i
> #<head>(.*?)<\/head>#si
>
> there is lots and lots of different usage of these.
>
> my question is, where can i find a very detailed information about these ? i
> want and need to know whats what about these.
>
> Thanks,
> tolga.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
(Continue reading)

Thiago Augusto | 1 Aug 2012 20:57
Picon
Gravatar

Re: About Preg Match patterns

You are looking for "regular expression"

2012/8/2 Tolga <kacmaztolga <at> gmail.com>

> hi, i have a question, i dont know what keywords to search, so im asking
> here.
>
> while using preg_match, there are lots of thing that can be written as
> $pattern.
> for example:
> preg_match("/php/i", "PHP is the web scripting language of choice.")
>
> what is the meaning of  /i  ?
> or ' <at> ^(?:http://)?([^/]+) <at> i'  there are lots of chars here,
>
> or this: /(?P<name>\w+): (?P<digit>\d+)/
> /[^\\d\\sa-zA-Z$_]/
> /^[a-zA-Z\p{Cyrillic}0-9\s\-]+**$/u    (there is a extra "/u" )
>
> #^http:\/\/(.*)\.(gif|png|jpg)**$#i
> #<head>(.*?)<\/head>#si
>
> there is lots and lots of different usage of these.
>
> my question is, where can i find a very detailed information about these ?
> i want and need to know whats what about these.
>
> Thanks,
> tolga.
>
(Continue reading)


Gmane