/    Sign up×
Community /Pin to ProfileBookmark

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:
[COLOR=Blue]<?php

ini_set(“SMTP”,”smtp.gmail.com”);
ini_set(“SMTP_PORT”,”465″);
ini_set(“sendmail_from”,”[email protected]“);

if (mail(“[email protected]“,”This is a test”,”This is the body”,
“From: [email][email protected][/email]rnContent-type: text/plainrnrn”))
{

print “Success”;
}
else
{
print “fail”;
}

?>
[/COLOR]

and i get this error:
[COLOR=Red]
[COLOR=Sienna]Warning: mail() [function.mail]: SMTP server response: 530 5.7.0 Must issue a STARTTLS command first 54sm18869925ugp in C:WebServerwampwwwWebSite3mailtest.php on line 8
fail[/COLOR]
[/COLOR]

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?
[COLOR=DarkOrange]
Thanx in Advance to everybody who helps out[/COLOR]

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

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@NogDogNov 30.2006 — 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.
×

Success!

Help @1der spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.15,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...