FP2003 Changs my code! Please help

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Haley (Haley_at_discussions.microsoft.com)
Date: 03/16/05


Date: Wed, 16 Mar 2005 09:17:04 -0800

I need help. Over the weekend I switched from FP2002 to FP2003. All was
going well until I viewed a webpage that I had just uploaded. It had " ?>"
?> " ?>" ?> " ?>" ?> " ?>" ?> " ?>" ?> on it. I had not edited this page,
only uploaded it because I am switching hosts. I did run the find/replace on
my entire website to change the navigation to point to the new address.

When I went to FP2003 to looke at the code, and this is what I saw:

"<form name="FrontPage_Form2" method="POST" action="shipping1.php"
onsubmit="return FrontPage_Form2_Validator(this)" language="JavaScript">
      <input type="hidden" name="subsize" value="<?= $session["subsize"] ?>"
?>" ?>
  <input type="hidden" name="subtotal" value="<?= $session["subtotal"] ?>"
?>" ?>
  <input type="hidden" name="subweight" value="<?= $session["subweight"] ?>"
?>" ?>
  <input type="hidden" name="thedate" value="<?= $session["$orderdate"] ?>"
?>" ?>
  <input type="hidden" name="thetime" value="<?= $session["ordertime"] ?>"
?>" ?> <center>
      <div align="center">"

It should be:
"<form name="FrontPage_Form2" method="POST" action="shipping1.php"
onsubmit="return FrontPage_Form2_Validator(this)" language="JavaScript">
      <input type="hidden" name="subsize" value="<?= $session["subsize"] ?>"
?>
  <input type="hidden" name="subtotal" value="<?= $session["subtotal"] ?>" ?>
  <input type="hidden" name="subweight" value="<?= $session["subweight"] ?>"
?>
  <input type="hidden" name="thedate" value="<?= $session["$orderdate"] ?>" ?>
  <input type="hidden" name="thetime" value="<?= $session["ordertime"] ?>"
?><center>
      <div align="center">"

It also changed the from name to what you see. This is the only form on the
page so I don't understand why it needed to be renamed.

This is a .php page

I have read all the other posts about FP re-writing code.
~ I should NOT have to open all my php files in a text editor! I didn't
have to do this with FP2002. Almost all of my 800+ page site is PHP.
~I cannot change the code, it is part of my shopping cart. It worked just
fine, NO extra code was added until I switched to FP2003.

How can I get FP2003 to NOT change my code? I know exactly what I want my
code to be, and I do NOT want it being changed! I spent 3 hours on this last
night, and I am about to pull out my hair. Please help. Thank you

Haley



Relevant Pages

  • Re: [SLE] Hows SuSE 9.1? Any fix for the php/mysql problem?
    ... >> I'm a former SuSE user, current Fedora user. ... I'm thinking of switching. ... > PHP and MySQL on 8.2. ...
    (SuSE)
  • Re: Redirecting between PHP Pages
    ... > If I'm in PHP page a.php, and I want to switch control to page b.php, ... Switching between webpages ??? ... this is not logical as on the server-side, ... requireis the logical solution. ...
    (comp.lang.php)
  • Re: Who is using PHP today?
    ... to PHP from ASP. ... In order to convince anyone to choose one technology over next, ... either switching or not switching. ...
    (comp.lang.php)
  • Re: PHP/Oracle Error
    ... We've been using Oracle9i here at work w/ all custom Perl code. ... > recommending to start switching over to PHP cause it's just more efficient ...
    (comp.lang.php)
  • Re: Disable switching off on the welcome menu
    ... Visit this webpage: ... Does anyone know how can I disable the switching off option on the ... (the welcome menu is the window it appears to choose the ... > user you want to start session). ...
    (microsoft.public.windowsxp.security_admin)