Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
Old 11-29-2010, 06:29 AM PHP contact form
sjs
sjs's Avatar
Average Talker

Posts: 17
Name: Becky
Trades: 0
Hi There,

I was wondering if anyone could give me a hand as I know absolutley nothing about PHP.
I would like to create a form on my employers Intranet site which allows them to enable/disable out of office auto replies on our mail server.

Firstly I need them to be able to create a txt file in cd /var/hayley/autoreplies which should be called "jdoe.txt (dependant upon what name they type in). This file should contain their out of office message.

Then I need for them to enable/disable the option.
If they chose to enable it, it needs to send the command sxaa --user "John Doe" --reply jdoe.txt --title "custom auto reply"

If they chose to disable it, I need it to query the server to see what rule is in force:
"sxaa --user "John Doe"

This will bring back rule codes if an out of office reply is currently in force. Dependant upon this code I would then like it to send a code simular to:

sxaa --user "John Doe" --remove 602

It would be nice if all of this could be done on a pretty looking form. Can this sort of thing be done?
__________________

Please login or register to view this content. Registration is FREE
sjs is offline
Reply With Quote
View Public Profile Visit sjs's homepage!
 
 
Register now for full access!
Old 11-29-2010, 10:25 AM Re: PHP contact form
prasanthmj's Avatar
Experienced Talker

Posts: 42
Name: Prasanth
Trades: 0
This task requires good understanding of PHP. Take sometime to get 'hands on' PHP or get a PHP coder.
The system command could be run through system() or exec() function. Need to be careful while using these functions too.
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
prasanthmj is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP contact form
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.32646 seconds with 12 queries