Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=340800.0
  2. You have the string 'pass' in your query, not the variable $pass.
  3. This post should explain the theory. Just imagine however that the index.php referred to is your page which lists all your articles and then the profiles.php page is article.php used to display an individual article. You could even further optimize this setup using mod_rewrite so that your articles still use links such as using_mod_rewrite_automate_things.php. You would need however to pass the article title through the url instead of a simple id.
  4. This topic has been moved to MySQL Help. http://www.phpfreaks.com/forums/index.php?topic=340794.0
  5. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=340777.0
  6. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=340802.0
  7. This topic has been moved to Miscellaneous. http://www.phpfreaks.com/forums/index.php?topic=340798.0
  8. Apache already logs all http activity. Why reinvent the wheel?
  9. If you are hashing the passwords properly you wont be able to read them at all.
  10. 19 - 20 is nothing. We have applications where I work that make literally hundreds without issue.
  11. I guess my only real suggestion would be to learn jQuery and figure this out. This is the biggest problem with using third party code you know nothing about - you know nothing about it.
  12. Well you can't load two different version of jQuery. Not easily anyway. What version of jQuery do both these (I assume plugins) rely upon?
  13. This topic has been moved to PHP Applications. http://www.phpfreaks.com/forums/index.php?topic=340722.0
  14. So, assuming jquery-1.5.2.min.js also contains jQuery, why are you trying to load two different versions of the same library? Just use jquery-1.5.2.min.js.
  15. You could write code in any server-side language to do this. Facebook uses PHP for allot of it's stuff, I wouldn't know what there comment engine is written in but I think allot of there real time stuff is node.js these days. Ajax is NOT a language.
  16. If the list of images you want is in a database then your definitely going to need to use a server side language such as php. Doing this in php lone means however that every click would refresh the entire page. The other option is to use PHP combined with JavaScript to create an Ajax driven slideshow. For this, you have client side code that when a user clicks next makes a background request back to the server, php then looks up the next image and send this data back to JavaScript. The other option of course is to simply dump all your data into a JavaScript array when the page is created (by PHP) and then use JavaScript to do the entire thing. None of these options are particularly difficult if you know the technologies involved.
  17. I think what he's talking about is the actual slideshow effect. Where either the pictures move fluidly in a right-to-left motion or it moves upon a mouse event. These types of UI can only be done with, yes, the cursed javascript. Unless of course you make it in Flash or Java. I really should stop assuming that everyone knows the difference between what is done server-side and what needs to be done client-side.
  18. Yeah, but on another note: if ($help) { header("location: http://yoursite.com/help/index.php"); } will do.
  19. A1: Yes A2: Yes A3: Yes & No. The location header expects a complete url (domain and all). While it will usually work without it, it's always best to use it.
  20. Your basically looking for a technique called pagination. We have a tutorial on our site that covers this subject. http://www.phpfreaks.com/tutorial/basic-pagination
  21. trq

    Thumbnail

    I suggest you store the appropriate link to the appropriate page and use that.
  22. trq

    Thumbnail

    Your using a link to youtube. How exactly do you expect that to work?
  23. Notice how I edited your original post to use syntax highlighting? Please use the tags when posting code.
×
×
  • 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.