RapidPHP 2015, Forms, $_POST[] and the debugger

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

RapidPHP 2015, Forms, $_POST[] and the debugger

Postby johnain » Mon Apr 27, 2015 4:12 pm

My debugger works fine within a single form. Either with output to a browser or using the Preview feature of the Editor - which I love.

However I have hit a rather odd problem. I have a PHP script containing a simple login form. I can dun it with the debugger tracking wnat I want and I can see watch values etc. SO that is all fine.

Code: Select all
[i][color=#FF0040]<form name="login"action="valuser.php" method="post" class="message">
           <p>Contract Reference</p>
           <input type="text" name="client" id="client" value="<?php echo $client ?>" autofocus="autofocus"
                    onFocus="this.select();" onMouseOut="javascript:return false;"/>
            <p>User name </p>
           <input type="text" name="username" id="username" value="<?php echo $username ?>"
                    onFocus="this.select();" onMouseOut="javascript:return false;"/>
           <p>Password </p>
           <input type="password" name="password" id="password"value="<?php echo $password ?>"
                    onFocus="this.select();" onMouseOut="javascript:return false;"/>
           <input type="submit" value="Log in"/>
         </form>[/color][/i]


It moves on when "Log In"is hit to a second form called valuser and of course the initial form terminates.

But surprisingly The slow of the script just dies. The debugger does not move on to the next form (valuser) and because I want to check a $_POST[] value in that form I am stuck.

Is there a setting in the debugger that I beed to set?
johnain
 
Posts: 3
Joined: Tue Feb 03, 2015 3:36 pm

Re: RapidPHP 2015, Forms, $_POST[] and the debugger

Postby Aivars » Mon May 25, 2015 10:37 am

Try menu PHP -> Debug -> Debugger Settings and make sure Listen to external sessions is checked.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2456
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 20 guests

cron