Si, puedes utilizar pop, o imap (depende), existen clases y funciones nativas del php para facilitarte esa tarea :
http://www.php.net/imap
http://www.php.net/imap
Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes MenúCita de: Casidiablo en 12 Junio 2007, 16:57 PMEso no seria tan bueno
Se me ocurre que utilices un programa externo y utilizar las clases Procces Y Runtime para ejecutar comandos, por ejemplo si usas linux, puedes hacer lo siguiente para reproducir un mp3:Process p = Runtime.getRuntime().exec("mpg123 archivo.mp3");
O algo así.
Saludos!!
textArea.append("nuevo texto);
textArea.setCaretPosition( textArea.getText().length() );
Cita de: Casidiablo en 4 Junio 2007, 17:04 PMDelay is preferable to error. -- Thomas Jefferson
3. "No creo que sea cuestion de tiempo , de hecho ami no me llevo mucho hacer el mio ", cuando hablo de cuestión de tiempo no me refiero a 3 - 5 minutos, estoy hablando de 50 segundos que tienes entre acabar una tarea en el trabajo, y que tu jefe llegue a madrearte.
Cita de: Casidiablo en 4 Junio 2007, 17:04 PM
5. Tu código está mal, la intersección NO hace lo que debe hacer.
Cita de: Casidiablo en 4 Junio 2007, 17:04 PMde nada
7. Muchas gracias por los consejos, de verdad, aprecio tu preocupación por mi
import java.io.*;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
public class claseconjun {
static ArrayList listA = new ArrayList();
static ArrayList listB = new ArrayList();
static ArrayList listC = new ArrayList();
static void union() {
listA.trimToSize();
listB.trimToSize();
for( int i = 0; i < listA.size(); i++ )
if( listB.contains(listA.get(i)) && !listC.contains(listA.get(i)) )
listC.add(listA.get(i));
System.out.println("La union de A y B es:");
Iterator it = listC.iterator();
while( it.hasNext() )
System.out.print(it.next() + " ");
}
static void interseccion() {
listA.addAll(listB);
Collections.sort(listA);
System.out.println("La interseccion de A y B es:");
Iterator it = listA.iterator();
while( it.hasNext() )
System.out.print(it.next() + " ");
}
public static void main(String[] args) throws IOException {
System.out.println("Ingrese la Opcion ");
System.out.println("1. Calculo Union ");
System.out.println("2. Calculo Interseccion");
System.out.println("Ingrese la Opción = ");
BufferedReader dato1 = new BufferedReader(new InputStreamReader(
System.in));
int OP = Integer.parseInt(dato1.readLine().trim());
for (int i = 0; i < 5; i++) {
System.out.println("Ingrese Valor en A[" + i + "] = ");
dato1 = new BufferedReader(new InputStreamReader(System.in));
Integer X = new Integer(Integer.parseInt(dato1.readLine().trim()));
listA.add(i, X);
}
for (int i = 0; i < 5; i++) {
System.out.println("Ingrese Valor en B[" + i + "] = ");
BufferedReader dato2 = new BufferedReader(
new InputStreamReader(System.in));
Integer Y = new Integer(Integer.parseInt(dato2.readLine().trim()));
listB.add(i, Y);
}
switch (OP) {
case 1:
union();
break;
case 2:
interseccion();
break;
default:
System.out.println("Valor no Valido");
break;
}
}
}
Citar
P.d. Este es de los programas más feos que he hecho, pero no tenia tiempo de hacer algo "profesional", no te quejes. Se puede mejorar al 100%.
$result = mysql_query("SHOW COLUMNS FROM tabla");
while ($row = mysql_fetch_assoc($result)) {
echo $row['Field'];
}