|
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?
|
|
|
|
|
|
Cheers, will look at the possibilities.
So, when you have to program a PHP web app by your own, do you hand code all patterns needed to control objects between each others? Like controlling FKs between relations.
|
|
|
|
|
yes I hand code it, including table/data relations. But I have what I guess would be a custom pattern I have developed over the years and find it able to adjust and handle any web/app I can toss at it while still being readable and flexible.
Chris J
www.redash.org
|
|
|
|
|
|
Hey CodeProject!
So I'm trying to make a query in PHP and mySQL..
One of the database tables has a value I want to SELECT DISTINCT while selecting everything else regularly with an asterisk (*).
Example:
<br />
<br />
$model_select = "select DISTINCT model FROM models where shw=1 ORDER BY modelid";<br />
$model_select = "select * FROM models where shw=1 ORDER BY modelid";<br />
<br />
Is there a way I can do both DISTINCT and * in the same query command? Or is there a way around this without making 2 queries?
It would be great if I could 'cause I'm using the mysql_fetch_array thing.
Thanks.
-Paul
|
|
|
|