Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

05 November 2007


Total 40 pages. You are browsing page 1/40.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Mon Nov 05 00:00:12 2007
--- Day changed Mon Nov 05 2007
00:00 <****> trend: The comment says it uses business days.
00:00 <****> I can uncomment echo $date_info["wday"] and i see: 45612345612345612345612345
00:00 <****>Row
00:01 <****> right, purpose is to strip out weekend.. it is locating Sat, but not sundays
00:01 <****> Thadp: do you see the first print messages?
00:01 <****> yes
00:02 <****> hello all. i want to generate unique filenames which date and time. what method would suit my need?
00:02 <****> http://filipinosnforeigners.com/wmoptions.php?function=addbuddy&userid=54&targetid=54
00:02 <****>Row() is not dying internally? is this your own db framework that you're using there?
00:02 <****> aha, figured it out
00:02 <****>
00:03 <****> a good example of what im trying to do is what cron jobs do, they run a php script without having to physically visit it via browser
00:03 <****> ive looked at umpteen pages on sql/php and tutorials like mad
00:04 <****> how do you take a really long string and break it apart every 20 characters
00:05 <****> say, $longstring becomes $array with each piece of the array only 20 characters long
00:05 <****> Gtwy: that's a good question
00:05 <****> php_flag allow_call_time_pass_reference true is that line correct for a .htaccess file?
00:06 <****> i dont' know in php but u could use like $array(x)=$strip($longstring,x*20,20)
00:06 <****> dionyziz: does that mean you are going to try and help me ?
00:06 <****> i don't know what the php commands are
00:06 <****> Gtwy: yes
00:06 <****> Gtwy: there's no automated way of doing it as far as I know
00:06 <****> Gtwy: for ( $i = 0; $i < strlen( $longstring ); $i += 20 ) { $array[] = substr( $longstring, $i, 20 ); } ?
00:08 <****> Gtwy, should work... don't forget to initialize $array = array();
00:08 <****> dionyziz: i am looking over your code. excellent idea
00:09 <****> dionyziz: any other idea i might beable to try i would not be in here asking if i havn't looked for hours trying to figure out whats wrong.
00:09 <****> Thadp: what database framework are you using there?
00:10 <****> sql
00:10 <****> Thadp: I mean, where is the "DB" class defined?
00:11 <****> in a config file that gets loaded . the funny thing is i just made a different page that called all this stuff and it worked fine. if i had problems it told me on the pages i don't undesrtand why it just stops my code.
00:11 <****> how can i learn php? what software should i use?
00:12 <****> i am trying to put a .htaccess file in a directory on my server, and i upload it and then it disappears
00:13 <****> waterer: you will need a webserver, such as Apache, and the PHP preprocessor. refer to the documentation at www.apache.org and www.php.net for information on how to install it and get it working. php.net has a simple tutorial to get you started.
00:13 <****> waterer: also, google search.
00:13 <****> wanderingii, try #apache
00:13 <****> have a look at your settings in your ftp-software
00:14 <****> thnx :D
00:14 <****> if your using ftp software it probly doesn't see it
00:14 <****> ok thanks ill have a check
00:15 <****> www.fbsl.net is as good as php
00:16 <****> try #fbsl
00:16 <****> ok thanks
00:17 * Wolfpaws shudders
00:18 <****> I think I'll skip that and stick with Python.
00:18 <****> how can i set allow_call_time_pass_reference to on?
00:18 * theamazingpun hisses at Wolfpaws
00:18 <****> :D
00:19 <****> hisssss
00:19 <****> do people really use fbsl?
00:19 <****> in your .ini file wnaderingii
00:19 <****> dont have access to it
00:19 <****> turn it from off to true
00:19 <****> <-- is the biggest idiot i love coding for this reason.. if you want to know dionyziz ill fill ya in :p
00:20 <****> :O
00:20 <****> i'm not sure that you can use ini_set to change allow_call_time_pass_referece
00:20 <****> i'm encountering a weird issue. I'm using mail() to sent an email with the subject 'test' and it works....except that the subject on the receiving end is 'SPAM:: test'. I tried it to different email-addresses so it's not a spamfilter issue at the receiver. Does anyone have a clue what could cause this problem?
00:21 <****> randem: read the emails header
00:23 <****> carrierBag: good hint. I see there is a good clue in the header "X-Spam-Status: Yes, hits=8.6 required=5.0 ". But i don't understand why?'
00:24 <****> you should try a mailserver that also mentiones what points lead to that score/hits
00:24 <****> randem: you should keep reading... usually its explaind, why your email has scored 8.6
00:25 <****> randem: If I were you, I'd go to Google and check, what mail headers can cause the spam filter to go haywire.
00:25 <****> s/headers/content
00:25 <****> That's all it says besides the extra line "X-Spam-Level: ++++++++". the above is from hotmail
00:26 <****> randem: is there no X-Spam-Status line?
00:28 <****> carrierBag: yes but only "X-Spam-Status: Yes, hits=8.6 required=5.0 ". There is no X-Spam-Report (on hotmail)
00:28 <****> but at least now i know it's a content issue. thanks guys
00:30 <****> i read something in a book about: hiding your email address from: spiders using variables + breaking it up.... does this work or does the output in the source produce the same for the spiders ? :S
00:30 <****> Kemest^Gone: are you kidding? oO
00:31 * netaust1n has been reading, in fascination (or horror maybe?) the fbsl docs
00:31 <****> am clueless more like :(
00:31 <****> was an old book i got from libary and it touched on what i just said, i wasnt sure if it was real or not so its worth asking
00:32 <****> Kemest^Gone: of course spiders will get the same... and obfuscating email adresses never really has worked, so forget it. Bots'n'Spiders don't care and real people are pissed off... :|
00:32 <****> Kemest^Gone: spiders don't have access to your server-side code, only to youroutput, same as end-users.
00:32 <****> so jus stick an email on a website :)
00:32 <****> ive noticed alot of sites will just use contact form to hide an address
00:32 <****> Kemest^Gone: best way to do it is don't publish your email address.
00:33 <****> netaust1n: IT's some weird and twisted blend of VB, SH and something else I can't put my paw on.
00:33 <****> wudnt be mine so thats ok :)
00:33 <****> can anyone see whats wrong here, both $id and $title is populated correctly: if ( mysql_query(sprintf("UPDATE tr_objects SET title = '%s' WHERE id = %d", $title, $id)) ) {
00:33 <****> Wolfpaws: C++'s "private" and "public" sections....
00:33 <****> can i do a small survey quickly ... :)
00:34 <****> what program: do you guys code your php in ? i did have some php program awhile ago but formatted, atm am using Dreamweaver codeview..
00:34 <****> php builder i think it was :s
00:34 <****> Kemest^Gone: vim on linux, notepad++ on windows
00:35 <****> or how can I get the error-message best?
00:35 <****> both are open source and generally simple and fast
00:35 <****> Wolfpaws: the language you can't put your paw on seems to be babelfish translated french-to-english
00:35 <****> kanzie: mysql_query( ... ) or die( mysql_error() );
00:36 <****> may get php builder again :) see wat it offers
00:36 <****> need more understanding of this stuff though
00:36 <****> Kemest^Gone: I use eclipse and have a deep, entrenched love hate relationship with it
00:36 <****> never heard of it :(
00:36 <****> hmm it's probably the most popular and widely used IDE in the world
00:37 <****> netaust1n: Or crazy chicken on steroids
00:37 <****> IDE ? :S
00:37 <****> dionyziz: yeah, its a db-object though so I wont get the output as I have the code now, but Ill work it out thanks
00:37 * Kemest^Gone needs knowledge + a new memory
00:37 <****> He meant SATA


Total 40 pages. You are browsing page 1/40.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo