Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. Options +FollowSymLinks
  2. RewriteEngine on
  3.  
  4. RewriteCond %{REQUEST_FILENAME} !-d
  5. RewriteCond %{REQUEST_URI} !(?:.w+)$
  6.  
  7. RewriteRule ^func/(.*)(/.*)?$ includes/function/post/$1.php$2
  8.  
  9. http://localhost/func/create/?ID=1
  10. (it'll goto http://localhost/includes/function/post/create.php?ID=1)
  11.  
  12. new EventSource('http://localhost/func/create/?ID=' + ID);
  13.  
  14. header('Content-Type: text/event-stream;');
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement