hi! another problem: i have this function:
if the link isCode:function show_menu() { switch ($_GET['page']){ case "show_orders_page" : include_once ( dirname (__FILE__) . '/show_orders.php' ); // nggallery_admin_options show_orders_page(); break; case "deliver_orders_page" : include_once ( dirname (__FILE__) . '/show_orders.php' ); //include_once ( dirname (__FILE__) . '/deliver_order.php' ); deliver_orders_page(); break; } }
wpdemo/wp-admin/admin.php?page=show_orders_page
the include works, the function works everything is ok instead
if the link is /wp-admin/admin.php?page=deliver_orders_page&iduser=1
it tells me:
You do not have sufficient permissions to access this page.
what can I do??


LinkBack URL
About LinkBacks
Reply With Quote