# Cross domain scripting! (possible?)

**URL:** <https://forum.kirupa.com/t/cross-domain-scripting-possible/232707>\
**Category:** programming\
**Created:** [July 17, 2007, 5:32am UTC](https://forum.kirupa.com/t/cross-domain-scripting-possible/232707 "2007-07-17T05:32:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zellers](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/zellers/32/3135_2.png) [@zellers](https://forum.kirupa.com/u/zellers)\
**Post date:** [July 17, 2007, 5:32am UTC](https://forum.kirupa.com/t/cross-domain-scripting-possible/232707/1 "2007-07-17T05:32:57Z")

</div>

Is it possible to have a PHP script hosted on one domain, lets say [zellers.awardspace.com, and then call this PHP script from flash using sendAndLoad, while the SWF calling the script resides at [URL=“http://www.sunrisesd.ca/”]http://www.sunrisesd.ca ? And if so is it possible to write files (as in File I/O) using PHP from across domains like that? Basically IT guys here at http://www.sunrisesd.ca](http://zellers.awardspace.com) won’t give me access to server side scripting, because I’m just a student, but I’m also a student making a website for many of the groups/clubs of our school, and I’m being paid professionally to do them… But many of my clients don’t know what PHP is, and they want an online poll, or a hit counter etc… and I NEED access to PHP in some way even just by using sendAndLoad from flash would be enough to get by. Any way to do this?

edit:

I just realized that the apache server at [http://www.sunrisesd.ca](http://www.sunrisesd.ca) may not have PHP installed, would this effect anything, they are using ASP though, and i don’t have access to this either, they might have PHP installed, i could jsut be mistaken, but if you look on this page… (which is different from the links above…)

[http://sunrisesd.ca](http://sunrisesd.ca/)

It shows the server information…

Honest to god, I have no clue what I’m doing, I don’t know PHP, but my friend already made the sripts I need, and all i need to do is script across one domain to another…  
[](http://www.sunrisesd.ca/)
