SyntaxLAMP.com
Home :: Forum Index :: FAQ :: Search :: Memberlist :: Usergroups :: Chat
Register :: Log in :: Profile


Lesson #3 - Compiling the code (PHP)

 
Post new topic   Reply to topic    SyntaxLAMP Forum Index // PHP/MySQL
View previous topic :: View next topic  
Author Message
Rhett
Administrator
<font color='#E65E02'><b>Administrator</b></font>


Joined: 13 Dec 2006
Posts: 9442
Location: 3D Space

PostPosted: Fri Aug 15, 2008 2:20 pm    Post subject: Lesson #3 - Compiling the code (PHP) Reply with quote
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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Trudrizzle
Vice President
<font color='#E65E02'><b>Vice President</b></font>


Joined: 16 Dec 2006
Posts: 10211
Location: Villified.

PostPosted: Wed Aug 27, 2008 8:33 am    Post subject: Reply with quote
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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Rhett
Administrator
<font color='#E65E02'><b>Administrator</b></font>


Joined: 13 Dec 2006
Posts: 9442
Location: 3D Space

PostPosted: Tue Jun 08, 2010 3:30 pm    Post subject: Reply with quote
Programming code = gibberish. Got it.
_________________

How to Upload an Image | Forum Rules
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Kazooka
Post Master


Joined: 08 Feb 2007
Posts: 1597
Location: Rose City

PostPosted: Thu Jun 10, 2010 12:58 am    Post subject: Reply with quote
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
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Trudrizzle
Vice President
<font color='#E65E02'><b>Vice President</b></font>


Joined: 16 Dec 2006
Posts: 10211
Location: Villified.

PostPosted: Thu Jun 10, 2010 2:55 am    Post subject: Reply with quote
Kazooka wrote:
PcP, wrapper,
hash, Pcp.

Hope this helped dylan.


HOPEFULLY
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Post new topic   Reply to topic    SyntaxLAMP Forum Index // PHP/MySQL All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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
Site