The php code is given below. <?php require_once (‘/home1/onezerl5/public_html/theinstantsolutions/projects/drupaltest_7/smf/smf_2_api.php’); $reg = array( ‘member_name’ => ‘frank1′, ’email’ => ‘’, ‘require’ => ‘nothing’, ‘password’ => ‘12345678’, ‘password_check’ => ‘12345678’, ); smfapi_registerMember($reg); ?>


<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”> <html xmlns=””> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=iso-8859-1″ /> <title>Test Bootstrap</title> </head> <body> <?php define(“DRUPAL_ROOT”,     “/home1/onezerl5/public_html/theinstantsolutions/projects/drupaltest_7″); require_once DRUPAL_ROOT . ‘/includes/’; drupal_bootstrap(DRUPAL_BOOTSTRAP_FULL); $password_drupal = ‘000999’; $fields_drupal = array( ‘name’ => ‘dilshad’, ‘mail’ => ‘’, ‘pass’ => $password_drupal, ‘status’ => 1, ‘init’ => ’email address’, […]

How to use code and written in .module file in menu_hook

  The first step in creating the module is to create a folder for the module. You should put this in “sites/all/modules/{name of your module}.” Keep in mind that whenever I say “{name of your module},” you should insert the name of your module. $items[‘select_sub_cat’] = array( ‘title’           […]

How to get code to written in .inc file

Being able to include other files into your HTML code, or for your PHP scripts, is a useful thing. The include( ) function allows you do this. Suppose you have a text file that you want to include in a web page that you’ve already got up and running. You […]

Set Password admin

if any user forgot it’s user password and want to change or set an other password he should just put the following code in it’s database in password, so the world “admin” is set as it’s user password. After this the user can change it’s password as it’s want.   […]

Filter Event Title in drupal

It is tempting to believe that using the “is between” on a date fields will work. However, this option is used only in the case of events “Starting” on a rage of date. Filter_Event_Title

Drupal 7 Custom Layerpopup

Internet is full of boring popups. So, it’s a time to break this trend. That’s why we created “Layered Popups” plugin. With this plugin you can realize your imagination and make unique multi-layers popups. You can create multiple layers with whatever-you-want content and add custom transitions/animations for each layer. you […]

How we can find all countries flags

“Flags” are 247 icons — in GIF and PNG formats — representing most countries in the world as small pixel icons. These flag icons are available for free use for any purpose with no requirement for attribution. Download All flags