Archive for December, 2009

What tag is used to cause PHP to start interpreting program code?

And what is the short form of the tag?

Well, I’m not 100% sure what you are asking, but I’m pretty sure I know. In PHP code, the line:

<?php

- is always used to start "interpreting," as you stated, PHP code, along with:

?>

- to end the "interpretation." For example:

<?php
$string = "value";
echo $string;
blah blah blah
?>

The short version of the beginning code is: <?
So, it could also be:

<?
$string = "value";
echo $string;
blah blah blah
?>

However, you should know that in some versions of PHP, the "<?" tag is not accepted, so it is always best to just use "<?php".

Good luck (:

What is the fastest most efficient powerful programming language?

By programming language I mean like C or Java or VB, I plan to use a programming language for advanced custom functions in Web Development. To possibly create web pages or for processing web related stuff.

Please note: I do not want to hear anything like ASP, PHP, or JSP. I already know PHP.

Thanks for your help.

C is 30 times faster (literally) on my system as bytecode Java. But Java is the premier language in documentation and ease of use.

If you are into exotic languages, use the (almost) universal one - Assembler. It is one level above binary code, but it is the fastest thing there is, however awkward it is to program in.

What is core php programming?

i went in a software house and they asked me if i can work on core php programming? i dont know what is core php programming and i started working on php framework cakephp. can any one guide me what is core php programming. thanks in advance

core php is simply php. if u dont have any knowledge in php then dont go with cake php now. go and code urself. it will helps u alot in future.

What program can I use to edit a PHP website?

We’ve got a website that was designed for us but in PHP format I need to edit it but don’t know what software to use?

Try Notepad++ (on MS-Windows). It’s free and does syntax highlighting, folding, etc.

More generally, if you want to edit files remotely, you can use winscp (also free). It’ll let you FTP/SCP/etc to the web site. When you double-click on a file,it’ll download the file and start an editor to work on it locally (notepad by default, but can be configured). When you’re done editing (& save the file), it’ll automatically upload the changed file.

How can i study or try PHP programming at home if I only have a laptop with WIndowsXP SP3 OS?

I want to learn php programming but I do not have that big server computers or a network of computers. Is it possible to do PHP programming using only a laptop connected only to internet, through a 3g modem; and running on Windows XP SP3 OS? What are the application and/or software that I need to install to make it work?

You could install XAMPP. That will give you Apache web server, PHP and MySQL. It’s fairly easy to install and setup. See fist link below.
But DO make sure you secure it once installed, otherwise your machine could be vulnerable. Also not hard to do, read the instructions in the second link.

How do I create a program that would read my email messages using PHP?

The email provider is hotmail.

Open port 110 to the Hotmail server. Read the email. Read RFC 1939 (http://www.faqs.org/rfcs/rfc1939.html ) for the details of how to do it (the first paragraph of part 3 is a quick overview). Close the port.

You can run this on a server or any computer with the PHP interpreter installed, or you can compile PHP into a Windows executable (http://www.bambalam.se/bamcompile/ )