How to Detect it is public_html or httpdocs?


Posted on 16th Feb 2014 07:03 pm by admin

How to check whether it is cPanel or Plesk?

If it found public_html perform <?php include("callcPanel.php"); ?>
Else if found httpdocs perform <?php include("callPlesk.php"); ?>
Else exit;

*cPanel is using public_html while Plesk is using httpdocs

Anyone knows

No comments posted yet

Your Answer:

Login to answer
128 Like 53 Dislike
Previous forums Next forums
Other forums

Onclick problem in Firefox
Hi,
I am using a . It doesn't seem to

php multiple action on submit
I have a form which says:

<form enctype='multipart/form-data' method='post' action='pr

Operator precedence assistance.
I did a quick Google search and couldn't quite find the answer I wanted in terms I could understand,

How to change Time Zone
HI
I want to change the time zone of the server to another country.How can do that?

Thanks

Displaying data from MySql a different way
Hi all,
I'm pretty new to php and MySql and have hit a problem.

I am able to display data

Career Change into SAP
Hai
I am sajesh ,did my diploma in Mechatronics i have a 4 years of experience in

Include a php
Hello,

I'm trying to include a function that shows the recent searches.
Example I have <

Passing variables with pagination - iterating through unique id per link
Hi everyone,
I have seen a few topics like this one. Still cant find the specific thing, so I am

BAPI BBP_INB_DELIVERY_CREATE - material number missing in delivery
Hi Experts,

I was able to successfully create an Inbound delivery with reference to a PO

Libraries in C++
Hi all,

I have two libraries. one is based targeted on linux platform and uses another li

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash