If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

A whole load of lovely questions!

hello everybody

got a few questions on PHP and i hope ye can help me out
*ye can think of it as a PHP Pop quiz and see who gets the best score.

Q1. Is it possible to display a PHP page inside a Flash.swf movie?
Q2. Is it possible to save a PHP page as .html and if sooo.....
Q3. Is it then possible to display the html page inside a flash movie?
Q4. How come i cannot send e-mails through PHP, everytime i run this code:<?php

if (mail("ertyu@gmail.com","This is a test","This is the body",
"From: ertyu@gmail.com\r\nContent-type: text/plain\r\n\r\n"))
{

print "Success";
}
else
{
print "fail";
}

?>

and i get this error:Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first 54sm18869925ugp in C:\WebServer\wamp\www\WebSite3\mailtest.php on line 8
fail

Q5: My main issue is that i want to create a site that only opens one page, like you can do with a flash site, so that i can enable a music player on the site that doesnt stop and restart everytim a button is clicked. I dont want to have to use frames to achieve this because nobody likes frames these days. any advice?
Thanx in Advance to everybody who helps out

P.S: what would be the going rate for a site that includes php,flash and html and is about 5 pages in total?

Q1: I have no idea.
Q2: Yes. If running on Apache, this is easy to configure via a .htaccess file
Q3: I have no idea.
Q4: Sounds like a server configuration issue. You may need to contact your web host provider.
Q5: Without Flash, you could do this using JavaScript and PHP using the "AJAX" implementation. As for Flash, as with Q1 and Q3, you'll have to check with the Flash experts for that.