The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
Google UNIX.COM


UNIX and Linux Applications Questions involving software not covered by other forum go here. This includes Databases and Middleware.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Seamlessly integrate XP into Linux with SeamlessRDP iBot UNIX and Linux RSS News 0 01-31-2008 08:00 AM
Centrify Is the First to Integrate More Than 100 Versions of UNIX ... - Linux Magazin iBot UNIX and Linux RSS News 0 08-08-2007 09:50 PM
Centrify Is the First to Integrate More Than 100 Versions of Unix ... - SBWire (press iBot UNIX and Linux RSS News 0 08-07-2007 09:40 AM
Centrify Is the First to Integrate More than 100 Versions of UNIX ... - Linux PR (pre iBot UNIX and Linux RSS News 0 08-05-2007 08:00 PM
How do I integrate workstation and server passwords dporter UNIX for Dummies Questions & Answers 1 07-26-2001 12:53 AM

Closed Thread
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-06-2008
karthikn7974's Avatar
Supporter
 

Join Date: Jul 2007
Location: Singapore
Posts: 49
Lightbulb Integrate PHP + Unix commands

Hi
I am using fedora 4, its only for desktop usage. its in gui mode. the system is always on and in login screen.
whenever a particular user logins in, aphp page inside the system should run.
The user should not be able to view the desktop.
The user has the info in the php webpage to work with.
if he completes his inputs.
i have an object button in php page where when user clicks it should logout from operating system and return to login screen again.

how to inegrate php script with unix commands

please help

thanks in advance
Forum Sponsor
  #2 (permalink)  
Old 04-28-2008
Registered User
 

Join Date: Apr 2008
Posts: 2
simple

I don't know if I'm close to what you need, but try creating a script like below:
#!/usr/local/bin/php -q
<?
some php commands here

?>

and run this script whenever you want (user login/user logout, manually, whatever)

I'm not sure about php delimiters. Try without them in case it doesn't work with them.

Or just search google.
Google UNIX.COM
Closed Thread

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:38 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0