Note that there are some explanatory texts on larger screens.

plurals
  1. POinclude() it does not work
    primarykey
    data
    text
    <p>I have problem that on server include() function does not want to work and I have no idea why?</p> <p>I have:</p> <pre><code> if (file_exists('/home/p002/htdocs/Project2/library/IntelliSMS/SendScripts/IntelliSMS.php')) { echo "1 works"; } else { echo "The file 1 does not exist"; } if(include "$_SERVER[DOCUMENT_ROOT]/Project2/library/IntelliSMS/SendScripts/IntelliSMS.php" == 'OK') { echo 'INCLUDE 1 works'; } else { echo 'Step 1 fail'; } if(include '/home/p002/htdocs/Project2/library/IntelliSMS/SendScripts/IntelliSMS.php' == 'OK') { echo 'INCLUDE 2 works'; } else { echo 'Step 2 fail'; } </code></pre> <p>It returns: <code>1 works Step 1 fail Step 2 fail</code> I have no idea how to force it to work. HELP I use zend framework and this file is in the library (parallel to zend -libraries - directory but it does not want to work too without the include directory :/</p> <hr> <p>It is really strange for me as when I add:</p> <pre><code>include ("/home/p002/htdocs/Project2/library/IntelliSMS/SendScripts/IntelliSMS.php"); </code></pre> <p>And it is correct path I have only blank page! But when I add:</p> <pre><code>include ("/homedddd/p002/htdocs/Project2/library/IntelliSMS/SendScripts/IntelliSMS.php"); </code></pre> <p>And it is wrong path the page is not blank, it looks like working OK. It mean something is wrong with this IntelliSMS library it does not work with my server but I do not know why? Probably server blocking sending sms or something? Do you have any idea? This library is from <a href="http://intellisms.co.uk/sms-gateway/php-sdk/" rel="nofollow">http://intellisms.co.uk/sms-gateway/php-sdk/</a> Maybe there is problem that it needs the OpenSSL extension module? What should I do it to start works?</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload