Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options +FollowSymLinks
- RewriteEngine on
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_URI} !(?:.w+)$
- RewriteRule ^func/(.*)(/.*)?$ includes/function/post/$1.php$2
- http://localhost/func/create/?ID=1
- (it'll goto http://localhost/includes/function/post/create.php?ID=1)
- new EventSource('http://localhost/func/create/?ID=' + ID);
- header('Content-Type: text/event-stream;');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement