andy's php projects
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
Script and site usage:
All of the scripts on this site are provided free for non-commerical, personal or non-profit use. If you find these scripts useful to you, appreciate the free support, or are just an all round nice person, then why not donate a little dosh? If you wish to use any of these in a commercial system, please refer to the payment plan.


does it work under php 5.0.2 ?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> User Quota
View previous topic :: View next topic  
Author Message
danliker
Newbie


Joined: 26 Oct 2004
Posts: 3

PostPosted: Tue Oct 26, 2004 7:15 am    Post subject: does it work under php 5.0.2 ? Reply with quote

i try to run your script on php 5.0.2

i always get an error:

/showgraph.php?quota=100&used=35&username=testuser&width=250

Code:

Warning: Cannot modify header information - headers already sent by (output started at /home/.sites/28/site1/web/test/class.userquota.php:340) in /home/.sites/28/site1/web/test/class.userquota.php on line 318
????JFIF?₫W?fx??ui?ư???.???_?????)???????#!`?ơ????N???8? p?₫+???ex:?J~?_?Ị???Ă?%????3Ă5z?X???!{K??K??????~??<71Gqm4WJ??? X?F?^9#,??tebcR????u??.đO????@?UĂ3?^Y???as?%?'P??̉@d?O??ă?'?:c?i???m?"?t??Z??I7??2???p??[?( I?&?X???eƠ??ưư?????z%8ỰƯ??n/MS|??ey?2ư?^Ă?~?R?SI]?́???qiN)7iE9?Q^q??y7?O\xo?O??A?kW+??.?????]???:???? ?h??u????2"??5=Ơ??????k??a??b? ?9₫?^6?u??7?w?? ??:??ZK??l?Y?r???@??C?K??g??5T???̉#?????'*?:u?,Lđ[x?ă?}???ZT??E$??ăka?I?t?J?x?/??????H,??r?X\?US??Ă<?| e???Ă?]:???bă(8??^???J?.\$̃*??tW??? U?D?Y?_₫Z?̣-đƠ_?Gư???E??"????:??D??9/?=}??ơ??R????8^?|Q???/????j??#₫???đ"???h???ư???????-????~??S??đ??????Đ??Y???G Ăo?????Eơ?x??.???,?i?%?? ?́??`?+$h?aS??????&U$`?4đƠ_?Gư???E??"?9???Kă??|+??0???Kia?j?:??Ă/???+i~???o,?5?Z??6??kR??mWMC??????_??}??K?Kư??G??l???̉>???̣}??^g???2O?̀?w??????O?~?c?O?đ?wB?l&;?s\Zx,jnT?Ă'????fX?sM?n&???̣?F?cN??OưO?+~??? &??R?đ?a??f?d????̀.?,^?9? ryF[?ĂT??]??uZ_???Ơh?*₫??Să????k̃;?%?<???[?Đ?xy/KGh-̣%?s5ơ?^]?8 <??+??̀?L?:???L??̀?,mYV?ă?Ơ?bqX??̃ukU??7kF)?F)F)E$?? ? ??[(?d7???I??????? C????đ?Ă??đ?J?m?I??Nr?I?NR?(???=p??o?ă?? ??_??Y?? ?.??????T1????ve(?I$??Eg!O???4?6????Z?yH.???=??₫S^?T?k?S??? Ap?4?̃?<₫?UĂ??w5?,???vuaIĂƯ??M^L<='U7f̉vv??c0?Uzơ??₫??s~?W??E?xjZ???i?????X?Z^?o-̃??jWpX??6??y?o/.??̃?̃??i8?v_???o?/w??\?~ ?mKTđ????ḷZ????C?5??c??ZZ]Ăox?]??a?tĐ&???????]??_?o?c????*Ơ??đ?R???' $??9d? ?????S??]R)ơ ??,=?V?̣₫????_?$??~.?Pđ??ă???M????k?????Eo?{?^???6̃<??f]F/?$??5?R?????_-,#??d?đ_?4}G????+l?kf?ƠTU)??̀WI5?1??(?m^?[t??J?gIV?:!???>0d~pVu???hP??????ĂNj??5? ??'?RM?U1?̉U\T? ,q̀K??Ăb*G???+ư??P(??đ_??i?=?Px"_?^đ???e?&??[,~+đ?́̉Z?.??]|??w???5??_??ĂV??,?{;?-??? ư?????g?W??₫?o?₫ [????A?t??M???Z?G?r,:?!{HZ _?????????iđ} ?[4Wf??iNJT?wNzĂ??[???N??d?,?̃? ?YW??j[???D?d?̉???????q??????????[?~? ??'?^???Sđ??k???ư?KƠ?l? ứR?????H?yđ??<]?)₫??O??Ă7;?O?x{[??Y??/n????V̉oh$?m?0???Q?O??nư??g??WĂ?₫ư ? |0?????̉l>%x'Ẵ/??~?V?}6?Sđ?̃?aw{?}j['0?????3X????Đ? R'?/?%????=>0??????S?e???n??G????|j?7w????̃Đ?o????ă??t?Õh??jĂ?i??mv??'?y???cp?đ8?X́^',&.??*?S?l=EQ??JJQ?7*o??>}5?(???>,?? ??dYFAư????[R>]C ux̉? 4Ă}j8hUx|6_?:5*?/kRu?đ9?~?????́u??C?^?@?₫H???????m?ă?? ????̣s?????<??????.?đg?@?d_??m?3 c?D?$Eăo???₫ ?{????????O+Z?s?)?ws ???\]E?G?Es??G??PĐ~??Z??-2ơ!?????sx?N???&?e|.`>????\?Ư??,? ??ơwmmmemoggo???[Z??E??ĐF?AooJ?C1"?Q??j????_??9&[??₫????Bi?nu?I+)V?+?mk?P??b?????Mă_s??q?u_4?R??`??0Ăe?m ??C.??(a????j???b\!????????9? Z1?cZR???b?m??I?́v???O?e??c??ư?????ă₫??????₫????F?0??Iđ??~???[₫?́???? ?#?????:??W?₫?ư??}?́s|đ?????đ????b??S??W?o???Gj_ ~/~??GđG??? ????3?B?7? >#₫Đ|A?????&????????????%???x8|'đ???|A???Y?[?O?? >%?????Qđ?ăĂ?|-?????=cD?????<9?xO????u #?G???ơ}CO₫?Đ?]3X??G??B??(.b??đ??? ?^(????lo???G??$?I???????a????m?wă??1?s|??́?????fO?₫o?>2^???̃"??ư??e?z?,?7?Cx??m??̃?j??_jv_ ?/?K?:??<9ăưC?????/???@|Đ<?O?????O?k???O?U?u?J?f???₫$j??_??h??T?'???_??>2Z?B?'?q?G?_J??đ?7??W\đ??-B??/?O|Dđ??}?o <?|??ăO????|Q????w?;???|ư?to?3?G???ox????)x??/?!?h?o?Mm??0?đ I?Ă~????ư?|9?|g????Ă₫ ??=₫Ơ ?i?_|%??~-ư?₫??/?_₫???gư?~)??Ă??> k~?~j????B??G????>đo?{??Z??8|G ??^0đo??%ă??̃)???? ?? _?gĂO?_đ?|@?k? +???|? ?????????L|9???₫??~?n???? ?h?ax?Ă????~#???Ư}???<%?₫??7? M? O??ư??g????ư???=?H?ư??Hđ'?~)?CG?o? Ă?| ??ađ???Ă/?<e?Ck??7??đ#x??₫???x?ă?>/|B??ơ???Yđ??o?&?>%??????????L~)??₫?i?????_????U??_???2??}?????ơ-ÓV?j̣? k??????đR;??_?? ? ? ~? ?kO??[Z??g???o?.|G?u?_|M??đx????0?ư?-5??!?e???ư??s???????,?c_x?₫??h|N?? o??*đ??ăO₫?₫đ??đ??Đ????>??????ă?~?ư??i? j?đ?t??????O~??w?-????Z~??7??w????????Ă?₫Ăđk??́??K??????8???N?u????_uƯMư??O???Ă??????? t???qăZ???/?O?Nđư??M?Am?|?đ??c? G? O??₫ đ???Q??? ₫;ư?>?? ??xs?U??>,x?N?-?đ????ă?^̉?'ă]/?~????????k???O?Y?[x?ă??~̀_??Z|E?đ??!^ ?> |l?;ă? A???Q????g/???g??v??\?G??|_đư?&?.?d??a??G??#?g?%đ?Mđ????5=K?z???đ????p???E?????o???)?Ă?/?g??i?oĂ??z?́? ???}?????₫:??iă?|`Ơ?c??k\???|Q?đ̃??#???|+?ă???2i??<=??đ??o?> ?B?mđ?B???^₫???}OX???? ?5x??̃.?g?? c;??ă???"?E?????F??7|Zđw??&??&N?? -|8>~̃??O??f?_́K??_~ y?'??5??^?U?xsĂ₫%| ??>?đ??Z?Ă??????~???g??x???? |m??₫???3?̃,???*?W?_???Q??o?x?Ẵ/ư?<;?₫Đ~ ̉5?N̉ơ?~?????$?~\???Ơ.~"|????o?%?,|9????,?Z|Zư????R ~=|Sư?|Gđ???7???hư?>2?_?W?_?)?-~Ơ??~-x????_??+?g??g??.????>??u??O??$???o?₫ ư?i?|D????? ?r?U?đk???ZxW??>$?]đ??~5???![xĂ?>6????M+Fư?m?f=;?^???|;đ%??>?6??_? Ă???????ẃ???W?M?đo?₫#Igđ?Pđ??ăK????&?ă?????₫???ă??^??₫|aư??g????8ĩ?u_??> ?>_?[?~?@Đ?cƯIư????'R?ă?@x?₫_?ZS|3?I???Qđ'??wZf??J?Ă?=??q?~?^*???kN?^??/?? ?Óă? cN?uy?/?₫??{ư?#?-ơưQEQEQEQE~pxF?|G?a~?̃????x ă????]?!?Ơ???o>?/?????@ư ?g_?:ơ{E8?k?????c;?????́???x???^)??? ??6??? Qkăo?~#̉?x??~??C?SđE??o?W???1?₫?_???o?đN??;Ă??̃<?7́??O?? ư??a???|B???5???;?{??̃9????_??m[???ơ?đ₫?đRMG???/???Xư?>? ??~₫?:??hMf?ư?"?????đP?/?????n?~???Ẃ?????????k??đ????/????(đ}?????????Ă? ?????vx????/??₫Ơ??Ă?3??????~?₫5ư?>"?ư????>;|C?????? ?E???7??đ????'??~? ?7R??g?eư?<?c₫/??w??R_?ẃ?yđc?}???0?a????ă??~;?Eư???"đ.??_??B~????G?6̉<ođO?w???K|?[u? ???g??h ̃??đ??? 6?đ?[????/?W?ơ?₫?7??????;ă??+??4?h??????đ?đ?~}?₫???u? ?? 5? ? ?????? ?₫?₫1₫??????????ơl????R?₫??đUO?i???-? #₫??L??&???₫??$_?đ????+??7?+? ??l₫????m~????~???4?̀u}ơ???????u/?T?? ?7??s?6?́?2???đ₫[?Ă?apƠo??f?L.*????R?K?Đ?R̉?Zua??N?&?%₫????C?;đ??%qI?????2?̣?g?????fyW?X?+???&???́1xzU}?*?l=^NJ?S??/?;?,đ???+?ox??̃đ_?|?ưg?1???5?;Ă?đ??|9?\?!?7??C?\????-"??T?u?Ṛ?N̉??[????- ?U-?Y?[?k>??7???m???g?!đu???O?? 4?|Y??;?????m_Kđ??5x?Kđ?}g??j> ?e??sus??b+?????? |w???ư?~ |-Đ??(?????@ư???:đ??????Eă???k???_?>"?4???₫ Ơ?ư??O]Ơt?Ă?j?ơ +(???̣?????????_?'?đ?/????o|ư?~I?#Fư??m?|B??_~&?C?#?F̉?Y?3?^ư???(????? ?>??x??0?,đ??5 ?₫!?7??-_? ?đ??t?gY??G?*?đ???uy?? ??\?s??Z?'?~1?????y???_ ???2?.? ????<?x|O??́?X|wư??dO???ư??n?|ađ??ư?Xx?????#GĐ?E??K????????????Ă:??ă/i?G?,?hZ??????p| ư?e??₫??f??[?ư???₫????₫_?O?_??????_₫??J????????₫ư{??[́?????>?ư?y?₫@~?_4??-?́??o???>Đ???4?????~x????h?e????%ư??e??? đǵ??K??ư??g?JxS?>đO??k??^?đ??)ă?????́?đ?ă?Ă/?~ư?}?₫??? ?₫?₫ă₫?́ư? ?₫[₫'₫??4??$???4???<+₫2?₫??*??d_́????đ???W? ?₫.G?/?ư??g?o???}/Ă₫,Ơ?ă?/Ă:?ơ?v???/?:]?Ơ?5??? ₫x? ^??g?h~Ơ>:?C???~??̃#??p~̀>ư?|c?<?̃4????đ_?o?(?đĂ???~?.??x?z??t-S?:7?[???????i??~?6?>#ư?%?? q?k?_??Rư?~%??`??'?????o?w??^ư?5??d?_ ?o?|đ?Ă?+?7??? ??đ?`???ư?~ |O???A?g??nư?4??3???C|^??oĂ??̃ ư?đ??<+ă? ?g?^?7??i??xF?g??c?=gN??|Y?_?????M????7?F??ưwH??Ơ4mgK???M:?????{i? ₫X?đ????W?Ăư??f??zG??đ.O?~ ư?< ???ăO~?u'[đ?́????~~?₫?5?G|/ư??cđ??_?f;Ks₫ ?ăo₫???_?I?/?6???>h????o_?????w?^ư???????i???< uđw?7??đC₫?????G??L??4????? ₫Đ?_Ă-w??ă ₫đ?? ?8₫?đ??>đ???_?Aă?(??0?>??(?_?u?́1?D;?2_?₫x??/ư??e/?:Đ₫%|5?W??|7ư?ư???q?#X????h??K??j?M??t?R₫?ư.?'???̣?b?h₫???? ??`?8|n ??? ??W???bđ?3???8\N?jĐ?a?̉?B??j?)U?8?R1?%E5?V??o3L3,̀?V?+1?s&#?e?₫:??f??Q???a1?J?&*?J?1z??F??XJ?YEW???Q@Q@0C?F?>"?????? ?x??~??1?~}#??x??V??C??~?fđ'́ăđ?Ă=?đ???O? S???? ???_?{??O?O??~xKA???{??O?8~`|M????[?gđ?_??????-?i?₫?:?????C₫???;??K???Y?_?₫?"|??{?Dư ??i??̉~?????Ă????"đ_?o????GN?<7?_??Dư?????~ ????O??x?Ă~??đo????ă/??=?y?[?'?????[ ?C?:???ư?₫?d??ăN?W???????O?Ă??đ?x???.??₫̀??j??.??_?????j/|d??/|I?S?W?f?ă?????????₫[G?????w??> ư?>1?₫??????₫????&?]đ?ĂOx???<)?xk?>!đ???KY??đ[?u???|@đ?????>,|:??đG?₫?S?| ?uđS????Y? ~?₫%ư??i??đ?̃3??h?|h???o??ư??g??S?%Ơ?~?????7?₫?Ă??₫.???O??ư?? đ??lđ?Ư?ư??)??́??????C? ????W??9?:[???g??i?????`O|p?#??MO?|@?G?₫ |5?#?S̃xC???)???Y?M#?Z?́???A??đ3??[????m???_???>$x???K?g???? *???o???/|Wư????Ox??_4_??₫"x_O?V????????oQ?}đP~Đ??g?{m7???ư??>??(??


my showgraph.php

PHP:
<?php
require("class.userquota.php");
$uq = new userQuota($quota$used$username);
$uq->setOutputImage();
$uq->setImageProperties(100TRUETRUEFALSE'C6DFE7''F75921''FFFFFF''000000');
$uq->displayQuota();
?>


any hints ?
Back to top
View user's profile Send private message
amnuts
Site Admin


Joined: 01 Sep 2002
Posts: 662
Location: East Sussex, England

PostPosted: Tue Oct 26, 2004 8:05 am    Post subject: Reply with quote

Hi, and welcome to the board!

Sounds like you're having the 'white space' header issue. Check out this thread for more information:

http://php.amnuts.com/forums/viewtopic.php?t=154

Sure, that's for a different class, but the problem is the same. Smile

Regards,

Andy
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
danliker
Newbie


Joined: 26 Oct 2004
Posts: 3

PostPosted: Tue Oct 26, 2004 8:22 am    Post subject: Reply with quote

ok, it was a vi config problem i think, now it works but there is a line in the image, like it is postet in an other theard, i will read this first ...

many thanks
daniel
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    php.amnuts.com Forum Index -> User Quota All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group