Am 24.01.2011 18:08, schrieb Alex Nikitin:
If you declare your arrays, and set k to 0 first, put quotes around array
values and use the correct limit (you can default to -1), you will get
results, here is code and example (hopefully this helps you)
?php
function internal_links($str,
Am 25.01.2011 12:31, schrieb Merlin Morgenstern:
Am 24.01.2011 18:08, schrieb Alex Nikitin:
If you declare your arrays, and set k to 0 first, put quotes around array
values and use the correct limit (you can default to -1), you will get
results, here is code and example (hopefully this helps
On 25 January 2011 12:04, Merlin Morgenstern merli...@fastmail.fm wrote:
Am 25.01.2011 12:31, schrieb Merlin Morgenstern:
Am 24.01.2011 18:08, schrieb Alex Nikitin:
If you declare your arrays, and set k to 0 first, put quotes around array
values and use the correct limit (you can default to
$internal_links=array();
I prefer to init arrays, it also avoids unnecessary notices, and sometimes
weird results, but either one of those while loops should make the desired
array
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{ array_push($internal_links, array('phrase'=$row['phrase'],
hi,
On Mon, Jan 17, 2011 at 5:21 AM, Tommy Pham tommy...@gmail.com wrote:
Thanks Dan. I'll keep it in mind for the future. For interested parties,
that's found in the official Windows 5.3.3 NTS VC9 build. Works fine with
the current official 5.3.5 NTS VC9.
5.3.5 was released only to fix
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran
the command lynx -source http://pear.php.net/go-pear | php. It
seemed to install, but the command pear did not work. From the root
directory I ran the command find . -name pear. There was no file
found. I
On 01/25/2011 10:32 PM, Ethan Rosenberg wrote:
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran the
command lynx -source http://pear.php.net/go-pear | php. It seemed to
install, but the command pear did not work. From the root directory I
ran the command
On 01/25/2011 11:25 AM, Nilesh Govindarajan wrote:
On 01/25/2011 10:32 PM, Ethan Rosenberg wrote:
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran the
command lynx -source http://pear.php.net/go-pear | php. It seemed to
install, but the command pear did not
Am 25.01.2011 18:25, schrieb Nilesh Govindarajan:
On 01/25/2011 10:32 PM, Ethan Rosenberg wrote:
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran the
command lynx -source http://pear.php.net/go-pear | php. It seemed to
install, but the command pear did not
On Tue, Jan 25, 2011 at 13:43, Ronny Tiebel ronny.tie...@qumido.de wrote:
erm, on linux you could just install it with apt/aptitude !?
's/linux/Ubuntu or Debian as root'
--
/Daniel P. Brown
Network Infrastructure Manager
Documentation, Webmaster Teams
http://www.php.net/
--
PHP General
(sorry for top post)
As he mentioned using lynx ( and I'm assuming the OS rather than the browser
here, as I'm not aware of the browser having those sorts of capabilities) then
could it be that all the pear packages don't exist?
Mostly, pear packages can just be copied into your app
On Tue, Jan 25, 2011 at 13:54, Ronny Tiebel ronny.tie...@qumido.de wrote:
ubuntu (10.10) == debian sid, so there are no diferences on that
I didn't need an explanation of what equals what, I was correcting
your generalized statement that apt-get worked on Linux. Consider RH
derivatives,
Am 25.01.2011 20:01, schrieb Daniel Brown:
On Tue, Jan 25, 2011 at 13:54, Ronny Tiebel ronny.tie...@qumido.de wrote:
ubuntu (10.10) == debian sid, so there are no diferences on that
I didn't need an explanation of what equals what, I was correcting
your generalized statement that apt-get
On Tue, Jan 25, 2011 at 14:07, Ronny Tiebel ronny.tie...@qumido.de wrote:
oh, ok, sorry for that.
ive missunderstood your post.
but he wrote that he's using debian sid so its a possible solution for him.
never mind
just wanted to help
It is helpful, just correcting for the archives.
Am 25.01.2011 20:09, schrieb Daniel Brown:
On Tue, Jan 25, 2011 at 14:07, Ronny Tiebel ronny.tie...@qumido.de wrote:
oh, ok, sorry for that.
ive missunderstood your post.
but he wrote that he's using debian sid so its a possible solution for him.
never mind
just wanted to help
It is
At 12:25 PM 1/25/2011, Nilesh Govindarajan wrote:
On 01/25/2011 10:32 PM, Ethan Rosenberg wrote:
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran the
command lynx -source http://pear.php.net/go-pear | php. It seemed to
install, but the command pear did not
On Tue, Jan 25, 2011 at 13:33, Ethan Rosenberg eth...@earthlink.net wrote:
As far as I can tell, the PHP is installed directly on my computer. Now
what?
From the command line, type:
which pear
If it gives you a path, PEAR is installed, and you can use it as
you desire. If
Hello,
I don't yet have a complete understanding of string encodings for the
various environments they may need to pass through or be in. I have
found bits and pieces within Larry's book, the online docs, and by
googling... and
my app seems to be working fine, but I don't yet feel confident
1.) Saving strings to a database
One thing I always forget to remember is to send tge SET NAMES utf8
command to MySQL after making a connection. This will save you 1000
headaches if you're working with non-latin characters. I can't count
the number of times I've thrown htmlentities,
At 01:44 PM 1/25/2011, Shawn McKenzie wrote:
On 01/25/2011 11:25 AM, Nilesh Govindarajan wrote:
On 01/25/2011 10:32 PM, Ethan Rosenberg wrote:
Dear List --
How do install PEAR on Linux? I installed lynx and as root, I ran the
command lynx -source http://pear.php.net/go-pear | php. It
Dear list -
I have a program with the following statement: $out = system('ls
-l', $retval); The output is a string. How do I format the output
to be in the Linux format, that is in columns. I cannot think of a
way to use explode to do it.
Advice and comments, please.
Thanks
Ethan
Ethan Rosenberg wrote:
Dear list -
I have a program with the following statement: $out = system('ls -l',
$retval); The output is a string. How do I format the output to be in
the Linux format, that is in columns. I cannot think of a way to use
explode to do it.
Advice and comments, please.
Hi You can try something like this:
?php
ob_start();
system('ls', $retval);
$raw = ob_get_contents();
ob_end_clean();
$arr = explode(chr(10),$raw);
print_r($arr);
it gives you a array back whit the lines
2011/1/26 Donovan Brooke li...@euca.us
Ethan Rosenberg wrote:
Dear list -
I have
On 1/25/2011 9:05 PM, Ethan Rosenberg wrote:
Dear list -
I have a program with the following statement: $out = system('ls -l',
$retval); The output is a string. How do I format the output to be in
the Linux format, that is in columns. I cannot think of a way to use
explode to do it.
Advice and
24 matches
Mail list logo