Giter Club home page Giter Club logo

flightphp.com's People

Contributors

adevade avatar krmu avatar mikecao avatar n0nag0n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

flightphp.com's Issues

suggested rewrite rules don't work

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]

Cannot set cookies when redirecting

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.

Method to run before any route executes

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.

Range & Head

How does a flightphp REST "endpoint" reacts if a Head or Range http request is used against the endpoint? Or a trace / connect etc.?

Error call function from view

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?

requests beyond level 1 aren't working

this works:

Flight::route('/api', function()
{
	echo "api";
});

this doesnt (404 not found):

Flight::route('/api/settings', function($name)
{
	echo "settings";
});

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.