Php

php!!!!!!!!!!!!!!!!!!!!!!!!!!!!!?
ok i have MS front page 2003 and i found really easy and good than dreamweaver 8 . but i can work with PHP by ms front page 2003 ?????? can i ??

yes, you can use MS front page 2003 for woking with PHP but i suggest dreamware is better for php. either both are same. good luck

?
How can I use a php command to get the source of "http://www.google.com" as a string, say $html.

Id personaly recomend php Curl, its a great function of php. You can set it to do lots of stuff, such as fake the refferer! I use CURL a lot, and use it for google to find websites PR. Here is a snipit of what I use. "; }else{ print $html; } ?>

How to get a PHP file to be included across files in different directories?
Currently I have created some php based webpages and uploaded them to my web hosting server.It has a PHP 5.1.6 installed.With this I am able to include files only that are in the same directory(they work well using require() fn).If not an error message displaying some "no such file" in directory appears in the page.I would like to use them to be included in different direcetories.What should I do?

create the directories and include the names when using the require() function. example : your index.php is in the root directory /index.php and you have a directory with your other php files in /lib/other.php so in index.php you will have require("lib/other.php");

What is the php regular expression to get everything before a certain character?
For instance, I have the following string: table:column I need to get "table" as the result of the php regular expression. So, I need everything before the ":" symbol After that regular expression is performed, I would also like to get everything after the ":" symbol, or "column" as well.

If you only have one ":" symbol in the string, you can use this: $string = explode(":", $string); This puts the two halves into an array. So: $table = $string[0]; $column = $string[1];

What is the systematic way to program in php?
Plz any php guru tell me what is the systematic way to write program in php.I mean that suppose any client requirement comes to me i write program in php(core php),then another requirement comes to me on some other day i write program again. But solution and coding style for each requirement always differ. Suggest me a reusable and systematic way

For me, it always depends on the framework I'm using, like, if it's osCommerce, I try to follow the standards set in osCommerce, I'll put all text strings in language files the way osCommerce does and basically just try and mimic the framework. PHPMyDirectory has it's own templating system so I try to utilize it. If you're creating your own framework, I would mimic whatever frameworks feel most comfortable. I like to have a config.php file that will do all preprocessing and then have each page include the config.php file at the beginning. I created my own templating system for my own framework, but I'm not going to try and integrate it if I'm working on a Joomla site, I'm going to use Joomla's templating system. I think the moral is, try not to throw off the logic of whatever framework you are working in and if you are creating from scratch, try and mimic a framework that has proven to be productive and try to be consistent. As for syntax, again, I just try to follow whatever syntax has been used in the framework. If their foreach statements look like this: foreach($array as $element) { } I'll write mine like that, or if they look like this... foreach ( $array as $element ) { } I'll write them like that even if I prefer the former... Not sure if this is the type of advice you were looking for but hope it helps anyhow.

How do you creat a comment box with php? Is there a turorial that goes step by step?
My website is due on Christamas and I want it Jam packed with features, I would like to have comment boxes as one. I know a little php,medium java, and alot of html. Loooking at a code of a nice comment box would help.And I dont want to download or use someone ele's script.

Best tutorial on php that I found on net and also learned a lot from it is http://w3cschools.com You can find some other tutorials by having a google search. Some other tutorials are: http://learnphp.org http://www.php-learn-it.com http://www.phpbuddy.com/ http://www.learnphpfree.com You can also see some tutorials an official php website http://www.php.net

How do you download a .php file from its location using the browser address bar?
Usually when you type the end of the Extension to the file (.exe .zip .doc etc) it will automatically ask to be downloaded and if you should save or open. But this does not seem to work with a php file I want to download from a server, which I found the location for. It just opens the page as blank. And no source code is in it. So is there a way of downloading a php from directly from the browser? Thanks!

If the webmaster wants you to be able to download a .php file, he or she would have to change the extension from .php to something like .zip. Then you could download the file(s) and unpack it on your own computer. For websites that have php files enabled to be run and not to be downloaded, there is not way for you to get to the php code because the php code is run as a script. The webmaster would have to give you a way to get the .php code.

What is the best software for an online contest using php software?
I need to create a contest online but cannot seem to find software for PHP, open source software. I've also heard it called "contest logging software" but not sure if that applies here.

Not sure about any PHP, open source software to make contests. Here is a site where you can list your contests, create contests page and invite your participants. http://www.bigfatprize.com

How can move php echo script or display to an specific location in the browser page?
For example... I do the mysql connect php mysql connect scripts before the display scripts (using macromedia dreamweaver) how can I move to an specific location to fit on the fields on the background form.

you can store the retrieved data to a variable then call the variable on where you want to put your data for example:

Where can I work as a php programming freelancer online?
I am quite experienced php programmer and I want to earn money for this. Where can I consult people who are starting with php (for example on skype) for money?

There are lot of outsourcing sites where people request for help. Few of these sites are given below www.rentacoder.com www.getafreelancer.com