Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

create_account


sunnybrook

Recommended Posts

I invoke create_account.php from my own (html based) webpage by submitting a form to it. It works fine in as much as the database is updated successfully. However, I want it to return to one of my own web pages, successful or not.

 

I have modified filenames.php (in the includes folder) to provide for alternative dummy html files that in turn just automatically invoke my html file alternatives to create_account and create_account_success.

 

(I find it odd that they have to be in the includes/english folder but they won't work unless they are in the root as well. If the names are wrong for any reason it protests that they are not in the .../english/... folder but, if they are there it appears to use the root versions. Why is that?)

 

If it is successful, it invokes my alternative to create_account_success no problem.

 

If it is not successful, I assume it will return to my alternative to create_account (which is actually the html file where it came from originally). What happens is that there is a brief display of an osCommerce page (says Heading Title at the top) and then my page is displayed (with blank form). What is happening here? Is it actually going to filename_create_account or is it returning from where it came from?

 

Also, staying with html as opposed to php, is there any way that I can use the information returned by create_account to provide for my own error messages. Can I repopulate my form on return?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...