Re: [PHP] different menus for different roles

2011-10-19 Thread George Langley
On 2011-10-20, at 12:31 AM, drupal dev wrote: > I have created two domains in drupal. and two different roles. > > Now i wanted to show different page for each role.can you anybody tell me > how to do it. > > Or share with me if something is readily available. Um, drupal.org woul

[PHP] different menus for different roles

2011-10-19 Thread drupal dev
Hi Gurus, I am new to php and drupal both . I have created two domains in drupal. and two different roles. Now i wanted to show different page for each role.can you anybody tell me how to do it. Or share with me if something is readily available. Thanks, S

Re: Re: [PHP] junk from my forms output

2011-10-19 Thread Tim Streater
On 19 Oct 2011 at 22:27, Simon J Welsh wrote: > On 20/10/2011, at 10:24 AM, hanson zhou wrote: > >> I have the following in a file called "hello.php" in my htdocs directory >> (Apache webroot). >> >> >> Your name: >> Your age: >> >> >> >> as well as the following in a file "action.php", als

Re: [PHP] junk from my forms output

2011-10-19 Thread Simon J Welsh
On 20/10/2011, at 10:24 AM, hanson zhou wrote: > I have the following in a file called "hello.php" in my htdocs directory > (Apache webroot). > > > Your name: > Your age: > > > > as well as the following in a file "action.php", also in the same directory. > > > Hi . > You are years old.

[PHP] junk from my forms output

2011-10-19 Thread hanson zhou
I have the following in a file called "hello.php" in my htdocs directory (Apache webroot). Your name: Your age: as well as the following in a file "action.php", also in the same directory. Hi . You are years old. When I click on the submit button of the form in hello.php, it should sa

Re: [PHP] Check variable value if change inside the Loop

2011-10-19 Thread Jim Lucas
On 10/19/2011 12:32 PM, ®0L¥ wrote: > Hello World, > > I have a question regarding loops, How I can check inside a loop if a > variable chage a value, for example > > $sql = mysql_query("SELECT model FROM table") > > while($row=mysql_fetch_array){ > $model = $row['model']; > echo "First

Re: [PHP] Questions Regarding Recent Ubuntu PHP5 Security Announcement

2011-10-19 Thread Jim Lucas
On 10/19/2011 8:05 AM, Jon Watson wrote: > On Wed, Oct 19, 2011 at 11:54 AM, Jim Lucas wrote: > >> On 10/19/2011 7:00 AM, Jon Watson wrote: >>> Hello All, >>> >>> I am trying to make some sense of this PHP5 security vulnerability notice >>> from 18 October 2011: >>> >>> http://comments.gmane.org/

[PHP] Check variable value if change inside the Loop

2011-10-19 Thread ®0L¥
Hello World, I have a question regarding loops, How I can check inside a loop if a variable chage a value, for example $sql = mysql_query("SELECT model FROM table") while($row=mysql_fetch_array){ $model = $row['model']; echo "First model: ".$model.""; * // if $model chage its model va

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tommy Pham
On Wed, Oct 19, 2011 at 9:26 AM, Tim Thorburn wrote: > > > Failing this, do you need Apache? If you just want a web server to test > some stuff on, you can download Microsoft's Web Platform - it will install > and configure IIS to run with PHP, IIS is only available on Windows XP Professional.

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Tim Thorburn
On 10/19/2011 11:36 AM, Joseph Adenuga wrote: Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php codeHello Web!

Re: [PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Lester Caine
Joseph Adenuga wrote: I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation Both of those are quite old! If you are just starting out then it would be worth ditching them and getting PHP5.3.8 with Apache2.2.21

[PHP] Re: PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Shawn McKenzie
On 10/19/2011 10:36 AM, Joseph Adenuga wrote: > > > > Dear All, > > > I’m using Window XP operating system. I’ve just installed > PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache > installation > is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ > B

[PHP] Problem of load balance among php-cgi process

2011-10-19 Thread Sean Chen
Hi, I've got a problem when running PHP with nginx, there are several php-cgi processes and only one is busy at one time, like this: 500 23868 0.0 0.0 209164 10948 ?S21:23 0:01 /usr/local/websrv/php/bin/php-cgi --fpm --fpm-config /usr/local/websrv/php/etc/php-fpm.conf

[PHP] PHP 5.2 and Apache 2.2 are really compatible?

2011-10-19 Thread Joseph Adenuga
Dear All, I’m using Window XP operating system. I’ve just installed PHP 5.2.5 and Apache 2.2.8 over a week now. I’ve checked if Apache installation is okay with ‘localhost’ in my Firefox browser and it displays ‘It Works!’ But, my php code Hello Web!"; ?> that I saved as ‘first.php’ in the ‘h

Re: [PHP] Questions Regarding Recent Ubuntu PHP5 Security Announcement

2011-10-19 Thread Jon Watson
On Wed, Oct 19, 2011 at 11:54 AM, Jim Lucas wrote: > On 10/19/2011 7:00 AM, Jon Watson wrote: > > Hello All, > > > > I am trying to make some sense of this PHP5 security vulnerability notice > > from 18 October 2011: > > > > http://comments.gmane.org/gmane.linux.ubuntu.security.announce/1478 > >

Re: [PHP] Questions Regarding Recent Ubuntu PHP5 Security Announcement

2011-10-19 Thread Jim Lucas
On 10/19/2011 7:00 AM, Jon Watson wrote: > Hello All, > > I am trying to make some sense of this PHP5 security vulnerability notice > from 18 October 2011: > > http://comments.gmane.org/gmane.linux.ubuntu.security.announce/1478 > > It states that for Ubuntu 8.04 users, a PHP upgrade to 5.2.4 is

[PHP] Questions Regarding Recent Ubuntu PHP5 Security Announcement

2011-10-19 Thread Jon Watson
Hello All, I am trying to make some sense of this PHP5 security vulnerability notice from 18 October 2011: http://comments.gmane.org/gmane.linux.ubuntu.security.announce/1478 It states that for Ubuntu 8.04 users, a PHP upgrade to 5.2.4 is required to take care of the security issues. It also sta

[PHP] Agile Toolkit - looking for your feedback!

2011-10-19 Thread Romans Malinovskis
Hi All, I’ve been working hard on the PHP UI Framework called Agile Toolkit. Some of you might have already heard and tried it, but I’m willing to get it out to more people. What is UI Framework PHP UI Framework is collection of a PHP Classes which are designed to care of Web User Interface w