Displaying 7 results from an estimated 7 matches for "include_once".
2005 Aug 05
1
Is there a right place for a include_once statement in a PHP AGI script?
Hello there,
I'm new to PHP AGIs and I'm having problems with a particular script
that has a "include_once" statement on it. If I remove that stament,
the script runs until the section of the code that depends on the
include and then returns. If I include that statement, the script does
not seem to run at all. What shall I do?
Thanks in advance,
Leo
2006 Oct 05
2
Strange thing with Apache and PHP
Hi,
I have this line (10) of code in PHP:
include_once('../config.inc.php');
I'm 100% sure that the file config.inc.php is a directory up.
config.inc.php is in /var/www/html
and the file that calls it is in
/var/www/html/classes
nevertheless, i'm getting the error:
"Warning: main(../config.inc): failed to open stream: No such fi...
2007 Aug 28
1
deadagi and billsec or answeredtime
...I want to create php rate script and I'm using Deadagi. But I allways get
billsec 0 , or nothing. Can you help me to solve this problem...
My extension.conf:
exten => _123,1,DeadAgi(rate.php)
exten => _123,2,hangup
And my simple test php script rate.php
#!/usr/local/bin/php -q
<?php
include_once (dirname(__FILE__)."/phpagi.php");
$AGI = new AGI();
$AGI->answer();
$AGI->stream_file('demo-thanks');
$AGI->stream_file('vm-goodbye');
$AGI->hangup();
$billsec = get_var($AGI,"CDR(billsec)");
debug("Billsec: $billsec", 1);
function deb...
2008 Sep 11
0
[Re: Asterisk CDR Problem for Export CSV (Asterisk-stat-v2)]
Dear Max,
Yes, I have modified line no 5 with include_once(dirname(__FILE__) .
"/lib/fpdf.php');
But I can not also see export to csv or export to pdf option from
download cdr data as I required within date.
--
With Regards,
Hiren Mistry
2007 Mar 15
8
in-place-editor
hi @ all
how can i save my edited text in the database with php?
thanks for your support
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send
2005 Mar 24
0
AGI commands STDOUT problem
...lematic one just run the first command, never reach
the secondth command (SAY NUMBER 66).
I have a PHP test a little bit more meaningfull, because it says a
lot of things of what is going on, besides im PHP programmer
not C one, so i feel more comfortable with it. The test code is:
<?php
include_once '/var/www/localhost/htdocs/ivsadmin/apps/pavoz/classes/AgiTest.php';
$agi = new AgiTest();
die();
?>
i guess the code before doesnt say anything :p , the class AgiTest code is:
<?php
class AgiTest
{
private $read_bytes = 80;
private $asterisk_environment_variab...
2018 Nov 30
2
[RFC] Re-implementing -fveclib with OpenMP
Hi all,
I am submitting the following RFC [1] to re-implement -fveclib via OpenMP constructs. The RFC was discussed during a round table at the last LLVM developer meeting, and presented during the BoF [2].
The proposal is published on Phabricator, for the purpose of keeping track of the comments, and it now ready for a review from a wider audience after being polished by Hal Finkel and Hideki