| |
| |
| |
|
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 27 28 29 30 31 32 33
Comments:
<0> tic: http://jenseng.com/archives/000035.html <0> tic: Except you're not doing it by the extension .php, you're doing it by the path element /web/ <1> TML, thanks, but it's not that I'm keen on displaying a 404, the problem is that it doesn't work where it's supposed to. :/ <0> tic: That's not supposed to work <1> TML, ....? <0> tic: Unless you actually have a file /web/index.html in your document root <0> In which case, one has to wonder how you manage to have a file and a directory of the same name <2> i'm looking for php-imlib for php5... anyone know any newer wrappers? <2> gdlib is just not acceptable (performance wise) <1> TML, I planned on having /index.html sent to "web". As a CGI binary, like a bash script, I get the request OK. <1> TML, anyway, what I want to do is to rewrite foo.domain.tld/web/(.*) to /webroot/foo/web/$, but *without* changing the user's browser URL. <3> how do I upload my php opensource project to my source forge account? do I have to use CVS? <4> did you try to ask support to forge? <0> map7home: Or SSH, yes. But this is not a sourceforge support forum. They have their own channel. <4> this is People Hot Puking <2> tic, i think the only thing you can do is head('location: url'); when you detect the foo. host
<1> TML, and obviously you can do fancy redirection that doesn't rewrite the URL, but when it's static content served by Apache itself, it doesn't work. It's extremely annoying. (and no, I know this isn't #apache, I'm sorry about that) <5> map7home: um, there's a sourceforge channel, and their explain things rather well <5> their docs^ <1> jaeek, that doesn't work. <3> cool <2> tic, you mean it doesnt satisfy your needs? or that it doesnt technically work? <2> cus it sure as hell will work <1> jaeek, doesn't satisfy my needs -- like I said, location will redirect forever. <0> tic: As a general rule, you shouldn't want to have a disconnect between the brower's address bar and the URL being displayed. It's a bad idea. <1> or well.. not like I said. <0> jaeek: He means that your suggestion doesn't help him in the least. <1> TML, no, it's not about that -- I'm doing a static remap on the *server side* <6> how can i update a time field, update table set time=time+ 1hour for example <6> ? <2> tic, use a frame then <2> tic, or use an ajax library to do all calls to the server in the background once the main page is loaded <1> haha <1> I can't believe Apache can't do aliases <2> it sure as hell can <1> or maybe it's just because I can only modify .htaccess <1> argh. the joys of being on a shared host :( <1> well, thanks anyway. <0> jaeek: That much was clear when you suggested header() <2> i came in late... give me a break ;) <1> jaeek, I've setup *.5038.be CNAME 5038.be, then using a rewriterule I send the user off to a Trac install. <7> ||cw, yes thank you, I guess my only option is contacting the RSS author <1> jaeek, and now I want a static mapping from foo.5038.be/web to $WEBROOT/www/foo. Which, without having access to httpd.conf, is impossible, it seems. <8> Hello there! <9> hi <8> I have a little problem... <6> would anyone know if it's possible to read pdf documents with php ? <10> lepine: php.net/pdf <8> I have a string with some headerdata.. Ans now, ich want preg_match(); to give me an array with the first occurance of "PHPSESSID=%patter%;" <11> i am trying to cross 2 arrays and create a 3rd array that contains matches between array 1 & 2, is there a routine for that? <10> Jay_Callicott: you wish find members of an array that appear more than once? <12> when I do a php4 /www/kawasaki.ch/typo3conf/ext/anpa_rsync/res/sync.php, does the script get executed in the current directory, or in the directory it resides? <0> Jay_Callicott: php.net/array has a m***ive list of functions <10> Jay_Callicott: array_intersect() of something <11> hmm <0> ndee: A little of both, why do you ask? <11> NoBeard: i think i may need array_diff <10> Jay_Callicott: kudos to you <8> Can somebody help me? HEre is the problem http://www.nopaste.info/index.php?id=b1ae69cb6a <-- I hope you can understand this example better than my cruel tryings to explain... (im no native speaker, as you suppose) <13> Hi all. I'm having problems calling a SOAP method via PEARs SOAP_WSDL cl***... I try to use a proxy object but this doesn't seem to get the mehtod name ("No operation in WSDL."). Has anyone here played with this? <11> NoBeard: what if i cross a 2d array with 1d <11> NoBeard: will it do the difference of the 1st level <10> Jay_Callicott: dunno, try it <14> if I use file() or file_get_contents() on any wikipedia page, I get a 403 -- I suspect wikipedia somehow knows that php is making the request and they're blocking it for that reason (maybe?) is there a way around this? <15> hi <16> moin <16> is it somehow possible to use libphp4 and libphp5 together in apache2? or do I have to use different servers / the cgi-version? <16> what handlers do php4/php5 provide to apache? can I differentiate them somehow? <15> Hello, how can I get this to work: include("pages.php?p={$_GET['global']}"); I am trying to p*** the ?global= value of the page this code is in to pages.php as a ?p= variable <15> I'm not sure if my syntax is wrong or what <17> telmich- I believe that you have to run at least one of them as CGI <17> I'm pretty sure you can't run both as Apache modules <18> hi guys <16> Dragnslcr: well, I can load them together <17> PoLiZei- you don't. Included files have the exact same variable scope as the include() call
<14> meh <14> there's no way to change php's user-agent? <17> Sure there is <14> how? :) <17> I think stream contexts let you set request headers <14> ah <14> that sounds complex <19> PoLiZei: create that include string with concat (.) instead of trying to read it in directly. Or get rid of the ' 's. <15> ahh ok <14> all I want to do is do a file_get_contents and have the request look like it's not coming from php <18> does gz_encode really accelerate the download of the page ? <20> cant curl do that? <14> choongii: curl, hmm <14> that sounds familiar <17> Yup, curl can do it as well <14> Dragnslcr: I'm a total idiot. what's the easiest way? <17> Stream contexts are enabled by default in PHP5, though, so there's no other requirement <20> curl_setopt($ch, CURLOPT_USERAGENT, $agent); <15> - Ahroun - By "getting rid of the ' 's " I would change my code to this? include("pages.php?p={$_GET[global]}"); <20> taken from http://nl2.php.net/manual/en/function.curl-setopt.php <14> and why the hell is us2.php showing some content in Greek today? <17> http://www.php.net/stream_context_create <0> PoLiZei: You can't include like that. <17> PoLiZei- I already answered you <14> thanks Dragnslcr :) <0> PoLiZei: Unless you actually have a file on your filesystem named pages.php?p=foo <15> oh <0> Where "foo" is the value of $_GET[global] <19> TML: ah, good point, wasn't even thinking about that. Duh, I'll wake up now. <15> - TML - I see. Any ideas? <0> telmich: You can't run both php4 and php5 modules in the same apache. <20> Dragnslcr, hey, thats neat! <11> how do you get a splice on an array <0> PoLiZei: $p = $_GET['global']; include('pages.php'); <16> TML: ok. why? because the handlers are the same? <11> [0..10] <11> something like that? <15> oh! <15> - TML - Thanks! <0> telmich: No, because the library symbol names are the same. <21> There hasn't been in the past, but are there any cURL/php5.1 knowledgable ppl in here? <15> haha, I should have realized that <16> TML: hrm, ok <20> the cgi version should do it though <18> please , does gz_encode really accelerate the download of the page ? <5> Sp4rKy: if your server has cpu to spare, yeah, why wouldn't it <18> ||cw, it's a share server <14> Dragnslcr: you've made my day man <14> Dragnslcr: User-agent: foo :) Now wikipedia doesn't give me any crap when I try to view pages in php :) <22> Hello, i have some problems! http://dinmamma.kicks-***.org/site/, How can i make so the text is NOT in the middle of the screen? i want it up, http://dinmamma.kicks-***.org/site/indexsrc.txt thats the source! <17> Heh <17> Stream contexts are pretty nice. Can do POST requests without requiring curl <14> Dragnslcr: man, they must be some kind of hidden secret <0> cranked: ##PHP is not an HTML layout channel. Try #web. <14> Dragnslcr: curl is everyone's answer to those sorts of things <23> is there a function that closes a cl***? oO <21> Sadly, i have to use cUrl, because i need to do ftp over ssl, and cannot recompile php (windows system), yet, the system is not returning the proper constants, so SSL isn't enabled. :( <21> eml: If you are in PHP5, you can use the __destruct(); (though i do not think you can call this directly) <23> kennebel, im using it, but i want something that explicitly sais that the cl*** should be destroyed <24> eml: are you suffering from circular references? <23> no <24> eml: unset ($cl***); <23> i just want to make sure it gets closed :P <23> winmutt, ok, thanks <21> eml: Sadly you are in a scripting language, and are at the mercy of the garbage collector. <23> kennebel, :) <24> kennebel: gc happens on unset if the reference count it 0 <24> well more or less <21> winmutt: Good to know. <24> my problem is that i have circ references <24> i have a function call __destroy <25> hi guys <24> it implicitly unsets the entire reference chain
Return to
#php or Go to some related
logs:
ShareManager: Tracker must be configured ubuntu error15 \pL+ perl chillisoft fedora pppd tcflush failed: Bad file descriptor -windows -mandriva -umts -pptp #lisp #nvidia UserWarning: wxPython/wxWidgets release number mismatch convert user time winscp dos2unix
|
|