Sponsored Content
Full Discussion: calling mkdir from PHP
Top Forums UNIX for Dummies Questions & Answers calling mkdir from PHP Post 302076730 by cbkihong on Thursday 15th of June 2006 10:07:40 AM
Old 06-15-2006
The PHP is running on a Web server (e.g. Apache) with the identity of a special user (e.g. nobody), and it makes sense that only that user on the system is able to remove the directory created by himself. Most Unix Web servers today are installed this way.
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Calling a PHP script from cron

This is a line from my crontab: 12 12 * * * /home/users/ElburdNDL/www/backups/adddate.php The permissions of the script is 755 it should execute ok....but it doesn't. Do I somehow have to give cron the path to PHP or something? If so, how exactly? Thanks. Ed PS Am a total newbie... (10 Replies)
Discussion started by: eludlow
10 Replies

2. UNIX for Advanced & Expert Users

mkdir

Is there ant way to increase max number of folders in the directory from the 32766: Problem UFS: shell>mkdir mmm mkdir: mmm: Too many links But there are no links, just folders. shell>ls | wc -l 32766 (3 Replies)
Discussion started by: mirusnet
3 Replies

3. Shell Programming and Scripting

Calling a shell script from php

Hi, I have a shell script and I'm trying to execute it from my php script. The command I'm using is: shell_exec("Script.sh"); Is this correct? It seems to not do anything for me. Not sure if this might be a permission issue or not. I have both scripts 777 permissions. Maybe I got the... (1 Reply)
Discussion started by: eltinator
1 Replies

4. Shell Programming and Scripting

Calling an Expect script from a Webpage using PHP

I have a webpage that is in HTML and PHP. In PHP I have tried using exec, system, shell_exec and passthru functions to call an Expect Script file (temp.exp). This Expect file spawns a telnet session that uses "expect/send" commands to retrieve information from an environmental unit (not a normal... (0 Replies)
Discussion started by: CCUSmith
0 Replies

5. Shell Programming and Scripting

Calling php from shell script

Maybe someone here can help out. I have a script cat <somefile> | while read hostname do /usr/bin/php <some php script> $hostname done This script works great for the first entry in the host list. However it will only execute and ignores the loop part. It's almost as if it loses... (4 Replies)
Discussion started by: dbakyle
4 Replies

6. Shell Programming and Scripting

calling a php file from perl script..

Hi am new to perl script .. i need some useful tutorials links to learn perl script.. and a sample script to call a php file from perl script.. thanks.. (3 Replies)
Discussion started by: senkerth
3 Replies

7. Web Development

Permission problems calling Ruby from php script

I'm just getting my feet wet with web development, so hopefully this is a simple thing I'm overlooking, but so far I'm stumped. I have a php script that calls Ruby via exec(). This works fine in my test environment, but when I moved it to my production environment I run into a permissions... (7 Replies)
Discussion started by: dantes990
7 Replies

8. Shell Programming and Scripting

calling awk from php not working

I want to run awk from php to do some text processing. I am giving an extremely simple example below: onecol.awk file ------------------- { print "Hello!"; } f1.txt --------- aaa ccc eee f2.txt --------- (6 Replies)
Discussion started by: mary271
6 Replies

9. Homework & Coursework Questions

Mkdir

Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted! 1. The problem statement, all variables and given/known data: Do the procedure, which if there are 5 parameters then it creates 4 directories with names of 4 parameters, in... (2 Replies)
Discussion started by: bolones
2 Replies

10. UNIX for Beginners Questions & Answers

Mkdir

hi linux expert what is a difference between: mkdir test and mkdir ./test and also if ( -e /test ) then and if ( -e ./test ) then thanks in advance Please use icode or code tags next time for your code and data (1 Reply)
Discussion started by: abdossamad2003a
1 Replies
fsweb(1M)																 fsweb(1M)

NAME
fsweb - launch the Disks and File Systems tool of HP System Management Homepage (HP SMH) SYNOPSIS
DESCRIPTION
The Disks and File Systems tool is a system management tool that allows you to manage disks, logical volumes, and filesystems on HP-UX installed systems. This tool has a Web-based user interface (GUI) and a terminal user interface (TUI). The command can launch both the terminal user interface (TUI) and the Web-based interface (GUI) of the Disks and File Systems tool. In the case of TUI, the command launches the Disks and File Systems window in the HP SMH TUI. In the case of GUI, the command launches the Disks and File Systems tool of HP SMH. You must be a privileged user to access the Disks and File Systems tool. With the Disks and File Systems tool, you can configure the following: o Add, configure, or unconfigure disk devices, including hard drives, floppy drives, CD-ROMs and disk arrays. o Add, modify, or remove local file systems, or convert them to long file names. o Configure HFS or VxFS file systems. o Remote file systems, including: o Add, modify, or remove remote (NFS) file systems. o Add, modify, or remove cache file systems (CFS). o Add, modify, or remove common internet file system (CIFS). o Allow or disallow access by remote systems to local file systems. o Modify RPC (Remote Procedure Call) services' security. o Examine, create, extend, or reduce a volume-group pool of disks. o Create, extend or change number of mirrored copies of a logical volume and associated file system. o Remove a logical volume or increase its size. o Split or merge mirrored copies of a logical volume. This action is available on a system that has Mirror/UX product installed. o Distribute or undistribute volume groups (only on Serviceguard clusters running Serviceguard Extension for Real Applica- tion Cluster ). o Display hardware path information, device information, and select devices in eit her legacy or agile view. For more information, see intro(7). When you run it attempts to connect to a Mozilla Web browser running on the X server defined by the environment variable. If finds a running Mozilla client, it uses that client. Otherwise, initiates a new Mozilla session. The new session is initiated only if the Mozilla process is running in the same system as that referenced by the variable, unless the option is used. Note: By default, invokes the Mozilla Web browser. To support any other browser (for example, Netscape), set the environment vari- able as shown below: The command opens the terminal user interface if any of the following conditions are true: o The command is invoked with the option. o The environment variable is not set. The command opens the Web-based interface if all the following conditions are true: o The command is invoked with option. o The environment variable is set. o The command is available on the system. If the command cannot open the Web-based interface, the command opens the terminal user interface. Options recognizes the following options: Forces the use of a client browser, even when the X-traffic between the X-server and the Mozilla browser is not secure. Use the option only when the network traffic between the host where Mozilla is running and the host in the environment variable is secure. The option causes to invoke the Web-based interface. If cannot start the Web browser, it starts the terminal interface of the Disks and File Systems tool. Generate a temporary login bypass key. The bypass key enables the privileged user to access the Web interface without having to provide login information again. The option causes to invoke the Web-based interface of the Disks and File Systems tool. Open the terminal user interface for managing disks, logical volumes, and file systems regardless of the current setting of the environment variable. Other Ways to Start the Tools You can also start the Disks and File Systems tool using one of the following methods: o Invoke and select the functional area to launch the terminal user interface or press on the keyboard to launch the Web-based interface. o Type the URL in the address bar of the Web browser to open the Web-based interface. The hostname is the name of the server. o Open the HP-UX Systems Insight Manager on the server and select the Network Configuration tool from the Online Help The online help is available with the product. The online help provides information on how to use the tool. RETURN VALUES
Upon completion, returns one of the following values: Successful Error Occurred AUTHOR
was developed by Hewlett-Packard. SEE ALSO
sam(1M), smh(1M). fsweb(1M)
All times are GMT -4. The time now is 10:27 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy