# Accessing PHP script from another URL

**URL:** https://forum.kirupa.com/t/accessing-php-script-from-another-url/195303
**Category:** programming
**Created:** [July 30, 2006, 7:35pm UTC](https://forum.kirupa.com/t/accessing-php-script-from-another-url/195303 "2006-07-30T19:35:48Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![nburlington](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nburlington/32/1365_2.png) [@nburlington](https://forum.kirupa.com/u/nburlington)
#### Post date: [July 30, 2006, 7:35pm UTC](https://forum.kirupa.com/t/accessing-php-script-from-another-url/195303/1 "2006-07-30T19:35:48Z")

</div>

If I have a .php script on [http://www.siteA.com](http://www.siteA.com), what do i have to do to allow [http://www.siteB.com](http://www.siteB.com) to have access to that script? Is there a security problem here that is getting in my way? If so, is there as way around it?
