CoryPippen
05-06-2004, 10:20 PM
You all have probably seen me posting in here quite a few times before... Well, I'm back asking questions again :stickout:
I have a form:
http://www.cpqservices.com/hosting/order.phps
wich posts to a file called "ordersend.php":
http://www.cpqservices.com/hosting/ordersend.phps
wich contains the code for mailing. I talked to a coder earlier about error checking and mailing, and he said it wasn't a good idea to mix php with javascript. Well, javascript handles the error checking quite nice, but php sent the mail...So, I moved the php mailing code to another file "ordersend.php". The mailing works out nice, but I need to be able to redirect the page "ordersend.php" to another called "order2.php"
http://www.cpqservices.com/hosting/order2.phps
without having a link. I tried using a redirect from the control panel, but the mailing didn't work. How would I redirect using php or javascript?
I have a form:
http://www.cpqservices.com/hosting/order.phps
wich posts to a file called "ordersend.php":
http://www.cpqservices.com/hosting/ordersend.phps
wich contains the code for mailing. I talked to a coder earlier about error checking and mailing, and he said it wasn't a good idea to mix php with javascript. Well, javascript handles the error checking quite nice, but php sent the mail...So, I moved the php mailing code to another file "ordersend.php". The mailing works out nice, but I need to be able to redirect the page "ordersend.php" to another called "order2.php"
http://www.cpqservices.com/hosting/order2.phps
without having a link. I tried using a redirect from the control panel, but the mailing didn't work. How would I redirect using php or javascript?
