Showing posts with label PHP. Show all posts
Showing posts with label PHP. Show all posts

Tuesday, 30 October 2007

Some Free Script Sites

I've found my 2 javascript scripts I wrote for rotating ads, text, banners etc. have been added to some more free script sites. I submitted my scripts to "Script Dungeon" and they were accepted the other site "only free scripts" I only know about because I they came up in my logs. Nice to know that the scripts are out there helping people though.

http://scriptdungeon.com/

onlyfreescripts.com/

Other great script sites are:

http://www.dynamicdrive.com/

http://hotscripts.com/

and another great work are the scripts at http://www.phpjunkyard.com/. However I have never had the chance to actually use them but I always want to!

All have lots of great ideas.

Sunday, 28 October 2007

PHP: PHPInfo: Your first PHP Script

Now i'm no expert when it comes to PHP or HTML for that matter but I have learnt a thing or 2 along the way. I do have problems remembering it all, maybe that's my old age! So maybe it will help me if I add as much of it here as I can and if it helps you along the way then fantastic.

First of all what does PHP stand for?

Well originally Rasmus Lerdorf devised PHP sometime in 1994 for creating his 'Personal Home Page' so that's what it stood for. It eventually grew into what it is today and was then renamed PHP: Hypertext Preprocessor.

PHP pages are created in the same way that you would create any other webpage, using your favourite text editor. This can be something as power hungry as Dreamweaver or even Notepad. Just remember to save your work with the extension .php. You can use other extensions but it involves additional work and this is meant to be basic, easy babysteps so let's not complicate things to much yet.

Ok, our first script. I assume you have webhosting already sorted out and it is PHP enabled? Don't know, well let's use our first script to find out.

PHP files can also carry standard HTML, XHTML and the like therefore you need to let your server know that what follows is PHP coding so that it can be treated as such. PHP does this by using the to finish, like so:

HTML

<?php

YOUR PHP CODE GOES HERE.

?>

HTML again

Easy. Our first script will we write will output the phpinfo file which will tell you everything about the version of php running on your server. If it doesn't produce anything then you don't have php enabled on your server.

Ok here we go, open a new document and enter the following:

<?php
phpinfo();
exit();
?>

Save the file as index.php and upload to your server. Now using your favourite browser navigate to your domain and you should see something like the pic below:



IF you don't see anything then you probably haven't got php installed on your server. If you do see something like the above then congratulations you have just written and executed your very first php script.

Tuesday, 16 October 2007

New Web Resource Site

Just came across this after checking out a new site for someone. Dreamweaver tutorials, programming, web design, htaccess, everything and anything to do with publishing a website.

http://www.thesitewizard.com/

Sunday, 14 October 2007

Web Resources

I've amassed loads of links to some excellent sites while learning to create always24-7 and the forums. I started listing them on my site but I kept forgetting to update the list. Hopefully this will not happen with this blog.

If you have any useful links then please post them and I will add them to this list when I next update it.

All the best.
Michael.

Books:

Dreamweaver for Dummies
Excellent book, highly recommended by me
PHP and MySQL for Dynamic Web Sites
Another book I highly recommend. Also Larry Ullman has a website where he updates the scripts and will give you full help and support personally. I know his helped me a few times :).

Webmaster Tools:

http://www.isapirewrite.com/
Apache-style URL Rewriting for IIS
http://www.w3schools.com/
I use this a lot, not only because you can find out everything about coding but because you can also test your scripts here.
http://www.marketleap.com/publinkpop/default.htm
http://livepr.raketforskning.com/
http://www.iwebtool.com/
http://www.javascriptkit.com/howto/htaccess.shtml
Great introduction into using .htaccess
http://oy-oy.eu/page/jscode/
http://www.webmaster-toolkit.com/
http://www.digitalpoint.com/tools/
http://forum.statcounter.com/vb/showthread.php?t=22675
List of SEO tools on Statcounter forum - well worth a look
http://www.auditmypc.com/free-sitemap-generator.asp
Sitemap Generator
http://gsitecrawler.com/
Free Google and Yahoo sitemap generator software.
http://www.copyscape.com/
Check if anyone is copying your site.
http://uitest.com/en/check/

