- Fórum WMO
- → Viewing Profile: Posts: HtmlPoint
Community Stats
- Group Usuários
- Active Posts 7
- Profile Views 965
- Member Title Novato no fórum
- Age Age Unknown
- Birthday Birthday Unknown
-
Sexo
Não informado
0
Neutral
User Tools
Friends
HtmlPoint hasn't added any friends yet.
Latest Visitors
-
Guest
04/11/2007, 05:51
Posts I've Made
In Topic: Preciso De Um Ant-virus.
18/05/2004, 22:15
Bit Defender Pro 8
In Topic: Tamanho Fixo Das Páginas...
09/05/2004, 20:34
Este é para o pop-up
<html>
<head>
</head>
<BODY>
home
<script>
win=window.open("pop.htm","","");
strHtmlpop="";
strHtmlpop+="\n<html>";
strHtmlpop+="\n<body>";
strHtmlpop+="\n<a href=\"#\" Onclick=\"java script:window.opener.location.href='http://www.htmlpoint.com.br';window.close()\">";
strHtmlpop+="\nChange home";
strHtmlpop+="\n</a>";
strHtmlpop+="\n</body>";
strHtmlpop+="\n</html>";
win.document.write(strHtmlpop);
</script>
</body>
</html>
Este á para clicar e abrir a janela:
<a href="#" onclick="opener.location.href='minhapagina.html';">Link</a>
<html>
<head>
</head>
<BODY>
home
<script>
win=window.open("pop.htm","","");
strHtmlpop="";
strHtmlpop+="\n<html>";
strHtmlpop+="\n<body>";
strHtmlpop+="\n<a href=\"#\" Onclick=\"java script:window.opener.location.href='http://www.htmlpoint.com.br';window.close()\">";
strHtmlpop+="\nChange home";
strHtmlpop+="\n</a>";
strHtmlpop+="\n</body>";
strHtmlpop+="\n</html>";
win.document.write(strHtmlpop);
</script>
</body>
</html>
Este á para clicar e abrir a janela:
<a href="#" onclick="opener.location.href='minhapagina.html';">Link</a>
In Topic: Como C Faz Um Formmail ?
09/05/2004, 18:06
Você deve trocar o endereço:
O redirecionamento é feito por esta lina de código:
<INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.seusute.c.../obrigado.htm">
É so substituir o link
P.S.
Este FormMail aceita o envio de anexos.
--------------------------------------------------
Por favor, quando for postar e precisar adcionar algo Edite seu post, não poste seguidamente, isso é flood, leia as regras do forum
grato
O redirecionamento é feito por esta lina de código:
<INPUT TYPE="hidden" NAME="redirect" VALUE="http://www.seusute.c.../obrigado.htm">
É so substituir o link
<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- body,td { font-family: arial, verdana, helvetica; font-size: 12px; color: #444444; } .carea { color: #7B7B7B; line-height: 16px; } a:link { text-decoration: none; font-size: 11px; font-weight: bold; color: #2976BD; } a:visited { text-decoration: none; font-size: 11px; font-weight: bold; color: #2976BD; } a:hover { text-decoration: underline; font-size: 11px; font-weight: bold; color: #2976BD; } .carea2 { line-height: 16px; color: #7B7B7B; } --> </style> <link href="../fogliostile/miostile.css" rel="stylesheet" type="text/css"> </head> <body bgcolor="#D2D2D2" leftmargin="3" topmargin="3" marginwidth="0" marginheight="0" text="#000000"> <? // RENDIAMO LO SCRIPT COMPATIBILE CON LE VERSIONI DI PHP < 4.1.0 if(!isset($_POST)) $_POST = $HTTP_POST_VARS; if(!isset($_FILES)) $_FILES = $HTTP_POST_FILES; function validate_upload($thefile) { global $thefile_type, $thefile_name, $thefile_size; $my_max_file_size = "20240000"; # in bytes $registered_types = array( "application/msword" => ".doc", "application/pdf" => ".pdf", "application/ps" => ".ps" ); # these are only a few examples, you can find many more! $allowed_types = array("application/msword", "application/pdf", "application/ps"); $start_error = "\n"; if ($thefile == "none") { # do we even have a file? $error .= "\n- Nessun documento allegato.<br>"; } else { # check if we are allowed to upload this file_type if ($thefile_size > $my_max_file_size) $error .= "\n- Il file allegato supera la dimensione massima consentita.<br>"; if (!in_array($thefile_type, $allowed_types)) { $error .= "\n- Il file che hai inserito non è del tipo richiesto: <br>\n"; while ($type = current($allowed_types)) { $error .= "\n" . $registered_types[$type] . " (" . $type . ")<br>"; next($allowed_types); } $error .= "\n"; } if ($error) { $error = $start_error . $error . "\n"; return $error; } else { return false; } } } # END validate_upload ?> <font face="Arial, Helvetica, sans-serif" size="2"><br> <? if ($_POST['op']=="invio") { $error=0; $msg=""; if ($nome=="") { $error=1; $msg.="- Il campo nome è vuoto.<br>"; } if ($cognome=="") { $error=1; $msg.="- Il campo cognome è vuoto.<br>"; } if ($titolo=="") { $error=1; $msg.="- Il campo cognome è vuoto.<br>"; } if ($email=="") { $error=1; $msg.="- Il campo email è vuoto.<br>"; } if ($email!="" && !eregi("^[_.0-9a-z-]+@([0-9a-z][0-9a-z-]+.)+[a-z]{2,3}$",$email)) { $error=1; $msg.="- L'email inserita non è valida.<br>"; } $error_file=""; if (!$thefile || $thefile=="none" || $thefile=="") { $error=1; $msg.="- Non ha inserito l'allegato.<br>"; } else $error_file = validate_upload($thefile); if ($error==1 || $error_file!="") { echo"<br><br>Attenzione! Si sono verificati i seguenti errori:<br>$msg<br>$error_file<br><a href=\"java script:history.back()\">Clicchi qui</a> per reinserire i dati."; } else { // parte modificata $attach = $_FILES["thefile"]["tmp_name"]; $file_name = $_FILES["thefile"]["name"]; $file_type = $_FILES["thefile"]["type"]; $file_size = $_FILES["thefile"]["size"]; $file = @fopen($attach, "r"); $contents = @fread($file, $file_size); $curr = chunk_split(base64_encode($contents)); @fclose($file); $boundary = "XX-1234DED00099A"; // messo in un array per maggior facilità d'uso $emailto="info@blackice.it"; // INSERIRE L'EMAIL QUI!! $data=date("j/m/Y"); $ora=date("h:i:s"); $headers = "MIME-Version: 1.0\n"; $headers .= "Content-Type: multipart/mixed; boundary=\"$boundary\"\n"; $headers .= "Content-Transfer-Encoding: 7bit\n"; $headers .= "From: $email\n"; $headers .= "X-attachments: $file_name\n"; $oggetto_send="$file_name"; $messaggio="--$boundary\n"; $messaggio.="Content-Type: text/plain; charset=us-ascii\n"; $messaggio.="Content-Transfer-Encoding: 7bit\n\r"; $messaggio.="Curriculum inviato il $data alle $ora\n\r\nDati inseriti\n"; $messaggio.="Nome: $nome\n\rCognome: $cognome\n"; if ($telefono!="") $messaggio.="Telefono: $telefono\n"; $messaggio.="Email: $email\nCommento:\n $commento\n"; $messaggio.="--$boundary\n"; $messaggio.="Content-Type: $file_type; name=\"$file_name\"\n"; $messaggio.="Content-Transfer-Encoding: base64\n"; $messaggio.="Content-Disposition: attachment; filename=\"$file_name\"\n\n"; $messaggio.="$curr\n"; $messaggio.="--$boundary--\n"; if (!mail($emailto, $oggetto_send, $messaggio, $headers)) { echo "<br><b>Attenzione.</b><br>Si sono verificati degli errori durante l'invio della Email.<br> Vi preghiamo di riprovare <a href=\"java script: history.back()\">cliccando qui.</a><br> Se l'errore persiste Vi invitamo a riprovare più tardi. Grazie."; } else { $messaggio_risposta="Grazie per averci contattato.\n\rIl vostro contributo è stato inoltrato al responsabile.\n\r\n\rDati inseriti\n"; $messaggio_risposta.="Nome: $nome\n\rCognome: $cognome\n\r"; if ($telefono!="") $messaggio_risposta.="titolo: $titolo\n\r"; $messaggio_risposta.="Commento:\n\r$commento\n\r\n\r"; $messaggio_risposta.="Distinti saluti.\n\r"; $oggetto2="Prova invio email con allegato"; mail($email, $oggetto2, $messaggio_risposta,"From: Prova<$emailto>"); echo "<br><b>Email inviata correttamente.</b><br> <br>I dati inseriti sono i seguenti:<br><br>"; echo"Nome:<b> $nome </b><br> Cognome:<b> $cognome</b><br>"; if ($telefono!="") echo"Titolo: <b>$titolo</b><br>"; echo"Email: <b>$email</b><br>Commento:<b> ".nl2br($commento)."</b><br> <br><br>Grazie per averci contattato."; } } } else { ?> <br> <br> <br> <br> <form enctype="multipart/form-data" method="post" action="invio.php?op=invio" name="contatti"> <table width="550" border="0" cellspacing="3" cellpadding="0"> <tr> <td>Nome *</td> <td> <input type="text" name="nome" size="30"> </td> </tr> <tr> <td>Cognome *</td> <td> <input type="text" name="cognome" size="30"> </td> </tr> <tr> <td>Titolo*</td> <td> <input type="text" name="titolo" size="30"> </td> </tr> <tr> <td>Email *</td> <td> <input type="text" name="email" size="30"> </td> </tr> <tr> <td>Allegare file (sono permessi i file con estensione .doc, .pdf, .ps) *</td> <td> <input type="hidden" name="MAX_FILE_SIZE" value="102400"> <input name="thefile" type="file" SIZE="35"> </td> </tr> <tr> <td>Commento *</td> <td> <textarea name="commento" wrap="VIRTUAL" cols="30" rows="5"></textarea> </td> </tr> <tr> <td colspan="2"> <div align="center"> <input type="hidden" name="op" value="invio"> <input type="submit" name="Submit" value="Invia"> <input type="reset" name="Submit2" value="Reimposta"> </div> </td> </tr> </table> </form> <font size="1">I campi con l'asterisco sono obbligatori.<br> <? } ?> </font> </table> </body> </html>
P.S.
Este FormMail aceita o envio de anexos.
--------------------------------------------------
Por favor, quando for postar e precisar adcionar algo Edite seu post, não poste seguidamente, isso é flood, leia as regras do forum
grato
In Topic: Qual O Tamanho Ideal Do Cartão De Memória
09/05/2004, 15:12
A escolha do cartão de memória depende da resolução das fotos, por exemplo eu tenho uma DSCU30 com 1 cartão de 1Gb, em baixa resolução da pra tirar 12.000 fotos.Gostaria de saber o tamanho ideal do memory stiky(é assim se escreve?) ñ seja muito exagerado, mediano q caiba uma porrada de fotos com resoluções mediana p/ máx.
Obs.: Vc poderia por em média o valor do cartão,a marca,em média qtos cabe ft na ótimas resoluções.
Por exemplo, se vc utilizar uma 2.0 mpxl, cada foto em alta ocupa cerca de 450Kb, um par de baterias são suficiente para tirar 75 fotos, por isso a escolha é pessoal.
Eu aconselho um memory stick de 256mb.
In Topic: Problema Na Galeria
09/05/2004, 06:16
Olha no site www.planet-source-code.com la tem vários scripts de galerias.
- Fórum WMO
- → Viewing Profile: Posts: HtmlPoint
- Privacy Policy
- Regras ·