| |
| |
| |
|
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> yes I'm in the US <0> I kind of wing the price past 25 users <0> FYI, deploying on an AMD opteron, 8 MB RAM, 2 TB RAID Solaris system <1> is there anything wrong with this: if($ip !== "**" || "**"){ ? <2> 8 MB RAM isn't much :) <3> 8gig i hope <0> price does not include server, hardware, backups, or extra engineering <2> z_doc can i talk to you PM? <0> I ment gig <4> lilkid: if ($ip != "ip" || $ip != "another ip") <0> just typing to fast <0> sure <1> Dangermouse: ahh thanks, :) its been a while since i used php <4> lilkid: php.net/manual <1> oo thanks <5> is it normal to get a bunch of odd warnings when using phpize?
<2> define "odd" <5> undefined macros.. etc <5> mostly related to aclocal <6> Is aclocal installed? <5> It is now; i downloaded the latest from gnu <5> well; i should say automake <5> rather <6> pastebin the errors if you keep getting them and can't run ./configure && make <5> Well; make worked <5> fine <6> Then don't worry <5> it built php with magickwand <5> im just leery whenever i see goofiness in my sysadmin work. I expect to see goofiness in my coding, because im inheritly bad at that; but i actually do sys-admin stuff for a living. <1> oh my gosh, why does nothing work, i swear my host has php version 1.1 <5> safe mode? <7> I have a question. <7> I set a cookie in mysite.com/inc/file.php <7> but I want to get this cookie from mysite.com <7> and not mysite.com/inc/ <5> like at the moment I have a dell 1800 server that every 20 minutes or so disconnects itself from the network; and I have to issue a service network restart to get it to come back. <5> it does this for no reason <5> my life is good times. <8> Look at the logs? <9> DogWater: Netccard collisions? <2> z_doc in reality, that's probably more than $10,000 for installation due to the migration <5> Stormchaser: im forcing link speed/duplex on the catalyst and the e1000 and there are no int resets, tx/rx errors collisions or anything <10> hy ,how can i include a php with parameters? <2> z_doc: if you would give me your e-mail address, i'll send you my vcard for future contact <2> z_doc or you can e-mail me at chrisbianchi@alloypolymers.com <10> for exmaple i want to include index.php?param=something <11> how do you put a constant into a string, like "blah $var blah"? going "blah {CONST} blah" doesn't seem to work for me <2> DjDarkPingvin: are you going to convert $param to a variable in index.php? <11> so ive been using concatenation :/ <9> DogWater: Odd... When I managed our company's proliant server, I've managed to get like 50k collisions in like 30 minutes or less... <9> FzZzT: no, the {CONST} doesn't work. <5> Yeah thats generally due to linkspeed duplex mismatch <0> just fired an email at you <10> b1n0ry: yes with get <2> z_doc: i just replied with my vcard <9> DogWater: But strange thing is, that I got that only on RH... wen I pulled out my truysty SuSE everything worked fine :) <11> hmm <0> cool <2> DjDarkPingvin: so just set the variable before the include: $param = 'whatever'; include('index.php'); and in index.php use if(!isset($param) && isset($_GET['param'])) $param = $_GET['param']; <12> Hello <12> How to check the remaining validity time of a cookie ? <10> hmmm not a bad idea <10> thanq <13> Pol: The client doesn't expose that. <12> mattmcc: and the server? <0> I'm outta here folks. Thanks for the input. It kinda ****s that I can't seem to make the forms based upload work correctly (PHP or Apache guys just got to fix that), but at least I have some ideas for a decent workaround <0> Thanks again <2> DjDarkPingvin: that way index.php can respond to $param being set early or to a $_GET variable. with the syntax that i gave you, $param being set by a caller overrides anything $_GET puts out, which is probably desired. <2> z_doc: i'll be in touch <0> mee too <13> Pol: If the client doesn't tell the server, the server has no way to know. <12> ok... <2> Pol: when you set the cookie, you set the expiration time... so, you could set a cookie variable containing the time that you set the cookie. then you could determine from the time that the cookie was set and how long you set it for how much time is left :) <14> hey dudes, is there a reason why if all my php files that my app uses are 'require_once' that php should complain about "cannot redeclare function" crap? <14> seems to have issues :P <15> dmar-_-_: yes. you have the same function defined in two different functions. The complete error message would help. <12> b1n0ry: thanks alot, that's a very good idea...
<2> Pol: $cookieage = time() - $_COOKIE['settime']; $timeleft = $expiration - $cookieage; <15> s/different functions/different files/ <11> dmar-_-_, maybe you have, yeah, same function different files <16> If i want to add a link to my database that someone have created should i do like this: $sql = INSERT INTO $table_namn (lank) VALUES ('http://127.0.0.1/files/. $_FILES[fil][name]')"; <14> nah... the errors are: HP Fatal error: Cannot redeclare start() (previously declared in c:\Inetpub\wwwroot\lib\init.php:27) in C:\Inetpub\wwwroot\lib\init.php on line 31\ <14> which means its totally the same file :) <2> Pol: then, if you set cookies to be valid for 60 minutes, $timeleft = 3600 - $cookieage; would give the time left in seconds. <15> dmar-_-_: yes...and two different lines. You should look at them. <9> dmar-_-_: Means you're reincluding the same file. Use include/require_once <14> dude... there is only 1 function of that name.. trust... however, the file gets 'require_once()'ed' quite a lot <2> alright, g2g pee <17> thanks for sharing <18> hey guys, i'm trying to create an instance of a msword application using com objects. how can i add a page header/footer to the document ? i can't seem to find anything on google.. <14> is there a limit to how many times a file can get included?> <9> no <14> or required? <14> 'k. <15> dmar-_-_: post to pastebin, lines 20-40 <19> a 44oz diet coke will do that to ya <20> how do i find out what extensions are enabled? dont see it in phpinfo() <16> If i want to add a link to my database that someone have created should i do like this: $sql = INSERT INTO $table_namn (lank) VALUES ('http://127.0.0.1/files/. $_FILES[fil][name]')"; <14> http://pastebin.com/548804 <15> dmar-_-_: which line is 27? <14> membersOnly(); <14> CryWolf, but i dont get it <2> done <20> hmm do i need any other extensions enabled besides the mysql one to support the mysql extension? <15> dmar-_-_: hrm...pastebin the membersOnly() function <14> http://pastebin.com/548809 <9> NiGHTFiRE^: That looks wrong... <15> dmar-_-_: strange indeed. I don't see anything offhand. The first thing that really comes to mind is to make sure you don't have any mismatched braces anywhere. <2> question for admins: are acronyms (such as lol, bbiab, etc) a violation of the aolbonics guideline or just word substitution for sounds (u for you, b4 for before)? <9> b1n0ry: no, they're not <21> is there a way to make a function argument optional so it doesn't generate an Warning? <2> Stormchaser: so bbl and such are permissible? <9> mhm <14> the site (huge - 20k lines of source, has been working for 5 months, however in anticipation of deploying in the production env. i've re-written all my reqire-once **** to allow for a global defined root. <16> Stormchaser: Yes it probably is. But how should i do it? <2> Stormchaser: i just wanted to be sure as i tend to use them without even thinking about it. <2> thanks <14> Stormchaser: there's something wonkey about php. there has to be. <2> dmar-_-_ it's a secret :) <15> dmar-_-_: I hate to say it, but...revert, see if it works again, and then keep re-adding the changes until it breaks. <14> cause like.... unless ther are limitations to the usage of require_once <2> dmar-_-_ look for wonkyize() { } in the source <14> reverting would mean removing the require_once and the root calls. <15> dmar-_-_: another common mistake I've seen...the code you're looking at, is it the code that's being run on the server? <9> NiGHTFiRE^: the ('blah . $var) <-- notice something wrong here? <9> argh... Forgot ' <22> in php5 if i have a cl*** and want to use another object that has been instantiated elsewhere how do i do that? <16> Well the ; <23> Hello <20> what might cause php_mysql.dll extension to not load when it resides in c:/php/ext/, extension_dir = "c:/php/ext", php.ini is in c:\windows and phpinfo reports the extension_dir and ini path to be correct? <23> What would this do: $ctype->fields[] = $field; ??? Add $field to the end of a fields array? <13> Yep. <24> yo ppl, how do i conf php in apache 1.3 so it will treat files without extention as php? <23> mattmcc: Yep for me? <13> GoatDevil: Files without an extension, or URLs? <13> sredna: Yes. <24> Files without an extension <23> mattmcc: Thank you :) <25> how do I find the words in a sentence encapsulated by { and } and put them into variables? <23> It's called push <23> ;) <13> GoatDevil: You would use a ForceType. <13> E.g, <Files somefile> ForceType application/x-httpd-php </Files> <26> can anyone recommend a good resource for a data entry user interface? working with a db where each records has lots of data and handwriting <inputs>, etc will be the death of me. <13> There are approximately fifty thousand form builder scripts available. <26> I'm sure there are. That's part of the reason I had to ask. If you could recommend, like, one, I would greatly appreciate it. <27> sigger- phpmyadmin <26> heh, thanks. I prolly should have specified that its for end user. <2> sigger: PEAR::HTML_Form? (although PEAR::<anything> tends to rub some people wrong)
Return to
#php or Go to some related
logs:
repository marilat ubuntu #gentoo #math #suse substring_replace mysql can i delete ibdata file in mysql? #web kmail gmail unrecognized transport protocol anjuta rpm for ubuntu linux and tumbdrive
|
|