El uso de dyanmaic URL y necesita ayuda con un formulario
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
PHP Código: [ Select ]
<?php
include("config/config.php");
if($submit)
{
$title = $_POST['title'];
$name = $_POST['name'];
$content = $_POST['content'];
$result = mysql_query("UPDATE news SET title='$title', name='$name', content='$content' WHERE id='$id' ",$connect);
echo "<b><strong>Thank you! News UPDATED Successfully!</strong>";
// echo "<meta http-equiv=Refresh content=2;url=../index.php target='_self'>";
}
elseif($id)
{
$result = mysql_query("SELECT * FROM news WHERE id='$id' ",$connect);
while($row = mysql_fetch_assoc($result))
{
$title = $row["title"];
$name = $row["name"];
$content = $row["content"];
?>
<form action="<? echo $PHP_SELF ?>" method="post" name="form">
<p>
<p>Name :<br />
<input name="name" size="40" maxlength="20" value="<? echo $name; ?>">
<br />
Headline:<br />
<input name="title" size="40" maxlength="255" value="<? echo $title; ?>">
<br />
<br />
<input onClick="document.form.news.value+=''" type="button" value="Bold">
<input onClick="document.form.news.value+=''" type="button" value="Italic">
<input onClick="document.form.news.value+=''" type="button" value="Underlined">
<input onClick="document.form.news.value+='[img src=http://]'" type="button" value="Image">
<input onClick="document.form.news.value+='<!-- url0 -->Link[/url]'" type="button" value="URL">
<br>
<span class="style4"><em>Example: <br>
</em>[img src=http://<span class="style1">www.url.com/image.jpg</span>]<br>
<!-- url1 --><span class="style1">URL Title</span>[/url] <br />
</span><br />
<a href="javascript:;" onClick="document.form.news.value+=':@'"><img src="images/smilies/angry.gif" alt=":@" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':D'"><img src="images/smilies/biggrin.gif" alt=":D" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':S'"><img src="images/smilies/confused.gif" alt=":S" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+='B)'"><img src="images/smilies/cool.gif" alt="B)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':)'"><img src="images/smilies/happy.gif" alt=":)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':|'"><img src="images/smilies/mellow.gif" alt=":|" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':('"><img src="images/smilies/sad.gif" alt=":(" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':P'"><img src="images/smilies/tongue.gif" alt=":P" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=';)'"><img src="images/smilies/wink.gif" alt=";)" height="15" width="15" /></a><br />
<br />
<textarea name="content" rows="15" cols="75"><? echo $content; ?></textarea>
<br />
<br />
<input name="submit" type="submit" value="submit" />
</form>
<?
}
?>
- <?php
- include("config/config.php");
- if($submit)
- {
- $title = $_POST['title'];
- $name = $_POST['name'];
- $content = $_POST['content'];
- $result = mysql_query("UPDATE news SET title='$title', name='$name', content='$content' WHERE id='$id' ",$connect);
- echo "<b><strong>Thank you! News UPDATED Successfully!</strong>";
- // echo "<meta http-equiv=Refresh content=2;url=../index.php target='_self'>";
- }
- elseif($id)
- {
- $result = mysql_query("SELECT * FROM news WHERE id='$id' ",$connect);
- while($row = mysql_fetch_assoc($result))
- {
- $title = $row["title"];
- $name = $row["name"];
- $content = $row["content"];
- ?>
- <form action="<? echo $PHP_SELF ?>" method="post" name="form">
- <p>
- <p>Name :<br />
- <input name="name" size="40" maxlength="20" value="<? echo $name; ?>">
- <br />
- Headline:<br />
- <input name="title" size="40" maxlength="255" value="<? echo $title; ?>">
- <br />
- <br />
- <input onClick="document.form.news.value+=''" type="button" value="Bold">
- <input onClick="document.form.news.value+=''" type="button" value="Italic">
- <input onClick="document.form.news.value+=''" type="button" value="Underlined">
- <input onClick="document.form.news.value+='[img src=http://]'" type="button" value="Image">
- <input onClick="document.form.news.value+='<!-- url0 -->Link[/url]'" type="button" value="URL">
- <br>
- <span class="style4"><em>Example: <br>
- </em>[img src=http://<span class="style1">www.url.com/image.jpg</span>]<br>
- <!-- url1 --><span class="style1">URL Title</span>[/url] <br />
- </span><br />
- <a href="javascript:;" onClick="document.form.news.value+=':@'"><img src="images/smilies/angry.gif" alt=":@" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':D'"><img src="images/smilies/biggrin.gif" alt=":D" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':S'"><img src="images/smilies/confused.gif" alt=":S" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+='B)'"><img src="images/smilies/cool.gif" alt="B)" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':)'"><img src="images/smilies/happy.gif" alt=":)" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':|'"><img src="images/smilies/mellow.gif" alt=":|" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':('"><img src="images/smilies/sad.gif" alt=":(" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':P'"><img src="images/smilies/tongue.gif" alt=":P" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=';)'"><img src="images/smilies/wink.gif" alt=";)" height="15" width="15" /></a><br />
- <br />
- <textarea name="content" rows="15" cols="75"><? echo $content; ?></textarea>
- <br />
- <br />
- <input name="submit" type="submit" value="submit" />
- </form>
- <?
- }
- ?>
Obtengo este error:
Código: [ Select ]
Parse error: parse error, unexpected $ in /var/www/verysecretsite.com/public_html/verysecretsite_final/includes/admin/panels/news/edit.php on line 68
Cualquier ayuda sería grande.
- Anonymous
- Bot


- Registrado: 25 Feb 2008
- Mensajes: ?
- Loc: Ozzuland
- Status: Online
Octubre 7th, 2005, 7:39 pm
- ATNO/TW
- Super Moderator


- Registrado: May 28, 2003
- Mensajes: 23404
- Loc: Woodbridge VA
- Status: Offline
[php] <forma de acción = "<? echo $ PHP_SELF?>" método = "post" name = "forma"> [/ php]
Cuando es de $ PHP_SELF se define en su código? Esta sería mi primera pregunta.
Im también asumir la línea 68 es el final de su línea de código que normalmente se produce si hay un parse error como este:
Cuando es de $ PHP_SELF se define en su código? Esta sería mi primera pregunta.
Im también asumir la línea 68 es el final de su línea de código que normalmente se produce si hay un parse error como este:
Quote:
Parse error: parse error, inesperado en dólares
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
por lo que he undersyand, $ PHP_SELF sólo le dice a presentar la página a sí mismo, no es necesario que se definan.
No sé qué es equivocado ahí, terminé solo reescribir toda la cosa y su trabajo. Por lo que puedo decir que no hay nada diferente (de cualquier significado) en el nuevo.
No sé qué es equivocado ahí, terminé solo reescribir toda la cosa y su trabajo. Por lo que puedo decir que no hay nada diferente (de cualquier significado) en el nuevo.
- ATNO/TW
- Super Moderator


- Registrado: May 28, 2003
- Mensajes: 23404
- Loc: Woodbridge VA
- Status: Offline
Intente:
[php] <forma de acción = "<? php echo $ _SERVER [" PHP_SELF "];?>" método = "POST"> [/ php]
[php] <forma de acción = "<? php echo $ _SERVER [" PHP_SELF "];?>" método = "POST"> [/ php]
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
Im un problema con la presentación de un formulario a sí mismo por lo que subir a un db. Traté de la página por sí misma sin necesidad de utilizar y que incluye las obras. He intentado:
como mi forma de acción. Sí, yo le digo a cargo.
Cuando tengo la página en sí funciona bien, pero si soy tratando de incluir en index.php no funciona, una vez que el botón de envío, sólo le muestra la página de índice.
Página de códigos:
Código: [ Select ]
http://www.somewebsite.com/somewebsite_final/includes/admin/panels/news/add.php
Código: [ Select ]
index.php?content=admin§ion=panel&edit=news&action=add
Código: [ Select ]
<?php echo $_SERVER['PHP_SELF'];?>
como mi forma de acción. Sí, yo le digo a cargo.
Cuando tengo la página en sí funciona bien, pero si soy tratando de incluir en index.php no funciona, una vez que el botón de envío, sólo le muestra la página de índice.
Página de códigos:
Código: [ Select ]
<?php
//beginning of Add news
include("../../../../config/config.php");
if($submit)
{
$title = $_POST['title'];
$name = $_POST['name'];
$content = $_POST['content'];
if(!$content){
echo "Error: News is a required field. Please fill it.";
exit();
}
$result = mysql_query("INSERT INTO news (title, name, dtime, content)
VALUES ('$title','$name',NOW(),'$content')",$connect);
echo "<b><strong>Thank you! News added Successfully!</strong>";
// echo "<meta http-equiv=Refresh content=2;url=view.php target='_self'>";
}
else
{
?>
<form method="post" action="http://www.somewebsite.com/somewebsite_final/includes/admin/panels/news/add.php">
Name: <br>
<input name="name" size="40" maxlength="20">
<br>
Title:<br>
<input name="title" size="40" maxlength="255">
<br>
News: <br>
<input onClick="document.form.news.value+='[b][/b]'" type="button" value="Bold">
<input onClick="document.form.news.value+='[i][/i]'" type="button" value="Italic">
<input onClick="document.form.news.value+='[u][/u]'" type="button" value="Underlined">
<input onClick="document.form.news.value+='[img src=http://]'" type="button" value="Image">
<input onClick="document.form.news.value+='[url=http://]Link[/url]'" type="button" value="URL">
<br />
<a href="javascript:;" onClick="document.form.news.value+=':@'"><img src="images/smilies/angry.gif" alt=":@" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':D'"><img src="images/smilies/biggrin.gif" alt=":D" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':S'"><img src="images/smilies/confused.gif" alt=":S" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+='B)'"><img src="images/smilies/cool.gif" alt="B)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':)'"><img src="images/smilies/happy.gif" alt=":)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':|'"><img src="images/smilies/mellow.gif" alt=":|" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':('"><img src="images/smilies/sad.gif" alt=":(" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':P'"><img src="images/smilies/tongue.gif" alt=":P" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=';)'"><img src="images/smilies/wink.gif" alt=";)" height="15" width="15" /></a><br />
<textarea name="content" rows="15" cols="75"></textarea>
<br>
<input type="submit" name="submit" value="Add News">
</form>
<?
}
//End of Add news
?>
//beginning of Add news
include("../../../../config/config.php");
if($submit)
{
$title = $_POST['title'];
$name = $_POST['name'];
$content = $_POST['content'];
if(!$content){
echo "Error: News is a required field. Please fill it.";
exit();
}
$result = mysql_query("INSERT INTO news (title, name, dtime, content)
VALUES ('$title','$name',NOW(),'$content')",$connect);
echo "<b><strong>Thank you! News added Successfully!</strong>";
// echo "<meta http-equiv=Refresh content=2;url=view.php target='_self'>";
}
else
{
?>
<form method="post" action="http://www.somewebsite.com/somewebsite_final/includes/admin/panels/news/add.php">
Name: <br>
<input name="name" size="40" maxlength="20">
<br>
Title:<br>
<input name="title" size="40" maxlength="255">
<br>
News: <br>
<input onClick="document.form.news.value+='[b][/b]'" type="button" value="Bold">
<input onClick="document.form.news.value+='[i][/i]'" type="button" value="Italic">
<input onClick="document.form.news.value+='[u][/u]'" type="button" value="Underlined">
<input onClick="document.form.news.value+='[img src=http://]'" type="button" value="Image">
<input onClick="document.form.news.value+='[url=http://]Link[/url]'" type="button" value="URL">
<br />
<a href="javascript:;" onClick="document.form.news.value+=':@'"><img src="images/smilies/angry.gif" alt=":@" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':D'"><img src="images/smilies/biggrin.gif" alt=":D" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':S'"><img src="images/smilies/confused.gif" alt=":S" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+='B)'"><img src="images/smilies/cool.gif" alt="B)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':)'"><img src="images/smilies/happy.gif" alt=":)" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':|'"><img src="images/smilies/mellow.gif" alt=":|" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':('"><img src="images/smilies/sad.gif" alt=":(" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=':P'"><img src="images/smilies/tongue.gif" alt=":P" height="15" width="15" /></a>
<a href="javascript:;" onClick="document.form.news.value+=';)'"><img src="images/smilies/wink.gif" alt=";)" height="15" width="15" /></a><br />
<textarea name="content" rows="15" cols="75"></textarea>
<br>
<input type="submit" name="submit" value="Add News">
</form>
<?
}
//End of Add news
?>
- <?php
- //beginning of Add news
- include("../../../../config/config.php");
- if($submit)
- {
- $title = $_POST['title'];
- $name = $_POST['name'];
- $content = $_POST['content'];
- if(!$content){
- echo "Error: News is a required field. Please fill it.";
- exit();
- }
- $result = mysql_query("INSERT INTO news (title, name, dtime, content)
- VALUES ('$title','$name',NOW(),'$content')",$connect);
- echo "<b><strong>Thank you! News added Successfully!</strong>";
- // echo "<meta http-equiv=Refresh content=2;url=view.php target='_self'>";
- }
- else
- {
- ?>
- <form method="post" action="http://www.somewebsite.com/somewebsite_final/includes/admin/panels/news/add.php">
- Name: <br>
- <input name="name" size="40" maxlength="20">
- <br>
- Title:<br>
- <input name="title" size="40" maxlength="255">
- <br>
- News: <br>
- <input onClick="document.form.news.value+='[b][/b]'" type="button" value="Bold">
- <input onClick="document.form.news.value+='[i][/i]'" type="button" value="Italic">
- <input onClick="document.form.news.value+='[u][/u]'" type="button" value="Underlined">
- <input onClick="document.form.news.value+='[img src=http://]'" type="button" value="Image">
- <input onClick="document.form.news.value+='[url=http://]Link[/url]'" type="button" value="URL">
- <br />
- <a href="javascript:;" onClick="document.form.news.value+=':@'"><img src="images/smilies/angry.gif" alt=":@" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':D'"><img src="images/smilies/biggrin.gif" alt=":D" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':S'"><img src="images/smilies/confused.gif" alt=":S" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+='B)'"><img src="images/smilies/cool.gif" alt="B)" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':)'"><img src="images/smilies/happy.gif" alt=":)" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':|'"><img src="images/smilies/mellow.gif" alt=":|" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':('"><img src="images/smilies/sad.gif" alt=":(" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=':P'"><img src="images/smilies/tongue.gif" alt=":P" height="15" width="15" /></a>
- <a href="javascript:;" onClick="document.form.news.value+=';)'"><img src="images/smilies/wink.gif" alt=";)" height="15" width="15" /></a><br />
- <textarea name="content" rows="15" cols="75"></textarea>
- <br>
- <input type="submit" name="submit" value="Add News">
- </form>
- <?
- }
- //End of Add news
- ?>
- joebert
- Sledgehammer


