| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Comments:
<0> anyone have any idea if that's a known issue? <1> Same on my win32 box running PHP 5.1.2, no prompt. <0> hmm, 5.1.2 works fine for me <1> agaffney: I don't think you need a prompt. <2> PYthon has >>> prompt in it's interactive mode, but PHP's interactive mode (the programming part) should start with <?php ... <1> hmm <0> Stormchaser: it works fine for me without <?php in 5.1.2 <0> nope, enclosing code in <?php ?> does nothing <2> agaffney: windows or linux? Which version? <1> Ah yeah. <3> hi, can anyone encode some php files for me with zend encoder? I dont have a license.. <0> Stormchaser: linux and 4.4.2...hitting ^D makes it execute <1> I don't get a prompt on either rhel(4.4.2) or win32(5.1.2), but win32(5.1.2) executes the code. <0> the interactive mode in 5.1.2 seems to work *completely* different <0> ok, so I guess the interactive mode in php4 is just a bit...limited :P <0> (i.e. ****s goat nuts) :P
<0> darn, and I thought I'd discovered a bug :) <4> hey im making a referer stats thing <4> how would you check if a row exists for a certain url? <4> in mysql that is <0> I think you need to pick up a SQL book <4> yeah i do :) <4> but until then? <0> Ortzinator: you learn how to use SELECT...you know, the *core* of SQL :P <1> Or at least try #mysql, but don't expect them to teach you how to use mysql. <5> Ortzinator: you don't need an sql book, never had one here. however, there's the excellent online MySQL manual <1> You need to learn that yourself. <6> SELECT * FROM table WHERE url = url <4> i know how to use SELECT mostly <6> thats should be it but my sql ****s <4> ok i see now thanks <4> im just starting out so sometimes i just dont see it <6> np <7> better "SELECT * FROM table WHERE url='".$url."' " <5> you might want like instead of = <5> possibly <5> oh you just want to check if it exists, then SELECT count(*) FROM table WHERE url = $url; quoting as neccessary <6> mundohosting, mine was just the grand model nothing more <7> I'm not a Silliman critic :), BUT the guys seems to know little. Better be specific <7> guy* <6> you got a point :) <8> Is there a better way to send newsletter emails than looping through mail()? <1> bcc: batches of them? <8> BCC could work but it still seems sloppy <6> BCC? <8> blind carbon copy :P <6> dammm my usb light rules :D <9> hmm, can't you feed mail multiple addresses <1> Olipro: You can in the headers. <9> yes, that would save looping over it <1> Depends what the limit is on the amount of addresses you can bcc to. <9> actually, it's easier than that even <1> theDan: Sloppy? Would be more efficient than sending one email per address. <4> your isp might not like you sending out m*** email <9> comma delimited addresses in the $to argument (first arg) works <8> Olipro, BCC would be better because we dont want everyone getting a huge email list <1> You can't bcc in the $to arg though. <9> then preformat the headers string <8> that's what i'll probably do <9> and have it keep adding to it, then feed that into mail <8> is there a size limit for BCC? <1> Yes, refer to your mail server documentation. <9> also, look at PEAR::mail <9> and PEAR::Mail_Queue <8> Mail Queue seems interesting <8> more work for the database though <9> the DB will care less than the mail server generally <10> LOL http://www.ucomics.com/calvinandhobbes/1995/04/15/ <11> anyone tried out this zephyr framework (i know you dont support it in this channel, but not asking for any help) <11> http://zephyr-php.sourceforge.net/ <12> if i'm running PHP as cgi on a shared hosting, can i do something like .htaccess for setting my own php.ini for all scripts? <13> hi all I need help with PHP5 -> SOAP extension installation for mandrake <12> shouldnt that be asked in #mandrake? <13> tried there <12> k <13> I'm a newbee to linux <13> installed php5 via the gui
<13> ie rpmdrake <12> prolly doesnt say much to most ppl here, but k <14> yo yo yo <2> craig: what kind of 'help'? <15> bye bye bye <14> cya <13> I'm not sure but don't think the SOAP extension is enabled <2> check phpinfo() <14> lots of people are talking about this "SOAP" lately <14> not sure why <12> AJAX is some kind of commerical SOAP no ? <13> phpinfo() shows no reference to SOAP as I would have expected it too <2> HaN-: Funny :) <16> Jayinwww i hear people really enjoy using it with water. <14> mmadia: ha <2> craig: have you restarted apache after installation of the module? <12> can anybody answer my question from before ?if i'm running PHP as cgi on a shared hosting, can i do something like .htaccess for setting my own php.ini for all scripts? <17> I'm not familiar with SOAP. No wonder I can't find a job. <14> LOL <12> its ok it's just some form of RPC <13> yeap restarted apache... in fact rebooted the pc as I couldn't get apachectl restart to work <12> craig: did you install the soap extexnsion at all? <14> the only jobs I could get where under paid and over worked, so I just decided to hire myself <12> the best way <13> yeap via the install software gui <14> I'm still under paid and over worked but at least I can't get fired <13> NaN: how do I check to make sure that it installed correctly? <12> craig: hmm, how is the ext called? <12> is it a PEAR extension maybe ? <12> http://pear.php.net/package/SOAP ? <13> NaN: not sure what you mean. <12> what was the name of the SOAP extension you installed..... <13> NaN: aha right - it was called php-soap-5.0.4-1mdk <13> NaN: this is a dynamic shared object (DSO) for PHP that will add soap support. <12> i see... sorry, dunno <18> hey all, what is the best php calendar control? <18> for date picking <12> you want to pick dates with php ? <17> is there any way to make sure the following error doesn't occur again? if( country=='Canada') I missed the $ and this error went unnoticed for longer than I care to admit. Is there an ini setting I can change to report errors like this? <19> hi. if i access a xml element through simplexml and xpath like this: foreach($sxe->xpath("element") as $item) can i replace exactly this element? <20> hello <20> is there software that looks at php code and creates graphs and data based on the / ** @params etc. */ style comments in it? <20> ah, I think I found something at http://phpdoc.org/index.php <21> Hi ! I have a problem that I can't understand. Fatal error: Unknown function: apache_request_headers() ... isn't that a "core" PHP function ? <20> which php do you have insstalled? <22> Paleo, no. <20> and is your php running on apache? <20> see http://us3.php.net/apache_request_headers <22> Paleo, "These functions are only available when running PHP as an Apache module." <20> :) <21> Ahh, okay. I run php4 as CGI in apache2 <21> make sense <23> hi there <23> Can someone point me in the direction of figuring out how to display the most recent picture in a folder? <24> http://www.newspeak.org.uk/phplay/time/new.phps when this script is run like this http://www.newspeak.org.uk/phplay/time/new?what=customer&name=PAN it just stops dead with no explanation of why. The DB is a sqlite file which is accesible to php <24> Philovirus, you mean most recently added? <23> yes <24> you need to sort the files by the ctime or creation time <23> also thanks to those who helped me fix a php include css issue earlier <25> Anyone use Plesk? <26> hey! i have an array and i do say $array2 = $array1; to keep an untouched version of the array as i need it later. It seems that php is only taking refrence to the main array and when i reach the part that i need the untouched version i get the touched version... <26> is there a way to stop that and make 2 versions of the array? <23> aimaz: can you expand a bit about ctime? I'm fairly new to using php <4> anyone see anything worng with this? http://pastebin.com/664168 <4> its never adds anything <24> Philovirus, http://uk.php.net/manual/en/function.filectime.php the file with the highest value returned for it's ctime is the newest file <23> brilliant! thanks <25> I need to install the php mysqi extension on a box that doesn't have it, but it has Plesk installed on the server. Anyone have any idea if I'd mess up Plesk by recompiling php? Anyone done anything similar? <22> itrebal, heh, you just mailed exactly my point ;) <27> colder: yea i saw that, i figured it needed more of a to-the-point explanation <28> does anyone know how to output an image to the browser without using gd? i have the image in a file but i need to count how many times it is called <29> dools, echo file_get_contents('imgFile.jpg'); ? <28> haha riiiight :-) <28> i tried with fopen('name.jpg','b'); fread($handle,filesize($handle)); and it didn't work...
Return to
#php or Go to some related
logs:
#math netgear wg511v2 debian linux install over samba #lisp anyterm debian package dpkg #linux #kde kaffeine libdvdcss2 etch requested range not satisfiable vlc #perl
|
|