|
Yeah, I can navigate now. I found where the applications are stored in the menu, and how to put them on my favorites. I even changed my wallpaper. I still prefer the old gnome, but it's not been very long so I suppose that will change in time.
It makes me want to hook a graphics tablet to it instead of a mouse.
|
|
|
|
|
loctrice wrote: It makes me want to hook a graphics tablet to it instead of a mouse.
I think that's what they're striving for... being able to have a "common" environment that will support touch screens and mouse clicks. That way it doesn't matter where you go (tablet or desktop or laptop), you'll be familiar with the interface and be able to work as usual.
|
|
|
|
|
as long as you can support 3d
|
|
|
|
|
It took me forever to figure out how to get my browser to open in a new window instead of just take focus. I use multiple browser instances, as well as tabs. I couldn't find anything on google at all! I felt - insert choice here - when I finally realized you could right click the icon >,<
I like the alt tab thingy though. I can't say I like it more than standard alt tab, but having a sub menu under the "group" looks pretty snazzy.
|
|
|
|
|
Hey, at least discovering new features is always neat.
|
|
|
|
|
Well, I couldn't really get used to it. As a general user it was fine. Was a little different, but not really a big deal. It looked nice.
However, when I was trying to work it was ... well, it was costing me too much time to continue. I could still work, and even kept trying. I just was not efficient. I didn't try it for very long I know, but I was starting to lose some valuable time on some projects.
I installed xfce today. I might try gnome again this summer when we have a slow season at work.
|
|
|
|
|
Every time there's a major change like this, it's going to be hard to get used to it. Plus, the dev team has to learn what's working and what's not working.
There was actually a small study done somewhere (can't remember the source now) that found the very same exact thing you're experiencing, that even though people generally liked the experience, productivity actually went down because it took longer to find things you were looking for. I'm sure GNOME will learn from this and make changes accordingly.
|
|
|
|
|
Dear All member code project
I wanna to know, how to create translater like google translate.
please help/tell me about it.
Thanks b4
|
|
|
|
|
Well you could always include the google translate script somewhere in the page. That way users can change the language of the contents with just one click, as described at Google translate tools[^].
As to creating your custom translate engine, that would be a lot of work including:
- scraping or buying multiple dictonaries for every language
- linking words in dictionaries accross the various languages
- finding a way to stem words to the basics
- building a correct matching algorithm to match one word or group of words to another
And even if you do all that (which is a lot of work) it will still probably work crappy. Though google translate is nice to sorta now what a page tells me (if it is in a foreign language) it is far from perfect. In fact most of the time the translations are more likely to be funny and wrong then right.
|
|
|
|
|
|
Hi...!!
I am beginner of PHP.
I want to make registration page which displays user name after the successful registration.
I have made three files :
register.html ==> to make form and enter the data which redirects to another file called submit.php
submit.php ==> to enter the values to the database and redirects to the home.php
home.php ==> This must display " Welcome registering user name !" message.
how to retrieve the name in the last file ??
|
|
|
|
|
It depends on how you are submitting your form for the username and password. If you are using POST, then something like:
$username = $_POST['username'];
$password = $_POST['password'];
Otherwise, if you use GET:
$username = $_GET['username'];
$password = $_GET['password'];
The "username" and "password" names are whatever you named your username and password input boxes in the html form.
Let me know if this helps
|
|
|
|
|
Hi,
You can post the username with the redirecting url, and from that page you can access
the name by
Let the redirecting URL should be like this,
URL: http://localhost/home.php?user='Sunu'
<pre lang="PHP">
$user_name = $_REQUEST['user'];
</pre>
Cheers
|
|
|
|
|
After the post you cn also asign user information to a session variable so you do not need to repost it from page to page.
To do this just assign the post to a session variable like...
$_SESSION["uname"]=$_POST["uname"];
To set and use the session values you must start your pages with...
<?php
session_start();
...the rest of your script below.
This brings up an important topic too. You must scrub your input from users so you can avoid sql injection (if you are storing your data in a database). Please be sure to read up on this topic in any live code you make.
Chris J
www.redash.org
|
|
|
|
|
|
Apply Sessions or Cookies.
|
|
|
|
|
When trying to run a simple PHP test form using a Windows CE 5 or 6 device I'm getting errors...
Page cannot be displayed / Cannot find server or DNS error
Internet explorer
The test PHP page does execute correctly from a PC. Any know issues with Windows CE running on a Motorola MC3000 series handheld, or CE specifically?
Test php code...<pre lang="PHP">
<html>
<head></head>
<body>
<?php
if(isset ($_POST['submit']))
{
$name = $_POST['name'];
echo "You submitted the form and typed : <b> $name </b>";
echo "<br>Enter new text.";
}
?>
<form method="POST" action="<?php echo $_SERVER['PHP_SELF']; ?>">
<input type="text" name="name"><br>
<input type="submit" name="submit" value="Submit Form"><br>
</form>
</body>
</html>
</pre>
|
|
|
|
|
It's not a question of whether the device is "running" the php code. PHP is a server-side scripting language, meaning that when you go to a page with a ".php" extension, the server looks at the php code with an interpreter, and the php script generates html code which gets sent to your browser. In fact, you could name any static html file with a ".php" extension, or any other extension, and your browser wouldn't care. The only thing that matters is that the server tells your browser (through the headers) that the file that is being sent back is HTML text. If you really wanted, you could set up a server and have it tell browsers that ".bmp" files are html files and you could create a file with a .bmp extension and it be treated by any browser just like it had a .html extension.
Quote: Page cannot be displayed / Cannot find server or DNS error
It sounds like you have an incorrect setting with the browser. Can you access any other web page, such as google?
|
|
|
|
|
I agree and everything is fine when using desktops with IE or Chrome. It seems like the CE devices have trouble only when variables are invovled when the desktop browers don't?
The CE devices will display the following PHP test correctly...
<pre><html>
<head></head>
<body>
<?php phpinfo(); ?>
</body>
</html></pre>
|
|
|
|
|
Hi
I just have that stupid problem and hoping that you can help me on it.
I try to take specific value (user ID for selected user name) from my database to deal with it.
but it's seems that nothing happen !
the code is:
$query2 = MYSQL_QUERY("SELECT userid FROM users WHERE username LIKE '" . $username . "'") ;
while ($result2 = MYSQL_FETCH_ARRAY($query2)) {
$found2 = '1'; $userid2 = $result2['id']; }
echo $userid2;
|
|
|
|
|
Try changing your query to:
$query2 = MYSQL_QUERY("SELECT userid FROM users WHERE username='$username';") ;
I also think you need to SELECT the username as well, since that is what you are comparing:
$query2 = MYSQL_QUERY("SELECT userid,username FROM users WHERE username='$username';") ;
|
|
|
|
|
I solved my problem
As i write, it's a stupid one :$
I replace this
$userid2 = $result2['id'];
by this one
$userid2 = $result2['userid'];
thanks anyway !!
|
|
|
|
|
I debug sql queries by these methods...
1)
echo the sql to a browser so I can test in the Mysql Query Browser to make sure that all variables are set as expected and the query is good. I also include page, line # and the mysql error message in the die command. So if any query is bad you will know where and what and why (<--most of the time).
example:
$sql = "select uid from users where uname='".$user_name."'";
$rst = mysql_query($sql) or die("<br>PG: ".__FILE__."<br>LN: ".__LINE__."<br>ER: ".mysql_error()."<br>Q: ".$sql."<br>");
Note: I usually do this as a function call inside the die so I can set a value for local debug and a live production messages. This is because the above information should be used for the developer and not something a user should ever see. Users should have a simple error message if you can not recover from the error in code.
2)
if your code crashes out after the mysql_query, then find out what you query is returning...exactly.
example:
<?php
.. other code above
echo "<pre>";
while($row=mysql_fetch_assoc($rst))
{
print_r($row);
}
echo "</pre>";
?>
That should give you more info.
Also keep in mind that if you develope on windows and move to linux you will see some error with the case of table and column names make sure you check that. Windows can be lax on case, while linux is not.
Chris J
www.redash.org
|
|
|
|
|
www.esp.com.cn[^]
=======================
i in the browser type that URL,,,just no abnormal,,but..i in "search engine"click the site,,,it will be jumpother site....i have seen it's source code,but no find out how does it jump? in advance thanks~ - -
"
|
|
|
|
|
Your english is not clear
But read the link[^] it will help you to understand.
your probable question:
When you type the url on address bar it behave normally. but when you click in the link in the page it creates a new window. Why?
|
|
|
|