The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Special Forums > UNIX and Linux Applications
.
google unix.com



UNIX and Linux Applications Discuss UNIX and Linux software applications. This includes SQL, Databases, Middleware, MOM, SOA, EDA, CEP, BI, BPM and similar topics.

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 12:00 PM
Centrify Is the First to Integrate More Than 100 Versions of UNIX ... - Linux Magazin iBot UNIX and Linux RSS News 0 08-09-2007 01:50 AM
Centrify Is the First to Integrate More Than 100 Versions of Unix ... - SBWire (press iBot UNIX and Linux RSS News 0 08-07-2007 01:40 PM
Centrify Is the First to Integrate More than 100 Versions of UNIX ... - Linux PR (pre iBot UNIX and Linux RSS News 0 08-06-2007 12:00 AM
How do I integrate workstation and server passwords dporter UNIX for Dummies Questions & Answers 1 07-26-2001 04:53 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-07-2008
karthikn7974's Avatar
karthikn7974 karthikn7974 is offline VIP Member  
Supporter
  
 

Join Date: Jul 2007
Location: Singapore
Posts: 58
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
  #2 (permalink)  
Old 04-28-2008
real_mc real_mc is offline
Registered User
  
 

Join Date: Apr 2008
Posts: 3
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.
Closed Thread

Bookmarks

Tags
unix commands

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 12:47 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0