deske1403 Posted January 24, 2013 Share Posted January 24, 2013 Please ned some help. I Cant configure Notification URL... I tryed : http://localhost/e-c...ce/html/ipn.php and, https://localhost/e-...ce/html/ipn.php and localhost/e-comerce/html/ipn.php. I get this message:The domain name you have entered is not a valid IPN URL. Please enter the URL where you have installed your IPN script. Do somebody know? Thanks. And one more Q,How to modify header file,that registered users dont see Register tab? Do somebody know? Thanks. Link to comment Share on other sites More sharing options...
Larry Posted January 25, 2013 Share Posted January 25, 2013 As I write in the book, IPN will not work when you're using localhost. Also, this book assumes complete comfort with PHP and MySQL. You're going to have a hard time with the book if you aren't experienced with those languages. I mention this because knowing how to modify the header file not to show the register tab is pretty basic. Link to comment Share on other sites More sharing options...
deske1403 Posted January 25, 2013 Author Share Posted January 25, 2013 ok thanks Larry... Link to comment Share on other sites More sharing options...
deske1403 Posted January 25, 2013 Author Share Posted January 25, 2013 yo larry you know what? I'm a lazy pig. I managed to change the codes, there must be a more elegant solution, but it is my way ..<p> $pages_registered = array ('Home' => 'index.php','About' => '#','Contact' => '#','Logout'=>'logout.php' ); $pages_not_registered = array ('Home' => 'index.php','About' => '#','Contact' => '#','Register' => 'register.php' ); $this_page = basename($_SERVER['PHP_SELF']); if (isset($_SESSION['user_id'])){ foreach ($pages_registered as $k => $v) { :echo ' Link to comment Share on other sites More sharing options...
Larry Posted January 25, 2013 Share Posted January 25, 2013 Yep, that would do it. Link to comment Share on other sites More sharing options...
Recommended Posts