ALL Programming: PHP, Javascript - the lot:
Some sites cater for everything so there here.
http://www.devarticles.com/
http://www.w3schools.com/
I use this a lot, not only because you can find out everything about coding but because you can also test your scripts here.
http://www.pageresource.com/
http://www.kirupa.com/
PHP, .NET, Flash, Photoshop

HTML / CSS:

http://www.html.net/
http://www.yourhtmlsource.com/
http://www.htmlgoodies.com/
http://stilleye.com/temp/marginfix.html
http://www.saila.com/usage/layouts/saila_layout.html
http://www.cssplay.co.uk/menu/gallery.html#nogo
Shows what can be achieved with CSS
http://www.cssplay.co.uk/menu/magnify.html#nogo
http://www.w3schools.com/
I use this a lot, not only because you can find out everything about coding but because you can also test your scripts here.
http://www.csszengarden.com/
http://www.fulloffacts.com/lessons/css/
http://www.tizag.com/

PHP: Hypertext Preprocessor
http://www.php.net/
http://www.phphacks.com/
http://www.tizag.com/
http://www.phpjunkyard.com/
Unfortunately found this far to late as I could have used some of these PHP scripts but who knows I might in the future.

Javascript:
http://www.javascriptkit.com/
http://www.w3schools.com/js/js_examples.asp
http://www.geocities.com/SiliconValley/Station/4320/index.htm
http://oy-oy.eu/page/jscode/
http://247mgf.co.uk/forum/viewforum.php?f=32
Come on I had to include the 2 scripts I wrote!

Flash:
http://www.learnflash.com/
http://www.cartoonsmart.com/
http://www.webwasp.co.uk/
http://www.flashkit.com/
http://www.actionscript.org/resources/categories/Tutorials/
Flash and Actionscript
http://www.webado.net/tutorials-embedding-flash.php
Embedding Flash etc with valid code.

Photoshop:
http://www.watchandlearnphotoshop.com/
http://www.dwphotoshop.com/photoshop/
http://www.good-tutorials.com/tutorials/photoshop/basics
http://chami.com/
Not really photoshop but does help you create favicon's for your website.

Colour Schemes:
http://wellstyled.com/tools/colorscheme2/index-en.html
http://www.colorschemer.com/online.html
http://www.siteprocentral.com/html_color_code.html
http://websitetips.com/color/
http://colormixers.com/mixers/cmr/

Clipart etc:
http://www.flamingtext.com/

Dreamweaver:
http://www.learnthat.com/computers/learn-362-dreamweaver_mx_2004.htm

Fireworks:
http://www.smartwebby.com/web_site_design/swap_images.asp
Creating swap images in fireworks.
http://www.smartwebby.com/web_site_design/rollover_images.asp#fireworks
Creating rollover images in fireworks or Dreamweaver.

Desktop Publishing:
http://desktoppublishing.com/

Free and Open Source Software:
http://www.nonags.com/
http://www.littlebitsmultimedia.com/
http://www.freeware-guide.com/index.html
http://www.context.cx/
Free programmers editor as used by yours truly, excellent
http://www.imagemagick.org/script/index.php
Allows you to Convert, Edit, and Compose Images from a command line. Can be used on a server to automate the procedure using many programming languages including PHP.
http://gsitecrawler.com/
Free Google and Yahoo sitemap generator software.

Forums:
http://www.forum-software.org/
A good site for showing details of all or most forum packages. However there are some inaccuracies but a good starting point.
http://www.phpbb.com/
The home of the excellent phpBB Forum package as used by always24-7.co.uk

Earning Resources for your website can be found here:
http://247mgf/forum/viewtopic.php?t=204
These can now be found at http://247mgf.co.uk/index.php/webmasters/

Web Promotion / Advertising Resources can be found here:
http://247mgf/forum/viewtopic.php?t=203
These can now be found at http://247mgf.co.uk/index.php/webmasters/

Miscellenous:
http://www.auditmypc.com/
Tools for web security, port scanning, viruses, internet speed tests etc etc