Agreed. Some of the pre-configured packs and associated tutorials really can simplify the installation and get you up and running in minutes but you MUST make sure that as an absolute minimum you add a secure password - ideally a mix of letters, numbers, not a real word etc. Otherwise, when your site/system is live, it will be potentially open to abuse.
http://www.shock.com.pk
En enkel lektion i PHP
Table of Contents
- Din första PHP-sida
- Något användbart
- Skapa formulär
- Använda gammal kod i nyare versioner av PHP
- Vad händer nu?
Här följer en enkel lektion i vilken vi vill visa det mest grundläggande i PHP. Texten behandlar bara skapandet av dynamiska webbsidor även om PHP är kapabelt till mycket mer. Se kapitlet Vad kan PHP göra? för mer information.
Webbsidor som behandlas av PHP-motorn fungerar precis som vanliga HTML-sidor och du kan skapa och editera dem på samma sätt som vanliga HTML-sidor.
Vad behöver jag?
Den här texten förutsätter att du har en webbserver med PHP-stöd installerad och aktiverad samt att alla filer som har filtillägget .php behandlas av PHP. På de flesta webbservrar är detta standardtillägget för PHP-filer, men fråga din systemadministratör om du är osäker. Om din webbserver har stöd för PHP behöver du inte göra någonting mer, skapa bara dina .php-filer och lägg dem i rätt katalog och sedan tar webbservern och PHP-motorn hand om resten. Det finns ingen anledning att kompilera något eller installera några extra verktyg. Föreställ dig PHP-filer som vanliga HTML-filer med en serie magiska taggar som ger dig nya möjligheter i ditt webbskapande.
En enkel lektion i PHP
25-Oct-2008 03:35
06-Oct-2008 03:42
I'm new to PHP and recently setup my local machine with PHP and MySQL for doing development. I was sort of stuck when I needed to post my work for the user to test and review. After looking around a bit I found a site that hosts PHP and MySQL apps. I was surprised that it was free - it seems they're offering the service at no cost until 2012. At that point they'll change over to a fee-based service. However, in the meantime, it's a great place to do anything from demo and sandbox right up to posting sites for real.
Their pitch is as follows:
"This is absolutely free, there is no catch. You get 350 MB of disk space and 100 GB bandwidth. They also have cPanel control panel which is amazing and easy to use website builder. Moreover, there is no any kind of advertising on your pages."
Check it out using this link:
http://www.000webhost.com/83188.html
Thanks and good luck!
05-Oct-2008 01:19
I'm new to PHP and recently setup my local machine with PHP and MySQL for doing development. I was sort of stuck when I needed to post my work for the user to test and review. After looking around a bit I found a site that hosts PHP and MySQL apps. I was surprised that it was free - it seems they're offering the service at no cost until 2012. At that point they'll change over to a fee-based service. However, in the meantime, it's a great place to do anything from demo and sandbox right up to posting sites for real.
Their pitch is as follows:
"This is absolutely free, there is no catch. You get 350 MB of disk space and 100 GB bandwidth. They also have cPanel control panel which is amazing and easy to use website builder. Moreover, there is no any kind of advertising on your pages."
Check it out using this link:
http://www.000webhost.com/83188.html
Thanks and good luck!
09-Sep-2008 04:21
If youre just learning PHP, then the simpliest thing to use is called Xampp, just install the Apache server and save your php files in the htdocs folder. Then when you open your browser you would type http://127.0.0.1/htdocs/example.php to see your php.
I also use Notepad++ to write my php files but there are many others to use.
01-Mar-2007 01:54
Agreed. Some of the pre-configured packs and associated tutorials really can simplify the installation and get you up and running in minutes but you MUST make sure that as an absolute minimum you add a secure password - ideally a mix of letters, numbers, not a real word etc. Otherwise, when your site/system is live, it will be potentially open to abuse.
25-Oct-2006 11:53
just keep in mind that these installation packages are for development use, and are not built for a production enviroment, the preformance and security of these tools is not setup for use in a public website.
