Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Best thread ever. Your not telling cron to use php to execute your script. Its trying to use Bash to execute it and that will never work. Having said that. Why are you even using php for this? It's a couple of simple sql queries.
  2. Why are you executing mysql_query once, then passing the results of that query back to mysql_query and executing that? Have you got error reporting enabled? That second call to mysql_query should error because mysql_query expects a string.
  3. "no" is a string, strings need to be surrounded by quotes in sql. You also need to sanitise your input or you are leaving your code vulnerable to attack.
  4. Your obviously under a rock somewhere. Laravel 4 has been making waves since it's release and the community is only getting stronger.
  5. class Foo { public function bar($input) { // do something with $input } } $foo = new Foo(); $foo->bar($_POST['whatever']);
  6. I would suggest that whatever user the scheduled task runs as does not have permission to see these drives.
  7. You shouldn't be accessing globals within a class. You need to pass whatever data is required by your methods in as arguments. ps: Failing to use the boards syntax highlighter or any indentation makes my eyes bleed.
  8. On a side note. You don't just convert procedural code to class based code and call it OOP. It's not. OOP is a complete paradigm, you can't simply "convert" to it.
  9. trq

    got Php?

    Yeah, clear as mud. Your question is?
  10. I'm not sure where people get the idea that query strings are no good for seo.
  11. Dreamweaver is a text editor. You type code into it, and the server then executes that code.
  12. No one is going to write the code for you. I think you misunderstand the point of a help forum.
  13. Dreamweaver is a text editor, it does not have a database.
  14. xdebug works fine with >= php5.3, Im not sure what your issue is.
  15. Laravel feels like a toy compared to Symfony. I don't mind it, but Symfony is definitely my preferred option.
  16. If you know PHP very well why don't you write some code yourself?
  17. Your problem is as clear as mud.
  18. If the guid is being trimmed from the URL there isn't much you can do.
  19. It doesn't really make any difference. The process is the same, files and things might just be in different locations.
  20. Proem is dead, but I've only used Laravel for a few projects. I'm still mostly working with Symfony.
×
×
  • 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.