Page 2 of 2 FirstFirst 12
Results 11 to 15 of 15

Thread: PHP email form

  1. #11
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by thetestingsite View Post
    Are you hosting the site yourself (on your own server), or do you go through a webhost? If the latter, then you will need to contact your host and try to convince them to change the settings. Other than that, you are out of luck.

    Edit: Instead of assigning absolute paths, why not use relative paths in the script. So basically, instead of having http://your-site you would have this: /path/to/file.


    Hope this helps.
    Hi there!

    I was wondering about this myself--say my mailer php file (dd-formmailer.php) is located in:
    dd-formmailer[1] folder-->dd-formmailer folder-->dd-formmailer.php

    On my coding I used those exact folders for example on my php page that I want the form to show up on:
    Code:
    <?php include('http://www.mysite.ca/dd-formmailer[1]/dd-formmailer/dd-formmailer.php'); ?>

    Is that wrong?
    Last edited by vacatia; 04-30-2008 at 01:07 AM.

  2. #12
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You don't wanna include the http. You cannot include something from another website.
    Jeremy | jfein.net

  3. #13
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hi there,

    What should I put instead?

  4. #14
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Well, the file that your including has to been in the same domain/sub domain, so say I have a website: ******.com and I'm trying to include something at: &&&&&&&.com, It won't work. You need to have it at ******.com.
    Jeremy | jfein.net

  5. #15
    Join Date
    Oct 2006
    Posts
    41
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    Hey there,

    Everything is under mysite.ca though (I'm uploading all the files to the same ftp area)
    Last edited by vacatia; 04-30-2008 at 01:07 AM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •