Gossamer Forum
Home : Products : Gossamer Links : PHP Front End :

Question for whoever wrote the PHP front end?

Quote Reply
Question for whoever wrote the PHP front end?
hello!

Looking at the extraction of variables in the print_page function, I just wanted to ask how you would fix this problem with something I'm working on.

User registers, by completing a profile page.
Logs in.
Clicks to modify their account profile page.

If the user leaves any of the fields EMPTY (lets say their first name for this example), when the page of errors is returned currently their "existing" first name is put back into the template field - instead of remaining EMPTY.

Within the template it current shows... <?php if ($firstname) { ?><?php print $firstname; ?><?php } ?>

If the $IN var was extracted with EXTR_OVERWRITE then it works correctly, but I understand that would be a security risk.

Any ideas?

Regan
Subject Author Views Date
Thread Question for whoever wrote the PHP front end? ryel01 19585 Jun 30, 2008, 11:51 PM
Thread Re: [ryel01] Question for whoever wrote the PHP front end?
Andy 19251 Jul 1, 2008, 12:11 AM
Thread Re: [Andy] Question for whoever wrote the PHP front end?
ryel01 19214 Jul 1, 2008, 1:02 AM
Post Re: [ryel01] Question for whoever wrote the PHP front end?
Andy 19230 Jul 1, 2008, 1:03 AM
Thread Re: [ryel01] Question for whoever wrote the PHP front end?
brewt 19209 Jul 1, 2008, 4:53 AM
Thread Re: [brewt] Question for whoever wrote the PHP front end?
Andy 19224 Jul 1, 2008, 5:46 AM
Post Re: [Andy] Question for whoever wrote the PHP front end?
Gypsypup 19125 Aug 3, 2008, 4:27 AM