laserlight wrote:

Also, note that to comply with HTTP 1.1 the location header URL should be an absolute URL, not a relative URL like index.php.

will do, though with the URL for somereason my host has disabled this???😕

    laserlight could you possble indent it for me as i cannot seem to get the widths to display correctly 🙂

      will do, though with the URL for somereason my host has disabled this?

      What has your host has disabled?

      laserlight could you possble indent it for me as i cannot seem to get the widths to display correctly

      hmm... what do you mean? Typically I write my code examples in a text editor, and by default I use an indent level of four literal spaces.

        im not sure what they have disabled but i found i got an error when using the complete URL, i usually use the tab but i cannot use it here, aslo are there any good tutorials on correctly embeding and indenting php in html? sorry fo going a little off topic...

          im not sure what they have disabled but i found i got an error when using the complete URL

          What exactly did you try and what error did you get?

          i usually use the tab but i cannot use it here

          That's because web browsers typically use the tab to move from one form control to another. Writing your code examples in a text editor sidesteps this problem entirely, is safer in the event of a forum glitch.

          are there any good tutorials on correctly embeding and indenting php in html?

          Not that I know of, but the general idea is the same as in all programming languages descended in basic syntax structure from C (or which requires indentation, e.g., Python).

            laserlight wrote:

            Writing your code examples in a text editor sidesteps this problem entirely, is safer in the event of a forum glitch.

            It also helps because it makes it easier to run the code to make sure it shows what it is supposed to show, in the event of a poster glitch.

              Write a Reply...