Re: [PHP] Array within array

2005-09-30 Thread Chris Blake
t; > > Like this? Hi Emil, That`s exactly how I figured it out eventuallysometimes you just need to step away from the monitor and take a break before the answer slaps you on the forehead... :) Thanks -- Chris Blake Cell: 082 775 1492 Work: +27 11 880 2825 Fax : +27 11 782 0841 Mail: [

Re: [PHP] php wget: Return an empty file

2005-04-08 Thread Chris Blake
On Fri, 2005-04-08 at 13:52, Josip Dzolonga wrote: > Chris Blake wrote: > > >Greetings PHP(eople), > > > >I have a wget process that runs to download a file from a web site, > > > > Why would you do that ? There're bultin functions in PHP for doing i

Re: [PHP] php wget: Return an empty file [Solved]

2005-04-08 Thread Chris Blake
On Fri, 2005-04-08 at 09:47, Chris Blake wrote: > Greetings PHP(eople), > > I have a wget process that runs to download a file from a web site, > however, if no file exists at the location I`m pulsing, how do I get it > to abort ? > > Here is the code : > > $getfile

[PHP] php wget: Return an empty file

2005-04-08 Thread Chris Blake
e(), but if no file is brought back then there is nothing for the function to check. If someone could point me to the right PHP function, or a link somewhere... Regards -- Chris Blake Cell: 082 775 1492 Work: +27 11 782 0840 Fax : +27 11 782 0841 Mail: [EMAIL PROTECTED] I have a very good DEN

RE: [PHP] shell_exec question - Solved

2003-10-09 Thread Chris Blake
to make it work this time. Anyhowze, my shell_exec`s are working now, so I`m a happy camper... Thanks again to all who assisted, muchly apreciated. -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: http://www.pbpc.co.za THE

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
o page... So where is the info coming from...another php.ini located somewhere else on my drive ? A search revealed naddaso I`m out of ideas right now. -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: http://www.pbpc.co.za bu

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
On Wed, 2003-10-08 at 15:23, Marek Kilimajer wrote: > Then check your httpd.conf for php_(admin_)?(flag|value) I checked it but there is nothing for php whatsoever. -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: h

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
ese files contain single entries e.g extension =readline.so and so on. Is there another file I should look for in /etc ? -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: http://www.pbpc.co.za A person forgives only when they a

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
tain a php.ini file.... -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: http://www.pbpc.co.za Campus sidewalks never exist as the straightest line between two points. -- M. M. Johnston 14:56:07 up 21 days, 6:26, 3 users,

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
ir(/home/chris/PBPCBackup/) [function.opendir]: failed to open dir: No such file or directory in /var/www/html/backups.php on line 8 = I got this error as well prior to changing the safe mode parameter... Still lost, but searching :( -- Chris Blake Support Consultant Office : (011

[PHP] shell_exec question

2003-10-08 Thread Chris Blake
? -- Chris Blake Support Consultant Office : (011) 782-0840 Fax: (011) 782-0841 Mobile : 083 985 0379 Website: http://www.pbpc.co.za What does education often do? It makes a straight cut ditch of a free meandering brook. -- Henry David Thoreau 13:10:21 up 21 days, 4:40, 3 users

Re: [PHP] PHP Worldwide Stats

2003-09-17 Thread Chris Blake
On Wed, 2003-09-17 at 17:11, Curt Zirzow wrote: > [snip] > > Flame on! > -- Johnny Storm > > > Is this an invite :) > I have no idea who Johnny Storm is...but best he stay away from starting a flame war on my behalf...I`m a lover, not a fighter.

Re: [PHP] PHP Worldwide Stats

2003-09-17 Thread Chris Blake
On Wed, 2003-09-17 at 16:55, Jason Wong wrote: > On Wednesday 17 September 2003 22:44, Chris Blake wrote: > > > Where can I find stats, if any, on the number of sites using PHP as a > > server side language ? > > > > I been googling around using "PHP global sta

[PHP] PHP Worldwide Stats

