removing space from the end of a variable


Posted on 16th Feb 2014 07:03 pm by admin

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
Code: 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
Did you know?Explore Trending and Topic pages for more stories like this.
how can i remove this space?
No comments posted yet

Your Answer:

Login to answer
93 Like 23 Dislike
Previous forums Next forums
Other forums

LOOPing Problem
Hello All!

The following code loops through the data and displays the data accordingly. My p

Displaying Column Names
I have a question regarding the ability to show the column names from my table/query.
What I'm lo

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

phpMailer will not connect using SMTP
I am trying to use phpMailer with smtp:

Code: [Select]$mailer = new PHPMailer();
$mailer-&

Php WordPress help
I am writing the following code for making a plugin

<?php
header("Content-Type

Pipe email to PHP - get mail adress from MySQL - send?
Hi all,

this is the challenge:

1) Our faculty at the college where I'm employed includ

Transform value 0 in no and 1 in yes help needed
Hello,
I have this in the table: "value" type int 0 to represent false and 1 to represe

=> and <=
So I was digging through some code when I came across the <= operator. This is the first tim

Bar charts using Graphical Framework.
I am using Graphical Frameworks(GFW) to create a chart Graphic . There is no problem with the data d

Deleting pointers froms vector?
Hi. I have a vector filled with pointers and I want to delete the pointers. I could do a loop and do

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash