What is difference between XAMPP vs Vertrigo ?

Problems with the Windows version of XAMPP, questions, comments, and anything related.

What is difference between XAMPP vs Vertrigo ?

Postby sillyhacker » 06. November 2010 09:27

Hi guys.

i wrote this code for user register:

request.php => get user's info

Code: Select all
<form name="frmNew" method="POST" action="newRequest.php?goto=" onsubmit="return checkInput();">

        <input style="color:#00F;" type="text" name="txtUser" size="25" maxlength="30" class="textbox" />  <!--[i]ie: username[/i]-->

        <input style="color:#00F;" type="password" name="txtPWD" size="25" maxlength="15" class="textbox" /> <!--[i]ie: password[/i]-->

</form


-----------------------------------------------------------------

newRequest.php => Check info

Code: Select all
<form name="frmConf" method="POST" action="doreg.php?goto=">

       <input type="hidden" name="txtUser" value="<?=$_POST["txtUser"]?>"/> <!--[i]username[/i]-->

       <input type="hidden" name="txtPWD" value="<?=$_POST["txtPWD"]?>"/> <!--[i]password[/i]-->

       <input type="hidden" name="from_" value="request"/> <!--[i] request[/i]-->

       <input  type="submit" name="new" value="Save"/>

</form>


-----------------------------------------------------------------------------------

doreg.php

Code: Select all
<?php
        echo $_POST["from_"];    <!--[i] request[/i]-->
   echo $_POST["txtUser"];   <!--[i]username[/i]-->
        echo $_POST["txtPWD"];   <!--[i]password[/i]-->
?>


------------------------------------------------------------------------------------

This code works correctly with Vertrigo (latest),

Code: Select all
<?php
        echo $_POST["from_"];    // [i] request[/i]
   echo $_POST["txtUser"];   // [i]username[/i]
        echo $_POST["txtPWD"];   // [i]password[/i]
?>


but incorrect with XAMPP (latest).

Code: Select all
<?php
        echo $_POST["from_"];     // [i] request[/i]
   echo $_POST["txtUser"];   // nothing
        echo $_POST["txtPWD"];   //nothing
?>


-------------------------------------------------------------------------

I don't know what is trouble ???

i'm newbie, i'm not good at English as w as php, so please tell me why in easy way. :P

Thanks a lot !
sillyhacker
 
Posts: 2
Joined: 06. November 2010 08:47

Re: What is difference between XAMPP vs Vertrigo ?

Postby Nobbie » 06. November 2010 10:50

sillyhacker wrote: i'm not good at English as w as php


Das macht nichts, das ist sowieso hier das deutschsprachige Forum.

Zum Problem: wurde schon ca. 1.000 Mal gefragt und beantwortet, das entscheidende Stichwort lautet "short_open_tag".
Nobbie
 
Posts: 13170
Joined: 09. March 2008 13:04

Re: What is difference between XAMPP vs Vertrigo ?

Postby sillyhacker » 06. November 2010 19:20

Thanks Nobbie. :P

The fact that i'm not good at English, and i don't know Germany .... :| But i know "Google translation" :wink:

I don't know how to search with this trouble. "short_open_tag", that is what i need.

Thanks again, and best wishes !
sillyhacker
 
Posts: 2
Joined: 06. November 2010 08:47

Re: What is difference between XAMPP vs Vertrigo ?

Postby JonB » 06. November 2010 19:54

If it is still not fixed -

you need to edit your php.ini file -

read this Nobbie post

viewtopic.php?f=16&t=42437&p=167272&hilit=open+short+tags+php.ini#p167272

you can also use the 'Search this forum' box right at the top on this page...

Good Luck
8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 100 guests