| | WHAT IS PHP? Im talking about the php that you use so that you make all your information in text files! Thanks, Oh My Bosh. |
|
|
I really do not understand what you are saying. If you are looking for a PHP overview, you should just visit PHP official site. If you are looking for any other thing please formulte your question again.
You know when you goto a website and at the top you see something like. http://www.whatever.com/index.php?wat=junk or something like that. I want to know how you do that.
Thanks, Robot39. I'll check the php forum.
are you talking about a forum? The ? after the .php means that whatever comes before the = is a variable that is being carried over to a different page, and after the = is the value. Anything else?
THe thing you want to is the simple php code one, it uses the function called Get, check the php manual to find out more
Okay, but what are the codes for that? Like the code you put on your html document? ? I'm sorry if this is confusing to you all. But I'm confused too.
1. Create a file named testphp.php 2. Open testphp.php and copy and paste the following: CODE <?php $myname = $_GET["name"]; echo "Hello, " . $myname . "!\n\nEnjoying your first PHP page?"; ?> 3. Save testphp.php 4. Upload testphp.php onto your cpanel. I'd put it inside your public_html folder but no deeper than that. 5. Now, in your browser, go you http://yourdomain.trap17.com/testphp.php?name=ohmybosh, and you should see QUOTE Hello, ohmybosh .Enjoying your first PHP page? Remember to change yourdomain in the URL above to yourdomain You can even change "ohmybosh" in the URL to some other name, and see the effect. Cool, huh?
Thanks alot snlildude87. I will make you admin.
Ha, I also didn't know about php- then I wanted a site after I became familiar with it.
Its not that hard to learn. The way I learned was downloading the LUE2 sorce, and just looking at it and doing MINOR changes to see what it did. I also had a PB site, so that kinda helped me off when I had to add new stuff to my already sucky site. Just make sure you dont edit somethings- use common sence, like dont change <B> to <bumblebee> or something. |
|
![]() Php? |
| ADD REPLY / Got an Opinion! | a humble request :-) | RAPID SEARCH! | Free Hosting | [X] |
|
Express your Opinions, Thoughts or Contribute more info. to help others. Ask your Doubts & Queries to get answers, So that "Together We can help others!" |
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP. | 500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE |
|