| | |
problem
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Jan 2009
Posts: 3
Reputation:
Solved Threads: 0
i hav a problem
m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need
i wrote
the output is d same text above
help me
m new to php nd i started with writin my first page but whenever i start my browser i see the complete code and nt the output i need
i wrote
php Syntax (Toggle Plain Text)
<html> <title>my php page</title> <body> <?php echo "hello there!"; ?> </body> </html>
help me
Last edited by peter_budo; Jan 13th, 2009 at 5:22 pm. Reason: Keep It Organized - For easy readability, always wrap programming code within posts in [code] (code blocks) and [icode] (inline code) tags.
Your probably not previewing the file via through the server. What testing server are you using? Make sure your url is something like with http://localhost/filename.php. Where filename.php is your file. Also make sure the file is saved in your htdocs folder.
Last edited by buddylee17; Jan 12th, 2009 at 10:01 am.
Lost time is never found again.
- Benjamin Franklin
- Benjamin Franklin
Goto sourceforge.net and get the DevPHP IDE package, will give you a LocalHost server you can run your script on as part of the package, code highlighting, context help
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
what extension have you given the file
/myfirstfile.php ? .txt .src .html may not parse
/myfirstfile.php ? .txt .src .html may not parse
Failure is not an option It's included free, you don't have to do anything to get it
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
If at first you dont succeed, join the club
Of course its always in the last place you look, you dont keep looking after you find it
Please mark solved problems, solved
•
•
Join Date: Jan 2009
Posts: 22
Reputation:
Solved Threads: 0
you might run this program directly from the browser, you need to have some web server, just install WAMP or XAMPP on your PC, if you are windows user
•
•
Join Date: Jan 2009
Posts: 11
Reputation:
Solved Threads: 1
You are not using XAMPP so try this:
Follow insallation steps and everything is gonna be OK
http://www.thesitewizard.com/php/ins...-windows.shtml
http://www.ricocheting.com/server/php.html
http://www.webmasterworld.com/forum88/4495.htm
Follow insallation steps and everything is gonna be OK
http://www.thesitewizard.com/php/ins...-windows.shtml
http://www.ricocheting.com/server/php.html
http://www.webmasterworld.com/forum88/4495.htm
![]() |
Similar Threads
- Problem with Windows Update and WinXP (Web Browsers)
- Installing Windows 98 On VMware. Floppy problem (Windows 95 / 98 / Me)
- Windows XP keeps restarting since a new video card (Windows NT / 2000 / XP)
- Redhat Linux 6.2 - ipop3d problem? (*nix Software)
- Problem with T720 (Cellphones, PDAs and Handheld Devices)
- Connection Problems (Networking Hardware Configuration)
- Encoding (Unicode) problem in IE 6.0 (Web Browsers)
- .htaccess mod_rewrite problem (Linux Servers and Apache)
- Javascript/HTML problem!!! (JavaScript / DHTML / AJAX)
Other Threads in the PHP Forum
- Previous Thread: How to install a new phpbb3 skin yo my forum
- Next Thread: Checking for going up a Directory
| Thread Tools | Search this Thread |
Tag cloud for PHP
.htaccess access ajax apache api array beginner binary broken cakephp checkbox class cms code codingproblem cron curl database date directory display download dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration ip java javascript joomla limit link login loop mail memmory menu methods mlm mod_rewrite multiple mysql oop parse paypal pdf php problem query radio random recursion regex remote script search select send server sessions sms snippet soap source space speed sql static structure syntax system table tutorial up-to-date update upload url validation validator variable video web wordpress xml youtube






