| |
| |
| |
|
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
Comments:
<0> i wonder how readable TDWTF is in text-only... <0> bleh... its ok...... <1> Another file_put_contents question: Why does it add ^M's ? <0> BrokenPipe: thats the difference between Microsoft and Unix/Linux newlins <2> i think it's that windows uses the CRLF : carriage return line feed, and they use both Unix newlines and the other half <2> at least thats what ive heard <2> gimme a file with ^Ms and we'll get the hex out of it <2> know for sure <2> maybe i have one.. <0> tetsu: are you always hanging around here? <2> nah <1> I'm in Linux. <2> just to find my friends <0> tetsu: gotchya :) i went totally Xless today <2> cool
<2> you know what, itrebal <0> hrm? <2> you should scan for me. <2> or, i suppose i could just ask <2> can i set up a box to scan for me <2> i have a script all written up <0> tetsu: lets take this out of the chan? <2> its very pretty <2> oh its not php related <2> bashscript :( <0> BrokenPipe: are you reading it on Windows? <1> itrebal: No. This is all in Linux. <0> BrokenPipe: i dunno :/ <3> Hello, I have a variable that when it prints with a echo its the name of a specific define. Is there a way to print out the value of the define <4> pzorn: define('FOO','Baa'); echo FOO; <5> define('FOO','bar'); $const = "FOO"; echo constant($const); <3> thank you that worked perfect <6> I have db info that was entered with accent marks such a turning into <6> any fixes? <7> Such as... [][]... <6> preferably keeping all entered data :) <7> purefusion: If I'm reading this right, probably a database setting... It's swapping whlie inserting into the database? <6> yeah, I think so <6> would it be an encoding issue maybe? <5> purefusion yes <6> how can I change it? using phpMyAdmin <7> purefusion: Ehm. Is actual database access something of the past? <5> I never used phpmyadmin :) <7> 'alter table' should do it. Also see guideline 10, and your SQL channel. <5> neither php+mysql <0> xshad: IMO your not missing out :) <6> xshad, do you know a mysql query that would change it? <8> i forgot, what is the function to find the path to this ACTUAL file, not the one that included this one, but this actual file from which the function is being called? <6> ok, will check it out freeone3000, thanks <5> itrebal :) just love pg <7> muhoo: __FILE__. <5> purefusion I don't sorry <5> don't, sorry :) <8> freeone3000: thanks, never would have found that in the function index :-) <9> Stupid question - is there any way to replace a function without patching the php library? ie, if I wanted mail() to run another function before running the php mail function <7> Yep. alter table [tablename] convert to character set [character set with that in there with isn't utf-8] <7> ]X[Cavey: Make your own function, and use it instead of mail(). <9> Dont want to do that. <5> ]X[Cavey so use a PECL package <5> pecl.php.net <9> Google got it right <5> there's a package which allows you to overwrite standard functions <5> runkit I think <5> right, go there http://pecl.php.net/package/runkit <9> Cool <9> Problem is we host a lot of society web pages and they have installed a lot of things (coppermine etc...) which are not exactly up to date <6> how can I strip all characters except letters? <10> I know this is probably me overlooking something ridiculously stupid, but I am having problems with my include path...I have placed the Zend framework in /usr/share/zend/framework and the file I am wanting to access is /usr/share/zend/framework/Zend/Pdf.php <10> I can't seem to access it though <10> Fatal error: main() [function.require]: Failed opening required 'Zend/Pdf.php' (include_path='.:/usr/share/zend/framework:/usr/share/pear') in /var/www/vhosts/implementationphase.com/httpdocs/demos/Pdf/demo.php on line 8 <10> any clues? <10> its there, no question <9> ANyone else just get spam from ZoomCities ? <5> ecook you'd to add /usr/share/zend/framework/Zend in your include path <9> ecook - Can the webserver access the file?
<5> aaaaaaand read the guidelines <11> haven't got any spam for months :/ <10> did I not follow one of the guidelines? If so I apologize, wasn't intentional <12> hi! i need to modify my store locator to change the default radius by zones (prolly by states) ie. in NY the store radius will be 1 mile while in TX it will be 10 miles. Are the US zipcodes regrouped by states? ( in other words is it possible to group zipcodes together so i can attribute different radiuses to states?) <10> goodness...it was a permission problem, as usual <10> sorry about that guys, and if I broke one of the guidelines, sorry <12> any ideas? <13> voided: is it a php question? <12> not really =] <13> http://en.wikipedia.org/wiki/List_of_ZIP_Codes_in_the_United_States <12> its a ... "general knowledge" question :} <13> wikipedia often answers such questions <12> ohh <12> <3 <13> and Im not even from the US <12> thanks a lot Fango <13> no problem <13> ZoomCities is PM spamming <13> :| <13> any admins around? <9> Fango - I got that too <14> can you set options for CURL within php.ini, or do you have to use curl_setopt()? (http://us2.php.net/manual/en/function.curl-setopt.php) <15> poor you <5> litage I'm not sure, but I think that there isn't curl options in php.ini <13> there is so much cool (?!) stuff on wikipedia. I just found a list of UK postcode areas! <13> how exciting <9> Oh dear.... <9> And I thought my life was dull :9 <9> ;) <9> Bed time I guess. nn and thanks <16> Hmm, why would print_r ( DOMDocument::load ('test.xml')) show nothing, but print_r (simplexml_load_file ('test.xml')) shows the contents just fine? <17> how do i increment a integer value with a sql query using UPDATE is it "UPDATE table SET column_name = column_name+1 WHERE id= '$id'"; <18> Could not connect query : LIMIT 0, 10. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1 <4> JJPeerless: yes <18> can someone help me out with this LIMIT function ? <18> confused about it <4> ICE: dont think you can limit to 0 limit 1 will work <18> what is limit though ? <19> limit is a mysql keyword <13> ICE: ummm I dont think the Limit is the problem. Sometimes it is just put in by things like phpMyAdmin <13> what is immediately before it? <18> I'll paste the script <18> one sec <20> http://pastebin.com/745977 <20> guys I am getting this error <20> Notice: Undefined offset: 1 in C:\Documents and Settings\Dennis DeBerry\Desktop\Web Site\Robin\images\20051013\photogallery.php on line 43 <20> Warning: getimagesize(thumbs/_t.jpg): failed to open stream: No such file or directory in C:\Documents and Settings\Dennis DeBerry\Desktop\Web Site\Robin\images\20051013\photogallery.php on line 45 <18> http://pastebin.com/745980 <20> can somone look at it and see where I have and undefines offset?? <18> there you go fango <13> ICE: can you put in the line echo $query; just after your query? <13> then paste the actual query that is being executed? <18> k <13> when you have mysql query problems, that should be one of the first things you do to debug <13> or thats what I do at any rate :-) <20> anyone look at that? <18> INSERT INTO blog (blog_id, blog_title, user_name, user_email, user_date,user_icon, blog_entry) VALUES ('','***torial Title','UserName','Email','Date','','')Could not connect query : LIMIT 0, 10. You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'LIMIT 0, 10' at line 1 <18> hmm <20> :( <20> anybody <20> I have racked my brain to see where I am getting that error <13> ICE: dont know. Are you connecting to the database properly? <13> ICE: are you able to run other queries ok? <18> let me check <14> xshad: if there are curl options in php.ini, would i need to create a [curl] section and put settings in it? <21> limits with inserts? <21> never done that.. uhm.. <21> maybe it's just me <21> but kinda silly to have an limit with an insert when you're doing 1 <11> Shaba1 use echo to print out your variables and maybe you see where and why the problem occurs <21> I'd take the LIMIT out <20> tried that <13> Rewt: there is no LIMIT clause in the insert query
Return to
#php or Go to some related
logs:
gentoo using the right march flag stop firefox using gmplayer #math accidentally deleted icons ubuntu #gentoo ubuntu gnome 2.15 repo #web #linux #linux #css
|
|