treehouse : what would you like to learn today?
Web Design Web Development iOS Development

AndrewPham

  • how to do it?

    A page (not for the user) where all the error messages will be echoed and then through 'GET' i can receive that error message and display it on my initial page which sent the request. Let me rewrite that a bit for you: A page (not for…
    Comment by AndrewPham May 19 permalink
  • how to do it?

    Before jumping to code writing, you need to understand the concept. Ajax is basically the technique which sends a manual & direct request to the server. So how do you do it? Firstly, you'll need a separate page, in which the only echoed t…
    Comment by AndrewPham May 19 permalink
  • how to do it?

    If I understood your problem properly: can't you just use some Ajax requests on the click event? If not, please be more specific.
    Comment by AndrewPham May 18 permalink
  • Website feedback

    FYI, you have a PHP notice being echoed on your "Servicii" page. PHP notices, warnings, and errors should never been shown to your visitors. Sorry about that, I was trying something last night and I enabled error reporting. I forgot t…
    Comment by AndrewPham May 18 permalink
  • How to secure your own Control Panel

    But why? Do you object to simply telling the user that they need to log in first? I just feel prety unsafe to let the user know that that's my administration page. He may me a random dude trying to guess it. And it's pretty obvious: &…
    Comment by AndrewPham May 18 permalink
  • Friendly URL | GET parameters lost

    explode() is what I was thinking about too. Sorry for asking if you use server variables..I know the whole point of your previous post was to clarify that. I just don't know what I was thinking of. Anyway, thank you for your prompt and helpin…
    Comment by AndrewPham May 17 permalink
  • Website feedback

    I prefer the website without the background image, it makes the website appear dated in my opinion. Remove the background-image property, from the dev-tools of your browser. Is that what you think it's more appropiate? White background? I…
    Comment by AndrewPham May 17 permalink
  • How to secure your own Control Panel

    Alright. I'll take your advice and hash+salt it. But what about the session part? If someone tries to access directly the "profile.php" page, they will get a 404 error(faked by me). But if they have that session set, they will gain a…
    Comment by AndrewPham May 17 permalink
  • Website feedback

    It's only a presentation website. I don't have so much text to put in. Just 2 intro paragraphs, the team details and the services' names. By "aren't working" I mean that, even though I respected every SEO rule, my websi…
    Comment by AndrewPham May 17 permalink
  • Friendly URL | GET parameters lost

    This is because my URLs only include the module name in the path - everything else is in the query string. And, in your case, what do you use to get the query string? Simply GET or SERVER variables?
    Comment by AndrewPham May 17 permalink
  • How to secure your own Control Panel

    Oh, right! How comes I didn't think of it? I must have went through it fast. Anyway, what does salt mean?
    Comment by AndrewPham May 16 permalink
  • How to secure your own Control Panel

    So I'm just going to hash the password string, and put it back in the db? How am I going to "dehash" it, in order to check if it matches with the pass he entered? I think, though, that the hashed version isn't just a string. If y…
    Comment by AndrewPham May 16 permalink
  • How to secure your own Control Panel

    Alright. My point was to make it impossible for them to acces my database or server-side. I don't want to do that just in case they hack in. I don't want them to hack in. if your site isn't secured right So how do you think some…
    Comment by AndrewPham May 16 permalink
  • Website feedback

    @AWKM Alright, let's say no more keywords. What could I use for SEO instead (besides content), considering that all my links, h1's, strong's, titles and semantics aren't working?
    Comment by AndrewPham May 16 permalink
  • How to secure your own Control Panel

    Why should I encrypt it, when I have it on a server-side variable, or in a database? No one has acces to those things.
    Comment by AndrewPham May 16 permalink
  • Friendly URL | GET parameters lost

    You only have one place in which you need to find out what the requested page was and then serve that page. So I will analize the requested page right in "index.php", and I will redirect the user to that specific page?
    Comment by AndrewPham May 16 permalink
  • Friendly URL | GET parameters lost

    I don't understand. Why would you want to rewrite everything to "index.php"? Alright, as a programmer, I will still be able to get those parameters and their values. But as a user, whatever I would type, whether it's example.com/…
    Comment by AndrewPham May 16 permalink
  • Friendly URL | GET parameters lost

    So you're saying that in the above example, while the browser will show the user: http://example.com/page/design/3 It will actually be able to detect wether a parameter is set or not? Like: if(isset($_GET["category"])) Even thou…
    Comment by AndrewPham May 12 permalink
  • Friendly URL | GET parameters lost

    There are some parameters whose names I don't want to show off in the URL. Anyway, I didn't even know that that was possible! I should have thought of it...Thanks! Even though, I will not be able to use "isset" or "$_GET&quo…
    Comment by AndrewPham May 12 permalink
  • How can I edit my posts in wordpress

    Omg, he's using Google Translate.. Alright so, Dani, I'm going to speak on your own language: Omule, ai furat feature-ul ala cu rotitele de pe site-ul unui designer, l-ai distrus de tot, ti-ai ales o tema in wordpress, ai facut si tu catev…
    Comment by AndrewPham May 12 permalink
  • Website feedback

    I know about the image. It's the owner's decision, I tried to convince her.
    Comment by AndrewPham May 11 permalink
  • Mysql Query Appearance Help

    Listen, Austin. The first thing you'll want to do, is to add, next to that table, just a SAMPLE of a product(or whatever those things are). So just an "Emigrante", purely coded in HTML, CSS, which contains simple text, added by you ma…
    Comment by AndrewPham May 11 permalink
  • JQuery animate() function

    That, along with removing 'px' from the values did it! Thank you!
    Comment by AndrewPham March 18 permalink
  • Smooth scroll div alignment on single page site.

    Hey James! Your problem is very complicated and it would be a perfect opportunity to ask Mr. Oakman to help you.
    Comment by AndrewPham October 2012 permalink
  • Opening a thickbox via onclick?

    You could have just placed a transparent linked div in the td,equal to the table cell,and it's contents inside the div.
    Comment by AndrewPham October 2012 permalink
  • Menu padding cross-browser problem.

    I will try to use line-height. If nothing will be better, I'll take your advice and leave it as it is. Thanks!
    Comment by AndrewPham October 2012 permalink
  • Menu padding cross-browser problem.

    I think I will create different classes with the apropiate padding for every browser. Then, I'll echo the menu items with the specific class according to the client's browser. Is that ok? I mean, is there an easier solution?
    Comment by AndrewPham October 2012 permalink
  • Menu padding cross-browser problem.

    That's because you don't have that custom font installed,and it goes back to arial,which looks ok,even in IE. The 'little padding problem' is caused by the brower's interpretation. In IE, to make the link's background b…
    Comment by AndrewPham October 2012 permalink
  • Menu padding cross-browser problem.

    Applied. Nothing (besides position) changed...
    Comment by AndrewPham October 2012 permalink
  • Menu padding cross-browser problem.

    Codepen has a preview feature. If opened in IE or Firefox, the list items are positioned a bit differently, with a delay of some pixels. I just thought that it is caused by the padding properties. But whose base size are you talking about? And how c…
    Comment by AndrewPham October 2012 permalink