(DRW) FILTRO ESTILO SPAM AVANZADO PHP

PHP
HOLA FOREROS
TENGO UN INCONVENIENTE QUE ME ESTA DANDO VUELTAS SIN
SOLUCIÓN
RESULTA QUE TENGO 2 TABLAS.
EN UNA TABLA REGISTRA LOS MENSAJES ENTRE USUARIOS
LA OTRA TABLA REGISTRA LOS USUARIOS BLOQUEADOS.
EL FILTRO QUE ME GUSTARIA QUE ME AYUDARAN ES IGUAL A UN
FILTRO DE CORREO
SPAM.
QUE EL VALLA Y VERIFIQUE SI EL USUARIO ESTA BLOQUEADO, SI ES
ASI NO LO
MUESTRE.
PERO SI NO ESTA BLOQUEADO MUESTRE EL REGISTRO.
ALGUNA SUGERENCIA
LES DEJO LA DATABASE.
LES AGRADEZCO LA AYUDA.
CREATE TABLE `mensaje_bloqueado` (
`id` int(11) NOT NULL auto_increment,
`fecha` date default NULL,
`id_usuario` int(11) default NULL,
`id_bloqueado` int(11) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE `mensajes_usuarios` (
`id` int(11) NOT NULL auto_increment,
`fecha` date default NULL,
`remite` varchar(255) default NULL,
`id_remite` varchar(250) default NULL,
`para` varchar(255) default NULL,
`id_para` varchar(250) default NULL,
`mensaje_corto` varchar(255) default NULL,
`mensaje` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

PHP
HOLA FOREROS
TENGO UN INCONVENIENTE QUE ME ESTA DANDO VUELTAS SIN
SOLUCIÓN
RESULTA QUE TENGO 2 TABLAS.
EN UNA TABLA REGISTRA LOS MENSAJES ENTRE USUARIOS
LA OTRA TABLA REGISTRA LOS USUARIOS BLOQUEADOS.
EL FILTRO QUE ME GUSTARIA QUE ME AYUDARAN ES IGUAL A UN
FILTRO DE CORREO
SPAM.
QUE EL VALLA Y VERIFIQUE SI EL USUARIO ESTA BLOQUEADO, SI ES
ASI NO LO
MUESTRE.
PERO SI NO ESTA BLOQUEADO MUESTRE EL REGISTRO.
ALGUNA SUGERENCIA
LES DEJO LA DATABASE.
LES AGRADEZCO LA AYUDA.
CREATE TABLE `mensaje_bloqueado` (
`id` int(11) NOT NULL auto_increment,
`fecha` date default NULL,
`id_usuario` int(11) default NULL,
`id_bloqueado` int(11) default NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE `mensajes_usuarios` (
`id` int(11) NOT NULL auto_increment,
`fecha` date default NULL,
`remite` varchar(255) default NULL,
`id_remite` varchar(250) default NULL,
`para` varchar(255) default NULL,
`id_para` varchar(250) default NULL,
`mensaje_corto` varchar(255) default NULL,
`mensaje` text,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Similar Messages

  • (DRW) CONCATENACIÓN DOBLE CON FILTRO AVANZADO ESTILO SPAM

    HOLA FOREROS
    TENGO UN INCONVENIENTE QUE ME ESTA DANDO VUELTAS SIN
    SOLUCIÓN
    RESULTA QUE TENGO 2 TABLAS.
    EN UNA TABLA REGISTRA LOS MENSAJES ENTRE USUARIOS
    LA OTRA TABLA REGISTRA LOS USUARIOS BLOQUEADOS.
    EL FILTRO QUE ME GUSTARIA QUE ME AYUDARAN ES IGUAL A UN
    FILTRO DE CORREO
    SPAM.
    QUE EL VALLA Y VERIFIQUE SI EL USUARIO ESTA BLOQUEADO, SI ES
    ASI NO LO
    MUESTRE.
    PERO SI NO ESTA BLOQUEADO MUESTRE EL REGISTRO.
    ALGUNA SUGERENCIA
    LES DEJO LA DATABASE.
    LES AGRADEZCO LA AYUDA.
    CREATE TABLE `mensaje_bloqueado` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `id_usuario` int(11) default NULL,
    `id_bloqueado` int(11) default NULL,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    CREATE TABLE `mensajes_usuarios` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `remite` varchar(255) default NULL,
    `id_remite` varchar(250) default NULL,
    `para` varchar(255) default NULL,
    `id_para` varchar(250) default NULL,
    `mensaje_corto` varchar(255) default NULL,
    `mensaje` text,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

    HOLA FOREROS
    TENGO UN INCONVENIENTE QUE ME ESTA DANDO VUELTAS SIN
    SOLUCIÓN
    RESULTA QUE TENGO 2 TABLAS.
    EN UNA TABLA REGISTRA LOS MENSAJES ENTRE USUARIOS
    LA OTRA TABLA REGISTRA LOS USUARIOS BLOQUEADOS.
    EL FILTRO QUE ME GUSTARIA QUE ME AYUDARAN ES IGUAL A UN
    FILTRO DE CORREO
    SPAM.
    QUE EL VALLA Y VERIFIQUE SI EL USUARIO ESTA BLOQUEADO, SI ES
    ASI NO LO
    MUESTRE.
    PERO SI NO ESTA BLOQUEADO MUESTRE EL REGISTRO.
    ALGUNA SUGERENCIA
    LES DEJO LA DATABASE.
    LES AGRADEZCO LA AYUDA.
    CREATE TABLE `mensaje_bloqueado` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `id_usuario` int(11) default NULL,
    `id_bloqueado` int(11) default NULL,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    CREATE TABLE `mensajes_usuarios` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `remite` varchar(255) default NULL,
    `id_remite` varchar(250) default NULL,
    `para` varchar(255) default NULL,
    `id_para` varchar(250) default NULL,
    `mensaje_corto` varchar(255) default NULL,
    `mensaje` text,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

  • (DRW) Recorset Aleatorio 2

    Hola foreros
    Hace tiempos realice esta misma pregunta
    Me preguntaba como puedo darle a un juego de registro que
    tome valor
    aleatorio y lo imprima en PHP?
    Descargue el software de CMacias me recomendó en esa
    época, pero
    lamentablemente no me esta imprimiendo el valor.
    No se si sea por el filtro que tengo avanzado de sección
    o por el include.
    WHERE busco_sex ='".$_SESSION['kt_sex']."'
    http://www.tecnorama.org/document.php?id_doc=50
    En estos momentos estoy pensando agregarle al filtro para que
    me muestre
    quien esta en línea
    ALQUIEN SABE OTRA MANERA DE PODER REALIZAR UN FILTRO AVANZADO
    ALEATORIO?
    Gracias de ante mano a todos

    Hola Annuack:
    SELECT *
    FROM maillist
    WHERE busco_sex ='".$_SESSION['kt_sex']."' AND foto_activo =
    1
    ORDER BY RAND()
    Saludos!
    Andres Cayon
    http://www.dwug.es
    "Anuack Luna" <[email protected]> escribió en el
    mensaje
    news:f0li8a$25n$[email protected]..
    > Carlos Macias como estas
    >
    > Queda algo así?
    >
    > SELECT *
    > FROM maillist
    > WHERE busco_sex ='".$_SESSION['kt_sex']."' AND
    foto_activo = 1
    > ORDER BY nombre RAND
    >
    > Gracias de ante mano
    >
    >
    > "Carlos Macías" <[email protected]>
    escribió en el mensaje
    > news:f0kfe2$jfk$[email protected]..
    >> A ver, tienes dos opciones.
    >>
    >> 1.- Escribir al creador de la extensión, es
    decir, Andrés Cayón.
    >>
    >> 2.- Utilizar directamente en tu query "RAND", que te
    devuelve registros
    >> aleatorios.
    >>
    >>
    >> "Anuack Luna" <[email protected]> escribió
    en el mensaje
    >> news:f0kbib$dgi$[email protected]..
    >> > Hola foreros
    >> >
    >> > Hace tiempos realice esta misma pregunta
    >> >
    >> > Me preguntaba como puedo darle a un juego de
    registro que tome valor
    >> > aleatorio y lo imprima en PHP?
    >> >
    >> > Descargue el software de CMacias me
    recomendó en esa época, pero
    >> > lamentablemente no me esta imprimiendo el
    valor.
    >> >
    >> > No se si sea por el filtro que tengo avanzado
    de sección o por el
    > include.
    >> > WHERE busco_sex ='".$_SESSION['kt_sex']."'
    >> >
    >> >
    http://www.tecnorama.org/document.php?id_doc=50
    >> >
    >> > En estos momentos estoy pensando agregarle al
    filtro para que me
    >> > muestre
    >> > quien esta en línea
    >> >
    >> > ALQUIEN SABE OTRA MANERA DE PODER REALIZAR UN
    FILTRO AVANZADO
    >> > ALEATORIO?
    >> >
    >> > Gracias de ante mano a todos
    >> >
    >> >
    >>
    >>
    >
    >

  • Making a Contact Forms Anti-Spam Work

    I can't get this anti-spam .php code to work, Important Note: The coding worked before I added the anti-spam label/.php coding. Any obvious faults in the coding?
    HTML:
    <link rel="stylesheet" href="css/site-feedback-part-two.php" type="text/css" media="screen" />
        <form method="post" action="site-feedback-part-two.php">
       <label>Name</label>
        <input name="name" placeholder="Type Here">
        <label>Email *</label>
        <input name="email" type="email" placeholder="Type Here">
        <label>Suggested Feedback *</label>
        <textarea name="message" placeholder="Type Here"></textarea>
        <label>What is (20+5)/5? (Anti-spam) *</label>
      <input name="human" placeholder="Type Here">
        <div><input id="submit" name="submit" type="submit" value="Submit"></div>
            </form>
    PHP:
    <?php
        $name = $_POST['name'];
        $email = $_POST['email'];
        $message = $_POST['message'];
        $from = 'From: Contact Form';
        $to = '[email protected]';
        $subject = 'Site Feedback';
        $body = "From: $name\n E-Mail: $email\n Message:\n $message";
    if ($_POST['submit']) {
    if (&& $human == '5') {
        if (mail ($to, $subject, $body, $from)) {
            echo '<p>Your message has been sent!</p>';
        } else {
            echo '<p>Something went wrong, go back and try again!</p>';
      } else {
      ($_POST['submit'] && $human != '5') {
        echo '<p>You answered the anti-spam question incorrectly! This means that your message has not been sent</p>';
    ?>
    Thanks for the help.

    <?php
    $name = $_POST['name'];
    $email = $_POST['email'];
    $message = $_POST['message'];
    $from = 'From: Contact Form';
    $to = '[email protected]';
    $subject = 'Site Feedback';
    $body = "From: $name\n E-Mail: $email\n Message:\n $message";
    if(isset($_POST['submit'])) {
    if($_POST['human'] != 5) {
    echo '<p>You answered the anti-spam question incorrectly! This means that your message has not been sent</p>';
    elseif ($_POST['human'] == 5) {
    mail($to, $subject, $body, $from);
    echo '<p>Your message has been sent!</p>';
    else {
    echo '<p>Something went wrong, go back and try again!</p>';
    ?>

  • Me dijeron que ya esta liberado pero no.

    Hola, contacté a mi empresa de telefonia donde compre el iphone, ya paso el tiempo correspondiente de 1 año asi que pedi la liberacion. Me hicieron la liberacion y me dijeron que espere unas horas para conectarlo a itunes. Pues pasó ya 1 mes y sigo intentando sin tener el famoso cartel de EN HORA BUENA...Cuanto tarda en liberarse? Los de la compania de servicio telefonico mandan a los servidores de apple la liberacion y cuanto tarda en que apple lo libere?
    Saludos.

    Bienvenido a la comunidad de Apple.
    Poner en una solicitud de otro verificación de correo electrónico que se envió.
    Comience aquí, cambiar su país si es necesario y para administrar su cuenta.
    También puedes ver las reglas y los filtros de correo, el correo de verificación puede ser ir a una carpeta de correo basura o incluso se eliminen por completo. También puede ponerse en contacto con su proveedor de correo para ver si sus filtros de spam a eliminar el correo electrónico antes de que llegue a usted.

  • No puedo instalarlo me dice que mi copia fue manipulada

    Acabo de compra mountain lion pero al intentar instalarla me dice que mi copia fue manipuada y no me deje instalarla, que puedo hacer?

    Bienvenido a la comunidad de Apple.
    Poner en una solicitud de otro verificación de correo electrónico que se envió.
    Comience aquí, cambiar su país si es necesario y para administrar su cuenta.
    También puedes ver las reglas y los filtros de correo, el correo de verificación puede ser ir a una carpeta de correo basura o incluso se eliminen por completo. También puede ponerse en contacto con su proveedor de correo para ver si sus filtros de spam a eliminar el correo electrónico antes de que llegue a usted.

  • (DRW) FILTER ADVANCED STYLE SPAM PHP

    PHP
    HELLO. MY ENGLISH NOT IS GOOD
    I HAVE A DISADVANTAGE THAT THIS GIVING ME RETURNED WITHOUT
    SOLUTION IT IS
    THAT I HAVE 2 TABLES.
    IN A TABLE IT REGISTERS THE MESSAGES BETWEEN USERS THE OTHER
    TABLE REGISTERS
    THE BLOCKED USERS.
    THE FILTER THAT ME GUSTARIA THAT HELPED ME IS EQUAL TO A
    FILTER OF MAIL
    SPAM. THAT THE FENCE AND VERIFIES IF THE BLOCKED USER THIS,
    IF IT THUS IS
    DOES NOT SHOW IT.
    BUT THIS BLOCKED DOES NOT SHOW THE REGISTRY.
    SOME SUGGESTION I LEAVE THE DATABASE THEM. I THANK FOR THE
    AID TO THEM.
    CREATE TABLE `mensaje_bloqueado` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `id_usuario` int(11) default NULL,
    `id_bloqueado` int(11) default NULL,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
    CREATE TABLE `mensajes_usuarios` (
    `id` int(11) NOT NULL auto_increment,
    `fecha` date default NULL,
    `remite` varchar(255) default NULL,
    `id_remite` varchar(250) default NULL,
    `para` varchar(255) default NULL,
    `id_para` varchar(250) default NULL,
    `mensaje_corto` varchar(255) default NULL,
    `mensaje` text,
    PRIMARY KEY (`id`)
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

    the form did not work for most email in the Label  "College Sports"'
    the values of the parameters did not agree with email prefixes.
    (i.e., was  [email protected]  --->> @collegestudentvoice.net)
    This is the only thing that i changed
    The form was test from a different PC and also did not work.

  • Php code is not working as intended in a simple spam block solution

    Hi. I'm trying to get some simple php code (as suggested on a tutorial page I found) to work on my form submission test page in order to reduce/stop spam. However, the results so far have not quite been what I expected. Any help will be appreciated.
    Basically I used the code given in the two grey boxes on this tutorial page http://myphpform.com/form-spam.php (but had to add this <?php ... ?> around the code given in the second box, otherwise it wouldn't have worked!) for my test page, and the result was supposed to look something like shown on this page http://myphpform.com/contact.php and indeed when I previewed my page in offline mode it displayed as intended with the extra field similar to the "Access code:" as on this example page, however that's not what I got when I uploaded my page.
    What happens when I go to the live page is that as soon as it loads it gives me the message: "Wrong access code" before I even have a chance to look at the form there. It's the message the user is supposed to get when they input the suggested code incorrectly, but not when the page first loads! This is what the live test page basically looks like when I go to it http://www.scotiauk.com/contact/forms/smotsContactTest.php. I wonder what's going wrong?
    I actually noticed a short while ago, after 'viewing page source' (source code) on the live test page that the page is for some reason only displaying less than half of the html code and cuts off the rest of it (including all of the <body>) just at the point (at the end of the <head> section) where the couple of lines of php script (borrowed from the second grey box in the tutorial) were meant to be - the script that includes "Wrong access code". So I get why it shows a blank page with only that message in it but not why it removes all of the <body> code once it is live!
    Just for information, this is what the page is really meant to look like - minus the php code: http://www.scotiauk.com/contact/forms/smotsContact.html. That is the original page that I copied and tried to modify with the new code. So, any ideas will be appreciated, thanks!

    Just for information, this is what the page is really meant to look like - minus the php code: http://www.scotiauk.com/contact/forms/smotsContact.html. That is the original page that I copied and tried to modify with the new code. So, any ideas will be appreciated, thanks!
    The page that you have quoted contains an infection as the following warns.
    As far as your problem is concerned, you need to know how a from works. Have a look at this video.

  • Php - sending newsletter avoiding spam - how to?

    Hello,
    I'm looking for a way of limit the number of emails sent by my script at once, so my newsletter arrives to custummers in spite of goint to spam folders.
    I know I must send per example 50 emails at once, and then wait some time before sending the next 50, but how to do that in php?
    I query my mysql database limiting 0,50 so I get my 50emails, but I don't see a way of repeating this task after lets say 2 minutes...
    also, do you think this would be proper headers for my script?
    thanks!
    Pluda
    $todos = "".$row['email']."";
    $boundary = md5(uniqid(time()));
    $headers = 'From: ' .$admin. "\n";
    $headers .= 'To: ' . $todos . "\n";
    $headers .= 'Return-Path: ' .$admin. "\n";
    $headers .= 'MIME-Version: 1.0' ."\n";
    $headers .= 'Content-Type: multipart/alternative; boundary="' .$boundary. '"' . "\n\n";
    $headers .= $body_simple2. "\n";
    $headers .= '--' .$boundary. "\n";
    $headers .= 'Content-Type: text/plain; charset=ISO-8859-1' ."\n";
    $headers .= 'Content-Transfer-Encoding: 8bit'. "\n\n";
    $headers .= $body_plain. "\n";
    $headers .= '--' .$boundary. "\n";
    $headers .= 'Content-Type: text/HTML; charset=ISO-8859-1' ."\n";
    $headers .= 'Content-Transfer-Encoding: 8bit'. "\n\n";
    $headers .= $html2. "\n";
    $headers .= '--' .$boundary. "--\n";
    if(mail('', $assunto, '', $headers)) {
       echo "erro=".utf8_encode("O seu email foi enviado com sucesso");
    } else {
       echo "erro=".utf8_encode("Houve um erro a enviar a sua mensagem!");

    Hello,
    I'm looking for a way of limit the number of emails sent by my script at once, so my newsletter arrives to custummers in spite of goint to spam folders.
    I know I must send per example 50 emails at once, and then wait some time before sending the next 50, but how to do that in php?
    I query my mysql database limiting 0,50 so I get my 50emails, but I don't see a way of repeating this task after lets say 2 minutes...
    also, do you think this would be proper headers for my script?
    thanks!
    Pluda
    $todos = "".$row['email']."";
    $boundary = md5(uniqid(time()));
    $headers = 'From: ' .$admin. "\n";
    $headers .= 'To: ' . $todos . "\n";
    $headers .= 'Return-Path: ' .$admin. "\n";
    $headers .= 'MIME-Version: 1.0' ."\n";
    $headers .= 'Content-Type: multipart/alternative; boundary="' .$boundary. '"' . "\n\n";
    $headers .= $body_simple2. "\n";
    $headers .= '--' .$boundary. "\n";
    $headers .= 'Content-Type: text/plain; charset=ISO-8859-1' ."\n";
    $headers .= 'Content-Transfer-Encoding: 8bit'. "\n\n";
    $headers .= $body_plain. "\n";
    $headers .= '--' .$boundary. "\n";
    $headers .= 'Content-Type: text/HTML; charset=ISO-8859-1' ."\n";
    $headers .= 'Content-Transfer-Encoding: 8bit'. "\n\n";
    $headers .= $html2. "\n";
    $headers .= '--' .$boundary. "--\n";
    if(mail('', $assunto, '', $headers)) {
       echo "erro=".utf8_encode("O seu email foi enviado com sucesso");
    } else {
       echo "erro=".utf8_encode("Houve um erro a enviar a sua mensagem!");

  • Alguien sabe si se pueden ampliar librerias de estilos, filtros, etc...

    alguien sabe si se pueden ampliar librerias de estilos, filtros, etc...
    y como descargarse las ampliaciones que propone la revista photoshop?

    https://www.adobeexchange.com/

  • Php contact form spam

    I published a website two weeks ago and in the first week the contact form started getting hit with spam.  Here is an example of one of many similiar, note the email address is always different but yet a gmail acct:
    Name: クãƒã‚¨ 財布 公式
    Phone Number: クãƒã‚¨ 財布 公式
    Email Address: [email protected]
    Message: <a href="http://gagastore.meningitisfacts.com/">ガがミラノ 時計 人気</a>初直営店がいよいよOPEN! http://gagastore.meningitisfacts.com/
    Today, I have set up filters on the email (GoDaddy) blocking anything with a "http://" and the "ガがミラノ 時計 人æ°" markings.
    I am trying ever which way not to use Captcha because it is such a pain.  I did read up on the timer where if it is filled out in less then 5 seconds to discard. I did place a hidden field last week and to date that has made zero difference.
    My question is - Is there a good latest and greatest code that I can update to my form to combat against these JERKS?
    BTW - so far it appears they only start hitting the site's contact form from Friday til Saturday.  Makes me wonder if it is a human rather than a bot.

    jlkappler wrote:
    I published a website two weeks ago and in the first week the contact form started getting hit with spam.  Here is an example of one of many similiar, note the email address is always different but yet a gmail acct:
    Name: クãƒã‚¨ 財布 公式
    Phone Number: クãƒã‚¨ 財布 公式
    Email Address: [email protected]
    Message: <a href="http://gagastore.meningitisfacts.com/">ガがミラノ 時計 人気</a>初直営店がいよいよOPEN! http://gagastore.meningitisfacts.com/
    Today, I have set up filters on the email (GoDaddy) blocking anything with a "http://" and the "ガがミラノ 時計 人æ°" markings.
    I am trying ever which way not to use Captcha because it is such a pain.  I did read up on the timer where if it is filled out in less then 5 seconds to discard. I did place a hidden field last week and to date that has made zero difference.
    My question is - Is there a good latest and greatest code that I can update to my form to combat against these JERKS?
    BTW - so far it appears they only start hitting the site's contact form from Friday til Saturday.  Makes me wonder if it is a human rather than a bot.
    One way to test if it is human or bot is to return the contents of the 'honeypot' field in the mail too . (Once you establish if its human or a bot you can do something about it or not as the case may be). To me it looks like a bot and the honeypot field will contain information as well.

  • (DRW) Boton PHP reload page

    My english not is good.
    Please. boton in PHP or Java Scritp reload web site?
    Botón en PHP o Java Scritp que me permita recargar la
    misma pagina que estoy
    viendo
    He buscado pero no he encontrado nada.

    Anuack Luna wrote:
    > OK Gracias
    >
    > Bay. Saludos desde Colombia
    >
    >
    > "Mick White" <[email protected]>
    escribió en el mensaje
    > news:etr9s2$3ga$[email protected]..
    >
    >>Anuack Luna wrote:
    >>
    >>
    >>>My english not is good.
    >>>
    >>>Please. boton in PHP or Java Scritp reload web
    site?
    >>
    >><input type="button" value="recargar"
    >>onclick="location=location+'?recargar=verdad'">
    >>Mick
    >>
    >>>
    >>>
    >>>Botón en PHP o Java Scritp que me permita
    recargar la misma pagina que
    >
    > estoy
    >
    >>>viendo
    >>>
    >>>He buscado pero no he encontrado nada.
    >>>
    >>>
    Lo importante es, mi amigo, ahora lo has encontrado.
    Mick

  • (DRW) Llamar un archivo TXT y modificarlo en linea. PHP

    Hola Foreros PHP
    Me preguntaba como puedo modificar un archivo txt en
    línea
    Llamarlo lo se con include, pero que además pueda
    hacerle cambios y que
    quede guardado ese archivo TXT en línea no lo se
    Por ejemplo
    El archivo se llama xxxx..TXT
    Lo llame. Pueda cambiar el contenido en línea y luego
    guardar los cambios
    que escribí a ese archivo.
    Alguna sugerencia.

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0030_01C77058.0E8A0DF0
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    fopen();
    fwrite();
    fclose();
    Salu2
    Daniel Naranjo
    Lo Ultimo Group, C.A.=20
    (+58) 414 7962406 / 416 2917532 / 295 6117632=20
    Dise=F1o y Desarrollo Web, Aplicaciones Web.
    www.loultimoenlaweb.com
    Registro de dominios y Hospedaje Web al mejor costo.=20
    www.loultimoenhosting.com
    "Anuack Luna" <[email protected]> escribi=F3 en
    el mensaje =
    news:[email protected]...
    Hola Foreros PHP
    Me preguntaba como puedo modificar un archivo txt en l=EDnea
    Llamarlo lo se con include, pero que adem=E1s pueda hacerle
    cambios y =
    que
    quede guardado ese archivo TXT en l=EDnea no lo se
    Por ejemplo
    El archivo se llama xxxx..TXT
    Lo llame. Pueda cambiar el contenido en l=EDnea y luego
    guardar los =
    cambios
    que escrib=ED a ese archivo.
    Alguna sugerencia.
    ------=_NextPart_000_0030_01C77058.0E8A0DF0
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2900.3059"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DVerdana
    size=3D2>fopen();</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>fwrite();</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>fclose();</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>Salu2</FONT></DIV>
    <DIV>
    <P></P>
    <P><FONT face=3D"Arial, Helvetica, sans-serif"
    size=3D2><STRONG>Daniel=20
    Naranjo</STRONG><BR>Lo Ultimo Group, C.A.
    </FONT><BR><FONT=20
    face=3D"Arial, Helvetica, sans-serif" size=3D1>(+58) 414
    7962406 / 416 =
    2917532 / 295=20
    6117632 <BR>Dise=F1o y Desarrollo Web, Aplicaciones
    Web.<BR><A=20
    href=3D"
    gistro de=20
    dominios y Hospedaje Web al mejor costo. <BR><A=20
    href=3D"
    FONT></P></DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Anuack Luna" &lt;<A=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    escribi=F3=20
    en el mensaje <A=20
    =
    href=3D"news:[email protected]">news:euaisp$amf$2@forums=
    .macromedia.com</A>...</DIV>Hola=20
    Foreros PHP<BR><BR>Me preguntaba como puedo
    modificar un archivo txt =
    en=20
    l=EDnea<BR><BR>Llamarlo lo se con include, pero
    que adem=E1s pueda =
    hacerle cambios=20
    y que<BR>quede guardado ese archivo TXT en l=EDnea no
    lo se<BR><BR>Por =
    ejemplo<BR><BR>El archivo se llama
    xxxx..TXT<BR><BR>Lo llame. Pueda =
    cambiar el=20
    contenido en l=EDnea y luego guardar los
    cambios<BR>que escrib=ED a =
    ese=20
    archivo.<BR><BR>Alguna
    sugerencia.<BR><BR></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_0030_01C77058.0E8A0DF0--

  • (DRW) Quietar y mostrar los 4 ultimos caracteres PHP. Urget

    Hola Foreros. PHP
    1 Quitar los últimos 4 caracteres
    2.Mostrar los últimos 4 caracteres
    1. Me gustaría saber como puedo hacer para poder quitar
    los últimos
    caracteres.
    Mostrando todo el resto pero sin los últimos 4
    caracteres o dígitos en
    database PHP
    Ejemplo
    Registrado en la base de datos
    "imagen.jpg"
    Me imprima solo "imagen"
    2. Mostrar únicamente los últimos 4 caracteres
    Mostrando solo los últimos
    Ejemplo
    "imangen.jpg"
    Me imprima ".jpg"
    Alguna sugerencia?

    Zerof. Gracias pero no me sirvió. Explico mejor
    El valor que me imprime normalmente es
    La_casa_de_mi_tía.jpg
    Lo que deseo es que solo me imprima "La_casa_de_mi_tía"
    sin los últimos 4
    caracteres.
    Para que.
    Como es un reside de imagen que busca un archivo que cambia
    para un boletín
    queda así.
    La_casa_de_mi_tía_120x_80x_
    Ese valor _120x_80x_ yo lo escribo a mano
    En pocas palabras <?php echo $row_usuario['nombre_imagen']
    ?>_120x_80x_
    Ahora luego de haber solicitado que me imprima un valor SIN
    los últimos 4
    caracteres le digo que me imprima los últimos 4
    caracteres
    Queda algo así:
    <?php echo $row_usuario['nombre_imagen']
    ?>_120x_80x_<?php echo
    $row_usuario['nombre_imagen'] ?>
    Imprimiría en realidad:
    La_casa_de_mi_tía_120x_80x_.jpg
    Alguna sugerencia?
    "zerof" <[email protected]> escribió en el
    mensaje
    news:eu6r07$h8f$[email protected]..
    > Anuack Luna escreveu:
    > > Hola Foreros. PHP
    > >
    > > 1 Quitar los últimos 4 caracteres
    > > 2.Mostrar los últimos 4 caracteres
    > >
    > > 1. Me gustaría saber como puedo hacer para
    poder quitar los últimos
    > > caracteres.
    > > Mostrando todo el resto pero sin los últimos 4
    caracteres o dígitos en
    > > database PHP
    > >
    > > Ejemplo
    > > Registrado en la base de datos
    > > "imagen.jpg"
    > > Me imprima solo "imagen"
    > >
    > > 2. Mostrar únicamente los últimos 4
    caracteres
    > > Mostrando solo los últimos
    > >
    > > Ejemplo
    > >
    > > "imangen.jpg"
    > > Me imprima ".jpg"
    > >
    > > Alguna sugerencia?
    > >
    > >
    > ----
    > * substr
    >
    http://www.educar.pro.br/a/str/index.php?pn=35&tr=65
    >
    > * image_type_to_extension (solamente php 5)
    >
    http://www.educar.pro.br/a/gdlib/index.php?pn=27&tr=97
    > --
    > zerof
    >
    http://www.educar.pro.br/
    > Apache - PHP - MySQL - Boolean Logics - Project
    Management
    >
    > Você deve, sempre, consultar uma segunda
    opinião!
    >
    > Deixe todos saberem se esta informação foi-lhe
    útil.
    >
    > You must hear, always, one second opinion! In all cases.
    >
    > Let the people know if this info was useful for you!
    >

  • (DRW) PHP. Menos el ultimo registro

    Hola foreros.
    Como puedo hacer para que nunca me llegué a mostrar el
    ultimo registro
    En un site deseo que crear un juego de registro que me
    muestre por pagina 4
    registros, pero el único que no me muestre es el ultimo
    de los registros
    La idea es colocar Noticias en una tabla y en la otra el
    resto de noticias.
    Máximo 4 en región repetida. La idea es crear un
    game de registro para que
    me haga el llamado a todos menos el ultimo.
    Alguna sugerencia?

    This is a multi-part message in MIME format.
    ------=_NextPart_000_0121_01C8CA1E.B854E460
    Content-Type: text/plain;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    Con limit, limito a si le diga repetir registro?
    Gracias.
    Saludos desde Colombia
    www.anuack.com
    "Daniel Naranjo" <[email protected]> escribi=F3
    en el mensaje =
    news:[email protected]...
    Tambien funcionaria asi, no?
    "SELECT * FROM tabla ORDER BY id DESC LIMIT 1,4"
    Saludos
    Daniel Naranjo
    Lo Ultimo Group, C.A.=20
    (+58) 414 7962406 / 416 2917532 / 295 6117632=20
    www.loultimoenlaWEB.com
    www.loultimoenHosting.com
    www.loultimoenViajes.com
    "CMacias" <[email protected]> escribi=F3 en el
    mensaje =
    news:[email protected]...
    Inicializa una variable contador.
    $count =3D 0;
    do {
    if($totalregs < $count)
    muestra registros...
    $count++;
    } while(...)
    Anuack Technology de Colombia escribi=F3:
    > Algo as=ED :
    >=20
    > 3
    > 2
    > 1
    >=20
    > solo me muestre
    >=20
    > 2
    > 1
    >=20
    >=20
    > Alguna sugerencia?
    >=20
    >=20
    >=20
    >=20
    > "Anuack Technology de Colombia"
    <[email protected]> =
    escribi=F3 en el=20
    > mensaje news:[email protected]...
    >> Hola foreros.
    >>
    >> Como puedo hacer para que nunca me llegu=E9 a
    mostrar el ultimo =
    registro
    >>
    >> En un site deseo que crear un juego de registro que
    me muestre =
    por pagina=20
    >> 4 registros, pero el =FAnico que no me muestre es
    el ultimo de =
    los registros
    >>
    >> La idea es colocar Noticias en una tabla y en la
    otra el resto de =
    >> noticias. M=E1ximo 4 en regi=F3n repetida. La idea
    es crear un =
    game de=20
    >> registro para que me haga el llamado a todos menos
    el ultimo.
    >>
    >> Alguna sugerencia?
    >>
    >=20
    >
    ------=_NextPart_000_0121_01C8CA1E.B854E460
    Content-Type: text/html;
    charset="iso-8859-1"
    Content-Transfer-Encoding: quoted-printable
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
    Transitional//EN">
    <HTML><HEAD>
    <META http-equiv=3DContent-Type content=3D"text/html; =
    charset=3Diso-8859-1">
    <META content=3D"MSHTML 6.00.2900.3132"
    name=3DGENERATOR>
    <STYLE></STYLE>
    </HEAD>
    <BODY bgColor=3D#ffffff>
    <DIV><FONT face=3DArial size=3D2>Con limit,
    limito a si le diga repetir=20
    registro?</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2>Gracias.</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2>Saludos desde
    Colombia</FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial size=3D2><A=20
    href=3D"
    http://www.anuack.com">www.anuack.com</A></FONT></DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DArial
    size=3D2></FONT> </DIV>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"Daniel Naranjo" &lt;<A=20
    =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;=
    =20
    escribi=F3 en el mensaje <A=20
    =
    href=3D"news:[email protected]">news:g2jiao$b7c$1@forums=
    .macromedia.com</A>...</DIV>
    <DIV><FONT face=3DVerdana size=3D2>Tambien
    funcionaria asi, =
    no?</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana size=3D2>"SELECT *
    FROM tabla ORDER BY id =
    DESC LIMIT=20
    1,4"</FONT></DIV>
    <DIV><FONT face=3DVerdana
    size=3D2></FONT> </DIV>
    <DIV><FONT face=3DVerdana
    size=3D2>Saludos</FONT></DIV>
    <DIV>
    <P></P>
    <P><FONT face=3D"Arial, Helvetica, sans-serif"
    size=3D2><STRONG>Daniel =
    Naranjo</STRONG><BR>Lo Ultimo Group, C.A.
    </FONT><BR><FONT=20
    face=3D"Arial, Helvetica, sans-serif" size=3D1>(+58) 414
    7962406 / 416 =
    2917532 /=20
    295 6117632 <BR><U><A=20
    =
    href=3D"
    R><U><A=20
    =
    href=3D"
    U><BR><U><A=20
    =
    href=3D"
    <BR></FONT></P></DIV>
    <BLOCKQUOTE=20
    style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
    5px; =
    BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV>"CMacias" &lt;<A=20
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    escribi=F3 en el=20
    mensaje <A=20
    =
    href=3D"news:[email protected]">news:g2hs7l$dd1$1@forums=
    .macromedia.com</A>...</DIV>Inicializa=20
    una variable contador.<BR><BR>$count =3D
    0;<BR>do {<BR>if($totalregs =
    &lt;=20
    $count)<BR>{<BR>muestra
    registros...<BR>}<BR>$count++;<BR>}=20
    while(...)<BR><BR><BR>Anuack Technology de
    Colombia =
    escribi=F3:<BR>&gt; =20
    Algo as=ED :<BR>&gt; <BR>&gt;
    3<BR>&gt; 2<BR>&gt; 1<BR>&gt;
    <BR>&gt; =
    solo me=20
    muestre<BR>&gt; <BR>&gt;
    2<BR>&gt; 1<BR>&gt; <BR>&gt;
    <BR>&gt; =
    Alguna=20
    sugerencia?<BR>&gt; <BR>&gt;
    <BR>&gt; <BR>&gt; <BR>&gt; "Anuack =
    Technology=20
    de Colombia" &lt;<A=20
    =
    href=3D"mailto:[email protected]">[email protected]</A>&gt;
    =
    escribi=F3=20
    en el <BR>&gt; mensaje <A=20
    =
    href=3D"news:[email protected]">news:g2hjng$5bm$1@forums=
    .macromedia.com</A>...<BR>&gt;&gt;=20
    Hola
    foreros.<BR>&gt;&gt;<BR>&gt;&gt; Como
    puedo hacer para que =
    nunca me=20
    llegu=E9 a mostrar el ultimo
    registro<BR>&gt;&gt;<BR>&gt;&gt; En un
    =
    site deseo=20
    que crear un juego de registro que me muestre por pagina =
    <BR>&gt;&gt; 4=20
    registros, pero el =FAnico que no me muestre es el ultimo de
    los=20
    registros<BR>&gt;&gt;<BR>&gt;&gt; La
    idea es colocar Noticias en una =
    tabla y=20
    en la otra el resto de <BR>&gt;&gt; noticias.
    M=E1ximo 4 en regi=F3n =
    repetida.=20
    La idea es crear un game de <BR>&gt;&gt;
    registro para que me haga =
    el=20
    llamado a todos menos el
    ultimo.<BR>&gt;&gt;<BR>&gt;&gt;
    Alguna=20
    sugerencia?<BR>&gt;&gt;<BR>&gt; =
    <BR>&gt;</BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
    ------=_NextPart_000_0121_01C8CA1E.B854E460--

Maybe you are looking for

  • How to get the id of  jsf Template Component

    Dear All, I have a page template with adding attribute like pageName, companyId. Then I Page Fragment that use that page template. In this jsff page I fill the pageName and companyId. My question is How can I get the value of these attribute (pageNam

  • HT201302 I can't find my photos or videos on my pc after downloading from my iphone

    Hi Everyone I'm not good with technology so apologise now if this is a topic which has already been answered here.  I've recently bought and have started using the iphone, and am loving the whole capturing video footage etc.  I've synced to my laptop

  • Default host and internet crash

    I met a weird problem recently about the default host setting. I set the default host to a Mac Mini, and there are 4 iMac in office. Mac Mini is the website, mail, calendar server for the company. Everything is connoted by WiFi through Airport Extrem

  • My ipad emails are being received as blank

    Several people have told me that they are receiving blank emails from me.  I am sending my emails using my ipad2.  If I email them from my pc desktop, they receive them.  Any clues?  Thanks.

  • Only allowing a group to view

    Hello, I would like to use the "Department" name populated in form using data connection "GetUserProfileByName" to dynamically only view their own forms created in library. I currently have "Target Audience" in place but that only allows Admins to vi