This forum is for module development and code related questions, not general module support. For general support, use the Post installation forum.

Help me with this PHP exec() problem

In my module I have the following lines of code to fetch a URL in the background using wget:

$script = "wget -b '$url' -a '/home/user/wget.log' -O -";

$path = "/usr/bin/";
if (file_exists($path."wget")) {
    drupal_set_message ("wget==".$path.$script);
    exec($path.$script);
    return true;
}

the exec() command never seems to run (hosted on linux) in the course of module execution, but if I cut and paste the output from the drupal_set_message() into my ssh shell, it runs perfectly.

Not able Play flash file using Wijering Flash

Hello ,

Problem: Not able to play flash file using Wijering Flash

Procedure I have Followed to install Wijering Flash:

1) install SWFTools

2) put Wijering Flash player into module/swftools/shared/flash_media_player/mediaplayer.swf

3) changed setting in SWFTOOLS -> File handling to play a flash file using Wijering Flash player

4) Create a new content and attached flash file

but still not able to play a flash video

Please, Help me out

Thank YOu in Advace

nice_menus dropdown display in drupal-5

I just installed the latest dev version of this module and also applied the patches mentioned in the threads http://drupal.org/node/109865 (http://chilleddreams.com/d5/modules/nice_menus/nice_menus.patch)

In firefox, the dropdown submenu list always displays even though the 'expanded' option is not selected for the submenu.

video module problem

Hi,

I am having a problem with the video module. Everytime I try to upload something it gives me this error:

An illegal choice has been detected. Please contact the site administrator.

Does anyone have any suggestions?

Also does anyone know anything about converting movies to FLV videos on the server?

Thankyou!

Sarah :)

Querying a Custom Profile Field

Hello,

I put together some PHP code that lists the address of users with a common interest.

The common interests are custom fields in the profile (i.e. tennis).

I'd like to be able to search all users profiles to see if the common interest box was checked.

Once all people with the common interests are identified I would then like to present the list of all users to the individual currently utilizing this function.

This doesn't see to difficult; however, I can't see to get things going. Any help would be greatly appreciated.

Pages

Subscribe with RSS Subscribe to RSS - Module development and code questions