Jump to content

Ahhhk

New Members
  • Posts

    9
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

Ahhhk's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Have I said lately that....I love you guys!!
  2. Ok, here's a summary of all the ways Ive tried to get the image in the doc. The only one that works is the only one I dont want to use: <img src="show_image.php?key=ABCDEFG" height="120" width="120" /> This works correctly but shows the show_image call in the image properties (path) <img src="<? $imager->show_image("ABCDEFG"); ?>" height="120" width="120" /> Outputs the non-MIME image data dump <?php echo "<img src=\"".$imager->show_image("ABCDEFG")."\" height=\"120\" width=\"120\" />"; ?> Outputs the non-MIME image data dump <img src="<?php include 'https://www.domain.com/show_image.php?key=ABCDEFG' ?>" height="120" width="120" /> Outputs the non-MIME image data dump Help!
  3. Might there be a way to set the mime type for the image (with an HTML doc) with output buffering? There's got to be a way to do this....right?
  4. btherl, Thanks for the reply. Im not trying to hide the image - I'm trying to keep people and/or bots from slamming the image generation script (which is quite resource intensive). What Im really hoping for is another way to insert a GD-generated image into HTML output that doesn't require calling a URL like I'm doing. Doing it via the function call would have been great since that doesnt expose anything. The problem with it is that since I cant sent the mime type for just the image in an html doc, it outputs a raw dump. Ahhhk!
  5. Hi all! Im creating an image via GD and the only way I've found to insert it in an HTML output is to call a script within the img src and pass the params like so: <img src="show_image.php?key=ABCDEFG" height="120" width="120" /> But, when viewing the properties of the image, it shows the filename as "../show_image.php?key=ABCDEFG".....obviously. Now, is there anyway to hide that path/params so it wont be so easy for someone to see the path and call it directly? Or is there some other way to insert a GD generated image without showing a URL? I tried inserting the image by via a function call in the img src instead - src="<? $imager->show_image("ABCDEFG"); ?>" - but that just did a raw dump of the image data. I need the image in an img tag so I can size it (differently than how it's generated) on the front end. Any help would be greatly appreciated!! Ahhhk!
  6. Oh, to clarify: upload_max_filesize post_max_size max_execution_time max_input_time are all set WELL above whats needed for the upload. Anybody?
  7. Im having a problem with a PHP 4.4.4 script on Apache 1.3.x It's basically a PHP upload, that when the upload is complete it converts the file (video) via an exec() call to mencoder. After the return from the conversion, it reposts to itself and checks if the file exists and says it was sucessful (or not). But, during the conversion of a large file (50-100 megs +), is when it freaks out and actually sends the upload.php file (as in prompts to DL) instead of parsing it when it reposts to itself. Smaller files (< 50 megs) work perfectly. Now, this to me seems like a timeout issue. But, I have the PHP max exec time site plenty high as well as the Apache timeout and the max upload to well over 100 megs. Any ideas anyone? On a related note, during a PHP exec(), does the PHP execution time apply or would it then be the Apache timeout? And, if it is the Apache timeout at that point, does the PHP max execution time reset or continue counting as well? Any help would be appreciated! Thanks. Ahhhk!
×
×
  • 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.