Is it Possible script on other domain and website on other domain?

Discussion in 'PHP' started by nile1483, Nov 30, 2009.

  1. #1
    hi,
    friends if you are not understand let me tell you straight

    i want to make one script like product catalog, like people can manage there products and category on their website and script run on my website,

    in short i want to secure my script, so people cannot see actual code, this is very basic script so i dont want any sourcegurdian or etc.
     
    nile1483, Nov 30, 2009 IP
  2. travelmoth

    travelmoth Active Member

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    If you talking about php script...I think it's impossible.
     
    travelmoth, Nov 30, 2009 IP
  3. ar3_returns

    ar3_returns Peon

    Messages:
    430
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Might be impossible u need Special Php Coder
     
    ar3_returns, Nov 30, 2009 IP
  4. inanobot

    inanobot Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dont sure i understand you or not. You own your host and your script, your customers own their domain, they park the domain into your host and run the script in your host by their domain. Is it the picture?
     
    inanobot, Nov 30, 2009 IP
  5. nile1483

    nile1483 Active Member

    Messages:
    345
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Hello,

    I am not asking about any ready made script, i want to make single application (single code base) and other domain can fetch data from this application database

    shortly
    single code base ---> multiple domain

    if you still not undersntand forgot about it, tell me what if i want to give you my application for use but i dont show you my code, it means i dont want to host script on your domain so you dont access code but you still run application front end on your domain.
     
    nile1483, Nov 30, 2009 IP
  6. ColdMoon

    ColdMoon Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Impossible. Why not to encrypt your files and let people use them in a normal way ?
     
    ColdMoon, Nov 30, 2009 IP
  7. nile1483

    nile1483 Active Member

    Messages:
    345
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #7
    it is not impossible but it may be difficult because many cms including joomla, drupal have facility like this
     
    nile1483, Nov 30, 2009 IP
  8. tonicc

    tonicc Well-Known Member

    Messages:
    198
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #8
    You can grab the contents from user's website.
     
    tonicc, Nov 30, 2009 IP
  9. inanobot

    inanobot Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Ok i understand, because that's exactly what I'm doing for my business. You are asking about Dynamic DNS. Your customer must park their domain into an dynamic dns server, then they point their main domain into their host, subdomain.theirdomain.com is point to your host. So the homepage can be fully customizable by them but the back end is yours.

    Take a look at everydns.net
     
    inanobot, Nov 30, 2009 IP
  10. creativeGenius

    creativeGenius Well-Known Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    120
    #10
    try creating a web service that exposes API's to let client sites fetch data from your servers, much like what facebook does
     
    creativeGenius, Nov 30, 2009 IP
  11. jz1977

    jz1977 Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    how about something like this.

    
    $data = file_get_contents(http://yoursite.com?tokenid=accountid);
    echo $data;
    
    Code (markup):
    the tokenid holds their account settings, impression, and page layout. or you could use javascript.
    using a php include does not show your code, only the end result.

    -jeff
     
    jz1977, Nov 30, 2009 IP
  12. creativeGenius

    creativeGenius Well-Known Member

    Messages:
    273
    Likes Received:
    5
    Best Answers:
    1
    Trophy Points:
    120
    #12
    the suggestion above seems like the easiest solution to implement, although i personally dont like to enable other sites from including my scripts on their own
     
    creativeGenius, Nov 30, 2009 IP
  13. nile1483

    nile1483 Active Member

    Messages:
    345
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #13
    Hi inanobot i dont want to point sub domain to my host, so the idea is not what i want,

    I want something like jz1977 suggest, but is it possible

    let me explain again

    i want to make application 'product cataglog' and i want to host it on my server (domain), in my application people can manage their content (product, category etc.), and these customer`s data display on their respective website

    example , i have host my application on my domain www.catalog.com, customer A (www.customerA.com) and Customer B(www.customerB.com) sign up with me for product catalog, i will provide them different login information and this account point to their respective domain(this is a question) so they can manage their content in my application, whatever they manage content(prodyct, category etc.) on my application (www.catalog.com) from their account, this information will display on their respective domain (for customer A - www.customerA.com) (for customer B - www.customerB.com)

    I hope you understand,

    1. i dont mind if little bit code need to put on their domain
    2. it is also good if we can keep template folder o clients domain so they can modify look of layout

    thanks for all of you



     
    nile1483, Nov 30, 2009 IP
  14. inanobot

    inanobot Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #14
    Ok now i understand that you are asking about API. And also you need to install 1 additional script on your customer's server so the servers can "talk" to each other.
     
    inanobot, Nov 30, 2009 IP