Jump to content

removing space from the end of a variable


patawic

Recommended Posts

i have a variable $image which contains the following url "http://tiles.xbox.com/tiles/oo/P5/0mdsb2JgbA9ECgR8GgMfWSpVL2ljb24vMC84MDAwIAABAAAAAP3Wg70=.jpg"

 

but for some reason it is breaking my code by adding a space to the end of the url

Warning: imagecreatefromjpeg(http://tiles.xbox.com/tiles/oo/P5/0mdsb2JgbA9ECgR8GgMfWSpVL2ljb24vMC84MDAwIAABAAAAAP3Wg70=.jpg ) [function.imagecreatefromjpeg]: failed to open stream: HTTP request failed! HTTP/1.0 404 Not Found in /home/wutwillu/public_html/xbox/nxe/image.php on line 32

 

how can i remove this space?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.