@JonaApr 27.2004 — #[font=arial]Why would you want to output something to the browser if you are going to redirect it, anyway? Why not just redirect it? Then you wouldn't have to worry about your headers problem. If you want a timed redirection, use JavaScript.[/font]
@JonaApr 27.2004 — #[font=arial]Violent J, you should not use META refreshes.[/font]
[i]From the W3C WCAG 1.0 Guidelines, section 7.4[/i]
[b]Until user agents provide the ability to stop the refresh, do not create periodically auto-refreshing pages.[/b]
[i]From the W3C WCAG 1.0 Guidelines, section 7.5[/i]
[b]Until user agents provide the ability to stop auto-redirect, do not use markup to redirect pages automatically. Instead, configure the server to perform redirects.[/b][/quote]
[font=arial]Edit: The reason it is valid to use JavaScript for redirection, although not rely on it, is because it is not markup (the META refresh tag is), and it can be disabled.[/font]
@SamKookauthorApr 27.2004 — #Is there a way to call the function EffacerImage before any output whe i have to click on a button?
Here is my code(importants parts are in bold) [code] <?php $db = mysql_connect("localhost", "Sam") or die ("Impossible de se connecter à la base de données"); mysql_select_db("melville",$db) or die ("Impossible de sélectionner la base de données");
if (isset($_COOKIE["Login"])) { include "VerifierLogin.php"; }
@JonaApr 27.2004 — #[font=arial]It looks like your EffacerImage function is not returning anything, so the output to the form wouldn't be correct. You should use a return statement.[/font]
@JonaApr 27.2004 — #[font=arial]SamKook, I'm glad the problem has been resolved. ?
Violent J, many people have not heard of accessibility. In these forums, many have been taught to design with CSS and semantic markup, rather than using tables for layout. This is also in the [url=http://www.w3.org/TR/WCAG10/]Web Content Accessibility (WCAG) 1.0 guidelines[/url]. An accessible Web site is one that anyone can access, whether blind or dyslexic or whatever.
Also, thanks for the comment on the signature. ? Have you checked out my links page? You should find many of those links very helpful, as almost all of them will agree with or aggressively promote accessibility.[/font]