PHP

Events happening in the community are now at Drupal community events on www.drupal.org.

Group dedicated to the topic of PHP, the language of Drupal.

Welcome

Drupal is dependent on PHP. At this time PHP 5 is the industry standard, but with both the PHP 5.3 & 5.2 releases maintained at the same time there is are questions that pop up mainly with compatibility. This group helps bring PHP questions and their answers to light. Both PHP newbies and pros can get together here for the better of Drupal.

"PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial. After that, check out the online manual, and the example archive sites and some of the other resources available in the links section." -- Description taken from PHP.net

More about PHP can be found at: http://www.php.net


Drupal & PHP

  • Drupal 8 requires PHP 5.3 or greater.
  • Drupal 7 requires PHP 5.2.4 or greater.
  • Drupal 6 requires PHP 4.4 or greater. PHP 5.2 is recommended.
  • Drupal 5 requires PHP 4.3.5 or greater.

NOTE: Job postings are for members only. Membership is free. To view PHP/Drupal jobs, sign-up and join this group.

Latest Polls - Make Your Vote!

Which version of PHP are you running Drupal on today? (Summer 2013)

Posted by Chris Charlton on July 24, 2013 at 4:26am
PHP 5.5
5% (1 vote)
PHP 5.4
21% (4 votes)
PHP 5.3
68% (13 votes)
PHP 5.2
0% (0 votes)
Older or different versions of PHP
5% (1 vote)
Total votes: 19
Categories: , ,

php is more secure than dotnet

Posted by kevinsers on December 23, 2010 at 6:55am
yes
64% (14 votes)
no
36% (8 votes)
Total votes: 22
3 comments Categories:

Recent Discussions

We are hiring Junior to Mid level Drupal Developers

Posted by ADGTech on August 6, 2015 at 5:32pm

ADG Tech has some web based projects for the Federal Govt and are currently seeking Junior to mid level drupal developers.
Excellent Full Time Opportunity to learn and grow in the Drupal Field with practical real time experience.
We are interviewing candidates with at least one (1) year of Drupal OR PHP AND MySQL, Javascript experience.
** Candidates will be required to work onsite (Chantilly, VA)
Kindly respond directly with contact information to contact@adgtech.net

Read more

Associate Drupal/PHP developers

Posted by ADGTech on July 9, 2015 at 9:25pm

ADG Tech needs Junior Drupal Developers to support its development team at Chantilly, VA.

Ideal candidate will be someone with atleast 1 year of experience in Drupal/PHP/MySQL and JavaScript.

If interested in this opportunity, Kindly respond : Contact@adgtech.net

Read more

Seeking PHP/Drupal developers

Posted by ADGTech on March 10, 2015 at 7:24pm

ADG Tech has some Federal Projects and is looking for an associate PHP/Drupal developer to support our team at Chantilly, VA.

Should have some hands on experience with JavaScript,MySQL and JQuery.

Good Career opportunity ...www.adgtech.net
Kindly respond if interested.

Read more

Power To Connect with VoIP Drupal - Beta Launch!!!

Posted by freescholar on May 29, 2014 at 9:25pm

The agaric team has launched the BETA version of PowerToConnect.com We are using VoIP Drupal to enable Event Organizers and participants to send and receive messages using a regular phone.

BoF (Birds of a feather) organizers can send text updates to interested people that have signed up, or attendees can call +1 617 648-5578 and enter the extension of the BoF to hear updates, or subscribe to a Bof and receive txt updates.

Come help us test it out by posting your BoF session, or subscribing to one for DrupalCon Austin!

Read more

How to call a "mymodule" function outside drupal

Posted by spideep on November 22, 2012 at 3:41pm

I have my drupal directory here: www/ext/drupal/
I have made a index.php in : www/ext/index.php

I've made my module with these instructions:
http://www.bobbymods.com/faq/drupal-modules/how-do-i-add-my-own-php-func...

After that my ext/index.php looks like these:

<?php
$path = $_SERVER['DOCUMENT_ROOT'];
chdir($path."/drupal");
define('DRUPAL_ROOT', getcwd());
require_once './includes/bootstrap.inc';
drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL);

/call mymodule function/
myfunctionlibtwo("block");

Read more

Creating a View From Refernce

Posted by josejayesh on September 8, 2012 at 8:03pm

I am using Drupal7 and I have 3 content types

Country

Country Name
Country Description

State

State Name
Country Name (Node Reference)
State Description

District

District Name
State Name (Node Reference)
District Description

Is there any way to create a view from District table using the filter (where clause) State Name and Country Name. Note that Country Name reference is not using in District Table.

Thanks
~Jayesh

Read more

Questions about upgrading to 5.3

Posted by m.david on August 23, 2012 at 3:55pm

I'm getting ready to upgrade from PHP 5.2.17 to PHP 5.3 on a shared hosting server. I have sites running on both Drupal 6 and Drupal 7 on the server.

Is there anything I will need to change or update after upgrading to PHP 5.3?

Any gotchas I should watch out for?

I haven't been able to find any instructions or guidelines about this so thought I'd ask so I don't miss something.

Thanks!

Read more

Bad internet connection error

Posted by msk2020ckp on April 24, 2012 at 3:15pm

I got (Bad internet connection, server error, browser problem, Please try again shortly.)" error in drupal6?

Read more

Open Government Platform Running On drupal

Posted by josejayesh on April 5, 2012 at 4:56am

India and the US jointly developed ‘Open Government Platform’ in New Delhi.

http://webcast.gov.in/ogpl/

Read more

PHP 5.3 compatibility

Posted by Konstantin Boyandin on April 1, 2012 at 9:15am

