visitor (0 QPoints)
  • FR
  • EN
  • NL
  • DE
  • ES
315 experts, 1193 registered users, 1659 questions already answered
European Experts Exchange, the very best site for high-quality IT solutions

New Improved Search!

 


05/10/2011 1h30 : Steve Jobs is dead, the father of Apple ][ is gone, we are all orphaned.

Languages :: PHP :: Please give me detailed information.


By: PHP newbee U.S.A.  Date: 06/09/2003 00:00:00  English  Points: 500 Status: Answered
Quality : Excellent
Hello:

I downloaded the file named "phptriad" from this url <A HREF="http://sourceforge.net/projects/phptriad">http://sourceforge.net/projects/phptriad</a> according to my previous post <A HREF="http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20726888.html">http://www.experts-exchange.com/Web/Web_Languages/PHP/Q_20726888.html</a>

but now I would like to know a detailed information, I mean where I'll write the languages and how to execute it. Because I am new in programming.

Hope your instruction will help me to learn php.

Thanks in advance.

By: VGR Date: 06/09/2003 06:13:00 English  Type : Assist
1) read README or instructions
2a) open index.php, index.htm(l) that's the starting point
or
2b) launch the stuff on your local webserver (<A HREF="http://localhost/some/phptriad/dir/">http://localhost/some/phptriad/dir/</a>)
3) right-click on main page shown -> name of script
4) open that script

in any case, make sure you open the PHP online manual for fast&easy reference while you learn PHP

it's easy.

good luck
By: Zvonko Date: 06/09/2003 07:38:00 English  Type : Answer
Hello PHPnewbee,

it is difficult to give you steps to go on withouth knowing how far you got now.

Ok, let us assume you did install that basic stuff and you can open a html page in browser which is comming from your local web server.

It is difficult to program php when you did not create some html pages before.
But let us assume you did html coding on local hard disk and opening this pages by double-click in your browser.
Now you need to open that html pages not from hard disk, but directly trough your web server. That mean you have to open browser and look at your web server to give you pages.
That mean if your html pages are under C:\httpd\HtDocs and are named like index.html, then you can open it by putting this in your browser: <A HREF="http://localhost/index.html">http://localhost/index.html</a>

If this works, then you can start php.
php is embedded inside your html pages. The ending of the files has to be *.php but the content can be completely html.
All you get is a new html tag <?php ?>
Everything inside this tag is php code.
Put inside your page source something like this:
<?php print "Hello World"; ?>

And save this as C:\httpd\HtDocs\hello.php
Call it in browser with:
<A HREF="http://localhost/hello.php">http://localhost/hello.php</a>

And you did it!


By: PHP newbee Date: 17/09/2003 22:48:00 English  Type : Comment
Hi:

I made a html and php file but when I write <A HREF="http://localhost/something.html">http://localhost/something.html</a> for html or something.php in my browser panel it is not working.It shows an error,it says that the request URL could not be retrieved.I am using windows Xp and I saw my windows task manager that Apache and mysql server process autometically when I start my pc. I could not fix the problem.

By: VGR Date: 17/09/2003 23:21:00 English  Type : Assist
check the DOCUMENT_ROOT value in httpd.conf

try to see URI = <A HREF="http://localhost/">http://localhost/</a>

you ***should*** see the Apache welcome page in your installation language

Do register to be able to answer

EContact
browser fav
page generated in 403.301950 milliseconds

Why Google AdSense ads ?

compteur
 Ranking-Hits PageRank for this page