PHP Classes

Example doesn't work

Recommend this page to a friend!

      Simple PHP Router Library  >  All threads  >  Example doesn't work  >  (Un) Subscribe thread alerts  
Subject:Example doesn't work
Summary:Example doesn't work
Messages:3
Author:Dwaine Halberg
Date:2016-10-04 15:21:25
 

  1. Example doesn't work   Reply   Report abuse  
Picture of Dwaine Halberg Dwaine Halberg - 2016-10-04 15:21:25
I've tried this on my testing server in my test script folders, unmodified and modified the include path, still doesn't seem to work.
server url: http://localhost/local/scripts/route/
physical path: f:/local/scripts/route

it seems strange that in the router.php in the construct function you would hard code:
$this->siteUrl = 'http://localhost/ggit/movielister/';

also your example you not pass anything to the public page so if your using any other page "name"? it doesn't know what to do.

  2. Re: Example doesn't work   Reply   Report abuse  
Picture of afshin akhgar afshin akhgar - 2016-10-05 08:28:07 - In reply to message 1 from Dwaine Halberg
hi ,
Yes that was my test and I will fix it in example you can change $this->siteUrl now or wait for new version :) I will fix it today :)

do you have any other problems ?

  3. Re: Example doesn't work   Reply   Report abuse  
Picture of afshin akhgar afshin akhgar - 2016-10-06 07:10:18 - In reply to message 2 from afshin akhgar
I have done bug fix in localhost .. please check it ant let me know if you have any other problems


warm regards, afshin