| |
| |
| |
|
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> but i have a high ctr <1> huh? <1> what did you said? <2> what would be the fastest: loading settings from mysql table or include a file with define() ? <3> hi <1> 5$ per 400 click, from one site ? <0> i have a high click through ratio <0> no... <0> 866 .62% $3.88 $3.36 <0> this week <0> 855 impressions <0> 14 clicks <0> $3.36 <1> Hoo <1> with only 855 vistit in a week ? <4> sqdfpoiupouilmkj: define isn't exceptionally fast... since I have to read the database settings somewhere I just put all my settings in one place and include that
<1> that s not a lot <1> god, i had this per day before, if i knew, i have to get my DB backup quick <0> 400 uniques a week isnt too bad <2> awormus: suppose i have to put it in a different file then the database settings, what would be the faster then define? <4> what's wrong with regular variables? <1> Xsploit: hoo, is that 400 pages views or 400 unique visitors? <2> awormus: then global them? <0> UNIQUE <4> Xsploit: what kind of site <0> www.skytvguide.co.uk <1> www.skytvguide.co.uk <1> ops <0> thats what i said <0> click an ad whilst youre there <5> guys i have a fundamental problem with a database wrapper i am in the process of writing...would it be ok if I ask for some suggestions? <1> God, i think i should have spent time on this <4> sqdfpoiupouilmkj: depends on how you work, I usually have a config cl*** which loads the variables up, then I can do something like $config = new FooConfig::getInstance(); echo $config->site_name; <1> Xsploit: thanks a lot for the infos <6> isn't there somewhere you could find ads for bbc shows etc? all i see are the dreaded google ads, check with bbc maybe they have an affilate program <5> when i execute a query/perpared statement in my cl***, the results get returned to cl*** property called $resultSet <4> Xsploit: you should be getting a LOT more than 400 uniques from that site <2> awormus: in this case the settings file would have to be generated by another cl***, is the cl*** approach still "good" then? <5> i can then loop through these results fine...but what if i run another nested query in my cl***, the results will get returned to the same internal property... <4> sqdfpoiupouilmkj: well, the settings themselves are in a ini file and the cl*** just parses the ini file the first time it runs <2> but then i would have to put the ini file on an offline part of the server ay? <4> sqdfpoiupouilmkj: yup <5> ...overwriting the original result set <4> or block it with a .htaccess file <2> hmm tru <4> or put it into a php array in a php file <2> will do that then i think :D <4> whatever you like ;) <4> Xsploit: my blog gets like 700 uniques a day <0> awormus its newish and google hasnt indexed me properly yet <6> Xsploit: very useful site though, agrees with awormus on the low uniques <2> awormus: im not too knowledgeable on htaccess, is it really secure? <0> cheers <4> sqdfpoiupouilmkj: yes <0> bookmark it and start using it frequently then <2> k <0> also link to me :D <2> awormus: one last thing: loading/parsing ini file would be faster then include a page with defines? :| <0> highest uniques ive gotten in a day is 94 and that was on the 3rd of this month <6> Xsploit: check out www.tradedoubler.com had them for a while, great network for affilates <4> sqdfpoiupouilmkj: speed is relative, I would prefer to run APC and have readable code, then tweak my code for speed and be stuck with messy code <2> apc=? <4> Alternative PHP Cache opcode cacher, makes stuff fast <2> ah <7> hello all <0> jimmiehansson whats it do ? <7> i found this link http://www.phpfreaks.com/tutorials/83/0.php tutorial to make calendars with PHP. im just wondering if PHP already has a library for this <6> Xsploit: allows you to become affilates with large companies (etc apple) on advertising partner programs through advertising for them you earn a certain amount of percentage back in revenue, tradedoubler is free and has a very advanced app for managing your ads, great site :) <0> i dont need more ads <0> google ads for me <6> Xsploit: maybe google isn't to be trusted <8> krz: I'm pretty sure google would know <0> maybe <6> 400 uniques is obscure, i'd look for an alternative . you've got nothing to lose <8> lol the "Sponsored by" on that php site is a Ruby on Rails hosting ad <7> Ciaran|Work is google here? <0> imma give google a bit longer to index me properly
<0> already got $40 from adsense anyway, may aswell keep it up till i can cash out <9> a bit longer? <9> you can be indexed by google in one week. <0> yea well its taking them a lot longer <0> my index.php has been index, the rest of the site hasnt <0> ive changed the way channels are being listed a few times im thinking thats why its taking so long <9> nah, change is good. <0> so far this month ive had 1500 unique visitors, that doesnt sound too bad to me <0> i want it to get better ofc <10> Is it possible to have PHP5 interpreting certain applications on an Apache server while having PHP4 interpreting others? <2> Cctoide: yes <10> ah :) <2> u can set that in .htaccess <2> have php5 for instance interpret all .php files and php4 all .php4 files <11> hi <11> i'm using redhat 8 (gcc 3.2), and i can't compile php 5.1.4 <11> any help? <11> http://pastebin.com/734874 <11> this is the compiler error <12> hello all <12> u mguys a question for regexp <12> i've got a string <12> in tha string i've got: [wiki]some word[/wiki] <12> i need to change the [wiki] and [/wiki] with correct <a href.. <12> could someone help me with htis ? <12> i'm not sure but i know how i can find every [wiki]jkdhkjfds[/wiki] <12> but i dunno how i can find, let's say: [WikI]djshkfds[/wIkI] <12> /\[wiki]+\[/wiki]/ <0> so ive moved a site to another host and mail doesnt appear to work on that host, any suggestions ? <2> send an angry email to ur host? :| <0> id have to wait for a response etc <13> hrm, I'm using fwrite(fopen($cache, "w"), ob_get_contents()); but I'm getting the error <13> Warning: fwrite(): supplied argument is not a valid stream resource in /var/www/localhost/htdocs/PHPcache/cache.cl***.php on line 16 <13> any ideas on what the problem is? <13> nevermind, fixed <14> fopen isn't returning a valid file pointer. it must be failing <14> o ok <0> 700 people read your blog a day awormus? <4> at least <4> been whoring it for the last 3 years ;) <15> enygmapantyhose <15> yippe friday is xmen3 <0> you a cam whore? :p <0> well create an article on my site then :) <16> any idea if I can set session variables from a php script that is supposedly only outputing an image, as in only used with a <img src="foobar.php"> tag? <0> yup <16> then I wonder what I screwed up <16> 'coz the variable isn't being p***ed along to the next page <16> ... I'm trying to make a CAPTCHA for my guestbook form, and it seemed to be working for a while, and now the variable isn't being p***ed <17> does somebody know a lib for ODF documents like fpdf for pdf documents? <18> php please guys ! :P php var create table, im lost :P <17> lietu, my script is broken ??? doesn't work for getting help <17> Kingmilo, what is the problem <16> enquest: I know, I was practically just babbling to myself ;) <16> sorry, a bad habit of mine ;) <19> i know that no one loves to help to rookies but is here any one that can be nice enough to help me build a script for me webpage? <16> o.. k.. wtf, seems like all my session based scripts just stopped p***ing the variables along, and I'm DEFINATELY sure they worked 10mins ago <18> enquest, thank you at last:P Ok, I have a php form with a textfield and a submit button, when a user inputs whatever into that text field it connects to mysql db with instructions to make a table CREATE TABLE x But x needs to be whatevr the user put into the php text field. So basically the user is creating a new table on the db with the information they enter into the text field. I dont know how to do that. I have the text field, i have the db, i <17> Let user create a new table just sounds stupid... If you have a text field and want to insert it. A way to help you... Put in your script print_r($_POST) and see what variables pop up... Then make you sql command to put in the database simple as that <17> lietu, check you php.ini file <17> does somebody know a lib for ODF documents like fpdf for pdf documents? <17> lietu, check print_r($_SESSION) and see if your session keep on working <17> wo_Ot, read the manual for starters <17> wo_Ot, its very easy written <20> I have a loop where I use curl to cut some data from a html page, but when there is many pages to collect, the site loads veery slow. Is there any better way to get it faster? <17> Diphilus_, what do mean with curl? <17> Diphilus_, what command do you use? <16> enquest: yeah, I did that, but seems they're not totally broken, they're just acting up really really strange, maybe I'm too tired to code again ;) <17> lietu, rule of thumb if you don't see get some sleep tommorow will be better <20> $result = curl_exec ($ch) <21> hello, i managed to set up an apache2 with php4-cgi via fastcgi and suexec , is there a way to avoid updating manually the php4 cgi in the user's directory on each update? (i run debian stable) <17> Diphilus_, and what do you want to cut out of the html <22> Diphilus_: What are you trying to do? Why are you using cURL? <17> Diphilus_, why use curl????
Return to
#php or Go to some related
logs:
#osdev #python xubuntu installing esd xrender will not compile with fluxbox compiz gconf support #centos #math what happened to dotdeb mm-sources alsa-driver yumdownloader --source kernel No Match
|
|