Scusate se dirò delle gran scemenze... Vorrei sapere se è possibile aprire una popup fisssa (con dimensioni prefissate) da uno scrpt in PHP. Ho un SendCard. php che invia un link a chi riceve la card, ma la pagina si apre per "intero". Io vorrei fissare delle dimensioni a questo codice
<?
$CreateEcard = date(U);
$filename = $CreateEcard.".txt";
$ToName = stripslashes($ToName);
$FromName = stripslashes($FromName);
$Greeting = stripslashes($Greeting);
$IntroMessage = stripslashes($IntroMessage);
$EndMessage = stripslashes($EndMessage);
$Today = (date ("l dS of F Y ( h:i:s A )",time()));
$Created="Ecard Created on $Today";
$EcardNum = $EcardSelect;
$EcardText = "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created";
$fp = fopen( "./dBText/$filename","w");
fwrite($fp, $EcardText, 10000);
fclose( $fp );
######Email Card########
## You can change the subject and the message part around.
## Make sure to change the Link as stated in the Tutorial.
## (Change from 'someSite' to your actual site - leave the rest the same
$ToSubject = "Hai ricevuto una ecard da $FromName";
$Message = "$ToName,\nhai ricevuto una ecard da $FromName. \nClicca sul link sottostante per vederla:\n\n http://alibrange.altervista.org/saudade.html\nQuesto è il messaggio:\n$ToName,\n$IntroMessage\n\n-$FromName";
###################
## This line actually sends the email - you should not have to change this.
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FromName." <".$FromEmail.">");
## This next line returns a success message to the movie.
print "_root.Status=Success your Card Has Been Sent!";
#### End #########
## By: Jeffrey F. Hill
## www.flash-db.com
?>
E' possibile come si fa in html fissare dimensioni tipo
<a href="saudadeform.swf" target="_blank" class="Stile9" onClick="self.open('saudadeform.swf', 'blank', 'width=614,height=684'); return false">
E' la prima volta che mi imbatto in PHP, ragazzi aiutatemi. Grazie
<?
$CreateEcard = date(U);
$filename = $CreateEcard.".txt";
$ToName = stripslashes($ToName);
$FromName = stripslashes($FromName);
$Greeting = stripslashes($Greeting);
$IntroMessage = stripslashes($IntroMessage);
$EndMessage = stripslashes($EndMessage);
$Today = (date ("l dS of F Y ( h:i:s A )",time()));
$Created="Ecard Created on $Today";
$EcardNum = $EcardSelect;
$EcardText = "ToName=$ToName&ToEmail=$ToEmail&FromName=$FromName&FromEmail=$FromEmail&Greeting=$Greeting&IntroMessage=$IntroMessage&Created=$Created";
$fp = fopen( "./dBText/$filename","w");
fwrite($fp, $EcardText, 10000);
fclose( $fp );
######Email Card########
## You can change the subject and the message part around.
## Make sure to change the Link as stated in the Tutorial.
## (Change from 'someSite' to your actual site - leave the rest the same
$ToSubject = "Hai ricevuto una ecard da $FromName";
$Message = "$ToName,\nhai ricevuto una ecard da $FromName. \nClicca sul link sottostante per vederla:\n\n http://alibrange.altervista.org/saudade.html\nQuesto è il messaggio:\n$ToName,\n$IntroMessage\n\n-$FromName";
###################
## This line actually sends the email - you should not have to change this.
mail($ToName." <".$ToEmail.">",$ToSubject, $Message, "From: ".$FromName." <".$FromEmail.">");
## This next line returns a success message to the movie.
print "_root.Status=Success your Card Has Been Sent!";
#### End #########
## By: Jeffrey F. Hill
## www.flash-db.com
?>
E' possibile come si fa in html fissare dimensioni tipo
<a href="saudadeform.swf" target="_blank" class="Stile9" onClick="self.open('saudadeform.swf', 'blank', 'width=614,height=684'); return false">
E' la prima volta che mi imbatto in PHP, ragazzi aiutatemi. Grazie