So gia che forse questa non è la sezione giusta del forum... solo che quella giusta non lo trovata ^^
Mi scuso gia con i moderatori e li ringrazio gia in anticipo se è necessario uno spostamento.

Allora il problema è questo: sto facendo un guestbook per allenarmi a fare la transazione flash php e mysql che mi serve poi per altri progetti.

premetto che funziona tutto in locale quando faccio Ctrl+Enter avviando il progetto mi fa inviare dati alla tabella mysql e legge i messaggi scritti. Quindi direte voi quale il problema... il problema per l'appunto sussiste quando metto il progetto su internet... non fa piu nulla non invia e non riceve, niente.

avreste mica delle idee sul perche??? il progetto e molto piccolo quindi vi possi postare il tutto.

Codice PHP:
<?php
$db 
mysql_connect("localhost""","");
if(!
$db) die('ERRORE: non posso accedere al database!');
mysql_select_db("",$db);

if (
$_POST['comType'] == "parseComment") {

    
$name $_POST['userName'];
    
$location $_POST['userLocation'];
    
$comment $_POST['userMsg'];
    
$sql mysql_query("INSERT INTO guestbook (name, post_date, comment, location) 
        VALUES('
$name', now(),'$comment','$location')")  
        or die (
mysql_error());
    
$body "";
    
$sql mysql_query("SELECT * FROM guestbook ORDER BY post_date DESC"); 
    while(
$row mysql_fetch_array($sql)) {
        
$id $row["id"];
        
$name $row["name"];
        
$post_date $row["post_date"];
        
$comment $row["comment"];
        
$location $row["location"];
        
//$n_post_body = str_replace("
", "", $n_post_body); // Use in case you get too many line breaks when preserving breaks
        
$comment = stripslashes($comment);
        
$name = eregi_replace("&#39;", "'",  $name);
        
$location eregi_replace("'""'",  $location);
        
$comment eregi_replace("'""'"$comment);
        
// Decode HTML entities if storing comments that preserve line breaks and such
        //$n_post_body = html_entity_decode($n_post_body); // Uncomment to use
        
$post_date strftime("%b %d, %y"strtotime($post_date));

        
$body .= '<u>[b]<font color="#790000">' $name '</font>    |    <font color="#9B9B9B">' $location '</font>      |      <font color="#9B9B9B">' $post_date '</font>[/b]</u>
        

        '
.$comment.'
        

        

        '
;
    }
    
mysql_free_result($sql);
    
mysql_close();
     
     
// Echo into flash
     
echo "return_msg=Entry has been added successfully $name, thanks!&returnBody=$body";
     exit();

// close first if for post
if ($_POST['comType'] == "requestEntries") {

    
$body "";
    
$sql mysql_query("SELECT * FROM guestbook ORDER BY post_date DESC"); 
    while(
$row mysql_fetch_array($sql)) { 
        
$id $row["id"];
        
$name $row["name"];
        
$post_date $row["post_date"];
        
$comment $row["comment"];
        
$location $row["location"];
        
$comment stripslashes($comment);
        
// Decode HTML entities if storing comments that preserve line breaks and such
        //$n_post_body = html_entity_decode($n_post_body); // Uncomment to use
        
$post_date strftime("%b %d, %y"strtotime($post_date));

        
$body .= '<u>[b]<font color="#790000">' $name '</font>    |    <font color="#9B9B9B">' $location '</font>      |      <font color="#9B9B9B">' $post_date '</font>[/b]</u>
        

        '
.$comment.'
        

        

        '
;
    }
    
mysql_free_result($sql);
    
mysql_close();
    echo 
"returnBody=$body";
    exit();
// close first if for post
?>
quello e il php e i file flash li potrete scaricare tutti qui ...

i campi all'inizio nel file php che si chiama guestbookParse.php ovviamente li ho compilati e come vi ho gia detto all'inizio funziona tutto...

e tutto qui quindi se trovate qualche problema chiedete pure...
il mio obbiettivo sarebbe giustamente scoprire perche in locale va e su internet no...

la tabella mysql ha i seguenti campi:
id
name
post_date
comment
location

grazie di tutto ^^...