Jump to content
Fórum Script Brasil
  • 0

funçao ereg


xips

Question

ola pessoal estou com dificuldade em resolver um erro na minha pagina.

Ela esta funcionando normalmente só que no fundo dela fica assim como esta na imagem que coloquei

print do erro

No codigo fonte a funçao esta deste jeito :

function change_rights($seite, $spieler)

{

$r = "<form action=\'member.php\' method=\'post\' accept-charset=\'utf-8\'>";

$r.= "<input type=\'hidden\' name=\'spielerid\' value=\'".$spieler."\'>";

$r.= "<input type=\'hidden\' name=\'seite\' value=\'".$seite."\'>";

//IE hat Probleme mit Bildern in Submitbuttons...

//Mit IE7 kein Problem?

if (!ereg("MSIE",$_SERVER['HTTP_USER_AGENT'])) {

$r.= change_rights_ff($seite, $spieler);

} else {

$r.= change_rights_ie($seite, $spieler);

}

Se alguém souber como resolvo isso ficarei muito grato.

$r.= "</form>";

return $r;

}

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

No casao ficaria assim a minha funçao

function change_rights($seite, $spieler)

{

$r = "<form action=\'member.php\' method=\'post\' accept-charset=\'utf-8\'>";

$r.= "<input type=\'hidden\' name=\'spielerid\' value=\'".$spieler."\'>";

$r.= "<input type=\'hidden\' name=\'seite\' value=\'".$seite."\'>";

//IE hat Probleme mit Bildern in Submitbuttons...

//Mit IE7 kein Problem?

if (!preg_match("MSIE",$_SERVER['HTTP_USER_AGENT'])) {

$r.= change_rights_ff($seite, $spieler);

} else {

$r.= change_rights_ie($seite, $spieler);

}

Se alguém souber como resolvo isso ficarei muito grato.

$r.= "</form>";

return $r;

}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



  • Forum Statistics

    • Total Topics
      152.2k
    • Total Posts
      652k
×
×
  • Create New...