Hi WiM

At the moment, tiddlywiki.com links to BidiX's repo for the source of
store.php, and of course we can't update that repo. So to incorporate this
update we'll have to adopt/fork BidiX's code into a new repo. The obstacle
to doing that is that I am not sufficiently experienced with PHP to
maintain that code. Is there anyone who can step up as a new maintainer for
the PHP code?

Best wishes

Jeremy.



On Mon, Dec 29, 2014 at 3:30 PM, WiM <[email protected]> wrote:

> If you want to host your own site to upload your TW5 you'll need to copy
> Bidix' store.php to your host.
>
> Bidix store.php (v1.6.1 and older) will give an error because of the
> stricter rules for using php from other sites.
> Without modifying store.php  you'll get the following error message by
> some browsers (e.g. opera)
>
> *     No 'Access-Control-Allow-Origin' header is present on the requested
> resource. Origin 'null' is therefore not allowed access. *
>
> If you want to use the store.php, you need to insert the following header
> command somewhere at the beginning of the file to allow access to the php
> file from any * site.
>
> ------
> *<?php*
>
> *header('Access-Control-Allow-Origin: *');  // insert this line as second
> line in the store.php file*
> */ * * **
> *----*
>
> Replace the * by a specific url if you only want to allow upload from only
> one site.
>
> Best Regards
> WiM
>
>  --
> You received this message because you are subscribed to the Google Groups
> "TiddlyWikiDev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/tiddlywikidev.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Jeremy Ruston
mailto:[email protected]

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWikiDev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywikidev.
For more options, visit https://groups.google.com/d/optout.

Reply via email to