|
Hello Parag,
Apologies for a late rely.
I was actually looking around for an opne source software to implement. I have tried around customizing PJSIP and reSIP to fit in my requirements. But unfortunately i was unsuccessful.
I am still trying out..your help in this aspect is very much appreciated.
Thanks again.
Regards,
Satish.
|
|
|
|
|
Have you try to install Asterisk Server. It's an VoIP server with SIP protocol.
Bye.
Quentin THEURET
|
|
|
|
|
Sorry for the late reply.
I havent tried yet, but i will give a try for sure.
Thanks again.
|
|
|
|
|
i need an imformation about Linux. my question is
1. why we need to use the virtual stimulation yo install Linux
2. why Linux always came with newer version and update
3. what support Linux OS distros normally give to their user
i really hope someone can help me
|
|
|
|
|
gedebukgurls wrote: why Linux always came with newer version and update
What kind of question is that? If you don't go forward, you go backwards!
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Didn't know where else to post this because prolog doesn't have its own forum. Since it is part of GNU I decided to give this forum a shot.
I have a program and need to show that i can run the correct Queries...Having no knowledge of syntax i can't really understand any tutorials.
Heres the program..
d(iron, steam).
d(pumps, mines).
d(mines, railroads).
d(iron, railroads).
d(iron, guns).
d(electricity, aluminum).
d(iron, electricity).
d(aluminum, jumbojet).
d(writing, printingpress).
d(printingpress, comicbook).
d(iron, printingpress).
d(aluminum, printingpress).
depends(X,Y) :- d(X,Y).
depends(X, Y) :- d(X, Z), depends(Z, Y).
Here are the questions...
What do you need to invent the comic book?
What do you need to invent electricity?
If you don't have steam engines, what can you not invent?
Given aluminum and electricity, what can you invent?
Which inventions are dependent on iron?
|
|
|
|
|
try this:
?- depends(X,comicbook)
?- depends(X,electricity)
(no clue about "If you don't have steam engines, what can you not invent?")
?- depends(aluminum, Y), depends(electricity,X)
?- depends(iron,Y)
PS: I assume that depends(X,Y) means that, with X, you can make Y
modified on Tuesday, April 14, 2009 11:53 AM
|
|
|
|
|
hi all
i have got php files(which make up a website) and i have been asked to help correct some errors on the site, i need to setup the website, i have got dreamweaver on my machine to edit the php files, i havent used PHP before(just helping a friend), how do i go abt setting a site using these files
Thanks
|
|
|
|
|
Well, it's so general.
What's your problem exactly ?
|
|
|
|
|
well i have got a folder of php files which was used to build a website, how can i run this application on my machine. like running in debug mode using .net framework.
everytime i try to run this app it request for athe dreamweaver sites but php doesnt run in dreamweaver.
by running i mean opening a php page eg index.php in dreamweaver and the F12 in dreamweaver.
is this how im supposed to do it.
|
|
|
|
|
Notepad, or Textpad is pretty good. I don't know of any IDE to edit php files like dreamweaver.
|
|
|
|
|
|
You need to set up your computers local server to parse php files you can either install php on iis or install it on apache (try googling "xampp").
With xampp:
- install xampp and make sure apache is running
- put website in htdocs folder (ie. c://xampp/htdocs/[websitefoldername]).
"htdocs" folder is your web doc root (like "wwwroot")
- run dreamweaver
- choose "manage sites" from the file panel
- click "New"
- "advanced" tab
- give site name and enter the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername])
- category -> testing server
- sever model = php mysql
- access = local network
- testing server folder = the path to your website as local root folder (ie. c://xampp/htdocs/[websitefoldername])
- url prefix = http://localhost/[websitefoldername]
- open a file and press F12
Hope that helps
|
|
|
|
|
thanks fro the reply
i still cant run the app after installing php on iss.
the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver.
but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver
Regards
|
|
|
|
|
Either your site manager isn't configured correctly in DW or your Server setup isnt parsing php files.
If you put a blank php doc in your wwwroot it should load up as a blank webpage if you open your browser and go to localhost/pathtoyourphpfile.php. If it doesn't then you know your server isn't parsing the files.
If your site doesn't have to be tested on IIS then I would suggest trying apache (xampp) as described before.
|
|
|
|
|
thanks
on installing php which iis should i use, there are two of them appearing
regards
|
|
|
|
|
|
if you do use apache. you have to disable all IIS services. (start->run->services.msc)
|
|
|
|
|
i still cant run the app after installing php on iss.
the sites are working fine in dreamweaver but on f12 or http://localhost/mytest/index.php the pages keeps opening in dreamweaver.
but http://localhost/mytest/index.asp ie an asp page works fine even from dreamweaver
Regards
|
|
|
|
|
If you want to run PHP under IIS, IIS-Aid website[^] has a handy installer
I prefer running PHP under IIS if you're developing on a Windows box. You also have to go into the IIS Management Console and turn on scripting for the folders under your wwwroot that you want to run PHP scripts in.
There's a handy getting started tutorial in the PHP documentation [^]as well, also it tells you how to manually install PHP.
|
|
|
|
|
i dont know why it is so difficult to install this PHP or im dumb
I have been trying to setup/install php on an XP pc with IIS but without success.
here are a few questions i have;
on webserver set which IIS should i choose(there is IIS ASApi Module, IIS Fast CGI and IIS CGI)
and in IIS what should i specify as my local path under homedirectory tab.
or if someone has got all the steps i need to do this that will be greetly appreciated
|
|
|
|
|
|
Hello all,
In our IT department two of my coworkers have developed a new web page for our company... in PHP 5 it works like charm but in PHP 4 it seems that it doesn't work...
The main problem they have found is that a variable declared in a file that gets included is not working as in PHP 5...
How would you make a global variable in PHP 4?
It must be capable to work across multiple files and across different PHP snippets.
Thank you in advance...
PS:
I hope the question is clear enough, I'm not doing that PHP work and they are not into CP so I thought to ask it here... I have always received good comments...
|
|
|
|
|
Joan Murt wrote: How would you make a global variable in PHP 4?
As far as I know , there isn't a difference between PHP4 & PHP5 in define a global variable !
Just define them outside of a function or if you use OOP PHP, define them in Public .
|
|
|
|
|
If you want to use a varible thats declared outside of a function, from within the function you will need to declare it in the function. For example, with the following code:
$var = "asdf";
function printVar1(){
echo $var;
}
function printVar2(){
global $var;
echo $var;
}
Joe Ceresini
Network Engineer
jceresini@hostmysite.com
Hostmysite.com
|
|
|
|