| |
| |
| |
|
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> thank you i just want to be sure of that <1> np <0> and where exactely find this @ php.net? <1> in the downloads section <0> thank you <1> you're welcome <2> Hi all <2> I have a question for you php guy. you know when you use php to send values into the url address for example: merchants/index.php?md=TransactionManager&type=trans will this type of code work if a domain is masked with another domain <2> I have a question for you php guys!!! you know when you use php to send values into the url address for example: merchants/index.php?md=TransactionManager&type=trans will this type of code work if a domain is masked with another domain <2> anyone <3> any ideas why my header("location:http://www.google.com/"); isn't redirecting? vb <4> Umm, probably? <4> I dunno why it wouldn't, Razz3r. <5> Is the space optional, krisp? <3> thought so? <5> Razz3r: Yeah.
<6> i think "Location": <2> I thought there may be some problem as the url will alway be www.myshop.com <5> I've never seen it left out before. Is it case sensitive? <6> and space <7> krisp: are you sure headers has not already been sent? <2> FauxFaux: as that a yer it will work? <3> hmmm , pretty sute <3> because I have exit() stright after <6> krisp don't output anything before Header <3> and it just exists :( <5> Razz3r: It works here, unless you're doing something /really/ "different".. :) <7> krisp: i've seen this a couple of times before :-) try adding if(!headers_sent()) { header("Location: http://www.google.com"); exit; } else { echo "bah"; } <2> FauxFaux: so if a buy another domain name mask it over my oroginal veriables will still be p***ed via url even though the address in the address bar always stays the same? <2> FauxFaux: sorry just trying to get it clear in my own head <5> GET variables are literally parsed based on the URL that the script sees, ignoring everything before the filename. <8> Does anyone here have experience writing WP plugins? <4> FauxFaux, is the url that the script sees nessesarily the URL in the address bar? <9> what i have to do after change php.ini for changes to take effect ? <2> so the url www.originaldomain.com/index.php?md=MerchantProfile would still be seen by the scrip even thought he url appers to be http://www.newdomain.com in the url address bar of the browser? <9> apply changes i mean <5> Karlprof: Of course not, that'd make it too easy. I specifically said "script sees" :) <10> How do i see if a variable is an array in smarty? <4> Heh. <9> i have modified php.ini, i have to restart anything ? <6> if ur php acts like apache module <11> what would be the best thing to do if you need more than 1 database server to handle load, but they all have to be the same basically immediately after an update? (looking towards mysql) <12> OuterSpace: yes, restart your apache <11> slave server being 30 seconds behind could end badly <0> Guys, how i can upgrade to PHP5.1.2 from PHP4.4.2 if i installed it from binary source <11> wondering if there is something that can be done in php or if it has to be database level <0> any body can help ? <9> im still getting notices on error log... and i modified php.ini as told <9> restarted apache aswell <0> Guys, how i can upgrade to PHP5.1.2 from PHP4.4.2 if i installed it from binary source <13> don't repeat <0> any idea pleas e <14> how do i save an array to a txt file on my server temporarily <9> fopen <12> sethuhdiah: fopen(), var_export(), fputs(), fclose() <1> sethuhdiah: in php5: file_put_contents and var_export <15> hello <16> hi <17> hi <15> I would like to use IMAP functions.... on php.net I've read that I need to install a special extension <17> That could be correct. But first check if your current environment already supports it. <15> I runned phpinfo and couldn't find IMAP there <15> so I wanted to ask is it always that complicated to install an extension? <17> What OS are you running ? <15> fedora 5 <16> Lion28Wrk: Not really. COmpile it and add the *.so/*.dll to your php.ini <15> yes... never had to compile php :D <17> I guess using a package from fedora is also an option. <16> Lion: Don't have to compile all of php. Just the extension. <16> Though you will need certain headers, they should be easily available in a php-devel package. <17> php-imap maybe ? <18> if I define a variable inside a function, it dies when the function ends, how can I 'export' it, so it lives beyond the function? <19> TuxAtWork: return it <18> CryWolf, I'm making a function similar to extract, so I want several variables to be available for later use, outside that function <16> Tux: Return an array? <17> Set them in the global array. <18> Ahroun, I p*** an array to the function
<18> it would be returning the same <19> TuxAtWork: return the array. <18> Ahroun, http://es.php.net/manual/es/function.extract.php <15> airfox: will try to find the fedora package <19> TuxAtWork: working in the global scope within a function will cause you problems later when you're wondering how this variable mysteriously got changed. <17> Lion28Wrk: Good luck! <15> hehe :) <15> thanx <17> Shouldn't be that hard though. <15> yes, if the package exists <18> CryWolf, the problem is that the extract function doesn't trim the variable's content <16> TuxAtWork: You might also possibly wish to remember that the official language here is en, not es. ;) <18> that's why I want to 'fix' this by making a new function <20> Hello, I've a problem with p***thru, I want to use it in order to execute a perl script but nothing happens (blank page). I've set chmod 777 for the script.pl. Someone has an idea ? <18> Ahroun, sorry =) <18> well, I'll try to figure out another solution, thanks! <19> TuxAtWork: you could walk the array and then extract <19> TuxAtWork: or just not extract. Most variables are perfectly usable as an array <18> CryWolf, yes, that is a good solution, I will trim each element first, then extract them <18> thanks <21> is there any reason it would be a bad idea to parse user input for a date with strtotime? <21> i.e. to allow "tomorrow" "next week" etc. <17> No ? <17> Maybe because of locale issues ? <17> Like the difference between date formats in different countries. <17> But that's just something to watch out for. <22> yeh, there are way too many differences between the date formats <23> agreed everyone should just follow the danish one <22> .. 31/12/2006 .. 12/31/2006 2006/12/31 31.12.2006 bla bla <24> In php there isn't a foreach type loop to iterate over two different arrays right? <17> BurgerMann: hehe <21> I heard PHP6 will have a Date cl*** <21> at last <23> datasieve: yup there is <15> airox: great.... the package exists and its working like a charm! :D thanx <20> Hello, I've a problem with p***thru, I want to use it in order to execute a perl script but nothing happens (blank page). I've set chmod 777 for the script.pl. Someone has an idea ? <17> Lion28Wrk: :D <24> BurgerMann: got a link or function name? <16> Yeah, but 31/12/2006 is lexigraphically identical to 31.12.2006 ... so really you only have six possible 'formats' ... YMD, YDM, DYM, DMY, MDY, MYD. Oh. Wait. Yeah, that's too many. Everyone should just do it the way numbers are done... most significant first. YYYY-MM-DD HH:MM:SS.MS TZ-- where HH is 00-24 and TZ is a standard three letter abbreviation (preferably UTC, but let's be generous here. ;) ) <16> Though I suppose actually... TZ could arguably fall between DD and HH logically too. <23> we could all just stick to the unix timestamp and start counting? <16> BurgerMann: Yeah, but then you hit the S2^32 bug. And the world will end and nuclear missles will launch and planes will fall outta the sky and all that other crap that Microsoft wanted you to believe would happen back on the last year of the previous century. <23> Ahroun: that would be a mess. Let's stick to what we have now then <25> it seems i can only download a 2mb file in php. where is the config directive in the php.ini so I can change this limit ? <11> is sha1 still good enough for sites that need to be secure or should something like sha256, sha512, whirlpool, etc. be used? <26> I have a text field (i.e. input type="text") that is sometimes prepopulated with text that is larger than the text field is supposed to be. The width of the text field itself is governed by the "width: 100%" css tag so that it will fill a dynamically table cell. However, if the prepopulated text is very large in IE, ie stretches the table cell to fit the text. <26> is there any way to get internet explorer to keep a dynamically sized text field width despite a very large initial value? <26> ... without resorting to a javascript post-population hack? <19> Tenshi: #web <26> CryWolf: already asked there <27> this will probably sound stupid - but - when inside an object and eval() is used - with a function definition stored in a string - is a method created? <19> Tenshi: still #web. not a php question. <28> hi <26> CryWolf: virtually all PHP people are also web developers, so I am asking on everyone's good graces, as a second resort, if they happen to have an answer. <27> howdy howdy <16> Tenshi: You will not receive good graces by violating channel standards. It's actually a good way to get ignored. <19> !tell Tenshi about g8 <29> i just noticed something very very interesting <29> can't explain it <17> Standards ****. Webdevelopers know that. <28> i have $value = preg_replace("/(\(.*\))/",'array\\1', $value); value is a string of a form (a,b), (b,c) , (c,d) -> i want to get array(a,b),array(b,c), array(c,d) . but i get only array(a,b),(b,c),(c,d). why is this so ? <17> ;) <19> Tenshi: you are far more likely to find someone who can make IE behave in #web. In here, you'll find people who don't care. <5> Standards are great, it's people who don't stick to standards that ****. <26> CryWolf: but the channel's not dead, they just don't know... there's a difference, and a need <19> Tenshi: google then. <29> anyway got a file called settings.php with a function "blah()" inside it, got a second file trialbal.php (which requires settings.php) with a function "bleh()" inside of it. if inside trialbal.php i put a "blah()" function i get an error, but not if i put a second "bleh()" function <19> Tenshi: as for me, I have other things to do. <26> CryWolf: then by all means, do them :) <28> ideas ? <29> iow, if a dubplicate a function inside a file i dont get an error, only if one/both of the functions are in a required file it gives an error <19> fifo_: what error are you getting, exactly? <25> it seems i can only download a 2mb file in php. where is the config directive in the php.ini so I can change this limit ? <30> mod_cure: you mean, upload?
Return to
#php or Go to some related
logs:
gnucalc win dale carnigie #math lsusb sdx gnome-ppp sending password #linux EPIA-5000 Mythtv undernet haisam
gentoo aiglx calling driver entry point failed rsync io.c(171)
|
|