wildteen88
-
Posts
10,480 -
Joined
-
Last visited
Never
Posts posted by wildteen88
-
-
If your are trying to runa .php file then you need to have PHP installed and Apache configured with PHP in order for it to work.
There are plenty of tutorials on doing this. In my sig there is a link called installing mysql and php click that for a good tutorial on doing so on Windows
-
WOW! This post has been nigleted for like 5 months now and it recieved its first post Today LOL!
-
What you mean a reputation type thing. I think it'll get a little messy in peoples sigs and isn't really needed.
But there is only one person that can do stuf to the forum and that is phpfreak. Which I dough he may do.
The forums are good as they are.
-
neylitalo, Dreamweaver can preview .php files, but it requires you to create a project for using PHP files, if you created a project suscessfully, Dreamweaver has a button called Live Preview, which just opens a window and renders the code.
Make sutre you have the testing server settings configured, thats how I got DW to preview my PHP pages.
-
Are you viewing your PHP pages in Design View to lookat your page looks like within Dreamweaver?
If so then you'll need to set up a project in Dreamweaver, if you successfully set up a project in Dreamweaver a Live Preview button should apear / activated once clicked it should process a preview of your PHP Page.
-
I use Dreamweaver! I always handcode my work in dreamweaver, I hardly use the Desgin View feture to instert content. I use it as a guide to how my page will look like in a browser.
I have got Frontpage 2003 as it came with my MS Office package. Frontpage is okay but I don't like as it can put in code what you don't want. Plus it doesn't allow for editing of PHP files, no code highlighting or any features for PHP. Frontpage is mainly for coding ASP pages etc.
I'd say dreamweaver is the best editor out there.
-
How do u mean? You want to see how you PHP is outputted, like whejn you click design view when you can see how your HTML will look like in a browser?
If so you'll need to set up a project, then clicking the live preview button in dreamweaver.
-
Okay first before you can do anythink with PHP, you'll need to know if your host allows u to use PHP and is installed on the webhosts server, you'll need to ask them.
Okay so what i think you're after is a membership system. There is a tutorial here at phpfreaks for a membership system which can be found here.
NOTE: in order to be to use the membership system you'll need to have a database, such as MySQL which most host provide, again you'll have to ask your host if you can use PHP and MySQL.
-
Not sure what you mean, but have check the Macromedia Exchange site, for getting more extensions for Dreamweaver?
NOTE: You may have to pay for some extensions.
Extensions are little addons like tools to extend Dreamweaver and to help streamline developement.
You'll find a link to the Dreamweaver Exchange by going to the tools menu and there should be link saying "Get more extensions"
-
Your be best of with creating your own Content Management System (CMS) which will allow yout to easily manage what you want to do, but you make it.
Theres is a post in this forum so check it out!
-
CMS stands for Content Management System.
Check out the links in my post to see what they can do.
-
Check this site out here: WZ2K Part 1 - 4 is on the first page (which is the link above) and part 5 - 6 in on the next page. All free to download and watch and is done in Dreamweaver MX 2004!
Just sign upto the forums for additional help.
Also if you become a premium member you'll a further 10 tutorials for a low price of £3.20 GBP (which is about $6 USD) - requires forum memebership tho.
Its a great site for tutorials or go here for a different version. Which is hand coded and is very well explained, BUT you'll need to have a bit of knowledge of PHP to througouhly understand it tho.
OR download a pre-made CMS which is free. This one for example: http://www.websitebaker.org/ is simple to use CMS and is free to use too.
-
Yeah there are still a litle problem, with the PHP tags as the explanation mark chnages to hex in this case:
[!--PHP-Head--][div class=\'phptop\']PHP[/div][div class=\'phpmain\'][!--PHP-EHead--][span style=\"color:#0000BB\"]<?php
[/span][span style=\"color:#007700\"]if ([/span][span style=\"color:#0000BB\"]$var [/span][span style=\"color:#007700\"]&[/span][span style=\"color:#FF8000\"]#33;= \"something\")
// OR
[/span][span style=\"color:#007700\"]if (&[/span][span style=\"color:#FF8000\"]#33;$var)
[/span][span style=\"color:#0000BB\"]But works fine like this[/span][span style=\"color:#007700\"]:
echo [/span][span style=\"color:#DD0000\"]\"hello!!!\"[/span][span style=\"color:#007700\"];
[/span][span style=\"color:#0000BB\"]?>[/span]
[/span][!--PHP-Foot--][/div][!--PHP-EFoot--]
-
<? if(!$test){ echo 'hi'; } if($test == php){ echo 'welcome to PHP!'; } ?>
Yes this won't as you haven't defined any _POST or _GET variables. Or your PHP configuartion has register_globals on.
<?php if(isset($_GET['test']) == "hi") { echo "hi, how are your?"; } else { echo '<a href="'.$_SERVER['PHP_SELF'].'?test=hi">Click to see a message</a>'; } ?>
-
Yes I voted for good old Dreamweaver!
I have used Zend Studio before (the free 30 day beta for the new Zend Studio) and I quite enjoyed it, but I bought Macromedia Studio MX 2004. So I wasn't going to fork on purchasing another editor lol!
Dreamweavers my pal! I do everythink in Dreamweaver.
-
Also you can't rely on Dreramweaver to do the coding in WYSIWYG mode (Design Mode) like you can with HTML. You'll have to 99% of the time hand code it yourself.
Just learn PHP and you'll be fine, just gather and study code snipts you find in tutorials and at http://php.net, thats how I've learnt PHP. Also going to the local book shop / library and reading a couple of books on PHP will also help too.
One important aspect of learning PHP is to install Apache and PHP on your local comuter to run your PHP scripts offline, instead of uploading your scripts to server on the net, just test them locally. Easy fast ansd simple.
-
Why are you continuing PHP statements in none-php mode! lol!
<?php while (!$Recordset1->EOF) { ?> if ($Recordset1->Fields('CourseKey')=='50') echo $Recordset1->Fields('CourseName'); echo $Recordset1->Fields('CourseDesc'); else <td><a href="indexSelection.php?courseKey=<?php echo $Recordset1->Fields('CourseKey'); ?>"><?php echo $Recordset1->Fields('CourseName'); ?></a></a></td> <td><?php echo $Recordset1->Fields('CourseDesc'); ?></td> </tr> <?php $Recordset1->MoveNext(); } ?>
change above to:
<?php while (!$Recordset1->EOF) { if ($Recordset1->Fields('CourseKey')=='50') { echo $Recordset1->Fields('CourseName'); echo $Recordset1->Fields('CourseDesc'); } else { ?> <td><a href="indexSelection.php?courseKey=<?php echo $Recordset1->Fields('CourseKey'); ?>"><?php echo $Recordset1->Fields('CourseName'); ?></a></a></td> <td><?php echo $Recordset1->Fields('CourseDesc'); ?></td> </tr> <?php $Recordset1->MoveNext(); } } ?>
-
Goto Edit > Prefreneces > Code Hints > de-tick "Enable auto tag completion" > OK
Thats should stop it! But i liek the auto tag completion feature tho!
Service "Apache"
in Apache HTTP Server
Posted
I pretty sure when you run through the installer and when you get to the secound or third window, it has an option for installing Apache as a service.