Member Avatar
Topic by rjgapz in Web Development
Excellent. very useful and simply great....keep it up and god bless you. 
Allinonescript.com (http://allinonescript.com) All Over World's Developers Knowledge acquire knowledge. Reply by vadivel_1
Member Avatar
davy_yg 2 Marked Solved Status for simple js program
program1.php

<html> <header> <script>

function myFunction(p1, p2) {
return p1 * p2;
}
document.getElementById("demo").innerHTML = myFunction(4, 3);
</script> </header> <body> <div id="demo"></div> </body> </html>

I don't understand why the above code does not show any value?

and why this one does?

program2.php

<html> <body> <div id="demo"></div> <script>
function myFunction(p1, p2) … Topic by davy_yg in Web Development
Member Avatar
davy_yg 2 Created PHP Enginee

What is PHP Enginee?

If Xampp is the web server, then is the php enginee apart of the web server?

http://www.php.net/downloads.php

Can you upgrade the php enginee - to support a higher version of php without uninstalling the xampp?

Thanks for advice. Topic by davy_yg in Web Development
php
Member Avatar
Topic by Newspiderman888 in Search Engine Strategies
Ways to improve website traffic and page ranking:
Unique content
Using heading tags and keywords
Backlinks
Article directory submission
Submit site or blog to web directories
Identifying broken links and fixing them. Reply by Rachana_3
Member Avatar
alan.davies Replied To a Post in simple PHP OOP
Topic by davy_yg in Web Development
php
$stefan->set_name('stefan');
$jimmy->set_name('jimmy'); Reply by alan.davies
Member Avatar
Featured kes166 37 Created Making a Magic Mirror
I'm looking for software that will allow someone at one end to talk into a camera and stream to a Raspberry Pi on the other end. It's going to be a prop for a live action role play game I'm running for later in the year and I'd like to … Topic by kes166 in Linux and Unix
Member Avatar
davy_yg 2 Created simple PHP OOP
Hello,

I try to create a simple OOP PHP that shows an error:


class_lib.php

<?php


class person {

var $name;

function __constructor($person_name){
echo "Initialize class";
}

function set_name($new_name){
$this->name($new_name);
}

function get_name($new_name){
return $this->name($new_name);
}

function __destructor(){
echo "end class";
}
}

?>


program3.php

<?php include("class_lib.php"); ?> <?php

$stefan = … Topic by davy_yg in Web Development
php
Member Avatar
Topic by HAMMAD_5 in Community Center
I don't much care for Qwant's policy of serving up news I did not request. Reply by Reverend Jim
Member Avatar
Topic by rproffitt in Microsoft Windows
@ryantroop. Since I can't get into the driver and app's source code I can only speculate where the issue is.

But since ripping out the old and installing the new did find a thousand fold difference it's clear that the developer was the issue. Microsoft? The fact the OS stood … Reply by rproffitt
Member Avatar
Topic by rproffitt in Microsoft Windows
Is this a MS issue or just developers being lazy and not putting their toys away? (or both)

How many of those handles may have been ghosts that are just doing nothing? How many were socket connections that were active instead of using select or IOCPs? Reply by ryantroop
Member Avatar
Reverend Jim 2,245 Replied To a Post in Can we use bing instead of Google?
Topic by HAMMAD_5 in Community Center
I don't much care for Qwant's policy of serving up news I did not request. Reply by Reverend Jim
Member Avatar
From Stadock's newsletter I read "Handles are killing your PC" and checked in on the apps and handles to discover the stock Killer Network app was way out there at over 906,000 (906 THOUSAND) handles. This was a pretty interesting find and had me off to the maker for latest … Topic by rproffitt in Microsoft Windows
Member Avatar
Gribouillis 1,391 Replied To a Post in Can we use bing instead of Google?
Topic by HAMMAD_5 in Community Center
You can try [Qwant](https://www.qwant.com/) [Qwant](https://www.qwant.com/?q=foobar&t=all), although it is said to be bing + privacy. Reply by Gribouillis
Member Avatar
ryantroop 115 Replied To a Post in simple js program
Topic by davy_yg in Web Development
Javascript (JS) is a top down JIT. Which means if the DOM element exists before the JS gets called, it will be available for use.

In example 1, your function declaration and call happen before "demo" is available on the DOM (in the body element, however you want to think … Reply by ryantroop
Member Avatar
rproffitt 1,117 Replied To a Post in simple js program
Topic by davy_yg in Web Development
I think I see why. In program1 line 6 calls out an element "demo" and there is no such element.

Answer? "Bum code does nothing." Reply by rproffitt
Member Avatar
rproffitt 1,117 Replied To a Post in simple php
Topic by davy_yg in Web Development
php
In this example it's all about order of execution. Line will have to call Multiply() to make the output string and since your function echo'd something then your example shall echo the mulitiple first then your line 14 text is output.

I see no mystery here at all. Reply by rproffitt
Member Avatar
davy_yg 2 Created simple php

program2.php

<html>
<header>
</header>

<body>

<?php

function Multiply($x, $y)
{
echo $x * $y;
}

echo 'Multiply : '.Multiply(2,3).'<br><br>';

?>

</body>

</html>

Why the result of the above program is :

6Multiply :

instead of

Multiply : 6

Any clue? Topic by davy_yg in Web Development
php
Member Avatar
davy_yg 2 Created simple js program
program1.php

<html> <header> <script>

function myFunction(p1, p2) {
return p1 * p2;
}
document.getElementById("demo").innerHTML = myFunction(4, 3);
</script> </header> <body> <div id="demo"></div> </body> </html>

I don't understand why the above code does not show any value?

and why this one does?

program2.php

<html> <body> <div id="demo"></div> <script>
function myFunction(p1, p2) … Topic by davy_yg in Web Development
Member Avatar
Friends,
I am using web service and forms for a number of situations in my project. But now when I try to use same strategy the data is not provided by the provider function. It gives ‘null’ value always. But I can see the value in chrome web console.

page.ts … Topic by logicslab in Mobile Development
Member Avatar
Friends,
I am using web service and forms for a number of situations in my project. But now when I try to use same strategy the data is not provided by the provider function. It gives ‘null’ value always. But I can see the value in chrome web console.

page.ts … Topic by logicslab in Mobile Development
Member Avatar
sandy_5 -3 Replied To a Post in Services based website optimization
Topic by jim_20 in Search Engine Strategies
Try to build a better ranking with low level and middle level keywords first, where there will be less competition and then shift to high level keywords. Reply by sandy_5
Member Avatar
Topic by hrishivardhan in Digital Marketing
Facebook is the most commonly used social media platform by everyone nowadays, so it is the best way to publish ads. Reply by sandy_5
Member Avatar
Topic by ShellyJohnson in Search Engine Strategies
seo
Page ranking mostly bothers about quality of backlinks rather than quantity of backlinks. Reply by sandy_5
Member Avatar
Topic by knoxlawyers in Microsoft Windows
Aloha, You don't say how old the ASUS is but if you are running Win7 it is likely at least 5 years old. It sounds to me like you have multiple problems likely due to age. If the BIOS keeps changing you probably need at least a new CMOS battery. … Reply by tarael1
Member Avatar
JamesCherrill 3,328 Replied To a Post in cant seem to understand the code
Topic by Heung min in Software Development

> The purpose of if(flag) is a bit puzzling!

AFAICS it toggles on each pass of the loop so that the code on line 26 etc is executed on every other string. And yes, there are better ways to do that! Reply by JamesCherrill
Member Avatar
There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one.

Does anyone here have any experience setting up and developing in CUDA on a Windows platform? I know that there is a system that can be set up … Topic by Reverend Jim in Software Development
Member Avatar
There are a number of very old threads on CUDA so I'm starting a new one rather than resurrecting an old one.

Does anyone here have any experience setting up and developing in CUDA on a Windows platform? I know that there is a system that can be set up … Topic by Reverend Jim in Software Development
Member Avatar
Featured Reverend Jim 2,245 Replied To a Post in CUDA GPU Programming on AMD/Radeon
Topic by Reverend Jim in Software Development
I got a reply from someone on an AMD forum. Even though my hardware is not included in the "list of supported" I have been told it will worl with OpenCL. I have the files downloaded and will try them later today after my daily differential system image is taken. … Reply by Reverend Jim
Member Avatar
Topic by agustina in Search Engine Strategies
Its a long and time consuming process. You would have to determine the keywords, a good mix of short tail and long tail and write the website content using them. Your URL and title must have those keywords.

Once you are done with this, start building quality links to the … Reply by hnrindani
Member Avatar
Seymour_1 Replied To a Post in cant seem to understand the code
Topic by Heung min in Software Development
On the surface the code is reading the contents of seminar.txt file, although we don't know what is in that file other than possibly an integer per month that represents a student tally? While we don't know the contents and format of the input file, I suspect the parsing could … Reply by Seymour_1