Help creating exchange outlook webaccess page

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Help creating exchange outlook webaccess page
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
Hi folks im a bit stuck here as i dont know what i am doing with php.

what i want is a php page in modules to run a webmail front end webpage.

now ive made a .bat file which asks people there uname and when they press enter it tkaes them to there exchane mailbox using outlook webmail.

here is what we done

set /p userin= Please enter your MailBox Name then press Enter:


Start c:\progra~1\intern~1\iexplore.exe [ Register or login to view links on this board. ]

simple

Now we are using platinum and i want a require username text box to appear and when they press a little go button it takes them to there email (within the same page.. not using an external browser.. (maybe in a table??)

Does anyone know how this can be done as me an the other guys here havnt a clue and would really appreciate a helping hand..

Thanks to you all in advance for your time



Back to top Reply with quote
#2   
Telli
Site Admin
Occupation: Self Employed
Age: 46
Gender: Male
Fav. Sports Team: Detroit Red Wings
Website:
Status: Offline
Joined: May 26, 2003
1.03 posts per day
Posts: 8089
Points: 494,440
   
Try looking into using an iframe within a table.




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
As you know im useless with php.

Can anyone help us???



Back to top Reply with quote
#4   re: Help creating exchange outlook webaccess page
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
Here is what we have bodged together atm but we need to know how to send the information from the textbox onto the end of the url. Ive added a few comments into it so you can see where.

Please help

<?php

//trying to have a text box the user enters there mail box name
//and when they click the continue button it opens there outlook web access
//mailbox in the iframe window

if (!stristr($_SERVER['SCRIPT_NAME'], "modules.php")) {
    die ("You can't access this file directly...");
}

$index = 0;
require_once("mainfile.php");
$module_name = basename(dirname(__FILE__));
get_lang($module_name);



    include("header.php");
    title(_EMAIL);
    OpenTable();

    echo "<table align='center' cellpadding='3' cellspacing='3' border='0'>";
   
//input text box

    echo "<form action='modules.php?name=$module_name' method='post'>";
    echo "<tr><td bgcolor='$bgcolor2'>"._EMAILADD.":</td><td bgcolor='$bgcolor1'><input type='text' name='.$email' size='40' maxlength='255'>&nbsp;<font class='tiny'>"._REQUIRED."</font></td></tr>";
   
//Submit button

    echo "<input type='hidden' name='op' value='iframe1'>";
    echo "<tr><td align='right' bgcolor='$bgcolor1' colspan='2'><input type='submit' value='"._YA_CONTINUE."'></td></tr>";
    echo "</form></table><br>";


//target iframe for it to send to

?>
    <table align='center' cellpadding='1' cellspacing='1' border='0'>
    <iframe SRC="http://10.0.0.3/exchange//NEED TEXT BOX DATA ADDED TO HERE".$email width="700" height="600" id="iframe1" marginheight="0" frameborder="0" onLoad="autoResize('iframe1');"></td></tr>





   <?php
    CloseTable();
    include("footer.php");

?>


Thanks again folks


Back to top Reply with quote
#5   re: Help creating exchange outlook webaccess page
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
does anyone know how to take a variable from a text input box and get it to add it to the end of a url???



Back to top Reply with quote
#6   
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
still tryin to keep this post on 1st page and waiting for some help



Back to top Reply with quote
#7   re: Help creating exchange outlook webaccess page
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
This is as far as i got but it still wont work


For some reason it wont allow me to add certain tags even though i use the code tags??

very odd

so here it is as a zipped file

I keep getting the following error and it still wont add the variable to the end of the url.. please help.

Error: 'document.forms.0.txt.value' is null or not an object



Attached Files
email.rar (655 Bytes, Downloaded: 5231 Time(s))


Back to top Reply with quote
#8   
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
it works if you run the code from the root but as soon as you put it in as a module it returns the error.

PLease help



Back to top Reply with quote
#9   re: Help creating exchange outlook webaccess page
DirtySnipe
CZ Super Newbie
DirtySnipe has been a member for over 19 year's 19 Year Member
Occupation: Network Administrator
Gender: Male
Website:
Status: Offline
Joined: Feb 28, 2005
0.00 posts per day
Posts: 35
Points: 1,202
   
All i need to know is how to change it to run from the modules folder within phpnuke site..

Please help



Attached Files
script.rar (656 Bytes, Downloaded: 5232 Time(s))


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum