Ive been wanting to know if this is possible some how to do this and what i want to know is this i am wanting to have it some way so i can distibute my php scripts without having to code them ill explain in more detail below.
i have my web application upload which is not using a database on the server called bchosting.info say i have a client called clienta.com he orders my product basically clienta.com will get a index file and a dbconnect file which will be upload to his website the index will contain some code im wanting to use curl but also if use curl can the dbconnect file be included in the output on the clienta.com end of the server i mean when clienta.com is request the address to bchosting.info it includes it when its getting processed without having to pass the database information via the url?
if you still dont understand that ill try and explain it even simpler for you
i have 2 servers one for php script to be uploaded on bchosting.info which will contani all files unencoded expect the database connection file.
when user like clienta.com requests it from their site to use curl to connect to the file when it returns data from the url how curl normally does i want it so it also includes the local database of clienta.com.
Can this be done would i have to make some sort of change by removing include("dbconnect.php"); on the bchosting.info server and using curl to get the information and then including the database connection on the local server of clienta.com?
Can this be done if so how should i go about it i thought this would be easier as i know sooner or later my scripts will get decoded if they are encoded using zend or ioncube.