Your IP is...

really not impressive at all.

not to pick on adamant as ive apparently done in the past but its not "abusing" server side programming. i couldnt tell you a thing about asp or jsp, but php has specific variables which are used to store things like your ip anyway. isp detection is generally not very accurate...ever. theres browser detection methods built into client side languages (ie javascript) so thats no big boner either.

the most accurate things like this ive come across and generated using a java applet.

/long spam post :sad3:
 
php has several image libraries which allow you to create and to a certain extent edit images. you can then change the mime type of the data being rendered in the browser. thus you can have an image with a php extension. you can do this with php. you cannot do it with javascript. you can detect browsers with both php and javascript.

i hope that clears things up, my good pal adamant who ive not had the pleasure of chatting with for a while now.
 
of course you cant write php inside a jpeg.

you can however write a php file which loads an image (of any type depending on the image library), or in fact creates an image on the server (which can be saved) or destroyed once the browser has rendered it. when the image is loaded text can be added in different fonts, sizes and positions. the mime type is then changed to suit the image type (obviously) and the browser will display the image.

i've demonstrated this quite a few times. that image is a perfect example of the exact same thing. php is very capable of doing this. browsers generally dont care about file extensions when it comes to this. they care about mime type which in a desktop environment is set by the extension. though that particular image has a php extension it is a png. it could just as easily be a jpeg if it didnt need transparent areas.

(apologies if ive got the wrong end of the stick here but it seemed as though you were trying to get a rise out of me)

:wacky:
 
its just javascript and xml or json...thats getting a bit more popular now though technically speaking ajax isnt ajax if youre not using xml because its "asynchronous javascript and xml". its just used to make web applications...well better :wacky: the shoutbox for instance would use ajax and php (probably). php for access to the database where shouts are stored/created/deleted and javascript to interpret the xml generated by the php script in order to display them as shouts.

/bow

you can rip me to pieces if i got any of that wrong, adamant.
 
is there something particularly complicated about the statement that "you can't open a legitimate .jpg file and expect it to run PHP"

is it hard to accept that the only reason he was able to do this was through an archaic browser exploit that named a directory ".jpg" and stuffed a .php image inside

is there some lack of communication here, just trying to understand where you're coming from
 
i did apologise at the end of my post adam :sad3:

i didnt think that was even part of the argument. it seems as though since ive explained that you can load, edit and display images using php youve changed the argument to "thats not a real jpeg file" well youve just showed me it isnt but more importantly it isnt a jpeg because its a png.

i explained in full since we have a history of this tit for tat "i know more than you" rubbish. it wasnt an attempt to make you look stupid.

i know through a little bit of tweaking you can set a server to parse html files as php allowing you to have a .htm/.html file contain php script so it might be possible to do it with image files. who knows. perhaps something for you to look into.

thank you, once again, for your kind hearted hostility.(L)

also as a side note, you used the term "legitimate" there. your browser accepts that image as a legitimate png because thats what it is.
 
Back
Top