Re: [PHP] Mandrake 10.1

2004-12-25 Thread Greg Donald
On Sat, 25 Dec 2004 00:27:54 -0500, GH [EMAIL PROTECTED] wrote: This may be off topic.. but does anyone know what versions of PHP and MySql Mandrake is shipping with 10.1 Offical? From these advisories it looks like 4.0.20. http://www.mandrakesoft.com/security/advisories?name=MDKSA-2004:119

Re: [PHP] Exec() denied read on Apache (fedora core 3)

2004-12-25 Thread Zia Syed
I just found out that I was having SELinux enabled, which was causing the trouble. Once disabled, I can run PHP in safemode and use exec. I know its not the safest thing to do, but until I learn a bit more about SELinux, this is the way to go :) Z. On Fri, 24 Dec 2004 14:48:20 +, Zia Syed

Re: [PHP] Mandrake 10.1

2004-12-25 Thread GH
I want to know before I upgrade to it... i am running 10.0 communty right now On Sat, 25 Dec 2004 13:48:43 +0530, Zareef Ahmed [EMAIL PROTECTED] wrote: its so simple run phpinfo() in a simple script, you will get the version of both zareef ahmed On Sat, 25 Dec 2004 00:27:54 -0500, GH

[PHP] help in reversing an array

2004-12-25 Thread mail.pmpa
Hi all and Merry Christmas!! I am having some trouble reversing the order of an array. I have this array: $array[0]='Socket A'; $array[1]='Single processor'; $array[2]='Motherboards'; $array[3]='Hardware'; and I want to do a simple reverse of the content like this:

RE: [PHP] help in reversing an array

2004-12-25 Thread Mike
I am having some trouble reversing the order of an array. [snip] Which function amongst the available should I use? rsort() is what you're looking for. http://us2.php.net/manual/en/function.rsort.php -M -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] PHP Wiki recomendations

2004-12-25 Thread Greg Donald
Could anyone recommend a good PHP-based Wiki script, for PHP 4.x? I've been testing a bunch of them and almost all seem to be crap so far. Thanks.. -- Greg Donald Zend Certified Engineer http://gdconsultants.com/ http://destiney.com/ -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] PHP Wiki recomendations

2004-12-25 Thread Matthew Fonda
Yawiki is nice http://yawiki.com/ On Sat, 2004-12-25 at 09:13, Greg Donald wrote: Could anyone recommend a good PHP-based Wiki script, for PHP 4.x? I've been testing a bunch of them and almost all seem to be crap so far. Thanks.. -- Greg Donald Zend Certified Engineer

[PHP] Re: PHP Wiki recomendations

2004-12-25 Thread Matthew Weier O'Phinney
* Greg Donald [EMAIL PROTECTED]: Could anyone recommend a good PHP-based Wiki script, for PHP 4.x? I've been testing a bunch of them and almost all seem to be crap so far. Crap in what way(s)? Could you elaborate on those you have tested and what deficiencies you found -- in part so that any

[PHP] Help with code

2004-12-25 Thread karl james
Team, Can you tell me why this code is not working? I get a query is empty at the moment. http://www.theufl.com/php/wrox_php/movie_details.phps Karl James (TheSaint) [EMAIL PROTECTED] http://theufl.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] getting home directory path

2004-12-25 Thread Sebastian
how do i get the path to my home directory.. eg, /usr/home/ $_SERVER['DOCUMENT_ROOT'] returns /usr/home/public_html i remember doing this once with basename() though i can't remember how i did it. thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] help in reversing an array

2004-12-25 Thread M. Sokolewicz
Mike wrote: I am having some trouble reversing the order of an array. [snip] Which function amongst the available should I use? rsort() is what you're looking for. http://us2.php.net/manual/en/function.rsort.php -M what's wrong with array_reverse()?

Re: [PHP] Help with code

2004-12-25 Thread Robby Russell
karl james said: Team, Can you tell me why this code is not working? I get a query is empty at the moment. http://www.theufl.com/php/wrox_php/movie_details.phps We need some information on the errors that you are getting. -Robby -- /*** * Robby

Re: [PHP] Help with code

2004-12-25 Thread John Holmes
karl james wrote: Can you tell me why this code is not working? I get a query is empty at the moment. http://www.theufl.com/php/wrox_php/movie_details.phps Didn't we already see this once? From File: $movie_query in mysql_query(); What kind of PHP code is that? You could really help yourself by

RE: [PHP] Help with code

2004-12-25 Thread karl james
I have since updated it. And I am having issues with a function I suppose. Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/virtual/site38/fst/var/www/html/php/wrox_php/movie_details.php on line 119