- Registrado: Feb 10, 2004
- Mensajes: 13455
- Loc: Florida
- Status: Offline
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
1) <input type="submit" name="submit" value="Add News">
2) No, muestra las noticias (como por defecto). No se muestra "¡Gracias! Noticias agregada con éxito!" Como debería.
Index.php es:
Por supuesto que también tiene la gfx y HTML.
2) No, muestra las noticias (como por defecto). No se muestra "¡Gracias! Noticias agregada con éxito!" Como debería.
Index.php es:
Código: [ Select ]
<?
switch($content) {
case "index":
include ("includes/news/index.php");
break;
case "admin":
include ("includes/admin/index.php");
break;
case "hand_of_choice":
include ("includes/hand_of_choice/index.php");
break;
case "handhistory":
include ("includes/handhistory/index.php");
break;
case "way_to_vegas":
include ("includes/way_to_vegas/index.php");
break;
case "*plum*":
include ("includes/*plum*/index.php");
break;
case "forum":
include ("includes/forum/index.php");
break;
case "donations":
include ("includes/donations/index.php");
break;
case "contact":
include ("includes/contact/index.php");
break;
case "challenge":
include ("includes/challenge/index.php");
break;
case "join":
include ("includes/join/index.php");
break;
case "showhand":
include ("includes/showhand/index.php");
break;
default:
include ("includes/news/index.php");
break;
}
?>
switch($content) {
case "index":
include ("includes/news/index.php");
break;
case "admin":
include ("includes/admin/index.php");
break;
case "hand_of_choice":
include ("includes/hand_of_choice/index.php");
break;
case "handhistory":
include ("includes/handhistory/index.php");
break;
case "way_to_vegas":
include ("includes/way_to_vegas/index.php");
break;
case "*plum*":
include ("includes/*plum*/index.php");
break;
case "forum":
include ("includes/forum/index.php");
break;
case "donations":
include ("includes/donations/index.php");
break;
case "contact":
include ("includes/contact/index.php");
break;
case "challenge":
include ("includes/challenge/index.php");
break;
case "join":
include ("includes/join/index.php");
break;
case "showhand":
include ("includes/showhand/index.php");
break;
default:
include ("includes/news/index.php");
break;
}
?>
- <?
- switch($content) {
- case "index":
- include ("includes/news/index.php");
- break;
- case "admin":
- include ("includes/admin/index.php");
- break;
- case "hand_of_choice":
- include ("includes/hand_of_choice/index.php");
- break;
- case "handhistory":
- include ("includes/handhistory/index.php");
- break;
- case "way_to_vegas":
- include ("includes/way_to_vegas/index.php");
- break;
- case "*plum*":
- include ("includes/*plum*/index.php");
- break;
- case "forum":
- include ("includes/forum/index.php");
- break;
- case "donations":
- include ("includes/donations/index.php");
- break;
- case "contact":
- include ("includes/contact/index.php");
- break;
- case "challenge":
- include ("includes/challenge/index.php");
- break;
- case "join":
- include ("includes/join/index.php");
- break;
- case "showhand":
- include ("includes/showhand/index.php");
- break;
- default:
- include ("includes/news/index.php");
- break;
- }
- ?>
Por supuesto que también tiene la gfx y HTML.
- joebert
- Sledgehammer


