| |
| |
| |
|
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
Comments:
<0> Shadow_mil: number_format perhaps? <1> The data chcuks lan <2> Sycofant: use MVC, then a scaffold command :) <1> lenghts* <3> Is it possible with a function like exec to execute a command as a specific user? <4> No <3> Any way of making this possible? <4> It will be executed as the user the webserver is running as <0> Shariff: if you're on a *nix box, you might want to try 'su' or 'runuser' (though apache would probably not be allowed to run these if secured) <3> I don't want to start running apache as root :) <2> maybe chunk_split() will be used <4> sudo is an option <3> Thanks codergeek42 <0> sure <3> Thanks Sycofant <2> Shadow_mil: dechex() and chunk_split() should get you in the right direction :)
<1> philip: How can I add extra "00"s at the end if there are not euf?, with strlen and $string = "00" . $string; s? <5> for templating in php what is the best system to go with? smarty or the pear HTML-Template? <6> Shadow_mil: $string = $string . "00"; <2> Shadow_mil: i have faith that you'll find a way :) <6> Shadow_mil: the way you had it, it'll add zero's to the beginning... and yes, strlen should do the trick <1> gimp_: Yeah, a number needs to be 00000565443 not 346432500000, we read from left to right, not right to left <1> 0001 0009 0030 0232 .... <6> Shadow_mil: then it needs to be at the beginning. word it by the way the number actually is, not the way its read. and yes, your idea should work fine. <7> Anybody got a good way to get the directory a plugin's files are in? <8> online or on your computer? <2> plugin for what? <8> i was going to say on unix just type ls -all <2> i was going to say echo where_are_the_plugins(); :) <7> I'm writing a plugin, I need to require files from the plugin into other files in the plugin. <9> i was gonna say connect and ask oracle <2> heh <7> If where_are_the_plugins() is really a function in WP, that would work. <2> see, this is #php and not a wordpress channel <7> oh damn, my bad <7> i thought i was in #wordpress <2> heh <2> i am guessing there is a constant just for this task :) <7> philip: there's not, i remember some people talking about it in #wordpress <4> http://video.google.com/videoplay?docid=-720650682163363570&q=david+h***elhoff <4> Opps, wrong window. <4> I suggest no one look at that link. <9> Oh boy <1> o crap, I have forgotton the thing to make something a optional variable in a function, I wanna say its "&", but I think thats for the refrence. <2> Shadow_mil: php.net/functions <10> hi does anybody know where can i find a goo tutorial of php <11> http://php.net/getting+started <1> google <9> .com <1> not if he has firefox :) <11> she* <9> judging by the name if it's a he i would recommend using yahoo search =) <10> thanks Ox41464b <1> lol <8> why yahoo: <8> ? <1> zspada15: all the gay little link (and this is a bit off topic) <1> links* <9> :-) <12> I have a VPS with a hosting provider, and I am having 2 problems. <12> 1. PHP error messages aren't showing up, what line in my php.ini file do I find to change that? <12> 2. PHP is unable to connect to mysql. can't connect to localhost, they made me change my hostname to vps486.tcoburn.com but not sure why PHP can't connect to localhost <13> bubazoo, did you check mysql permissions <13> make sure localhost is allowed for the username which you are using <1> bubazoo: I would search your ini with your find tool and search for "error" you can't really go by line number because every ini is differnet <9> try doing it by the local IP instead of the hostname <4> I've solved everything!! I will store all my data in XML in blobs in a MySQL table!!!! <12> how do I check mysql permissions from an SSH prompt? <9> none since free6.com exists heh <13> bubazoo, do you have root access to the mysql database program <12> yes jfarrell <13> login as such <12> ok, then what? <13> and query the user table under mysql database <4> phpmyadmin visualises that sort of thing much nicer than the mysql client. <13> see what the permissions are for the user which you are trying to login with
<14> bubazoo: not linux root, but mysql root. <13> Sycofant, err whatever, i just use the CLI for everything <14> jfarrell++ <4> Yeah.. <13> threnody, thanks <13> though for tricky stuff that MySQL administrator program isnt bad <13> though I am self taught on the command line <14> jfarrell: phpmyadmin make almost as many errors as i do <13> haha <4> I've been using a Win32 MySQL client recently, it's not bad. <13> I have MySQL and IIS <13> mysql apache <13> everything on the same box <13> windows usually <4> Which Win32 client do you use? <13> what do you mean by client exactly <13> you mean mysqld-nt-max <12> ok all permissions are set <9> i do some java, trying to learn c++ though, i'm reaching an early middleage crisis <12> permissions are set to all, so its not that <13> threnody, if your gonna do asp.net you may as well use visual studio\ <13> bubazoo, it was just a conjecture <14> jfarrell: I cannot imagine anything that screws up formatting as much as VS <13> threnody, LOL well that depends on your coding style <4> jfarrell: No, I mean an SQL client... <13> personally I love the formatiing in VS cause its very close to the way i program <9> enjoys zend studio for php and notepad++ on win32 and vi or nano on nix, bad mix good combination <13> Sycofant, like ODBC and what not <14> jfarrell: do you do CSS when you use VS, or tables? <13> threnody, naturally <14> jfarrell: naturally which? ;^) <13> i do both <9> divs or tables ;) trick question <13> ]i tend to use a combination of CSS and tables <4> Well, I've been using SQLyog - for manipulating tables, creating and managing databases, and so on. <13> in all of my designs <13> ahh <13> well if your talking about that <12> am running mysql version 4.1.18 it says <13> I use MySQL administrator <12> 4.1.18 standard <13> for some trickier stuff and the CLI of course <13> then I use the new SQL Server Manager for my SQL Server <13> i am running 5.0.1 <13> and 2005 SQL Server <14> for db design, table creation, etc, I prefer mysql monitor. <4> Tried Access or OpenOffice base with MySQL? <13> threnody, i have veeb starting to use that <13> but I am a CL guy <13> so I can do it from both worlds <12> jFarrell wish I had sql server 2005 :( <13> hehe <13> i honeslty prefer MySQL <9> i got that <9> heh <13> it just seems better, though as I have been informed <13> it doesnt follow the standards as close as SQL server dopes <9> came with visual studio 2005 enterprise <13> our university has a special agreement with microsoft <13> so we cs majors get al lot of the development software for free <9> jfarrell: agree, its those rainy clouds <4> PostgreSQL is n excellent DBMS but not as widely used as MySQL <13> xpowerstudios, you prolly got SQL Express then <13> Sycofant, yes TML speaks very highly of it <12> lucky you jfarrell, when I was a cs major in college we didn't have all that :( we just had ms-dos :( <13> I have played with it <14> postgresql is very powerful very complete <13> pc ms-doc <13> or msdos <9> jfarrell: just says Microsoft SQL Server 2005
Return to
#php or Go to some related
logs:
GTF XFree86 modeline generator decompyler pyo curl unable to set private key file #lisp mount *** glibc detected *** free(): invalid pointer right-join left-join no-match #debian perl prettifier udevd hung #linux
|
|