Re: [PHP] exec dont work for svn

2007-05-30 Thread Manolet Gmail
2007/5/30, Richard Lynch [EMAIL PROTECTED]: On Tue, May 29, 2007 10:44 am, Manolet Gmail wrote: 2007/5/28, Greg Donald [EMAIL PROTECTED]: On 5/28/07, Manolet Gmail [EMAIL PROTECTED] wrote: but this doesnt work: exec(svn update,$out); exec(svn update, $out, $error); if ($error) echo OS

[PHP] exec dont work for svn

2007-05-29 Thread Manolet Gmail
2007/5/28, Greg Donald [EMAIL PROTECTED]: On 5/28/07, Manolet Gmail [EMAIL PROTECTED] wrote: but this doesnt work: exec(svn update,$out); foreach($out as $line)echobr/$line\n; dont print anything... dont update the files Is it possible you need to provide some type of authentication

Re: [PHP] exec dont work for svn

2007-05-29 Thread Manolet Gmail
www.lauri.se - personal web site www.carbonfree.org.uk - become Carbon Free -Original Message- From: Manolet Gmail [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 29, 2007 5:45 PM To: PHP List Subject: [PHP] exec dont work for svn 2007/5/28, Greg Donald [EMAIL PROTECTED]: On 5/28/07, Manolet

[PHP] exec dont work for svn

2007-05-28 Thread Manolet Gmail
hi, i want to do a svn update (subversion) from php using exec (or system) now, this works: exec(ls; pwd,$out); foreach($out as $line)echobr/$line\n; and this also works and print me the help from subversion: exec(svn help,$out); foreach($out as $line)echobr/$line\n; but this doesnt work:

[PHP] HTDIGEST FILE FORMAT

2007-04-01 Thread Manolet Gmail
hi, i want a php script to create htdigest file... the correct file is: username:admin digest:trac pass:admin admin:trac:71ea86385b35d5e2575b0baec1904ded i try to do it on php with this: echo admin:trac:.md5(admin); but i receive this: admin:trac:21232f297a57a5a743894a0e4a801fc3 how is the

Re: [PHP] Image from a secure site

2007-03-13 Thread Manolet Gmail
2007/3/12, Richard Lynch [EMAIL PROTECTED]: Instead of trying to re-invent the authentication wheel, just use http://php.net/curl wow!! Thanks you A LOOOT!!! thats amazing!!! On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote: hi, i install 4 IP cameras and i want to extract

Re: [PHP] Image from a secure site

2007-03-13 Thread Manolet Gmail
); 2007/3/13, Manolet Gmail [EMAIL PROTECTED]: 2007/3/12, Richard Lynch [EMAIL PROTECTED]: Instead of trying to re-invent the authentication wheel, just use http://php.net/curl wow!! Thanks you A LOOOT!!! thats amazing!!! On Thu, March 8, 2007 4:51 pm, Manolet Gmail wrote: hi, i

[PHP] Image from a secure site

2007-03-08 Thread Manolet Gmail
hi, i install 4 IP cameras and i want to extract the images from their web interface that is protected be a username and password (HTTP AUTH) and show it into another system. so i do a function to connect to it and get the image... function subd($host,$port,$ownername,$passw,$request) { $sock =

[PHP] Regex Mixtake

2007-02-03 Thread Manolet Gmail
Hi, i have a problem using regex, i want to get all the text between so i try this... $subject = 'menu Archer?,-,Chief?,L_Menu2,Big Mouth?,L_Menu3;'; if (ereg('([^]*)', $subject, $regs)) { print_r($regs); } but just return me: Array ( [0] = Archer? [1] = Archer? ) not return

Re: [PHP] Regex Mixtake

2007-02-03 Thread Manolet Gmail
? On Sat, Feb 03, 2007 at 12:36:59PM -0500, Manolet Gmail wrote: Hi, i have a problem using regex, i want to get all the text between so i try this... $subject = 'menu Archer?,-,Chief?,L_Menu2,Big Mouth?,L_Menu3;'; if (ereg('([^]*)', $subject, $regs)) { print_r($regs

Re: [PHP] Regex Mixtake

2007-02-03 Thread Manolet Gmail
(). On Sat, Feb 03, 2007 at 01:58:50PM -0500, Manolet Gmail wrote: anyway, PCRE is better that ereg? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] help with \n\r in strings

2006-12-29 Thread Manolet Gmail
2006/12/29, Arpad Ray [EMAIL PROTECTED]: Angelo Zanetti wrote: So is there a way to test for \r\n? or what else can I use to delimit these two values (last column of row and first column of next row)? mmm what about open the file with and hex editor?.. or mmm notepad++ have a option to see