Visualizzazione dei risultati da 1 a 7 su 7

Discussione: problema con eregi()

  1. #1

    problema con eregi()

    ciao a tutti,
    devo cercare il primo titolo di news in un feed quindi ho fatto:
    Codice PHP:
    $NewsT_SourceCode implode("",file("http://wdirect.apple.com/home/2006/ticker.rss"));
    if(
    eregi("^<title>(.+)</title>$",$NewsT_SourceCode,$NewsT_Titles)) {
        echo(
    $NewsT_Titles[0]);
    } else {
        echo 
    "errore";

    ma esce sempre errore, perchè non riesce a fare eregi.
    il problema è nel pattern.

    ma quale è ???????
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  2. #2
    vi prego sono disperato
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  3. #3
    up
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  4. #4
    up2
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  5. #5
    up3
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  6. #6
    up4
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

  7. #7
    up5
    I'm the solution
    http://www.mishacattaneo.ch/
    I'm fifteen. Scusate le domande ripetitive.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.