Current location: Hot Scripts Forums » Programming Languages » PHP » Integration of mail script


Integration of mail script

Reply
  #1 (permalink)  
Old 07-07-05, 09:39 PM
nicpon nicpon is offline
Wannabe Coder
 
Join Date: Apr 2004
Location: Moving
Posts: 109
Thanks: 0
Thanked 0 Times in 0 Posts
Integration of mail script

I have website in php and i want to integrate into my website another website which will take care free email accounts on my server. In my index.php in document root i have simple if statements that include certain files depending on click. Then all the scripts for the mail proogram are in document_root/mail . Also, i want that mail program to open up in my website sort of. What happens is that when i click on the link on the main page that links me to document_root/mail the mail program doesnt start because all the paths are not related to mail folder but they are with respect to document_root. I went through my all the apache error log and corrected all of the paths but its still not working. This is the piece of if statement for document_root/index.php
Code:
elseif ($_GET['life'] == 'new') {
include('mail/index.php');
What can i do in order to have mail/index.php when its loaded use mail as its root ???
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
any Jobsite script with vbulletin integration? Success General HotScripts Site Discussion 1 03-16-09 09:21 AM
2 profitable script sites for sale cms-master.com General Advertisements 3 07-03-07 11:17 AM
converting perl script to php help!! macruddace Perl 1 04-14-05 03:38 PM
Is there any integrity of script rankings? webmaster@atmanager.com Hot Scripts Forum Questions, Suggestions and Feedback 17 08-06-04 01:12 AM
unsing win32 perl script run lotus notes mail josephg Perl 0 10-26-03 11:19 PM


All times are GMT -5. The time now is 10:26 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.