Jump to content

mrkhan

Members
  • Posts

    89
  • Joined

  • Last visited

Community Answers

  1. mrkhan's post in Sending email with attacment was marked as the answer   
    Hello,
    thanks for response, i actually solve my problem by using Wire Mail SMTP Module.
    http://modules.processwire.com/modules/wire-mail-smtp/
    its same like  wireMail() and also have attachment option too, vary easy to use.
    Thanks
  2. mrkhan's post in rename wire "wire" directory was marked as the answer   
    Thanks every one for helping me. here is what i did to solve my issue just to help some one if he looking for same solution.
    my website directory structure is
    Home ⌊ site1      ⌊ site      ⌊ wire ⌊ site2       ⌊ site ⌊ site3       ⌊ site if you see i have only one directory of wire in site1 folder. in other two websites site2 and site3 i created a PHP file in root and name it link.php
    so i can access this site like http://domain/link.php or http://localhost/site2/link.php
    here is my code for link.php
    <?php// for localhost , we can also set this according to our web server path also $target = '/Applications/XAMPP/xamppfiles/htdocs/site1/wire'; $shortcut = 'wire'; symlink($target, $shortcut); echo readlink($shortcut); ?> when you run this PHP this will create a link directory to your WIRE directory and website will start working
×
×
  • Create New...