| |
| |
| |
|
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
Comments:
<0> Or... wait.... Or PHP isn't outputting a \n, which would cause Perl to wait for one forever. <0> Hmm. <1> I mean if the form's already there. I grab data from it, mangle it, set a field in the form to a new value, so essentially, live updates. <2> Stormx2: Take a look at a phpinfo() page <3> b1n0ry: don't forget htmlentities() <4> caffinated: But your eyes say YES! YES! OH GAWD YES! <5> TML: Tis no good, I need it by a function.. :P <0> Okay, it doesn't output the \n, that's probably the problem. <2> Marupa: You can't do "live updates" from PHP. PHP requires a round trip to the server, because it runs on the *server side* <5> I'll just output globals... hang on <6> I like the look of trac better... but it doesnt seem to have client management or any calendaring system... its just projects..... <2> Stormx2: Take a look at a phpinfo() page and find it yourself. <1> so, I'd have to mix php and javascript, then? <7> damn.. forot.. gotta reboot <0> Okay, the server logs a lot now. It probably works now.
<8> Jymmm: no, I don't click on links that obvious <9> does anybody know any php script for organize bookmarks in tags? <0> Okay, got it :-) <8> Jymmm: you should try it with someone else. preferably, someone who can't read. <10> Marupa: yeah, if you need stuff to process on the client, you need to use something client-side. php is not client-side. <4> caffinated: I would NEVER actually say "work safe" if it wasn't. <6> caffinated: how do you handle other aspects... such as client/employee management and what not.... or is that done not online.... <8> Jymmm: that may be true, but the link says it's not eyeball safe either <3> rofl <8> Tac_Work: I don't work with clients. <1> ok, so is there a way to keep the data mangling hidden, yet still live update. I guess that's what I'm trying to get at. <4> caffinated: Get some balls between your legs and take a chance! <10> Marupa: php cannot live update. period. <1> I mean by mixing both javascript and php./ <10> Marupa: sure, mangle it with php before giving it to javascript <6> punkstar: do you run this on a dedicated box along side your filesystem? <1> so, php grabs it, mangles it, hands it to javascript, which updates? <5> is there usually a $_global or $_globals array? <10> Marupa: that usually depends on what you write it to do. <10> Marupa: remember that php runs exclusively on the server. javascript runs exclusively on the client. <11> Stormx2: $GLOBALS <5> ah ok <1> ok, so..second part, then. is there a way to call javascript from php, to perform that exact duty? <10> Marupa: echo the javascript as part of the html output <1> ok. <1> thanks <2> Stormx2: Why not just follow the suggestion and look at a phpinfo()? <10> any idea, anyone, on the mysqli thing? <4> GAWD... "Line Cards" are so, so, 1970's <12> whats a line card ? <4> alphablue: It's a card distributors would give out instead of a full product catalog. It list the mfg's name of the products they carried. <3> speak to Google and listen what it hawss to say. <4> alphablue: sorta like this --> http://www.mayfieldpaper.com/products.html#anchor26687 <12> oh <12> yea i remember then in my old pc magazines.. and crap <4> alphablue It's like using an adding machine today. <4> not even old-skool, more like ancient-school <10> heh, nevermind, i got it <10> in order to connect to a database, the database must actually exist and the username must actually exist. i had neither one of those conditions met. <10> duh <4> alphablue: Here's a great example: look at the page, then click on the "catalog" link at the top. Yeah I REALLY want to do business with these guys. <4> http://www.katzke.com/products.html <10> lol <10> the company i work for has a 'recent news' page that hasn't been updated since 2004. <13> I have a secure certificate set up on my site... how to I get https://xxx.mydomain.com/index.php to work? <10> Yodafone: your web server must be listening on tcp port 443 <4> b1n0ry ya know, it better if places just had a website with contact info, locations, directions, etc than to even bother with the bs. <10> Jymmm: unless they can keep it updated <14> hi, i cant seem to get a dynamic variable name, eg make a variable and call it variable1, then loop, so make another variable and call it variable2 etc. I did some digging and thought it was something like ${$variable} but i dont think i am even close. Any thoughts ? <4> Yodafone are you trying to use a subdomain? <15> i have gd.so module now <15> how can i load this module? <15> [root@I2C-PBX gd]# cd /usr/local/src/php-5.0.5/ext/gd/modules <15> [root@I2C-PBX modules]# ls <15> gd.so <10> Ginja_Ninja: first, better to use an array such as $variable[1] and $variable[2] but if you must use names like you are, then $variable$index <14> b1n0ry: thanks alot, ill give it some thought <10> Ginja_Ninja: no problem. arrays are almost always more friendly than dynamic variable names especially when it comes to debugging. <14> b1n0ry: Yea i can image, make sense. hmmmm <10> Ginja_Ninja: been using php long? familiar with arrays?
<15> Ginja_Ninja: how can i see php verison? php -? ? <3> php -v <15> thanks <16> hey all - is there a way I can convert a string into a number, or do I not have to worry about that when doing mathematical comparisons? <15> i have installed gd <15> but i'm not sure how to load its module gd.so <17> rawsweets, what kind of number ? <10> rawsweets: you can do (int)$variable <16> kewl <14> b1n0ry: Not that long. Triying to use array more and more nesting alot at the moment. <10> rawsweets: typically, though, you don't have to worry about typecasting <16> just a regular integer <16> i didn't think so, but I wanted to make sure :- <16> ):-) <16> thx <14> Dr-Linux: can try running phpinfo() in a php script, then you can see everything about your php install <18> Hey-o! Say I want to include a two parts of a file at different lines in the script, can I specify a target to split the included file around, or should I instead tell the script to "include up to nth line" <15> Ginja_Ninja: i can see that from php -m i can't see gd word there out off all modules <10> bennyp: include() includes the whole file <2> bennyp: include() doesn't allow for anything like that. <15> i just install gd so may be i needs to load <10> bennyp: best use two separate files <18> ok thanks <15> [root@I2C-PBX modules]# ls <15> gd.so <15> i have it here i think i should move it somewhere <9> does anybody know any php script for organize bookmarks in tags? <19> zck: You could just use del.icio.us and its API. <9> mattmcc: I whant to do it without internet <20> I changed a php script last night that uses regexp to compare email addresses, and today I had problems with my webserver. I have read that there was a apache 2.0/php bug concerning regexp. Considering these, I was wondering if /(\w+)[\@](\w+)?[\.]?(\w+)[\.](\w+)$/ is a good string to match email addresses, or if it might be putting additional stress on the server. I need to match user@a.com and user@a.b.com also. Thanks in advance. <10> with php, how does one declare a cl*** destructor or is there no need? <21> b1n0ry: not possible <21> you can imitate one using register_shutdown_function() <19> PHp5 has destructors, but 4 doesn't. <10> Ralf: is garbage collection performed at the end of the script? <19> b1n0ry: Yes, of course. <21> i have a weird issue that i need to solve <21> i have code to set a cookie <21> when a user logs in <3> Dr-Linux: Have you made any serious thoughts about doing you know... 'make install'? <10> and are resources consumed by cl*** functions automatically freed during that garbage functions? <21> it works perfectly on every server except the production server i am trying to install it on <21> is there any reason why setcookie() would not work? <22> why do gain access to open database if resource is out of object? <19> b1n0ry: Yes. <3> Ralf: No. <10> that's all i needed to know. thanks, Ralf <3> hummm... Never mind me :) <23> my php script is bombing out without any error message at all, where could the fault be. There is no log and no nothing <10> if a function can contain a function, can a cl*** contain a cl***? <21> yes <21> professorchen: is display_errors set to On ? <3> !+error reporting <24> Error reporting: Add <?php error_reporting(E_ALL); ini_set('display_errors', 'on'); ?> to the top of your PHP script to display all errors, or set the display_errors to 'on' in your php.ini and error_reporting to E_ALL in your php.ini <10> professorchen the problem could be that you have error reporting disabled <21> or add php_value display_errors=On to your .htaccess file <21> :-p <23> ralf:display errors is set to On <22> do i* <3> lng: What's with /me? <22> Stormchaser, why not? <10> Stormchaser that's what i've been trying to figure out for weeks <25> Apparently 'why' is a verb or something <25> :P <23> ralf: this is the top of the script - error_reporting(E_ALL); <23> ini_set ('log_errors', 1); <23> ini_set ('error_log', 'this_log'); <23> ini_set ('html_errors', 0); <25> PASTEBIN <25> >:O <3> lng: It's idiotic, stupid AND annoying... What are the reasons 'for'? <4> !+g16
Return to
#php or Go to some related
logs:
sha256sum apt-get sanaldestek mkfs -t vfat /dev/sda ubuntu resident memory #asm #debian #python iptables problem Bad argument ESTABLISHED RELATED ubuntu unable to mountable lvm partition #kde
|
|