Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Your going to need to be clearer with your description. You can write a script that calles getimagesize() and then call that script from the shell. But getimagesize() isn't a shell commend so it cannot be called directly.
  2. You really need to read my previous reply again. Your entire logic is floored. Why are you using JavaScript to hide the divs when you can simply not send them to the client using php. I meen really, this logic is terrible.
  3. That is not the html source, or if it is, it has php in it. Looking at that code I can see that your not calling the javascript functions within <script></script> tags. You do understand that PHP is processed server side long before your markup is displayed (and javascript executed) client side. Why don't you just wrap your divs in an if statement and not produce them if you don't need them? Your approach really makes little sense.
  4. As I'm sure you can tell from the description, it's not exactly a simple problem and would require more code than I am prepared to provide. Iv'e described the solution pretty well, all you need do is put it together. Do you know how to insert data into and read data from a database? If not, I would start there.
  5. No where in that code do you call any of the functions declared.
  6. From a PHP perspective, fckeditor is no different to a normal form.
  7. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=357013.0
  8. When the button is clicked you will need to store a timstamp in a database. Before displaying it again, you will need to check this timestamp to see if it is set within the timeframe you want. If it's not, you can display the button.
  9. echo'ing your data using php or hard coding it makes no difference to the browser. What does "view source" show as your markup?
  10. That code should work (besides short open tags maybe not being enabled), what is the issue?
  11. This will explain how to use forms with php, while this will show you how to write to files.
  12. This topic has been moved to PHP Coding Help. http://www.phpfreaks.com/forums/index.php?topic=357033.0
  13. Obviously not. I would search the project for the definition, then include whatever file it's in where it is needed.
  14. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=357017.0
  15. This topic has been moved to mod_rewrite. http://www.phpfreaks.com/forums/index.php?topic=357025.0
  16. Just set the QSA (query string append) flags.
  17. This topic has been moved to Third Party PHP Scripts. http://www.phpfreaks.com/forums/index.php?topic=357026.0
  18. cleanSameArg2 is not a built in PHP function, have you defined it somewhere and included it so it can be used?
  19. Have you looked at mysqli_error so you can get a proper error message?
  20. This topic has been moved to HTML Help. http://www.phpfreaks.com/forums/index.php?topic=356942.0
  21. This topic has been moved to Other Libraries and Frameworks. http://www.phpfreaks.com/forums/index.php?topic=356960.0
  22. You are doing nothing to prevent that from happening.
×
×
  • 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.