Search results

  1. conor

    WWW or not-WWW

    I personally do not use www, but for most of my clients I do because they all request it! There is a good reason for it though. If you are writing a link parsing engine then it is much easier if all the links have www before them since not many people write their websites with the http:// prefix
  2. conor

    PHP vs HTML

    You have two understand the difference between PHP and JavaScript. Javascript is a client side language, ie. it operates on your browser after the page has loaded and allows you to change stuff on the page without needing to reload. PHP is a server side language which executes on the...
  3. conor

    launch not download

    my initial reaction is to do the same thing as you do for downloads, use php! After a bit of googleing I found this: http://ie2.php.net/exec $WshShell = new COM("WScript.Shell"); $oExec = $WshShell->Run("notepad.exe", 7, false);
  4. conor

    Send E-mail When Uploading

    taken from http://ie2.php.net/mail <?php $Name = "Da Duder"; //senders name $email = "[email protected]"; //senders e-mail adress $recipient = "[email protected]"; //recipient $mail_body = "The text for the mail..."; //mail body $subject = "Subject for reviever"; //subject $header...
  5. conor

    Installing Apache

    Sorry I mis-read your question. Yes you do need PHP. Try WAMP (Windows,Apache,MySQL,PHP) You can download it here: http://www.wampserver.com/en/download.php
  6. conor

    Creating Aligned Forms...

    it's hard to answer that question without seeing the form, could you post a link?
  7. conor

    Table not centered in IE

    There's no need to do that. margin:0 auto; is logical but it only works in firefox. If you want it to align center in IE you will have to say text-align:center; on it's containing element. Example if you have a table inside a div then do this: #div{ text-align:center; } #table{...
  8. conor

    Installing Apache

    You don't need PHP installed to do that.
  9. conor

    Hide filename in URL

    relative addresses need the forward slash before such as '/path/to/file'. They can be used to include files from the root directory. If you are interested in micro-optimization then you will find that relative links perform slower than normal ones but that's just being picky! :-) Anyway the way...
  10. conor

    Need some help with updating MySQL database with PHP and forms

    First of all there are two ways to do comments: // comment here /* multiple line comment */ What I reccomend is to put all the connection details in a seperate file called 'connect.php' include that in your file above and in your new file called edit.php. This is what I would to but it's a bit...
  11. conor

    Connect MySQL with php

    mysql_connect($host,$user,$password);
  12. conor

    PHP vs HTML

    I completely agree. HTML cannot really be compared with PHP because they are both used for doing different things. If you want a static website use HTML. If you want a dynamic website use HTML/JavaScipt/PHP
  13. conor

    Please help me with design.

    very nice design, it's good the way it is
  14. conor

    External content into html

    theres no point in delving into php/mysql for something small like this. The only method I know of is a php include. This is how to do it: 1. First rename your file to have a .php extention instead of .html 2. Add this code where you want to include the file: <?php include 'file.html'; ?> 3. No...
  15. conor

    help! email script won't send email

    theres nothing wrong with that code, I ran it on my computer and changed the sending email to my local mailserver. I got the following email: Sunday, March 8, 2009, 7:34 pm [EST] Attention: Sales Message: test From: Conor Mac Aoidh ([email protected]) Additional...
  16. conor

    easy way to change text

    I would look at making the website compatible with a Content Management System. I have developed one called Furasta CMS and it would be very easy to get your design compatible with the CMS.
  17. conor

    Content Management System

    @jayT I agree that CMSes may seem complicated when you start using them but they will save you a big headache. They will also attract more customers to you because they can edit the content of their website! I have developed an Easy, Open Source CMS that I sell along with my website designs. At...
  18. conor

    making a different url like the ones on myspace

    if you want clean URLs then try Mod Rewrite. If you don't want to get into anything "hardcore" then try using a CMS to handle all that for you.
Top