Jump to content

sadavied

New Members
  • Posts

    5
  • Joined

  • Last visited

    Never

Everything posted by sadavied

  1. NEED INFO: 1) Server OS? 2) root (administrator) access? Need other info based on the above answers.
  2. 1) Save that code to a file named 'simple_image.php' (recommend in an 'includes' directory) 2) either include or require_once that file in the script you want to use it in 3) create an instance of the SimpleImage class 4) use the member functions of the class to resize the image
  3. That is saying "append everything between ' and ' to the variable named head". Somewhere in the page that 'head' variable is probably echo'd (in the <body> tag, most likely).
  4. I would contact the host. I don't see why they wouldn't install PHP. It's a pretty standard web language. Maybe it's installed but the server isn't configured right? Depending on the platform you have to set it up a little differently. I've installed it on both Linux and Windows servers. It's very easy on Linux, but a little more involved on Windows (but there are plenty of tutorials on the web to do this). Point is, contact the host and ask. Chances are they will do it with no problems and no charge.
  5. Here's how I solved it: select concat(Name,' is from ',upper(Location),'. The ASCII character of the number ',Number,' is ',ascii(Number),'.') as Result from people; Output: +-------------------------------------------------------------------+ | Result | +-------------------------------------------------------------------+ | Bond is from LONDON. The ASCII character of the number 50 is 53. | | Tom is from IRELAND. The ASCII character of the number 100 is 49. | +-------------------------------------------------------------------+ 2 rows in set (0.00 sec)
×
×
  • 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.