2003-09-17 Thread Chris Blake
Greetings learned PHP(eople); Where can I find stats, if any, on the number of sites using PHP as a server side language ? I been googling around using "PHP global statistics" and other combinations but can`t find anything. Regards -- Chris Blake Support Consultant Office : (011

Re: [PHP] Directory Size

2003-08-15 Thread Chris Blake
, which I understand uses ext3 (newbie) Thanks for trying to assist... -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 If we men married the women we deserved, we should have a very bad time of it. -- Oscar Wilde -- PHP General Mailing List (http://www.php.net/) To un

[PHP] Directory Size

2003-08-15 Thread Chris Blake
x27;' . $mstrng . ''; When I do that my browser hangs endlesslymind you, it also hangs when I run du -sc from the command line... Any pointers muchly appreciated... -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Anger kills as surely as the other vices. --

[PHP] Re: Parse error not understood

2003-08-14 Thread Chris Blake
which option I select I get the following output : > > -- > > Parse error: parse error, unexpected $ in > > /var/www/html/Sessions/userman.php on line 83 > > > > Line 83 is '?>'.. > You missed a '}' at lines : > > > if($c

[PHP] Parse error not understood

2003-08-14 Thread Chris Blake
); exit(); header('location:del_new_user.php'); exit(); } //header('location: content.php'); ?> No matter which option I select I get the following output : -- Parse error: parse erro

Re: [PHP] Running script produces no output

2003-08-07 Thread Chris Blake
n check in your php script that you > receive the message. > > Best regards, > Jacob Vennervald > > On Wed, 2003-08-06 at 08:38, Chris Blake wrote: > > Greetings learned PHP(eople); > > > > I have a small script sitting in my web directory which I have called >

[PHP] Running script produces no output

2003-08-06 Thread Chris Blake
his doesn`t change anything I have also tried using './info.sh' with no result Any pointers much appreciated as to why this won`t work. The permissions are as follows for the script file : -rwxrwxrwx1 root root 2456 Aug 5 16:35 info.sh Regards -- Chris Blake

Re: [PHP] Variable not passed twixt pages..

2003-07-18 Thread Chris Blake
Thanks to all who contributed, I managed to get it to work using just $mailaddress. Much appreciated. -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 One learns to itch where one can scratch. -- Ernest Bramah -- PHP General Mailing List (http://www.php.net

[PHP] Variable not passed twixt pages..

2003-07-18 Thread Chris Blake
m in the php code somewhere..I been playing with this for a while now and no joy has yet surfaced.. Any ideas greatly appreciated... -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Then there was the Formosan bartender named Taiwan-On. -- PHP General Mailing List (http://www.php

Re: [PHP] Missing php.ini file

2003-07-15 Thread Chris Blake
in Stuph/PHP 4 > > Package/php-4.3.1/pear/tests > > /php.ini > What was that? Just a blank file... -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 The greatest of faults is to be conscious of none. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
find it, simply > look for a copy of the original php.ini-dist in the php source directory > and copy it to /etc. Just be sure to rename it from php.ini-dist to > php.ini. > > To copy, in your php source directory type: > > cp php.ini-dist /etc/php.ini > > Hope this helps

Re: [PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
es... Thanks John, I`m also getting the 505 and will check back later.. Thanks for the tip/link, much appreciated... -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Oppernockity tunes but once. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
can get my php.ini file back Do I need to re-install/recompile PHP ? Many thanks -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Just because the message may never be received does not mean it is not worth sending. -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] Creating Images

2003-06-09 Thread Chris Blake
bove_line_text; //Add baseline factor $text_y -= 2; //Adjustment factor for shape of our template $white = ImageColorAllocate($image, 0,0,255); ImageTTFText ($image, $font_size, 0, $text_x, $text_y, $white, $fontname , $button_text); ImagePng($image); } ImageDe

Re: [PHP] Zend Gone missing

2003-05-30 Thread Chris Blake
. Regards Chris On Fri, 2003-05-30 at 13:24, David Grant wrote: > Chris Blake wrote: > > Any ideas ? > > From: http://www.zend.com/install_instruct.php: > > To start the ZDE (Zend Development Environment), run the zde in the > directory where you installed it (typica

[PHP] Zend Gone missing

2003-05-30 Thread Chris Blake
Greetings learned PHP(eople), I just downloaded and installed the Zend Studio trial package as I`m tired of usign vim for all my PHP stuff, and during the install process it asked if I wanted a shortcut/link placed on the desktop (Manrake 9.1 running here). I said yep, and install finished. Now

[PHP] Ximian Mail on PHP

2003-04-03 Thread Chris Blake
task, has anyone done this before, am I re-inventing the wheel, barking up the wrong tree, or what ? Where to start ? -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Linux vs. Windows is a no-WIN situation. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

Re: [PHP] chill out

2003-04-02 Thread Chris Blake
--- > /* > Tact in audacity is knowing how far you can go without going too far. > -- Jean Cocteau > */ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Linux vs. Windows is a no-WIN situation. eggs. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP & grep

2003-03-26 Thread Chris Blake
rs at all, if you keep it on the mailing list! > > ...and then Chris Blake said... > % > % Howdy David, > > Hiya! > > > % > % Thanks for the reply > > Sure thing :-) > > > % > % I`m totally new to this PHP stuffdefine "running i

