You are here: Re: begining - tutorial « PHP Programming Language « IT news, forums, messages
Re: begining - tutorial

Posted by rhXX on 06/13/07 15:34

Try saving it as a .php file :-)
I take it you are uploading it to a server?

--
Geoff Berrow (put thecat out to email)


> Check the source of the html page, and you find the php-part in there just
> fine. It only didn't execute. :)

EXACTLY

> The problem with your approach is that you need PHP to actually run.
> Just throwing it into a browser as a html-file will not do.
> You need PHP installed on a server (can be your own machine), and tell your
> webserver (Apache/IIS/whatever) that it should use PHP for all requests
> that end with .php (.html is NOT a smart idea).
>
> That asside, I tink e_matthes gave you a better answer: Just get a good
> book.
> I prefer books from O'Reilly, but that is a matter of taste.
>
> Regards,
> Erwin Moller

ok, perfect! it worked fine with .php
the tutorial i found, talked about php code inside html code, only,
without precising where it is processed! i thinked that is processing
in the browser .... now seeing both sources i understood the
difference!

sincerely, tks a lot!!!!!!!!!

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация