Jump to content

A script on external site?


Incredinot

Recommended Posts

Hi..

 

So i want to have this "script" to run on an external site.

 

This script is ment to call a db, and then print some stuff...

But i dont want to give the personer my servername, username and password..

 

So my question is...  Can i somehow just send him a code like:

 

<?php include('http://mysite.com/thescript.php'); ?>

Where "thescript.php" contains something like "Connect to my db, print stuff, etc"

 

I hope you understand that poor explanasion :b

Link to comment
https://forums.phpfreaks.com/topic/195302-a-script-on-external-site/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.