Jump to content

Reisswolf

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Contact Methods

  • Website URL
    http://reisswolf.profusehost.net

Profile Information

  • Gender
    Not Telling

Reisswolf's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I think that in your post you forgot to mention this most important point. Together with stability, robustness, security, etc., another very important reason to switch to Linux is just that line quoted above: it is fun!--fun to tinker with different tools and different distributions, and possible to do because we don't have to pa hundreds of dollars each time we want to try something different.
  2. Gentoo is a nice distribution, but there are points to consider before choosing it over other distributions. My personal favourite is Fedora. First: more and more people are coming to the realisation that compiling from source provides only minimal benefits over using binaries. I have both Fedora (64-bit) and Gentoo on my system, both well configured, with a minimum number of necessary services enabled, and there is no perceptible difference in speed between the two. Second: the Fedora project is stronger and better directed than the Gentoo project. The recent, well-publicised spats between the Gentoo developers will inevitably hurt the project. On the other hand, the strong, corporate backing of the Fedora project by Red Hat ensures a more coherent vision of the project. Red Hat engineers contribute more lines of code to the Linux kernel than pretty much any other organisation. I think that is a good indicator of the long-term strength of the Fedora project. If the frequency of new releases is not a problem, I would recommend Fedora over any other distribution. But if you require that your distribution be supported for a long time, I would recommend CentOS, Scientific Linux, Debian, the long-term Ubuntu releases, etc. Don't go for Slackware unless you are ready to go a lot of work and resolve dependencies on your own. All the distributions mentioned here--Fedora, Debian, Ubuntu, Gentoo, Slackware, etc.--are good. Your ultimate choice will depend on how much work you are willing to do to maintain the distribution. For me, it is better to have a distribution that does not require a long time to set up and maintain, because I need to spend more time coding. So Fedora is just the perfect distribution for me.
  3. Hmm, okay. Well, I had been hoping that someone might have had an opinion about the choice of template--whether it is suitable for a personal site--navigability, responsiveness, etc. (I wasn't expecting a comment on the template itself. I know the person who created it has done a great job.) Anyway, thanks a lot for your time.
  4. Hi, I am in the process of putting up a personal home page. Most of the elements of the site are in place. I would like to eventually put up a section on programming tutorials; that is yet to come. My web site is located here: Reisswolf's corner. The template has been taken from Free Website Templates. Specifically, the one I am using is the Media template. That template site clearly says that it is not necessary to provide a link back to the site, but I have done so anyway. I would love to hear suggestions to make the site better and more inviting. I have not tested anything in Internet Explorer, since I neither have, nor use, Windows. I have tried to stick to standard code as much as possible. Thanks a lot for your time.
  5. [b]Please note[/b]:  my new domain name is now active.  The site can be found at http://www.artecs.net The ads at the old site were automatically inserted by the server.  My new hosting plan does not force ads on the pages. ***** Thanks guys.  I'm trying to make those changes. ober, I would love to include some graphics to bring the site to life.  But even though I have some very nice ideas in my head, my near-total lack of ability with GIMP is making life very difficult for me.  In that white space to the right of the main logo I would like a thematic banner that connects the artecs logo on the left to "the world"--a nice, attractive skyline--on the right by means of axons and synapses that represent neural networks.  There would be a face, with the eyes showing prominently, near the bottom of the skyline, looking upward.  The banner would be a nice blue that would compliment the rest of the site. If only I could implement my ideas as effortlessly as I can describe them!
  6. How about now? I think I really need to fill that large space at the top, just to the right of the logo, with a nice, relevant graphic.  Otherwise, as it stands now, the site looks quite boring.
  7. steviewdr, do you think it looks better now?  I have removed those horizontal images. I have also removed that "swirling blue sun" image from the top.  [i]That[/i] is where I should place my custom image, I think. moberemk, it would be hard for me to change the images as you are suggesting, because the following is one image: [img]http://artecs.10gb.org/images/back_top.jpg[/img]
  8. Thanks moberenk.  I can't really take credit for the CSS, because I downloaded the template from the Internet, but at least I have the pleasure of knowing I downloaded a good one!
  9. I am planning to start a small venture on the side, and I have managed to put together a web site for it, which is located at http://www.artecs.net (the new domain is now active) This site is far from completion.  But (unless I really receive lots of criticism) the final, completed site should look quite like this.  Among the points on which I would like your opinion are: 1.  Does the template suit the kind of business I am looking to start?  (Note:  the template was downloaded from the web, and I am not aasking you to critique it per se.  I actually like it a lot.) 2.  Are there too many words and too few graphics? 3.  Is the navigation "clunky"?  Is it necessary to have cute floating layers slide out when the mouse goes over a link? 4.  [Modified as per the suggestions.] 5.  Do you think the format and presentation are "clean enough" and direct enough to inspire trust in a potential customer? I like very simple stuff that work without problems, and I think the site reflects that.  All kinds of comments and suggestions are welcome. Thanks a lot for your help.
  10. Hi, Is there any quick way to read session cookies set in PHP from a page generated by Python CGI? I have tried os.environ["HTTP_COOKIE"], but while the PHPSESSID cookie is propagated, the other cookies--in my case, the $_SESSION['user_name'] and $_SESSION['status'] cookies--are not.  (And yes, I did specify session.use_only_cookies in my PHP script.) Pointers would be greatly appreciated.
  11. Ah!  Awesome.  Thanks everyone for your help. ***** By the way, I have only just signed up for this forum.  I don't think there is another forum out there--for any programming language--at which help is rendered so quickly!
  12. [quote author=redarrow link=topic=100050.msg394404#msg394404 date=1152539303] $result = "SELECT * FROM user_accounts_table WHERE 'user_name'='$user_name' LIMIT 1"; or die(mysql_error()); $result=mysql_query($result); $table_row = mysql_fetch_assoc($result) [/quote] Well, I still have the same problem. I have done the following: [code] $query_string = "SELECT * FROM accounts_table WHERE 'user_id'='" . $user_id . "' LIMIT 1"; $result = mysql_query($query_string); $table_row = mysql_fetch_array($result); [/code] but my output is the same as before.
  13. Hi everyone, I am not exactly a PHP newbie, but nevertheless, I am unable to find my error here.  Some help would be greatly appreciated. The basic structure of the code is as follows: [code] <?php $title = "My Page Title" include("header.inc"); function MainFunction($user_name, $db) {   if(!isset($_SESSION['login_flag']) || $_SESSION['login_flag'] == FALSE) {     echo "Sorry, you are not logged in.";   } // End if()   else {     $result = mysql_query("SELECT * FROM user_accounts_table WHERE 'user_name'='$user_name' LIMIT 1", $db) or die(mysql_error());     $table_row = mysql_fetch_array($result);     echo "You are logged in as " . $user_name . ".  Your details are as follows:";     echo "User ID - " . $table_row['user_id'] . "<br />";     echo "User Name - " . $table_row['user_name'] . "<br />";     echo "Password - " . $table_row['password'] . "<br />";     echo "E-Mail - " . $table_row['email'] . "<br />";   } // End else } // End MainFunction() // Call MainFunction() MainFunction($SESSION['user_name'], $db); include("footer.inc"); ?> [/code] The session_start() command is in the header file, and the session variables are set on a different page.  There are no errors on that page.  The database variable $db is also defined in the header file, and the connection is closed in the footer file. When I log in and visit this page, my user name is echoed.  I am indeed greeted by the message "You are logged in as <user name>." But then none of the relevant details show up.  After elimination of possibilities I have arrived at the conclusion that for some reason $user_name is not being translated inside the mysql_query() function. You must trust me when I say that there are no problems with either the database, or the connection to it.  The other pages on the site--e.g. the login page--can connect to the database and check the login information.  But for some reason, this particular page is giving me a problem. Can anyone find the error? Thanks in advance for your help.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.