| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
Comments:
<0> REQUEST could be either POST or GET <1> hm <2> REQUEST can also be specified in the URL <2> index.php?page=foo <1> that would be it working as GET yes <1> but okay <1> thanks :P <2> Oh. <2> It's late. <3> http://pastebin.com/548047 ( www.worldenergies.net ) -> the submit works, but none of the querys actually execute. any help would be of great ***istance to me <1> oh god no <1> use css <3> ?? <1> everything between <style type="text/css"> and </style> should go in a .css <3> luu, I will do that later - its nto really to important <4> god whats with Horatio's slouching and looking down
<4> my god it's annoying <3> poo, I don't get whats wrong <5> jiggster: H is cool :P <5> Though, him on NYPD Blues was totally retarded, IMO <4> lol <4> horso is teh yawn <6> question i have a varaible $text with text in it and for example <b> <6> is it possible to edit $text and just remove any html variables? <6> not so the <b> echoes as text, so the <b> is in a sense hidden <5> HTML variables? What are those? <6> im' callin product descriptino from my database <4> attributes you mean <6> yes <4> html doesnt have variables <7> akumanz: strip_tags() <3> tws: no idea for me on where that last error is? <6> thats the one. thanks.. <7> falieson: I'm too lazy to dig through your code. I'm sorry. <6> just a question... is there some sorta natural inclination with regulars here to give lame responses to questions? <3> tws: thats fine - thanks for your original help. I really do appreciate it - any suggestions for my future coding that it can be more friendly? <3> besides not using the same var names <6> meh cheers tws <6> cu <1> falieson do it all in php <1> not all that in and out of php <7> falieson: Heh, I'm not the one to give suggestions. Ask others who has a better experience in writing codes. :) <3> luu: as in, use echos and prints? <1> something like that <7> falieson: What's worldenergies.net is all about? <3> nothing yet - saving the planet etc. <8> How do you call a script that's in the webservers file system and get its return code in PHP? <9> php --help <9> man php <8> Yeah. RTFM. I know. Thanks man. <8> Couldn't you have just told me the function's name so I could've looked it up on php.net? <9> you want to call a script from command line? <9> so i told you ... <8> I want to call a script from WITHIN PHP, sorry. <9> file_get_contents <8> But that'll give me its contents. <8> I want to execute it. It's a perl script. <8> And get it's return value. <10> exec maybe <11> good morning the chan <8> Like, $? in bash. <3> Good Morning the LMJ <9> rapha- p*** the url <9> file_get_contents($url) <8> olinux: I don't _want_ the file contents. <8> lig: exec gives me a bunch of functions. Any idea which one is recommended for getting the return value? <8> (I know there are some security considerations in there) <12> rapha: shell_exec('your_script'); <1> falieson you forgot a 0 too btw <8> TL_CLD: thanks! <12> rapha: $returnvalue = shell_exec('your_script'); <12> rapha: echo($returnvalue); <8> TL_CLD: hmmm, the docs say Execute command via shell and return the complete output as a string ... my script doesn't output anything. It just has a return value. <8> Plus, safe_mode is enabled <12> rapha: ah
<1> falieson and there's a v too much there <3> luu: zero? <11> got my big question done, ready guys ? ;) <8> Ah <11> I'm trying to solve a problem i have with "Ampache" and "Jinzora2" who are 2 php softwares to manage my Mp3 collections. I'm running a personnal Webserver at home with Linux 2.6.11, Apache 2.0.54, MySQl 4.1.12, and PHP 5.0.5. Mambo and Egroupware works fine, everything is working like a charm for those 2 heavy php programs. <11> "Ampache" and "Jinzora2" have to scan and read my Mp3 who are stored in "/home/lmj/mp3_RAID/" owned by "lmj:lmj" with priviledges "drwxrwxr-x" for Dirs and "-rwxrwxr-x" for files. But ANY of those 2 softwares can't read those files. "Ampache" and "Jinzora2" are stored in "/home/lmj/public_html/ampache/ or jinzora2/" owned by "http:http" and apache runs under "http:http", and i checked, the use http CAN read those files owned by "lmj:lmj" <11> . So, i don't understand they can't see my Mp3 collections, and scan it !!! I'm looking for advices/tests to find where is the problem PLEASE <8> exec() does it! <3> luu: and what do you mean by a "v too much" <1> falieson I mean there's a v that isnt supposed to be there <3> luu can you point me to something close to these errors so I can find and fix them? <8> LMJ: sudo chown -R apache_user:apache_group /home/lmj/mp3_RAID ? <1> falieson and I might be wrong, but I'm not sure that you can $_GET whether something is boolean <11> i could try, but i don't think it will fix something, because priviledges seems ok <1> because $_GET always returns a string <3> luu, I don't think you can get whether its boolean but even so it would store it as a string with the value true which would be the same thing in this instance, no? <8> LMJ: for me it sometimes wouldn't work even with 777 when the owner wasn't right. Apart from that, maybe some configuration issue with your Apache? <3> luu: or is that my problem - I have to encapsulate all my $_GETs == "true" <3> ? <3> probably it! <1> could be <11> maybe you are write rapha, i'm testing <11> rapha : i tested apache under suexec : it did the same thing <8> LMJ: sorry then ... no idea :-( <11> right* lol <8> sarcasm? <3> luu: is my way of doing the radio button part right? <11> no rapha <11> -> LMJ : maybe you are *right* rapha, i'm testing <3> luu: changes didn't make any difference, where did you see those mispellings, the zero and the v? <8> LMJ: sorry then ... misunderstanding :-) <11> i miswritten* ;) <0> http://cgi.ebay.com.au/ws/eBayISAPI.dll?ViewItem&item=4611976689 <-- buy me. <8> LMJ: anyway, it _could_ be possible that apache does a check for the user and group of something regardless of whether it would have permission to read/write it. Unlikely, but possible. <1> falieson I'm gonna have to fix all your code, it just doesnt make sense in my head <11> ok <1> gimme a minute or 3 <11> sad <13> heya, Im looking for a cms to handle a faq. I looked at phpmyfaq, but unfortunately it has too many flaws. Anyone got any other suggestions for a cms to do the same job? <10> opensourcecms.com <13> I looked there, lig <13> poor selection of that type of cms, unfortunately :P <13> and googling for it seems more or less impossible, as the keywords you want to use simply returns hits on non-related links <8> unknown14725: try freshmeat.net <13> hmm yeah good idea <10> or sourceforge.net <7> mazzanet: Hottie! <1> gleffeh <1> falieson you have too many gets and stuff <13> cant believe I didnt think of freshmeat... thanks for reminding me, rapha :-] <3> luu: what do you say <1> I say I can't figure out what in the world you're trying to do <3> I have the poll, it grabs the options from a table in my db <3> based on the id of that poll <3> right? <1> I'm talking about the gets <3> right - just setting a basis <3> if you click a radio button, and click submit it adds a vote to that option <3> if you type something in as a suggestion, that superscedes any vote you may have placed and creates this as a new option for others to vote on <14> Can someone tell me how to seperate a certain piece of text from one long string? <3> wizzo: one sec, looking for it <14> Thanks :) <3> wizzo: in general all you will be needing is on this pagehttp://us2.php.net/strings <3> strpbrk-- Search a string for any of a set of characters strpos-- Find position of first occurrence of a string specifically I think you want <14> Ah, thanks heaps. <14> Looked on the exact page before, guess it wasn't hard enough. <8> no prob unknown14725 :-) <3> wizzo: no probs - <15> hi there <15> I have a quick, I hope, question: <15> I've got to include a script in my project <15> this script *always* calls exit() - e.g. every way it ends, it calls exit() <15> but I would like to have my script executed *after* the included/required script
Return to
#php or Go to some related
logs:
cannot set up thread-local storage set_thread_area boot gentoo compwiz http post google translation oggdec+deb #perl The 'useithreads' configuration option hasn't been used #gentoo xvidcap+button inactive+linux enable cdrom repo adept #linuxhelp
|
|