[PHP] PHP & grep

2003-03-25 Thread Chris Blake
"Files :" logs/$file`; I`ve tried other things like 'grep --max-count=1 "Files :"...etc etc, and that don`t work Also tried shellexecarg (`grep blah blah blah);..still not working Any ideas -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 A chicken is the e

[PHP] Spooky numbers

2003-03-25 Thread Chris Blake
= Question is : What are those numbers that are inserted after the "Files" entry...and how do I get rid of `em...? Thanks for any assistance -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 A chicken is the eggs way of producing more eggs. -- PHP General Mailing List

RE: [PHP] Search for keyword in txt file

2003-03-12 Thread Chris Blake
. '' . $result . ''; } // Now it works the way it`s supposed to.. On Fri, 2003-03-07 at 12:38, Ernest E Vogelsinger wrote: > At 11:36 07.03.2003, Chris Blake said: > [snip] >

Re: [PHP] PHP Books

2003-03-12 Thread Chris Blake
Rasmus's book. > > I also learnt (am still learning) a lot by simply monitoring this list. > I have been able to avoid several pitfalls because of it so I recommend > continuing to stay on it. > > HTH > Chris > -- Chris Blake Office : (011) 782-0840 Cell : 083 98

RE: [PHP] Search for keyword in txt file

2003-03-12 Thread Chris Blake
file . ''. '' . $result . '' . ''; } } echo ''; echo ''; closedir($handle); } ?> ======== Thanks for taking the time to as

[PHP] PHP Books

2003-03-12 Thread Chris Blake
as I don`t wanna spend a fortune on a manual and then find out it`s [EMAIL PROTECTED] -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Your mouse has moved. Windows must be restarted for the change to take effect. Reboot now? [ OK ] -- PHP General Mailing List (http://www.php.net/) To u

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Chris Blake
Thanks Chris On Fri, 2003-03-07 at 11:21, Niklas Lampén wrote: > Dolphins are gone. ;) > > Here is your direction: preg_match(). If you need help with it (it can be > compicated at first), ask. :) > > > Niklas > > > -Original Message- > From:

[PHP] Search for keyword in txt file

2003-03-07 Thread Chris Blake
Greetings learned PHP(eople), What is the best method to search a text file for a specific string and return it to a form ? I`m not looking for you guys (and gals) to give me the answer, just point me in the right direction So long and thanks for all the fish.. -- Chris Blake Office

[PHP] IP Addesses on local network

2003-03-03 Thread Chris Blake
turned the IP address. -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 It is reported that somewhere in the world, every 15 seconds, a woman gives birth to a child. She must be found and stopped. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://w

RE: [PHP] Text File open and display

2003-03-03 Thread Chris Blake
; > // [1] => "row 2"; > // [2] => "row 3"; > // . > > for ($i = 0; $i < count($myFile); $i++) > { > print "Row ".($i+1).": ".$myFile[$i]; > }; > ?> > > > Niklas > > -Original Message--

[PHP] Text File open and display

2003-03-03 Thread Chris Blake
'; echo fpassthru($handle); echo ''. "\n"; //} echo ''; //fclose($handle); ?> = I have commented out those lines which fail and am stuck as to what the correct syntax should be. I have read up on nl2br,fgets and other posts on php.net, but

[PHP] Reading files

2003-02-27 Thread Chris Blake
I read, but to no avail. Line 16 is = " while (!feof ($handle)) ; " Suggestions ? -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 It is reported that somewhere in the world, every 15 seconds, a woman gives birth to a child. She must be found and stopped. -- PH

[PHP] fopen woes....

2003-02-24 Thread Chris Blake
file is blank..some of the other code samples I looked at on www.php.net/fopen don`t provide specific help.. -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 It is reported that somewhere in the world, every 15 seconds, a woman gives birth to a child. She must be found and stopped

[PHP] Passing info to forms

2003-02-19 Thread Chris Blake
ing the boat totally. I visited PHP.com and phpfreaks but couldn`t find info on passing variables between forms. Thanks in advance for any assistance. -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 It is reported that somewhere in the world, every 15 seconds, a woman gives birt

[PHP] Array not working

2003-02-17 Thread Chris Blake
lient) ) { // THIS IS LINE 27 //print them out to page echo $row['ClientID'].['ClientName'].['Distance']. ''; } ?> Muchos grassy-arse for any assistance.. -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 It is reported that