altrock182182
New Member
- Messages
- 40
- Reaction score
- 0
- Points
- 0
I have a PHP script that looks something like this:
It's hitting the memory limit... I'm guessing it's around 33 megs, which i can't see how my first thumbnail is hitting that in a single script. All I can see to do is load it in my personal server and then upload the thumb to the fileserver (kills the whole point of the script).
I'm also considering upgrading to the corporate hosting plan soon, would that make any difference in the memory limit? After a thumbnail is generated once it is cached, so it would rarely need to go above what it is now.
I highly doubt this would be grounds for an advanced php config, so I'm not going to bother asking about that.. but would a paid account help this?
PHP:
if (thumbnail exists)
{output path to thumbnail}
else
{create thumbnail
output path to thumbnail}
It's hitting the memory limit... I'm guessing it's around 33 megs, which i can't see how my first thumbnail is hitting that in a single script. All I can see to do is load it in my personal server and then upload the thumb to the fileserver (kills the whole point of the script).
I'm also considering upgrading to the corporate hosting plan soon, would that make any difference in the memory limit? After a thumbnail is generated once it is cached, so it would rarely need to go above what it is now.
I highly doubt this would be grounds for an advanced php config, so I'm not going to bother asking about that.. but would a paid account help this?