|
Mono can run .NET 4 applications under Linux, even without recompiling.
Bastard Programmer from Hell
|
|
|
|
|
I think you can run it on the Linux. Because Linux is also an operating system. It allows the application to run the compatible software.
Website Templates | Joomla Templates
modified on Thursday, July 14, 2011 1:36 AM
|
|
|
|
|
its better u do in windows platform because on linux it wont run fully and still u want to then there are some linux which provid a good form of .net eg.suse
|
|
|
|
|
You need install Mono on Linux. If your .NET app using .NET 2.0, you can run you app on Linux. I'm using Ubuntu 11.04 and run KeePass 2.15, a .NET open source. Just exit to terminal and type "mono KeePass.exe"
Using MonoDevelop, you can develop a C# application on Ubuntu.
Also, you can run ASP.Net and C# on Ubuntu too.
http://www.vn-software.com/
|
|
|
|
|
If you want to just run it you can do this without problems if it is that simple and written in .NET 2.0 because wine(the emulator for windows apps) can handle it. But if you want to develop, Mono is the answer. Latest versions are quite good..
|
|
|
|
|
Riceto wrote: is that simple and written in .NET 2.0
You obviously haven't used it yet. Support goes beyond .NET 2.0[^], and it's quite capable.
Bastard Programmer from Hell
|
|
|
|
|
While most of ms .net is working and implemented in mono (expect a lot of winforms and wpf) you are pretty safe with server side code, as for UI code except for rudimentary winforms, you will be looking at a major porting project.
While the plug has been pulled by Novel, Miguel De Icaza has created a spin-off company to keep mono running.
Like most ports you will be looking at a significant porting operation I'm afraid.
Its the man, not the machine - Chuck Yeager
If at first you don't succeed... get a better publicist
|
|
|
|
|
Wine may not help him directly because it is not a direct Win32 port. There is a .NET runtime involved and hence he may need Mono runtime in his case.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Hi All,
Can someone tell me how can i upload or submit my php website to google apps engine.
Though I can create a new application in python/java/go environment to submit it google appspot but is there any way to upload php website to google apps.
Thanks in advance.
Anoop
anoop
|
|
|
|
|
Hi all,
I wonder I've done something wrong with PHP or MySql.
I've a table as follows,
<br />
CREATE TABLE `my_db`.`language_translations` (<br />
`ID` int(10) unsigned NOT NULL AUTO_INCREMENT,<br />
`SectionID` int(10) unsigned NOT NULL,<br />
`QuestionID` int(10) unsigned NOT NULL,<br />
`Text_eng` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
`Text_lk` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
`Text_ta` varchar(500) CHARACTER SET utf8 COLLATE utf8_unicode_ci NOT NULL DEFAULT '',<br />
PRIMARY KEY (`ID`)<br />
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 PACK_KEYS=1;<br />
And I select data with the following function, but the text displayed as ???? characters.
<br />
function GetTranslationList($m_section_id, $m_question_id) {<br />
$sql = "SELECT * FROM language_translations WHERE SectionID = ".$m_section_id." AND QuestionID = ".$m_question_id;<br />
<br />
$data = CDBCon::GetInstance()->GetAll($sql);<br />
print_r($data);exit;<br />
return $data;<br />
}<br />
anyone of you have an idea what I've done wrong here?
Thanks
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Is your file saved as utf8 (better without bom)?
Also you should add in your html
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...Plug & Pray...
|
|
|
|
|
Yes I do.
Anyway I have found the solution myself. PHP.ini configured incorrectly with multi-bite strings. Now everything working fine.
I appreciate your help all the time...
CodingLover
|
|
|
|
|
Hi,all
This is My Php Code
<?php
$from = "someone@something.com";
$to = "someone@something.com";
$subject = "Hi!";
$body = "Hi,\n\nHow are you?";
$host = "myhost";
$username = "mail@myhost.com";
$password = "something";
$port=25;
$headers = array ('From' => $from,'To' => $to,'Subject' => $subject);
$smtp = Mail::factory('smtp',array ('host' => $host ,'port' => $port , 'auth' => true , 'username' => $username,'password' => $password));
Now How Can i Call mail(); Function?
Please Help Me
Arunkumar.t
Arunkumar.
|
|
|
|
|
Is this what you are searching for Example 1[^] ?
[Edit]
Example 2 [^]
[/Edit]
Regards
modified on Saturday, June 4, 2011 6:23 AM
|
|
|
|
|
I Know The Mail Function In php
I want to know how can i pass the smtp information through mail() function
|
|
|
|
|
i try to upload videos to youtube using zend library , but i have a problem that i may upload a video that is already uploaded (duplicate) , so the youtube refuses to upload it , i need to know the id of the duplicate video that was uploaded before .
please if any body can help me...
thanks in advance
|
|
|
|
|
Hi All,
I am getting null value for some virtual machines.
Do anybody have any idea regarding permissions that we need to get this object from machines.
Thanks
|
|
|
|
|
To codeproject.com forum,
This is question about script
http://obiewebsite.sourceforge.net/obie.php?Mini_Web_Shop
As the script is released in 2004 there is no much online
documentation except those brief help file from author
Here is the one working example
http://emarfa.3x.ro/store/admin.php?act=conf
but most other online installations are not functional as I suppose during
php version incompatibilities
http://gillhov.tripod.com/miniwebshop/miniwebshop/index.php
and other sites..
So I am asking interested to review installation setup and examine this script and post some
suggestions with details, modifications or something?
Best greetings,
Nik P.
|
|
|
|
|
hello everyone! i want to upload photo, i have tag img and button (i dont use type="file") i want to write code to open directory as type="file" on button, but i can't solve it. please help me!
regard
thanks!
|
|
|
|
|
use tag input, not button
A hidden needle is way more effective than an unsheathed sword.
That is, in the hand of professionals.
What about you?
Just pray your enemies are blind
|
|
|
|
|
First time developing in PHP. Used to coding in c#, so feel free to make fun of me.
Here is the code I am using:
<?php
$response = file_get_contents($url);
$jsonResults = json_decode($response, true);
echo "Title: ".$jsonResults['items']['0']['volumeInfo']['title'];
echo "Title: ".$jsonResults['items']['1']['volumeInfo']['title'];
for ($i = 0; $i < $jsonResults['items'].length; $i++) {
echo "Link: ".$jsonResults['items'][$i]['volumeInfo']['title'];
}
?>
Now the json results look like this:
array(3) {
["items"]=>
array(10) {
[0]=>
array(7) {
<snipped>
["volumeInfo"]=>
array(12) {
["title"]=>
string(64) "MyTitle"
<snipped>
}
*****************
"We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW
|
|
|
|
|
PHP doesn't use the . operator for class members. If $jsonResults['items'] was an instance of a class, then the way to access the length member would be $jsonResults['items']->length .
Native arrays are not classes though, so to find their length you need to use the count function:
<?php
$length = count($jsonResults['items']);
for($i = 0; $i < $length; $i++) {
echo "Link: ".$jsonResults['items'][$i]['volumeInfo']['title'];
}
or you could use foreach instead of for :
<?php
foreach($jsonResults['items'] as $item) {
echo "Link: ".$item['volumeInfo']['title'];
}
|
|
|
|
|
I always sizeof() thou
A hidden needle is way more effective than an unsheathed sword.
That is, in the hand of professionals.
What about you?
Just pray your enemies are blind
|
|
|
|
|
Thank you both!
*****************
"We need to apply 21st-century information technology to the health care field. We need to have our medical records put on the I.T." —GW
|
|
|
|
|
Hi there,
I'm quiet new to the PHP language, tho I have mostly programmed in C# in .NET platforms. Now I want to get some experience with the opensource part of the web development.
I know the basic coding for PHP (the syntax), but I'm not sure about which app is the best to make dynamic PHP programming in (like MS Visual Studio for C#), which patterns is a most, which do I have to code by hand, and which can be autogenerated by the developer app?
I'm especially curious about the possibilities of doing DataMapping, like DataBase Markup Language/LinQ to SQL in Visual Studio for C#, where Database tables are being related to code objects like:
UML diagram:
http://yuml.me/diagram/scruffy/class/[Phones]1->*[Category]
Code with ORM to the DB table:
Phone p = new Phone();
Or how do you guys handle objects in PHP, where Foreinger keys between tables can happen, in a easy way?
|
|
|
|