Hello Friends,
I am extremely new to PHP..know nothing actually..but have a job that requires a bit of PHP knowledge..
Here's my simple problem
We have an application installed on the server. How do i check using PHP that the application exists on the server..i mean..i know that i have to make a php file and execute it to check..but i know nothing besides this!!!
Any help would be extremely helpful.also i'd like to learn PHP..please do post intereesting links that have useful resources for PHP..
Help - Very simple PHP Question
Moderator: General Moderators
put this in a php file and run it
Code: Select all
<?php
phpinfo();
?>- MrPotatoes
- Forum Regular
- Posts: 617
- Joined: Wed May 24, 2006 6:42 am
please don't tell me you lied to get into this job. that's crap. if not nd they expect you to learn then you'll have a blast
what you need to do is find your htdocs within your sever on it's hard drive.
take what pimptastic and put it into notepad
save it as phpinfo.php WITH that extension
go into your browser and type http://localhost/phpinfo.php
if something shows up you have php. if nothing shows up then you do not have php running or on the server and ask your IT guy about it
what you need to do is find your htdocs within your sever on it's hard drive.
take what pimptastic and put it into notepad
save it as phpinfo.php WITH that extension
go into your browser and type http://localhost/phpinfo.php
if something shows up you have php. if nothing shows up then you do not have php running or on the server and ask your IT guy about it
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA