www.webdeveloper.com
Results 1 to 2 of 2

Thread: A whole load of lovely questions!

  1. #1
    Join Date
    Nov 2006
    Posts
    3

    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

    ini_set("SMTP","smtp.gmail.com");
    ini_set("SMTP_PORT","465");
    ini_set("sendmail_from","ertyu@gmail.com");

    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?

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    18,935
    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.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles