NetworkedBlogs.com (beta) is an extension of the Facebook app NetworkedBlogs.

PHPQA

 

Information

Blog Name: PHPQA
Url: http://phpqa.blogpsot.com
Language: English
Topics: php, javascript, mysql
Description:
Popularity: 1 Followers

Blog Feed

How to set up .htpasswd in a site ?
How to set up .htpasswd in a site ? Step 1 : create file .htpasswd and put out side our root folder but inside www for safety. Step 2 : open the file .htpasswd and add like username:password -> then save and close. So now file contains    username:password Step 3 : Add the following in .htaccess file AuthName "Restricted Area" AuthType Basic AuthUserFile D:/wamp/www/.htpasswd # full path to .htpasswd file AuthGroupFile /dev/null require valid-user ---------- Now open you site http://mysite.c
Running a perl script from PHP
Running a perl script from PHPI have tried to run a perl script from my php file. The perl script was running in command line and worked well.But when I tried to execute the same form my php script, it was not working . I have tried the same with the other possibilities system, passthru, shell_exec, exec, etc. I have used the following commands. shell_exec("perl filename.pl arg1"); shell_exec("user/bin/perl filename.pl arg1");I have tried out with both paths of perl script and perl compiler and even tried with out path of compiler. But no luck :(..result was the same Do you face the
Running a perl script from PHP
Running a perl script from PHPI have tried to run a perl script from my php file. The perl script was running in command line and worked well.But when I tried to execute the same form my php script, it was not working . I have tried the same with the other possibilities system, passthru, shell_exec, exec, etc. I have used the following commands. shell_exec("perl filename.pl arg1"); shell_exec("user/bin/perl filename.pl arg1");I have tried out with both paths of perl script and perl compiler and even tried with out path of compiler. But no luck :(..result was the same Do you face the
How to create a plugin in elgg.
I would like to share some basics about plugin development in elgg . In elgg all the plugins will be in mod directory. You can drop your plugin in this directory.First you need a name for your plugin.The names of the plugins in an installation must be unique. you need a ‘start.php’ file for each plugin which to describe the common functions for a plugin.This file can be considered as the core controller of all plugins .The start.php must have an init function which initializes the plugin . You have to register this function to elgg system and have to make sure the initialisation function is called on initialisation.
How to create a plugin in elgg.
I would like to share some basics about plugin development in elgg . In elgg all the plugins will be in mod directory. You can drop your plugin in this directory.First you need a name for your plugin.The names of the plugins in an installation must be unique. you need a ‘start.php’ file for each plugin which to describe the common functions for a plugin.This file can be considered as the core controller of all plugins .The start.php must have an init function which initializes the plugin . You have to register this function to elgg system and have to make sure the initialisation function is called on initialisation.

Followers

This blog has 1 followers. Visit the blog page on Facebook to see who's following this blog.
Follow

Popular in:

Not enough data.
Calculated for blogs with 20+ followers.

Related Blogs

This site uses BitPixels previews
Questions? contact: networkedblogs@ninua.com
Copyright (C) 2008, Ninua, Inc.