PDA

View Full Version : contact parse question


rockgirl84
01-23-2010, 01:25 AM
Hello guys
we have been trying to get the flash contact us form running but currently got stuck. we don't quite understand how the php works even though we read thru the tutorials a hundred times :confused:
we have:

1x swf
1x html
1x php

As far as we know.... we have to upload the swf and html onto our ftp, but what about the php scripts? do we have to paste them into the html or upload it as a separate file? and name it same as the html page (e.g. info.html -> info.php or info_parse.php???)

Please help. :(

Thanks guys
rockgirl84
xx

edbr
01-23-2010, 01:33 AM
you can add them to your pagewithinn <?php ?> tags or or include them, especially if you will use them on more than one page. nameing is best as relevant to what the script does generally

rockgirl84
01-23-2010, 01:38 AM
thank you edbr, we'll try it out tomorrow patching it into the html file.
(feels like it's less messy :P)

will report back with our result! :)

Thanks again xx

edbr
01-23-2010, 02:14 AM
you cant use a html file for php it must have a .php extension ot the server will not do anything with it

rockgirl84
01-23-2010, 08:20 PM
stupid question :P
(after 30 trials.. still can't get it working)

http://lh5.ggpht.com/_KdzPxzpjSX4/S1tneZpUcCI/AAAAAAAAAYU/ISwKqYKCDl4/Picture%206.png

we only purchased the first package (beginner's package)
Does the PHP-Nuke means we can't use the PHP files?

thanks again

domedia
01-23-2010, 09:46 PM
No, PHP Nuke is a Content Management System (CMS).
It's an application you can install on your web space from your web hosts admin area.

Why do you think that you can't use PHP on your web site?