| |
| |
| |
|
Page: 1 2 3 4
Comments:
<0> what we need is a low cost hosting provider that allows you to edit your own php.ini in a shared environment while protecting the insecure options <1> nah, i'd go into the designer hosting business. we'd have coke-addicted former-model sysadmins and glitter on the webpage. <2> Two-Bits: you will see more of those as xen matures and finds its way into linux distros <2> er well, maybe not protecting insecure options.. but at least a smart host could put big ### DO NOT CHANGE THIS UNLESS YOU KNOW WHAT YOU'RE DOING!!! comments around dangerous options <2> then the dumb users could ignore it and make it insecure anyways <0> dont most php hosts enforce a security sandbox? if not simply by safe mode, then by other means? <0> or do they just run in virtual environments? <2> yeah, usually safe mode <2> but 1- safe mode ****s, and 2- it's gone in php 6 <0> oh really? <3> how would I get one specified field in a row in my MySQL db into an variable? <4> um <4> @mysql_fetch_***oc <5> (PHP 4 >= 4.0.3, PHP 5) <5> array mysql_fetch_***oc ( resource result ) <5> Fetch a result row as an ***ociative array
<5> http://www.php.net/mysql-fetch-***oc <6> list($doink) = mysql_fetch_array(mysql_query("SELECT column FROM table LIMIT 1")); <7> hello, am using php recently as am trying to learn it.. i downloaded a copy of php and apache but i don't know what should i do to lt them work.. i read lot of help files but it's really doing nothing <6> php.net/install <7> why php does'nt configure apache <6> helpme`: why would it? <6> php is a language & interpreter <7> no <2> helpme`: go get one of the wamp packages <6> it's not? <7> i mean php configured web servers like IIS and others <6> huh? <7> but why do i have to configure apache my self <7> nah i want to learn installing them manually <7> thanks <2> http://www.hotscripts.com/PHP/Software_and_Servers/Installation_Kits/ <2> you want to learn how to install them manually, but you're upset that php didn't configure apache for you.... <7> dude chill, i'm just asking :) <6> well, there are multiple ways to configure php with apache <6> and your httpd.conf could be strange, so it can't exactly know how to do it <7> that's the correct answer :) <2> i'm chill, i just thought it was strange ;) <6> plus, it's not like apache is a php requisite <2> like buying a manual transmission, then being upset it won't shift gears for you.. <4> lol <6> heh. tip-tronic! <4> I want an automagic transmission <4> where I dont even have to put it in park, reverse, or drive. it just does it for me <0> you do that. i'll opt for the teleporter <2> you sit down, and theres just a joystick <0> a manual one <4> hehe <4> no way <4> joysticks are so 19990 <4> erm <4> 1990 <4> I want a gamepad. <2> ok, a gamepad controller :p <2> hah <0> that's why we either call them lovesticks or analog sticks <0> depending on your definition of "joy" <4> I entered the Konami Code on my car, but it didn't give me a free life. <0> i want a car that comes with a second controller <4> haha, two player car. <4> wewt <0> so we can do some mario kart co-op action <4> yay <4> have a banana peel dispenser <0> with a turtle shell and banana dispenser built into the trunk <4> haha <0> my friend installed a fog machine out the back of the bottom of his car, one of them static electricity orbs in the back on the ceiling, theater tube lighting all around the interior, and water jets in his wheel wells <0> lord knows what else he's done to it since, but it was certainly a fun vehicle <6> god why? <2> they haven't even perfected that in the lab yet! <0> Step 1: dont bother <8> apparently some folks still use it <0> cf is relatively easy to read/understand. if you have to maintain it, it might be just as easy to rewrite it in something else <2> i started out in cf <8> imagine a corporation whose entire site is in cf <8> hiring web developers.
<2> i remember i wrote an app that took headlines from like, yahoo or something, and displayed them in a box (this was pre-rss) <2> it was 300 lines or something like that <2> then i learned php, and rewrote it in about 10 lines <0> then he learned perl and rewrote it in 1 <2> heh <8> they don't require you to know cf when you're hired, but want you to learn it within 30-60 days <0> but from that day forward, he couldn't read it <8> "become accomplished" <2> if it takes you more than 2 hours to learn coldfusion, you need to go be a garbage man <0> learning cf should not take that long. <8> I don't expect it to <8> I'm just saying <8> they want 2+ years of app development in ASP, .NET, PHP, C++, Visual Basic, Java, or Cold Fusion <8> with a commitment to be a bomb-*** cf developer in 1-2 months <0> i got 4 of those <0> but it wouldn't be worth it <8> hm <8> I need to work on getting a job that's worth a damn <0> work on getting a job first, then work on making it worth a damn or finding one that is <8> I have a job. <8> It's not particularly worth a damn <8> What's fun is I know wtf I'm doing, it's just a matter of persuading others that I know what I'm doing, in one page. <8> I'm no good at doing a resume <8> woo. <9> resumes are hard <9> i keep updating mine when i realize how much it ****s <8> all my work history (as far as an actual non-contract job is concerned) is non-IT <8> I'm about ready to add "strangling the neighbor with his own drumsticks" to the list though. <3> could someone help me with this small one: http://dalphp.shoggoth.net/pastebin_view.php?791 <8> where are you getting the name from? <3> well I could get it as an variable lets say $user <8> name=name in every field <8> just like 1=1 <8> ok then you'd do where name='$user'" <3> aaaaah so thats what I did wrong i tested name='$user'" with out the '' wround it <3> thank you <8> np <3> but dosent '' unlike "" stop a variable from being "used"? like whem u use echo "$user" it prings its value but echo '$user' ir prints $user <8> it's still enclosed within " " <8> so yeah variables will still be evaluated. <0> the '' is IN the string, not the string delimiters themselves. and yes, single quotes wont interpolate variables <10> darn. Apparently I can't use the 1040EZ form for my taxes. Gotta use 1040 or 1040A. <11> y ? <11> u own property ? <10> no. Mutual funds. <11> oh <10> you know which is eaiser, 1040 or 1040A ? <4> 1040A <4> 1040 is the uber-one <12> how I can do a SUM on one column, but only count records where the contents of a second column match what I want? Like... $query = mysql_query("SELECT SUM(total) from list WHERE attendingpa='Y'"); <8> that doesn't work? <12> nope :/ <12> You think it should? <8> I'm not sure if I've ever used SUM() <12> I end up getting a "resource id #3" error out of it <8> when you try to echo $query? <12> yeah <8> that's not an error. <9> haha <9> @mysql_fetch_array <5> (PHP 3, PHP 4, PHP 5) <5> array mysql_fetch_array ( resource result [, int result_type] ) <5> Fetch a result row as an ***ociative array, a numeric array, or both <5> http://www.php.net/mysql-fetch-array <9> Wuher: the results of a mysql_query are not directly printable <8> that's not a bug, it's a feature. <9> you need to call mysql_fetch_* on it to extract data <8> @mysql_fetch_* <9> www.php.net/mysql <-- read! <5> Functions matching mysql_fetch_*: <5> mysql_fetch_array(), mysql_fetch_***oc(), mysql_fetch_field(), mysql_fetch_lengths(), mysql_fetch_object(), mysql_fetch_row() <12> yeah.. I tried doing mysql_fetch_array($query, MYSQL_NUM); <8> ok, then what happened? <12> should I have been doing fetch_row?
Return to
#php or Go to some related
logs:
cannot access the hardware clock #india #chat-world #chat-world dl4.dumpalink.com
#allnitecafe HUNGARY GARLS #php dizi söhret #chat-world
|
|