| View previous topic :: View next topic |
Rhett Administrator


Joined: 13 Dec 2006 Posts: 9442 Location: 3D Space
|
Posted: Fri Aug 15, 2008 2:20 pm Post subject: Lesson #3 - Compiling the code (PHP) |
|
|
|
What is compiling?
Compiling is the computers way of checking the syntax (correct usage of the language) and executing it. So, Internet Explorer, Fire Fox, Safari, they all have PHP compilers that will interpret the PHP code on a web document.
How do I compile my code?
To compile your PHP code you have a few options. You can execute the code on your own computer or have webspace on a server with PHP enabled. The server is the easiest choice and you can get PHP enabled webspace from Syntax Servers, DX-T, and other hosting providers. To execute it on your own computer you will need to download a PHP interpretter and may have to set your computer up as a virtual server to allow the PHP to run.
I will try to get a webspace for mah pupils here to test their PHP codes up on Syntax Servers and give everyone logins to be able to upload files and do it themselves.
But, to initiate the PHP code after it is uploaded to a server you merely have to open the file or visit it on the web and it will execute in that user's browser.
What file type is the code?
The file type the PHP code must be in even it uses HTML is a .php file. The computer will automatically determine what is PHP and HTML if you provided the correct tags. _________________
How to Upload an Image | Forum Rules |
|
| Back to top |
|
|
Trudrizzle Vice President


Joined: 16 Dec 2006 Posts: 10211 Location: Villified.
|
Posted: Wed Aug 27, 2008 8:33 am Post subject: |
|
|
|
play with php codes on the sandbox webspace
i've seen you test your codes out on notepad before on nillas computer, all you do it type some gibberish in notepad, save it as a different file and open it, like the fake virus downloader. |
|
| Back to top |
|
|
Rhett Administrator


Joined: 13 Dec 2006 Posts: 9442 Location: 3D Space
|
|
| Back to top |
|
|
Kazooka Post Master

Joined: 08 Feb 2007 Posts: 1597 Location: Rose City
|
Posted: Thu Jun 10, 2010 12:58 am Post subject: |
|
|
|
So you enter in the PcPhl liner code so the database wrapper authenticates the DX-T server distro.
After this, you redirect the SQL Webspace server to your root interpretter and attach to said web browsers. IE Firefox, Safari, Chrome, etc.
This SHOULD rehash the network php code to correlate correctly between databases, however problems with the initial execution of the SQL connection can occur. A simple reconnection code entered itno the PcpHl liner should fix this problem.
Hope this helped dylan. |
|
| Back to top |
|
|
Trudrizzle Vice President


Joined: 16 Dec 2006 Posts: 10211 Location: Villified.
|
Posted: Thu Jun 10, 2010 2:55 am Post subject: |
|
|
|
| Kazooka wrote: | PcP, wrapper,
hash, Pcp.
Hope this helped dylan. |
HOPEFULLY |
|
| Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|
|
|
|
|