Welcome, Guest. Please login or register.
Did you miss your activation email?
May 27, 2012, 06:26:32 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155555 Posts in 21715 Topics by 7737 Members
Latest Member: gx-world
* Home Help Search Login Register
Pages: [1]   Go Down
Print
Author Topic: Problem calling a php file from a code section  (Read 449 times)
POPDUM

Offline Offline

Posts: 23


« on: January 28, 2008, 03:11:28 PM »

Hi,

I have a code section that displays a form and the form action is to call a .php file (<form action="abc.php...). This file is called add-my-info-to-db.php and was created in websitebaker.

abc.php validates user input, then uses the PHP function header to pass parameters back to add-my-info-to-db.php. However, abc.php is not invoked.

Does anybody know why this is so? Are there some WebsiteBaker options that need to be changed?

Thanks for your help.
Logged
lanesharon

Offline Offline

Posts: 47


WWW
« Reply #1 on: January 29, 2008, 05:43:36 PM »

Are you sure of the path?  Keep in mind, that many WebsiteBaker pages are in the directory 'pages'.  Which means, you are invoking your call from the directory pages.  If this is true for you, then move down to the correct directory (ie: <form action="../abc.php......).  I hope I am explaining this well.
Logged

Take Care,  Sharon
Pages: [1]   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!