- Registrado: Feb 10, 2004
- Mensajes: 13455
- Loc: Florida
- Status: Offline
En el formulario,
El primero que envió
Utilice esta acción.
En "index.php"
Antes de que el interruptor
Añadir este,
Que debe al menos conseguir que en includes / admin / index.php si no a través de todo el guión.
El primero que envió
Utilice esta acción.
Código: [ Select ]
action="<?php echo $_SERVER['PHP_SELF'] . '?content=admin§ion=panel&edit=news&action=add'; ?>"
En "index.php"
Antes de que el interruptor
Añadir este,
Código: [ Select ]
$submit = false;
$content = false;
$section = false;
$edit = false;
$action = false;
if(!empty($_POST['submit']))
{
$submit = $_POST['submit'];
}
if(!empty($_GET['content']))
{
$content = $_GET['content'];
}
if(!empty($_GET['section']))
{
$section = $_GET['section'];
}
if(!empty($_GET['edit']))
{
$edit = $_GET['edit'];
}
if(!empty($_GET['action']))
{
$action = $_GET['action'];
}
$content = false;
$section = false;
$edit = false;
$action = false;
if(!empty($_POST['submit']))
{
$submit = $_POST['submit'];
}
if(!empty($_GET['content']))
{
$content = $_GET['content'];
}
if(!empty($_GET['section']))
{
$section = $_GET['section'];
}
if(!empty($_GET['edit']))
{
$edit = $_GET['edit'];
}
if(!empty($_GET['action']))
{
$action = $_GET['action'];
}
- $submit = false;
- $content = false;
- $section = false;
- $edit = false;
- $action = false;
- if(!empty($_POST['submit']))
- {
- $submit = $_POST['submit'];
- }
- if(!empty($_GET['content']))
- {
- $content = $_GET['content'];
- }
- if(!empty($_GET['section']))
- {
- $section = $_GET['section'];
- }
- if(!empty($_GET['edit']))
- {
- $edit = $_GET['edit'];
- }
- if(!empty($_GET['action']))
- {
- $action = $_GET['action'];
- }
Que debe al menos conseguir que en includes / admin / index.php si no a través de todo el guión.
Strong with this one, the sudo is.
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
- joebert
- Sledgehammer


