mikecao / flightphp.com Goto Github PK
View Code? Open in Web Editor NEWFlight website
Home Page: https://flightphp.com
Flight website
Home Page: https://flightphp.com
hey dude, your site appears to be down.
using the provided rewrite rules gives a "bad request"
it seems to partially work when i add a '/' in front of index.php:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php [QSA,L]
When I try to set a cookie and then use Flight::redirect, the cookie is not set.
When I set my cookie and then just write
header("Location:$url");
exit(0);
my cookie is correctly set.
Love Flight - is there any way to attach a method to run before any route executes? I have an Authentication method that currently I have to put at the beginning of each routes function. Would be nice to call it automatically without adding that code to each route function.
$HTTP_RAW_POST_DATA is no more supported at PHP 5.6, so function request() would make this warning
How does a flightphp REST "endpoint" reacts if a Head or Range http request is used against the endpoint? Or a trace / connect etc.?
hai, i make getBaseUrl() function in index. and i want to call function in view. but i get error ! ) ( ! ) Fatal error: Call to undefined function getBaseUrl() i
and, how to make custom library to framework?
Is there a reason why flightphp.com does not support a secure connection via https? From what I know this is possible with custom domains as described here: https://github.blog/2018-05-01-github-pages-custom-domains-https/
this works:
Flight::route('/api', function()
{
echo "api";
});
this doesnt (404 not found):
Flight::route('/api/settings', function($name)
{
echo "settings";
});
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.