|
Does Tamil or Hindi text appear correctly elsewhere (e.g.) Firefox or not? I.e. is the problem limited to Chrome?
With Ubuntu, you can install the Hindi and Tamil localisations of the operating system. Also the fonts will be installed.
|
|
|
|
|
Firefox is no problem. Only Chrome is a headache.
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!
|
|
|
|
|
Goto fonts & encodings settings, and change all the fonts to use Tamil Unicode font. I mean the Serif and Sans Serif drop downs. That should be good enough.
Best wishes,
Navaneeth
|
|
|
|
|
Can some one share a few tips on what are the unneeded services that could be removed off in Ubuntu 10.04 (LTS) and Ubuntu 11.04 when using like a personal desktop operating system? The typical use of the computer would be the following:
1) Moderate use of Geany -- Programming IDE
2) Light to Moderate use of MySQL 5.1
3) Moderate use of Apache (for PHP)
4) Google Chrome (for Internet Browsing)
I am pretty sure not to require those bloated services like cron, Akonadi, KDE crap which are annoying my old resource-challenged computer.
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!
|
|
|
|
|
Vasudevan Deepak Kumar wrote: KDE crap which are annoying my old resource-challenged computer.
KDE on a resource challenged computer?
I'd suggest to move away from Ubuntu. Try something like Arch Linux with simple desktop environments like XFCE.
Best wishes,
Navaneeth
|
|
|
|
|
Easy, install a bare version of Debian, then install things such as X Windows and then a Desktop like XFCE. (Ubuntu is basically a rebranded version of Debian.)
See if you can crack this: b749f6c269a746243debc6488046e33f So far, no one seems to have cracked this!
The unofficial awesome history of Code Project's Bob!
"People demand freedom of speech to make up for the freedom of thought which they avoid."
|
|
|
|
|
Hi,
In my PHP application i want to call a asp page and then redirect to php page.
I used include_once,require_once,header but still getting an error.
How can i do it ?
Thanks in advance.
|
|
|
|
|
look at the functions file() and file_get_contents()
Chris J
www.redash.org
|
|
|
|
|
Not sure including an ASP would serve the purpose because PHP might not be able to parse it.
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!
|
|
|
|
|
Why not you call that asp page by using ? e.g: <iframe height="%100" width="%100" src="http://yourserver/yourfile.aspx">. But if really want to use your own method,you need to setup your http.conf and install asp extension for apache. Below are the step to run asp on your apache:
1.install Mod_AspDotNet
2.
Add at the end of C:\Program Files\Apache Group\Apache2\conf\httpd.conf the following lines
#asp.net
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"
AddHandler asp.net asax ascx ashx asmx aspx axd config cs csproj licx rem resources resx soap vb vbproj vsdisco webinfo
<IfModule mod_aspdotnet.cpp>
# Mount the ASP.NET /asp application
AspNetMount /SampleASP "c:/SampleASP"
#/SampleASP is the alias name for asp.net to execute
#"c:/SampleASP" is the actual execution of files/folders in that location
# Map all requests for /asp to the application files
Alias /SampleASP "c:/SampleASP"
#maps /SampleASP request to "c:/SampleASP"
#now to get to the /SampleASP type http://localhost/SampleASP
#It'll redirect http://localhost/SampleASP to "c:/SampleASP"
# Allow asp.net scripts to be executed in the /SampleASP example
<Directory "c:/SampleASP">
Options FollowSymlinks ExecCGI
Order allow,deny
Allow from all
DirectoryIndex index.htm index.aspx
#default the index page to .htm and .aspx
</Directory>
# For all virtual ASP.NET webs, we need the aspnet_client files
# to serve the client-side helper scripts.
AliasMatch /aspnet_client/system_web/(\d+)_(\d+)_(\d+)_(\d+)/(.*) "C:/Windows/Microsoft.NET/Framework/v$1.$2.$3/ASP.NETClientFiles/$4"
<Directory "C:/Windows/Microsoft.NET/Framework/v*/ASP.NETClientFiles">
Options FollowSymlinks
Order allow,deny
Allow from all
</Directory>
</IfModule>
#asp.net
3. Test it by create your index.aspx and restart apache.
|
|
|
|
|
|
i have a knowledge about c,c++ in linux but i want to learn gui programming in linux.
please provide me starting lesson about GUI programming in linux environment?
witch library is better and how to use graphic libraries in linux ?
thnx
modified on Thursday, September 8, 2011 5:46 AM
|
|
|
|
|
Try Java you can do many thing in that. (Web Development or Desktop Application)
|
|
|
|
|
I can't change programming language in my project. I should use C++
|
|
|
|
|
Hi!
You can use Qt for graphics programming with C++ in Linux.
Regards!
|
|
|
|
|
To start program with Qt, You can use 2 free IDEs: CodeBlocks and CodeLite; Both of them work on Linux, and provide the startup creator for Qt4; I have tested CodeBlocks 10.04 and codeLite 2.10 under Debian 6.0.2 and Scientific Linux 6.1; CodeLite 3.0 didn't work due to the lack of wxWidgets 2.9, but with wxWidets 2.8 everything worked well on 32 bit Linux-es. Under 64-bit Debian 6.0.2 worked CodeBlocks, but CodeLite had some bug when tried to read integers with cin under Console application mode.
Rgds!
|
|
|
|
|
You can try to use the Qt Creator provided by Qt itself. It integrates a decent C++ editor,
several wizards for startup plus it integrates the Qt API documentation.
I can definitely recommend it: we used it for working on a multi-platform Qt project and it worked like a charm.
Best regards
|
|
|
|
|
mohammad masood ashrafi wrote: how to use graphic libraries in linux ?
Posting your question to Google reveals this[^].
|
|
|
|
|
You can learn Qt with c++. It provides qtcreator as IDE along with documentation. Begin with Tutorial in documentation.
|
|
|
|
|
In general, you should learn GTK to create widgets. But projects like wxWidgets simplified this and abstracted the GTK code to provide a better C++ API.
Best wishes,
Navaneeth
|
|
|
|
|
Hi,
I suggest to you use QT.
You can use also GTK.
Best regards!
|
|
|
|
|
Hi all, i need some help with php. I am writing i web site and i have an upload form . I upload files in folder and in database where i have the filename the path and some other fields which i will use for
my sql to set my needed files. I need help with a reader. after a get a list with the files from the sql i use the file path as link. I want when i click this link to open the file in my page and to read it and save it. The problem is that that i set to upload only pdf file. Can anyone help me with a source code of a reader and how to make the connection between the file path and the reader, because now if i click the path and i download the file.I think to pdf viewer to be in a div and under him to have a div with a list of the filepath(link)
thanks in advance
modified on Thursday, September 1, 2011 5:16 PM
|
|
|
|
|
Hi Spawn 2004 I wanna help.
to create a simple from use,
index.php
<title> Simple Form
post.php
$host="localhost"; // Host name
$username="root"; // Mysql username
$password=""; // Mysql password
$db_name="books"; // Database name
// Connect to server and select databse.
mysql_connect("$host", "$username", "$password")or die("cannot connect");
mysql_select_db("$db_name")or die("cannot select DB");
Next insert name into the database you wish
|
|
|
|
|
Currently I am hosting a clients webpage on the free plan of Mezoka. They allow php 5, but not phpmail (), is there a way of that I can let users email the client at their Gmail account through the website? I read on the Mezoka forum that you could use Gmail as am smtp. I've included my php and html form. I've had a few people tell me about php mailers and php mailer class. Not too sure how to go about implementing the contact form. What I did and thought would work, doesnt, I keep getting the error message that I have in my php. I've tried using Gmail which is where the client has their email account with and my personal yahoo address, and error messages.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Contact</title>
</head>
<body>
"; $to = "starr@yahoo.com";
$from = " <no-reply@sitename.info >";
$headers = "MIME-Version: 1.0\r\n";
$headers.= "Content-type: text/html; charset=iso-8859-1\r\n";
$headers.= "From: $from\r\n";
$mail_body = "Hello World";
if (mail($to,"Mail", $mail_body,$headers))
{ echo " Thank you! - Your feedback has been sent! "; }
else
{ echo " Thank you! - We could not send email. Please try later! "; }
?>
?>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Contact</title>
<link href="style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="templatemo_wrapper">
<div id="templatemo_header">
<ul id="social_box">
<li><a href="http://www.facebook.com/"><img src="images/facebook.png" alt="facebook" /></a></li>
<li><a href="http://www.twitter.com/"><img src="images/twitter.png" alt="twitter" /></a></li>
</ul>
<div id="site_title">
<h1><a href="index.htm"><img src="images/logo2.png" alt="logo" /><span></span></a></h1>
</div> <!--
</div> <!--
<div id="templatemo_menu">
<div class="home"><a href="index.htm"></a></div>
<ul>
<li><a href="index.htm"><span>Home</span></a></li>
<li><a href="test.htm"><span>Test</span></a></li>
<li><a href="examples.htm"><span>Examples</span></a></li>
<li><a href="question.htm"><span>Questions</span></a></li>
<li><a href="contact.htm"><span>Contact</span></a></li>
<li><a href="comments.htm">Have A Comment?<span>Comments</span></a></li>
</ul>
</div>
<!--
<div id="templatemo_content_wrapper">
<div id="templatemo_content_top"></div>
<div id="templatemo_content">
<h2>Contact</h2>
<div class="cleaner_h50"></div>
<div id="contact_form">
<h4>Quick Contact</h4>
<form method="post" name="contact" action="email.php">
<div class="col_w340 float_l">
<label for="namer">Name:</label> <input name="name" type="text" class="input_field" id="author" maxlength="40" />
<div class="cleaner_h10"></div>
<label for="email">Email:</label> <input name="email" type="text" class="input_field" id="email" maxlength="40" />
<div class="cleaner_h10"></div>
</div>
<div class="col_w340 float_r">
<label for="text">Message:</label> <textarea id="text" name="text" rows="0" cols="0" class="required"></textarea>
<div class="cleaner_h10"></div>
<input type="submit" class="submit_btn float_l" name="submit" id="submit" value="Send" />
<input type="reset" class="submit_btn float_r" name="reset" id="reset" value="Reset" />
</div>
</form>
</div>
<div class="cleaner"></div>
</div>
<div id="templatemo_content_bottom"></div>
</div>
<div id="templatemo_sp_box">
<div class="col_w340 float_l">
</div>
</div>
<div class="col_w340 float_r">
</div>
</div>
</div>
<div id="templatemo_footer">
Copyright © 2011 <a href="www.twitter.com/">Starr</a><br/>
<a href="http://www.iwebsitetemplate.com" target="_parent">Website Templates</a>
by <a href="http://www.templatemo.com" target="_parent">Free CSS Templates</a>
</div> <!--
</div> <!--
</body>
</html>
|
|
|
|
|
Check the link out at the bottom, it's a PHP mailer library that should make it much easier to do what you're trying to accomplish.
If you're still having trouble, just remember, Google is your friend! http://bit.ly/p9DUif[^] Literally every result on that first page should walk/help you through it.
http://swiftmailer.org/[^]
|
|
|
|