Re: embedded image?
am 06.04.2008 15:32:08 von salmanjavaheri
On 26 Mar, 02:02, Jerry Stuckle wrote:
> salmanjavah...@yahoo.co.uk wrote:
> > On 25 Mar, 21:39, Jerry Stuckle wrote:
> >> salmanjavah...@yahoo.co.uk wrote:
> >>> On 25 Mar, 17:02, Jerry Stuckle wrote:
> >>>> salmanjavah...@yahoo.co.uk wrote:
> >>>>> On Mar 23, 10:58 am, salmanjavah...@yahoo.co.uk wrote:
> >>>>>> On Mar 20, 11:16 am, Wiktor Walc wrote:
> >>>>>>> salmanjavah...@yahoo.co.uk pisze:
> >>>>>>>> Hi we have a piece of php based (i think) software that exports t=
o an
> >>>>>>>> rtf file, these files contain an image, this image makes the rtfs=
too
> >>>>>>>> large...
> >>>>>>>> The php file in question starts like this
> >>>>>>>>
> >>>>>>>> $rtf_image1 =3D "5cca52c0fb153400d
> >>>>>>> Try this function and save the result to a file:
> >>>>>>>
> >>>>>>> $result =3D base64_decode($rtf_image1);
> >>>>>>> ?>
> >>>>>>> (take a look in the source code, perhaps it is used there, I just =
guess
> >>>>>>> that image has been encoded with base64_encode)
> >>>>>>> --
> >>>>>>> CKFinder :: ajax web file browserhttp://www.ckfinder.com
> >>>>>> have tried that function to no avail...what else could it be?- Hide=
quoted text -
> >>>>>> - Show quoted text -
> >>>>> Basically what happens is it takes a while for the page to load, and=
> >>>>> then it is just a blank page, have used the echo function to display=
> >>>>> the variable decoded. it does display something when i cut down the
> >>>>> code though, is it possible that it can't handle the amount of code
> >>>>> there is?
> >>>> What do you see when you display the page source in your browser? =A0=
Is it
> >>>> possible you're getting a timeout?
> >>>> --
> >>>> ==================
> >>>> Remove the "x" from my email address
> >>>> Jerry Stuckle
> >>>> JDS Computer Training Corp.
> >>>> jstuck...@attglobal.net
> >>>> ==================- Hide quoted t=
ext -
> >>>> - Show quoted text -
> >>> the source code is completely blank
> >> Then I suspect you have a syntax error in your code. =A0Ensure you have=
> >> these in your php.ini file:
>
> >> error_reporting=3DE_ALL
> >> display_errors=3Don
>
> >> That will display any errors you might have.
>
> >> --
> >> ==================
> >> Remove the "x" from my email address
> >> Jerry Stuckle
> >> JDS Computer Training Corp.
> >> jstuck...@attglobal.net
> >> ==================- Hide quoted tex=
t -
>
> >> - Show quoted text -
>
> > it is currently set to
> > error_reporting =3D E_ALL & ~E_NOTICE & ~E_STRICT
> > and
> > display_errors =3D on
>
> > but still nothing in the source code :(
>
> I would check that. =A0What does phpinfo() say?
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================- Hide quoted text -=
>
> - Show quoted text -
I have just had a closer look at the $rtf_image1 variable and there
are bits that are not so seemingly random, for instance
{\\nonshppict
{\pict
\picscalex16\picscaley16\piccropl0\piccropr0\piccropt0\piccr opb0\picw30771\p=
ich12144\picwgoal17445\pichgoal6885\wmetafile8\bliptag-15101 04784\blipupi96{=
\*
\blipuid a5fda1307ee82033d2d3fc13c6e4ef09}
and
{\\nonshppict
{\pict
\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\pic cropb0\picw2120\=
pich2108\picwgoal1202\pichgoal1195\wmetafile8\bliptag1556763 328\blipupi200{\=
*
\blipuid 5cca52c0fb153400d9ec103ffae2d73f}
appears within this variable
any ideas?
Re: embedded image?
am 06.04.2008 16:29:25 von Hans-Peter Sauer
> Again - what does phpinfo say about your error settings?
>
If you are going to quote 100 lines of text to give a one line reply -
do you think you could start to top post your replys .
--
www.krustov.co.uk
Re: embedded image?
am 06.04.2008 17:13:45 von Jerry Stuckle
salmanjavaheri@yahoo.co.uk wrote:
> On 26 Mar, 02:02, Jerry Stuckle wrote:
>> salmanjavah...@yahoo.co.uk wrote:
>>> On 25 Mar, 21:39, Jerry Stuckle wrote:
>>>> salmanjavah...@yahoo.co.uk wrote:
>>>>> On 25 Mar, 17:02, Jerry Stuckle wrote:
>>>>>> salmanjavah...@yahoo.co.uk wrote:
>>>>>>> On Mar 23, 10:58 am, salmanjavah...@yahoo.co.uk wrote:
>>>>>>>> On Mar 20, 11:16 am, Wiktor Walc wrote:
>>>>>>>>> salmanjavah...@yahoo.co.uk pisze:
>>>>>>>>>> Hi we have a piece of php based (i think) software that exports to an
>>>>>>>>>> rtf file, these files contain an image, this image makes the rtfs too
>>>>>>>>>> large...
>>>>>>>>>> The php file in question starts like this
>>>>>>>>>>
>>>>>>>>>> $rtf_image1 = "5cca52c0fb153400d
>>>>>>>>> Try this function and save the result to a file:
>>>>>>>>>
>>>>>>>>> $result = base64_decode($rtf_image1);
>>>>>>>>> ?>
>>>>>>>>> (take a look in the source code, perhaps it is used there, I just guess
>>>>>>>>> that image has been encoded with base64_encode)
>>>>>>>>> --
>>>>>>>>> CKFinder :: ajax web file browserhttp://www.ckfinder.com
>>>>>>>> have tried that function to no avail...what else could it be?- Hide quoted text -
>>>>>>>> - Show quoted text -
>>>>>>> Basically what happens is it takes a while for the page to load, and
>>>>>>> then it is just a blank page, have used the echo function to display
>>>>>>> the variable decoded. it does display something when i cut down the
>>>>>>> code though, is it possible that it can't handle the amount of code
>>>>>>> there is?
>>>>>> What do you see when you display the page source in your browser? Is it
>>>>>> possible you're getting a timeout?
>>>>>> --
>>>>>> ==================
>>>>>> Remove the "x" from my email address
>>>>>> Jerry Stuckle
>>>>>> JDS Computer Training Corp.
>>>>>> jstuck...@attglobal.net
>>>>>> ==================- Hide quoted text -
>>>>>> - Show quoted text -
>>>>> the source code is completely blank
>>>> Then I suspect you have a syntax error in your code. Ensure you have
>>>> these in your php.ini file:
>>>> error_reporting=E_ALL
>>>> display_errors=on
>>>> That will display any errors you might have.
>>>> --
>>>> ==================
>>>> Remove the "x" from my email address
>>>> Jerry Stuckle
>>>> JDS Computer Training Corp.
>>>> jstuck...@attglobal.net
>>>> ==================- Hide quoted text -
>>>> - Show quoted text -
>>> it is currently set to
>>> error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
>>> and
>>> display_errors = on
>>> but still nothing in the source code :(
>> I would check that. What does phpinfo() say?
>>
>> --
>> ==================
>> Remove the "x" from my email address
>> Jerry Stuckle
>> JDS Computer Training Corp.
>> jstuck...@attglobal.net
>> ==================- Hide quoted text -
>>
>> - Show quoted text -
>
>
> I have just had a closer look at the $rtf_image1 variable and there
> are bits that are not so seemingly random, for instance
> {\\nonshppict
> {\pict
> \picscalex16\picscaley16\piccropl0\piccropr0\piccropt0\piccr opb0\picw30771\pich12144\picwgoal17445\pichgoal6885\wmetafil e8\bliptag-1510104784\blipupi96{\*
> \blipuid a5fda1307ee82033d2d3fc13c6e4ef09}
>
> and
>
> {\\nonshppict
> {\pict
> \picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\pic cropb0\picw2120\pich2108\picwgoal1202\pichgoal1195\wmetafile 8\bliptag1556763328\blipupi200{\*
> \blipuid 5cca52c0fb153400d9ec103ffae2d73f}
>
> appears within this variable
>
> any ideas?
>
Again - what does phpinfo say about your error settings?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: embedded image?
am 06.04.2008 21:03:49 von piotr
Jerry Stuckle wrote:
>> If you are going to quote 100 lines of text to give a one line reply -
>> do you think you could start to top post your replys .
>>
>>
>
> And if you're going to give useless responses - just don't.
>
> But then you wouldn't have anything to say.
>
It was a *good* advice. by cutting the quoted text just to what is
relevant, you are helping others to read your posts.
best regards
Piotr
Re: embedded image?
am 06.04.2008 21:08:18 von Jerry Stuckle
Krustov wrote:
>
>
>
>
>
>> Again - what does phpinfo say about your error settings?
>>
>
> If you are going to quote 100 lines of text to give a one line reply -
> do you think you could start to top post your replys .
>
>
And if you're going to give useless responses - just don't.
But then you wouldn't have anything to say.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Re: embedded image?
am 06.04.2008 22:43:06 von Jerry Stuckle
Piotr wrote:
> Jerry Stuckle wrote:
>>> If you are going to quote 100 lines of text to give a one line reply -
>>> do you think you could start to top post your replys .
>>>
>>>
>> And if you're going to give useless responses - just don't.
>>
>> But then you wouldn't have anything to say.
>>
>
> It was a *good* advice. by cutting the quoted text just to what is
> relevant, you are helping others to read your posts.
>
> best regards
> Piotr
>
It was noise. But that's any of his posts, anyway.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================