Hello,

Approximately a year ago I posted an entry where I was expressing concerns about PHP 5.2 end of life declared, while contributed modules for Drupal 6 were not yet PHP 5.3 compatible.

Now we see PHP 5.4 having been released, but when I tried to run a replica of some of my Drupal 6 sites under PHP 5.3.10, I still have problems due to deprecated API/function calls. I don't see major problems, the code seems working, but I would like to be absolutely sure code won't break on one of the next 5.3 versions (let alone 5.4).

Read more
14 comments Categories: ,

Migrating to Drupal from PHP/MYSQL

Posted by josejayesh on March 27, 2012 at 12:52pm

Guys,
I have a site that is running on php/MySQL, now I want to migrate it to drupal 7. Using this sites registered users can create the content on various categories, others can view the content. First phase I am planning to convert MySQL database into drupal’s MySQL database. If anybody is experienced in this kind of project please share the experience .

Thanks
~Jayesh

Read more

expose drupal nodes (content), images, tags as web services

Posted by josejayesh on March 21, 2012 at 1:54pm

I want to expose drupal nodes (content), images, tags as web services and it can be consume by any client (.Net application or Perl Application).Also i want to update the comment from client side (comment can made by anonymous)

Please suggest which module is good for performing the task , i am considering
services
RESTful Web Services

Thanks
~Jayesh

Read more
1 comment Categories:

Hey Drupalers!

Posted by tbreese on March 15, 2012 at 5:51pm

For anyone who will be at DrupalCon Denver be sure to stop by Forum One Communications' booth, 113, and pick up a free t-shirt or sticker sheet. We're always looking for talented people, so come chat with us about career opportunities.

Visit: www.forumone.com/drupalcareers

Read more
Categories:

Who is using VoIP Drupal?

Posted by freescholar on February 24, 2012 at 7:46pm

So, we all know that VoIP Drupal facilitates the construction of Drupal sites that virtually pick-up the phone, make calls, record messages, send and receive text messages, run voice polls, and more.

I am using VoIP Drupal on a few of my sites and I am trying to figure out new ways to integrate it as part of my Web Development Services. I would like to offer a few ways for a client to integrate VoIP Drupal on their site as examples, and would love some feedback on how people are using VoIP Drupal...

  1. How did you find out about VoIP Drupal?
Read more
5 comments Categories: ,

Custom search results

Posted by stevengm7 on January 10, 2012 at 11:03am

Hi everyone

I have been messing with Drupal and other CMSs for a while (3+ years). But I chose Drupal and stack with it since then no matter how hard the learning curve was.
So far whenever I had issues either I figure it out or search Drupal.org site for any possible solutions time being sacrificed. But now I want to save time and be efficient expediting my projects getting direct help from all my groups. Most issues being discussed here are grabbing my attentions because they are very important that's why I joined so many groups.

Read more

How to seach text from .txt file

Posted by digodrupal on December 12, 2011 at 6:37am

i need this help on drupal.

i have a text file and file name is C:\wamp\www\mysite\sites\default\files\abc.txt. in this file is;

aaaaa bbb
ccccc ddd
eeeee fffff

if i type aaaa in the search box and hits enter means the output should come with the node containing the word aaaa and this this text document also.

This will be shown in search output

is there any module available for that?

thanks.

Read more

Is there any module like google translater in drupal 7

Posted by hariharasuthan_mk on November 2, 2011 at 9:50am

hi drupalers,

can anyone help me, google translater module in drupal 7
i do not need i18n module functionality

Read more

how to upgrade drupal 4 version to drupal 7

Posted by hariharasuthan_mk on September 30, 2011 at 6:48am

hi drupalers,
i need the help from u , i am in need to upgrade a site from drupal version 4 to latest drupal 7 version , how to do that , any idea if you have share with me, If there any other way through patches / modules

wishes in advance

Read more

Search with in search by views module

Posted by umanda on September 14, 2011 at 5:04am

Hi all;

I created a Advanced search system for my web site, using views module. I used exposed filters. Once I pass some argument as a key word it gives me correct result. but In my second time, if I use different key word , That result should be filtered by previous result. let me give example,

1st time -> If I say "heart" as my key word my result will be "heart" , "heart patient" , "heart attack" , like this

Read more

IF e Views

Posted by Lord Malka on July 27, 2011 at 11:14pm

Gostaria de saber como faço para colocar uma View em um Footer de outra View que revelasse um tipo de conteúdo de acordo com o taxonomy/term/%

Mas porquê disso? Tenho dois tipos de conteúdo e um deles está programado para aparecer em taxonomy/term/% com uma formatação estilizada. A outra view tem outro tipo de conteúdo sem formatação estilizada, mas que é sorteada de acordo com um field chamado "tipo_inser". Esta segunda view tem que aparecer após a primeira na página de taxonomy/term/% (se ela tiver conteúdo dentro desta taxonomia).

Entenderam?

Grato,
Daniel Lemos

Read more

Trying to create dynamic fields in hook_install $schema database function

Posted by kavita_rs on January 26, 2011 at 4:26am

Hi there,

I am new to Drupal and trying to create a database with a dynamic number of fields depending on one of the field inputs. So, I have an input called "num" and then I want to ask for names for a "num" number of times. Here is what I wrote but it is not working. Any ideas?

/**
* Implementation of hook_schema()
*/
function add_family_schema() {
$schema['add_fam'] = array(
'description' => t('Stores the family information.'),
'fields' => array(
'num' => array(
'type' => 'int',
'unsigned' => TRUE,
'not null' => TRUE,

Read more
Subscribe with RSS Syndicate content

PHP

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /