Jump to content

webdevuser

Active Members
  • Content Count

    41
  • Joined

  • Last visited

  • Days Won

    1
  • Feedback

    0%

webdevuser last won the day on January 4 2013

webdevuser had the most liked content!

1 Follower

About webdevuser

  • Rank
    Kilobyte Member
  • Birthday 04/15/1911

Profile Information

  • Gender
    Not Telling

Recent Profile Visitors

1,151 profile views
  1. webdevuser

    What Are You Listening To?

    Listening to : Billy Talent - Lies =P
  2. webdevuser

    How to Center a Footer

    Not in php (Since php is a server side language and not a client one), but using javascript or jquery it would be fairly easy. But using pixels to create a design is not the best options, using % is much better or you could use a fixed width grid system =P In either case, it is base on % to always maximize the information that can be seen.
  3. webdevuser

    How to Center a Footer

    .footer{ position:fixed; bottom:0; /* Place the footer on the bottom of the page */ left:50%; /* Place the top left corner at 50% of the page width */ width:400px; /* Determinate the width of the footer */ margin-left:-200px; /* Renomve half of the width so, instead of the top left corner is at 50% exactly half of the content is set to a positon of 50% of the page width */ z-index:999; /* Since positioning with the element position set the element over or under anything (the position is fixed on the page instead of being place under the last element) the z-index determinate which element is shown over which (the most higher z-index is the top priority) } That is why again, I strongly recommend to do not use positioning since the result is strongly relative to the screen of the user and the content length of the website.
  4. webdevuser

    How do you tell if it's a real cloud server?

    Well, from what I can see on their website they are using hypervisors so yes, I'm pretty sure they are using a real "cloud" service.
  5. Nope, ask Nathan about his experience with not knowing what I could do with the Test Bed, I'm sure he freaked out during a couple seconds... (I could delete his whole website in mere seconds, than I got his password, which I'm sure he is using everywhere and I connected on forum his account, wrote a small love message in the Admin section) =P
  6. webdevuser

    How do you tell if it's a real cloud server?

    I could provide you with a long answer, but sadly my english is not good enough for using too many technicals terms :S Anyway, just to let you know, in the end, as a user, you can not know if you are in a "Cloud", since a cloud is 99.99% virtualization (Virtualization is the concept on running virtual machines (OS within OS)) as an user of the cloud it is impossible to make the difference between a cloud or a dedicated server. But using support of your website, you could ask them to maybe add 1GB of RAM to your account. If it take less then 30 seconds, than yes you are running on a Cloud, if it take 1hour + (you may be on a dedicated server, or the technicians are slow to make the modifications for your cloud service)
  7. webdevuser

    Help me choose..

    Nexus 7... all the way, IPad minis are just a iphone with a bigger screen. Nothing different than an iphone...
  8. webdevuser

    PDO - If you are not using it, you are a fool

    Yeah it does work LIKE a routine, but it is not. Everytime you send a request to your database, it is analysed, so imagine the following code : for ($i = 0; $i < 1000; $i++) { mysql_query('INSERT INTO table (value) VALUES ('.mysql_real_escape_string($i).');'); } you just done a thousand queries... which is slow for 2 main reason, First of all, mysql will analyze your query everytime to understand what it has to do (INSERT DATA, Which table, which columns); and mysql_real_escape_string will use non optimized functions to make sure the data inserted by the user is "safe". VS the following $sth = $dbh->prepare('INSERT INTO table (value) VALUES (:value)'); for ($i = 0; $i < 1000; $i++) { $sth->bindValue(':value', $i); $sth->execute(); } Where pdo will prepare your request to mysql so, instead of being analyze 1000X it is only analyze once. Then, bindValue will always make sure the data inserted is 100% safe of SQL injections. Also, PDO allows to begin transaction and rollback or commit the modification if their was an error. Allowing you more control on what data is sent to your database.
  9. webdevuser

    Basic PHP Guide

    <blockquote class='ipsBlockquote'data-author="johnthomas1433" data-cid="19599" data-time="1358230268"><p> Rather than installing the PHP yourselves, I suggest you install some IDE like Xampp, or Wamp, and they does make your job easier. Also do not try coding in Dreamweaver, as they shall generate the code most of the times with drag and drop, and that is not good. Better use Notepad++ like the rest of us.</p></blockquote> Please, make sure you understand the diference between a development environement ( Which is wamp, mamp, xampp... ) and an IDE which means interface development environement ( Which allow you to easily edit code files wih auto complete and color syntax )
  10. webdevuser

    PDO - If you are not using it, you are a fool

    Yeah, maybe it is a bit harsh, but it is catchy as hell for a title Basically, in the long terms, yes it will. Don't take me wrong, it won't fall in a month, but let says, if php were to release the final version of PHP 5.5 tomorrow and your host updated their servers that pretty means, that every time a user would load page, for every request made your would have a warning in your logs. Also, depending on your how many requests are made, you can check Google it if you don't believe me, but it will relieve the stress made to your server up to 30%... which in the long terms means a lot of resources saved. Every prepared request made through PDO is almost a 100% perfectly safe (Nothing, and I mean nothing is ever 100% safe). So, yeah... why are you not using it, PDO is better than mysql_* functions in every way...
  11. webdevuser

    Best free web hosts...? Are there?

    Well maybe the service is good, but I can not respect a Internet company that still used a design that would shame to 1990s....
  12. webdevuser

    Mac Owners report here!

    Here I am, reporting for duty sir! With a Macbook Air 13"!
  13. webdevuser

    Hey there!

    Hey everybody, So I saw (quite late) that their was a self-introduction forum, so I decided to write one =P So here I am, in a few lines I am from Québec, Canada (Which is the only place in North America that French is the official language, so pardon me in advance for my typposss =P) I'm currently studying in Computer Science at "Cégep Limoilou"... (who cares right? XD) So, I pretty much everything related to programming... (except Java, but let me get back on this later) I joined my program at school because since I was 12, I was trying (at the time) to code modules and plugins for IPB 1.3 or SMF 1.X I always loved web technologies and now more than ever =P! (Btw, I don't know if you saw it, but I currently have an addiction to put smiley at the end of my sentence, don't know why) My favourite programming languages : 1) Everything related to the web ... PHP, Html (XHtml, HTML 5), Css (Css 3 is out yeah!), javascript (Actually, I don't know much about javascript, but I written thousands lines of code in JQuery XD) and I don't have a number 2, if it is not web related, I'm not interested (doesn't mean I can't code using it) and especially java, Java... JAVA.... it is so slow! SLOW! the programming language, and the code structure of java is BEAUTIFUL, but it is so FRACKING (Yes I love Battlestar Galatica) slow! So, that is me... if you ever need advice on anything related to programming, I can probably answer your question, and if it is web programming related, I know (probably? XD) I can answer your question =P
  14. Hello guys, It is my first thread here, I did not intend to make one, but I saw a lot of you are using mysql_connect() mysql_query() please, don't! PDO : PHP Data Objects If you read this article : http://net.tutsplus.com/tutorials/php/why-you-should-be-using-phps-pdo-for-database-access/ you will probably understand why you should be using PDO, and if you still don't, please ask, I will do my best to convert you to use better programming practices
  15. webdevuser

    How much do you charge?

    What I would recommand is that you buy your theme on a website like : http://themeforest.net/ you will be able to buy almost what you desire, after that you can hire a programmer for cheap to edit what is left and a designer to create the images and logo that you need.
×