Re: [PHP] Array within array

2005-09-30 Thread Chris Blake
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: [EMAIL PROTECTED] If a camel flies, no one laughs if it doesn't

[PHP] php wget: Return an empty file

2005-04-08 Thread Chris Blake
($getfile); ? I looked at filesize(), 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

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 : ?php $getfile = 'wget -dv -o log.txt http

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 it. wget was the first thing I thought of :) -- Chris

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

[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] shell_exec question

2003-10-08 Thread Chris Blake
/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) 782-0840 Fax

Re: [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 Campus sidewalks never exist as the straightest line between two points. -- M. M. Johnston 14:56:07 up 21 days, 6:26, 3 users, load average: 0.48

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
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 are in the wrong

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

Re: [PHP] shell_exec question

2003-10-08 Thread Chris Blake
... 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 buzzword, n

[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) 782-0840 Fax

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 statistics and other combinations but can`t find

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 :) -- Chris Blake Support

[PHP] Directory Size

2003-08-15 Thread Chris Blake
. 'pre'; 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 General Mailing List (http

Re: [PHP] Directory Size

2003-08-15 Thread Chris Blake
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 unsubscribe

[PHP] Parse error not understood

2003-08-14 Thread Chris Blake
select I get the following output : -- Parse error: parse error, unexpected $ in /var/www/html/Sessions/userman.php on line 83 Line 83 is '?'.. Any ideas and help greatly appreciatedI been staring at this for an hour now and can`t see whats wrong. Thanks -- Chris Blake Office

[PHP] Re: Parse error not understood

2003-08-14 Thread Chris Blake
this, and your problem is fixed! -- Ivo Fokkema PHP MySQL programmer Leiden University Medical Centre Netherlands -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 None of our men are experts. We have most unfortunately found it necessary to get rid of a man as soon as he thinks

Re: [PHP] Running script produces no output

2003-08-07 Thread Chris Blake
. 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 upon as follows : ?php shell_exec('./info.sh'); ? The script is not being run, yet I can do

[PHP] Running script produces no output

2003-08-06 Thread Chris Blake
Aug 5 16:35 info.sh Regards -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 Join the army, see the world, meet interesting, exciting people, and kill them. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Variable not passed twixt pages..

2003-07-18 Thread Chris Blake
either.. The database is getting populated with blank values...is my problem 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

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

RE: [PHP] Missing php.ini file

2003-07-15 Thread Chris Blake
-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. -Original Message- From: Chris Blake [mailto:[EMAIL PROTECTED] Sent: Monday

Re: [PHP] Missing php.ini file

2003-07-15 Thread Chris Blake
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

[PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
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 unsubscribe, visit

Re: [PHP] Missing php.ini file

2003-07-14 Thread Chris Blake
.. 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] Creating Images

2003-06-09 Thread Chris Blake
for any assistance.. Regards -- Chris Blake Office : (011) 782-0840 Cell : 083 985 0379 All most men really want in life is a wife, a house, two kids and a car, a cat, no maybe a dog. Ummm, scratch one of the kids and add a dog. Definitely a dog. -- PHP General Mailing List (http

[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

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 (typically, /usr/local/Zend/bin) Looks like

[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

Re: [PHP] PHP grep

2003-03-26 Thread Chris Blake
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 in safe mode. I don't know much about it, since my server runs without it. It's not a bad idea

[PHP] Spooky numbers

2003-03-25 Thread Chris Blake
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 (http://www.php.net/) To unsubscribe, visit: http

[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 eggs way of producing more eggs

[PHP] PHP Books

2003-03-12 Thread Chris Blake
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 unsubscribe

RE: [PHP] Search for keyword in txt file

2003-03-12 Thread Chris Blake
); } ? Thanks for taking the time to assist on this one. Chris On Fri, 2003-03-07 at 12:38, Ernest E Vogelsinger wrote: At 11:36 07.03.2003, Chris Blake said: [snip] Ok, it`s not that easy..here`s my code

Re: [PHP] PHP Books

2003-03-12 Thread Chris Blake
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 985 0379 Your mouse has moved. Windows must be restarted for the change to take effect. Reboot now? [ OK ] -- PHP General Mailing List (http

RE: [PHP] Search for keyword in txt file

2003-03-12 Thread Chris Blake
/a'. 'td' . $result . '/td'; } // 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

[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

RE: [PHP] Search for keyword in txt file

2003-03-07 Thread Chris Blake
-Original Message- From: Chris Blake [mailto:[EMAIL PROTECTED] Sent: 7. maaliskuuta 2003 11:16 To: [EMAIL PROTECTED] Subject: [PHP] Search for keyword in txt file Greetings learned PHP(eople), What is the best method to search a text file for a specific string and return it to a form

[PHP] Text File open and display

2003-03-03 Thread Chris Blake
on php.net, but ..harump Thanks -- 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

RE: [PHP] Text File open and display

2003-03-03 Thread Chris Blake
; // . for ($i = 0; $i count($myFile); $i++) { print Row .($i+1).: .$myFile[$i]; }; ? Niklas -Original Message- From: Chris Blake [mailto:[EMAIL PROTECTED] Sent: 3. maaliskuuta 2003 10:58 To: [EMAIL PROTECTED] Subject: [PHP] Text File open and display Greetings learned

[PHP] IP Addesses on local network

2003-03-03 Thread Chris Blake
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://www.php.net

[PHP] Reading files

2003-02-27 Thread Chris Blake
/fopen.php on line 16 I used the example from php.net/fget() and have tried a few changes based on other stuff I read, but to no avail. Line 16 is =while (!feof ($handle)) ; Suggestions ? -- Chris Blake Office : (011) 782-0840

[PHP] fopen woes....

2003-02-24 Thread Chris Blake
/fopen.txt, rw); fwrite($handle, Hello there!); fclose($handle); ? /body /html But my text file is blank..some of the other code samples I looked at on www.php.net/fopen don`t provide specific help.. -- Chris Blake

[PHP] Passing info to forms

2003-02-19 Thread Chris Blake
. 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 birth to a child. She must be found and stopped. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Array not working

2003-02-17 Thread Chris Blake
'].['ClientName'].['Distance']. 'hr'; } ? Muchos grassy-arse 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 birth to a child. She must be found and stopped. -- PHP General Mailing List