jjmusicpro Posted August 6, 2008 Share Posted August 6, 2008 does anyone know what causes this? maybe something in my php.ini? imagesticky dot com is the website i had this script working on my VPS, then i moved it to my dedicated server and i get a bunc of jibberish. Quote Link to comment Share on other sites More sharing options...
ratcateme Posted August 6, 2008 Share Posted August 6, 2008 are you trying to display an image?? Scott. Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 6, 2008 Author Share Posted August 6, 2008 its a basic image hosting script i can go through the install fine on my VPS but with i try to install it on My dedicated server, it does that.. so im thinking its something in my php.ini i think there are images on the main page of the install... Quote Link to comment Share on other sites More sharing options...
ratcateme Posted August 6, 2008 Share Posted August 6, 2008 try to add this line to the top of your page header('Content-type: image/jpeg'); change jpeg to what ever type of image you are displaying Scott. Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 6, 2008 Author Share Posted August 6, 2008 what do i put that in the body of the index.php file? or just create a new file and put that in the head? Quote Link to comment Share on other sites More sharing options...
ratcateme Posted August 6, 2008 Share Posted August 6, 2008 after the first opening <?php tag put it so your file look's like <?php //first line header('Content-type: image/jpeg'); //second line //rest of file Scott. Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 6, 2008 Author Share Posted August 6, 2008 OMG that worked why did i have to do that? now that only works on the index.php page, do i have to put this on ALL My pages? Quote Link to comment Share on other sites More sharing options...
ratcateme Posted August 6, 2008 Share Posted August 6, 2008 are you sure that worked when i go to your site i don't get a web site all i is a blank page. can you post some of your code so i can see what is happening? Scott. Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 7, 2008 Author Share Posted August 7, 2008 i installed this free image hosting script http://www.mihalism.org/ i know it works Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 7, 2008 Author Share Posted August 7, 2008 anyone? Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 7, 2008 Author Share Posted August 7, 2008 paying $25.00 to anyone who can figure this out... this is a prepackaged script, and works on other servers instead of mine, i think its something to do with php.ini Quote Link to comment Share on other sites More sharing options...
jjmusicpro Posted August 7, 2008 Author Share Posted August 7, 2008 thi sis what comes up ‹¬VëOÜ8ÿ Å4ZØdUmaw«òæD¹Ð£×/+'™M Ž³}HýãolÈ"úîöÃ:Ï{~3öàÕÑŸ‡7¡´•€ñ—ƒ‹óCˆzIr»{˜$G7GðõìæólÇ}¸¶šg6IŽ/#ˆJkë½$™Ïçñ|7VºHn®’~'¹:>ì-œºížÛ÷ß÷·¢¤¥¯%ÎmÖÞì¢Ò _P¹ýáÇ AÎõ0VG ˜,†Ê^‘FNv¯Kp:‘å´Th8=ü§á³at¨¤Ei{7Ë#ÈÂnY\ØÄÙ؇¬dÚ ~¹9é½ ù™–k»ø¢®Ì˜_È^à +º’m8/ŠñŠxR"eº#"Uà·Ü Kc™Ìr%áÊIjÌI8l•JVá0ºÇå\éÜtTy P*c¹,¶`e õŒg¸U#,¯Â3öF ^q‹9¤LæsžÛr Èì~•³^ð$G“i^;—;Î7À$ 3Ëçž(Ñøø¦JÎP/•Ä8¨M™!FÓ yyÎî—q¦ª$ð .ï[^*Vb\)c_6bù½)m– Ük…9gÄ’iDÙÑK¥mÖXà™‹èÉBp#™²™;‰é/ˆ†ð»FîØŒjFg+ÁJ„9&™XRHÆGÔè¬ä2¾3ÑhÉßSl‰bÂe&*DR ¼ Ï•%mG¥*_B&˜¡f) I†BPÇ r>{8ªPÑèµLM½?HèàÙ¹d³I…²qrkƒF¸er8°6a\済벎FgªÂAÂÈbxqªßG–Ù!KUc' yþÉ}Á󛂺¡bG£Ô•5…ë÷KÔf½àá¸IÏà4Ð~,äÐMÖN¹À‰Æš®ü ŸÒÆü4Ü6/s5ÑÔiªZÝ Éû œ;”uå‰ÏïKe¨°JQ›‰)ÞÔÚÊqÑP×L²M{|‹‚à†pêN„M¶¨k«ååyÛ›®Y£•nõ”Ñúú³RWhL8^P”4|ç˜çP2K¤)¢ ¥¡.Ìc tÓÖç:øô ¡/JÔŠNØaŸËÝ7ï\SqðüE|z§JQÌ€c5'tÃ,Ÿ vFã©Z¸.š*ÁU˜õ£?‰ZÀ˜è'Ž°Þ)ÿÊ(¨5Ÿ±l9©‰7£\ÞäÝþ >?ìêvïÇÐaønQ°úª×ƒOyî³| Ô}Åô=4ÖÒvp|z~ ½žoÜŸÎoÇÀrºg¹™4Zý† TÒê|Û'Ò ›8¶\e `{Êþ3¶ºIƒ¶(¤4rŠ<ÏÓ…ð+ÿV..ó.nuû¢Ü™äÁ=èYãs7nït¯œ_¤êøò¨MÔw»Â_çf|t©,œ? uð§ñ7H\øëŒ{´: X}æ%ÜTðÙ=sàŒÞЃCU/µëDØÈ6´ï¶ÜÿûGö-2—Å°áPXµ4é¦óð_ÿÿ ŽPÄ` Quote Link to comment Share on other sites More sharing options...
ratcateme Posted August 7, 2008 Share Posted August 7, 2008 i tired to download that script but it wants me to register and stuff can you just post a sample from the index.php file and is the page that it use to output a html page or a image. the current image looks like an image but when i tried to put it into imagecreatefromstring() it didn't work suggesting it is not a image but some kind of encoded text. Scott. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.