![]() |
![]() ![]() |
![]() |
Ted |
![]()
Post
#21
|
Newbie ![]() Group: Members Posts: 10 Joined: 4-September 18 Member No.: 26,706 ![]() |
Img4a shows what looks like a tab/indentation/whitespace before the PHP start tag, something like this: CODE <?php if(isset ... --maybe the redirect started working once you removed that? QUOTE I decided to rename the thankyou.php to thankyou.html. It works. That might be because the server is configured to only run PHP on pages with .php extensions. If so maybe you still have invalid PHP code in the thankyou.html page, but the PHP is simply ignored by the server now. I'd remove any unwanted PHP code from the "thankyou" files just in case. Glad that it worked finally! ![]() (BTW I've edited the email address in the previous posts so spambots won't find it.) I did not realise that the space before the <?php was whitespace. I thought whitespace was blank lines between lines. However the html_form_send.php file I created with notepad has no space. The <?php is as far to the left as it can go. So this is the reason the file starting working. You did ask about whitespace in an earlier post but I misunderstood. I have checked the thankyou.html and there is no php code in it. Christian I cannot thank you enough. Also thank you for edited my e-mail address, I did not think about that. Kind regards Ted This post has been edited by Ted: Sep 7 2018, 04:44 PM |
![]() ![]() |
![]() |
Lo-Fi Version | Time is now: 26th April 2024 - 01:29 PM |