Why I cannot call in my preview files scripts from my server if envato doesn’t still support php for our files?
Thank you
you need a crossdomain.xml file.
Save the following as ‘crossdomain.xml’ and upload it to the server hosting the PHP
<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">
<cross-domain-policy>
<allow-access-from domain="activeden.net/" />
<allow-access-from domain="s3.envato.com/" />
</cross-domain-policy>
you need a crossdomain.xml file.Save the following as ‘crossdomain.xml’ and upload it to the server hosting the PHP
<?xml version="1.0"?> <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd"> <cross-domain-policy> <allow-access-from domain="activeden.net/" /> <allow-access-from domain="s3.envato.com/" /> </cross-domain-policy>
Cross domain policy files should look like this.
<cross-domain-policy xsi:nonamespaceschemalocation="http://www.adobe.com/xml/schemas/PolicyFile.xsd"> <allow-access-from domain="activeden.net/" /> <allow-access-from domain="s3.envato.com/" /> <site-control permitted-cross-domain-policies="master-only" /> <allow-http-request-headers-from domain="*.activeden.net" secure="false" headers="*" /> </cross-domain-policy>
Mine is the updated version 
Is not about this guys, I know about crossdomain. They just rejected one of my files and told me that the rules says we cannot call server-side scripts from other domains than envato.
Thanks
- Has been a member for 4-5 years
- Author was Featured
- Contributed a Tutorial to a Tuts+ Site
- Netherlands
- Community Moderator
- Microlancer Beta Tester
- Sold between 10 000 and 50 000 dollars
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Exclusive Author
I’ve had to deal with this in the past. The solution I was suggested was to host my entire preview on my own server and then submit a preview.swf that was basically a big button with a link to that external preview page.
Not ideal, but it worked. 
I’ve had to deal with this in the past. The solution I was suggested was to host my entire preview on my own server and then submit a preview.swf that was basically a big button with a link to that external preview page. Not ideal, but it worked.![]()
Correct. You are not allowed to call out to scripts hosted on your own server from a preview hosted on Activeden. And you are only allowed to host the entire preview if it is substantially dependent on server scripts to demonstrate functionality of the application. (e.g. a CMS , XML Editor, etc) if the only use of PHP is for a contact form, or some other relatively minor component of the overall application whose functionality can be “faked”, then you must host the preview on Activeden and fake the PHP functionality.
