TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
Advertisement
Associates
Associates
techtuts Darkmindz
CSS Tutorials Tutorialsphere.com - Free Online Tutorials
Boston PHP SurfnLearn
Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 08-23-2008, 12:01 AM   #1 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 824
Thanks: 163
Orc is on a distinguished road
Default How do I prevent imagejpeg | imagepng | imagegif from returning?

It returns automatically, how do I stop it from returning?
__________________
Wax on, Wax off
Orc is offline  
Reply With Quote
Old 08-23-2008, 12:44 AM   #2 (permalink)
The Gregarious
 
delayedinsanity's Avatar
 
Join Date: Mar 2008
Location: Cana'derr
Posts: 653
Thanks: 24
delayedinsanity is on a distinguished road
Default

Omit it till it's necessary? What are you trying to do? As I'm sure you know it either saves to a file, or returns the raw stream. If you need to do something further with the outputted image, perhaps you can save it to a temporary location, reopen it when you need and continue on with the script?
-m
delayedinsanity is offline  
Reply With Quote
Old 08-23-2008, 01:06 AM   #3 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 824
Thanks: 163
Orc is on a distinguished road
Default

Quote:
Originally Posted by delayedinsanity View Post
Omit it till it's necessary? What are you trying to do? As I'm sure you know it either saves to a file, or returns the raw stream. If you need to do something further with the outputted image, perhaps you can save it to a temporary location, reopen it when you need and continue on with the script?
-m
I was thinking about that, but I didn't think it would be a good idea to just create a new file with it in there and then go through that files data. :P
__________________
Wax on, Wax off
Orc is offline  
Reply With Quote
Old 08-23-2008, 04:23 AM   #4 (permalink)
The Addict
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 247
Thanks: 6
Kalle is on a distinguished road
Default

Im not sure I understand the question fully. Could you explain it in a bit more details about what you're trying to do?
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote
Old 08-23-2008, 11:38 AM   #5 (permalink)
Orc
The Prestige
 
Orc's Avatar
 
Join Date: Dec 2007
Location: On your Hard Drive, hiding like a Virus
Posts: 824
Thanks: 163
Orc is on a distinguished road
Default

Nevermind, I found a way around my problem.
__________________
Wax on, Wax off
Orc is offline  
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:07 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0