Hello...
I want to open a local url from within a php file.
I have one window that has a submit button that calls /forums/MyMail.php. This MyMail.php is working fine.
MyMail.php ends with a conditional. If it's successful I'd like to open another php page in the user's browser.
if mail($to,$subject,$message,$from)
---open /forums/MailOK.php in the user's browser
else
---open /forums/MailFailed.php in the user's browser
How can I open those other webpages? fopen doesn't seem to work, but this part of php is new to me.
PHP 4.3.3 on Win2k.
Any suggestions?
Thx,
D.
I want to open a local url from within a php file.
I have one window that has a submit button that calls /forums/MyMail.php. This MyMail.php is working fine.
MyMail.php ends with a conditional. If it's successful I'd like to open another php page in the user's browser.
if mail($to,$subject,$message,$from)
---open /forums/MailOK.php in the user's browser
else
---open /forums/MailFailed.php in the user's browser
How can I open those other webpages? fopen doesn't seem to work, but this part of php is new to me.
PHP 4.3.3 on Win2k.
Any suggestions?
Thx,
D.
Comment