Jump to content

Maq

Administrators
  • Posts

    9,363
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by Maq

  1. I agree but IE is getting better...
  2. Try changing: echo("CMD:" . $_POST['cmd']); $str = " </pre> <form method="post" action=".%20%24_SERVER%5B'PHP_SELF'%5D%20.%20">"; < You should probably keep the names of your submit button and your image different, I'm not sure if it will make a difference.
  3. If you're not using regex for finding a specific string then you should always use str_replace().
  4. Where...?
  5. Can we see your current code?
  6. I was going to guess what he meant but then I really thought about it and don't have the faintest idea.
  7. I've noticed that too. Not sure if there's a setting on FileZilla or a server setting to disconnect you after a certain period of time...
  8. Actor usually means male...
  9. Sure. All I did was type, "zend framework example" in Google and voila! You have yourself thousands of examples
  10. Maq

    Newbie

    Try tizag.com or w3schools.com. They are both great websites to learn the basics and will teach you the correct way to do things. You should also try some of the tutorials on phpfreaks.
  11. Sometimes it's helpful to read about the functions on php.net. This is what it says about str_replace():
  12. Thanks for the link I always struggle with my color choices. I'm not very artistic either...
  13. Like I said, I learned Java first which is why I'm accustomed to naming variables, functions etc. the way I do. I guess it has a lot to do with what language you learn first because most of them have their conventional ways of naming. If you learn PHP first then I guess you just make up your own...
  14. You would probably want to use the get method. Whatever you use, radio box, links etc... you could either post to itself or use the get method and pass through the url. For example get you would use: SELECT * FROM downloads WHERE category = $_GET['game_category'];
  15. Not sure if this is what you want but you could use a try block in a while loop and if it fails re-run the script in the exception.
  16. Sorry could you elaborate, what's the exact error? Are you in the same directory you're calling this page from?
  17. profile
  18. Let me get this right you want to actually display the word from the corresponding number? Then use this: echo "Month '$i' is: " . date( "F" , mktime( 0 , 0 , 0 , $month_no ) );
  19. Read this: Zend Tutorial
  20. To print out an array you should use the print_r() function. Put this in before the foreach loop: print_r ($fields);
  21. Best way to understand this is to make 2 scripts and test it out yourself.. Just use CV's example. This is a basic PHP method of passing data to another page.
  22. Nice, let us know how it goes.
  23. I think you mean williamZanelli, not me.
×
×
  • 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.