- Registrado: Feb 10, 2004
- Mensajes: 13455
- Loc: Florida
- Status: Offline
Estamos encantados de que esto funciona, basta con que sus variables están pasando por controles de seguridad más adelante (si no es que en adición) y me hacen un favor, no iniciar nuevos temas sobre la misma cuestión como esta nunca más, se vuelve confuso. Envío al hilo original con cuentos de su progreso hace las cosas mucho más fácil.
Strong with this one, the sudo is.
- 74123
- Graduate


- Registrado: Jul 06, 2005
- Mensajes: 190
- Status: Offline
I googled controles de seguridad y los resultados que he recibido eran un poco confusas. ¿Qué quiere decir exactamente?
He trasladado la web a un servidor diferente y ahora cuando hago clic en el vínculo para editar el contenido, no funciona. Simplemente recargas y muestra la lista de cosas que puedo editar. ¿El servidor necesita tener algo activado para que funcione?
He trasladado la web a un servidor diferente y ahora cuando hago clic en el vínculo para editar el contenido, no funciona. Simplemente recargas y muestra la lista de cosas que puedo editar. ¿El servidor necesita tener algo activado para que funcione?
- Funny_Fuzz
- Mastermind


- Registrado: Ene 18, 2005
- Mensajes: 1517
- Status: Offline
Su código se ve diferente a la mía. Yo uso:
[php ]<?=$_ SERVER [ "PHP_SELF"];?> [/ php]
En lugar de
[php] <? php echo $ _SERVER [ "PHP_SELF"];?> [/ php]
Me pregunto si es que realmente marca la diferencia, aunque...
[php ]<?=$_ SERVER [ "PHP_SELF"];?> [/ php]
En lugar de
[php] <? php echo $ _SERVER [ "PHP_SELF"];?> [/ php]
Me pregunto si es que realmente marca la diferencia, aunque...
THE BEST THINGS IN LIFE ARE FREE...
JOIN THE MEDIASHARK COMMUNITY TODAY!
JOIN THE MEDIASHARK COMMUNITY TODAY!
Página 1 de 1
Para responder a este tema que necesita para ingresar o registrarse. Es gratis.
Publicar Información
- Total de mensajes en este tema: 12 mensajes
- Usuarios navegando por este Foro: No hay usuarios registrados visitando el Foro y 107 invitados
- No puede abrir nuevos temas en este Foro
- No puede responder a temas en este Foro
- No puede editar sus mensajes en este Foro
- No puede borrar sus mensajes en este Foro
- No puede enviar adjuntos en este Foro
