• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 187
  • Last Modified:

page will not submit on remote host/ php pager problem

http://scottishsocialnetworks.org/editor.phps


My pager does everything but when I hit any of the links for the pages it doesn't show any results.


It can be seen here (although the page doesn't seen to submit on the remote host). Any ideas why?? I have registered globals turned off on the local host and set the variables with lines like.

if(!isset($_POST['area'])){ $_POST['area']='a'; $area = $_POST['area'];}
 echo "area is $area";
 
 if(!isset($_POST['rowsPerPage'])){ $_POST['rowsPerPage']=10; $rowsPerPage = $_POST['rowsPerPage'];}
 

Thanks,


Ross
0
roscoeh23
Asked:
roscoeh23
1 Solution
 
KennyTMCommented:
I suppose those lines should be

if(!isset($_POST['area'])){ $_POST['area']='a'; } $area = $_POST['area'];
 echo "area is $area";

and

 if(!isset($_POST['rowsPerPage'])){ $_POST['rowsPerPage']=10;}  $rowsPerPage = $_POST['rowsPerPage'];

? With register_globals turned off $area is undefined by default even if $_POST['area'] is defined.
0
 
FicusCommented:
I am not getting your question.  Are you getting an error message of some sort?  

Might want to check $PHP_SELF;.  You say Reg Globals is on?  

ADOdb has a nice pager that works.  http://adodb.sourceforge.net/
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now