@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
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 28 29 30 31 32



Comments:

<0> strip_tags :)
<1> Ciantic: You're absolutly right.
<0> $without = strip_tags($html);
<1> _marian: I had a _huge_ mistake in my code anyway.. Use strip_tags instead.
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<0> I'm having hardtime to understand these code designers who can't fix their own bugs. :) But i'll look, i have few minutes to spare
<3> maybe they are not all as good as you are ;)
<4> Maybe they forgot the underscore in a variable name -.-
<5> thanks
<2> jude: was that aimed at me?
<4> Razz3r: No, it was aimed at myself.
<0> Razz3r, have you looked PDO.. i'll have to move on now, but i recommend you start using PDO
<3> obviously..
<3> or he would have kicked YOU instead ;>
<6> hi, do anyone know how to make an black (50% transp) rectangle?... (I want to do it with gd2)



<0> Razz3r, if you already use PDO then think about using its written way to import data to queries
<2> ciantic, no problem thanks
<4> Is there a function to cut off more than two decimal places in numbers, or am I going to have to write one myself?
<2> ciantic, what normally causes an error of this type
<7> Jude, have you considered substr... *shrug*
<2> ciantic, could it be because the table is blank?
<8> Greets. I have been wondering - does it make sense to use utf8_encode() and utf8_decode()? Consider an utf8 string with special characters being decoded into ISO-8859-1 - wouldn't that leave me with a bunch of invalid characters?
<9> is there anyway insert a value in the middle of an array and shift all elements after that over?
<7> Jemt, I think you will get invalid chars... maybe you can convert them over to their html entities...
<8> lig: Uhm, yes - could be a solution
<10> hmm weird the session id alphabetical characters are lowercase
<4> lig: yeah, I'll do something like that.
<4> Oh well, later.
<11> Hi, how can I get the pid of a running php script from inside the script?
<3> posix_getpid()'
<3> but without the ' HAHAHHAHA ALOLOLOL!OL(*&#(#@!!*smashes head on desk
<7> havin a good day are you choongii ;)
<12> I don't think so, no..
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<2> <0> I'm having hardtim
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<2> sorry about that repost but can anyone help
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<7> again Razz3r you are using array notation with an object
<13> i have one litle problem http://pastebin.com/632364
<2> lig, how do I correct this? I have not used php for ages
<7> use object notation
<13> anyone can help me?
<2> lig, can you give me an example
<3> alecs, try instantiating the object?
<7> Razz3r, php.net/oop <- php4 php.net/oop5 <- php5
<13> choongii: how? it is my first cl***
<13> :D
<3> see the urls lig said just now ;>
<2> lig, I will have a look but I dont think I will be able to find a solution. would you be able to past bin the problem?
<3> CHRIST MAN YOURE NOT A ****ING TARD ARE YOU
<7> Razz3r, for $35/hour - 4 hour minimum
<2> lig, lol I will p***
<2> lig, surly it wont take that amount of time to fix the problem
<7> not for me.... but that is my minimum rate
<14> hi all guys
<2> your ok I will just wait for someone else to help
<15> hello!
<7> howdy
<14> hei why php4 isn't fired again ?
<13> anyone? can help me? it's my first cl*** : http://pastebin.com/632364
<14> the most providers that i know don't use php5 again
<2> can I just confirm though, the problem is that an array has been defined in the wrong was when coding in an object orientated manner
<15> i wonder something - i have taken over this codebase and need to develop it and loads of functions are marked with "& <function_name>(){...}" what does that "&" imply?
<7> Petfrogg, look into references in the manual
<15> ok
<15> it just doesn't "feel" php - more like C or C++
<15> i understand the ussage of refrences but not when it comes to functions and methods
<8> Petfrogg: PHP is in fact very C like
<16> heh lig.. at first I was wondering why this channel seemed so hostile. But now I see why.
<7> omega--, :D
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<3> AAGGHH!!
<7> ping Jym



<7> damn Jymmm isn't around
<14> lig and what is the reason
<7> kioto, I don't know the specific reasons - but I would ***ume it is because 4 still works well and the users aren't demanding 5
<16> There's always the ignore function.
<14> yes lig but if php4 is fired, php5 are more supported and debugged...
<17> hi all
<7> true kioto ...
<7> howdy olger901
<17> I currently have a html <select> statement that loads data from a database. I want it to select a default using selected="selected" but it shouldn't show me any double data, because it will show me the group members twice if a user is a member of the group member
<13> <b>Fatal error</b>: Using $this when not in object context in <b>D:\docroot\filedb.php</b> on line <b>77</b><br />
<17> Is there a way to accomplish this using 1 SQL query, and letting it select a default
<17> ?
<13> ca anyone tell me?
<14> i'm hungry cause more persons that i know jumping to other and php phenomenon is split up...
<13> http://pastebin.com/632364
<7> olger901, 1 query may be possible with distinct or group_concat... depends on your specific situation
<13> choongii: can you tell me clearly?
<17> lig: I got 1 table that contains the users, 1 table that contains the group, it normally inner joins to see what group the user is in
<3> sure. what I clearly said was:
<3> 12:59 < choongii> see the urls lig said just now ;>
<3> and the line I was referring to was clearly 12:58 < lig> Razz3r, php.net/oop <- php4 php.net/oop5 <- php5
<7> kioto, I know - I am dying to use php5 - but the host only has 4
<18> Hi !
<18> I created 2 cl***es : cl***1 {var1 ... function cl***1($var1=new cl***2)}and cl***2{var2 ... function cl***1($var2=new cl***1)} ...
<7> olger901, what versionof mysql?
<18> These cl***es are instancided in tne same script
<18> Apache seems not appreciate it :\ It stops. Why ?
<18> *Is there an explanation due to my cl***es ? It s PHP4.3.1 Thanks
<17> 5
<17> .0.x
<17> so I can use sub-queries if needed
<7> olger901, check out group_concat in the mysql manual
<7> AxL, do you include the cl***1?
<13> choongii: so ai believ that i have to use new mycl***
<16> I'm trying to find a good, not outdated guide to creating a login system using MYSQL and PHP5. I've searched the manual, but it seems to be more directed to functions not specific applications. Google only seems to point me towards seemingly outdated guides. I was wondering if any of you had personal favorites.
<3> :D!
<17> SELECT DISTINCT groups.name, groups.id, users.username FROM groups
<17> LEFT JOIN (users) ON groups.id = users.groups_id
<17> that still brings double results from groups :S
<17> I just wanna see all results from the table groups once
<19> hello
<18> lig: yes there s no include errors ...
<7> omega--, you could probably use one of the tutorials that are in php4 - but use the php functionality (mysqli, pdo, objects, etc.)
<16> I did, and it's not working out very well.
<20> I have a report in a txt file... I would like to parse some data from this report.... what's the best way to retrieve some data between two strings? lets say: Dear Mr. XXXXX,\nThank you.... I would like to retrieve XXXXX.. So I know start string and end string
<7> olger901, now that you are asking specific SQL questions - you should ask in #mysql
<19> i just try hard and finly got the answer why my site stop working when ever i have more then 100 visiter
<19> i crate guest status per ip so now i have more then 100000
<19> so if user come on the site more then 100
<19> then php check these 100 ips with more then 1------ in databsase
<7> AxL, OO isn'tmy strongest suit so I don't know
<7> Lion28Wrk, have you looked at the string functions in the manual? php.net/strings
<16> I used this example, but it doesn't seem to be very secure. http://www.php-mysql-tutorial.com/user-authentication/database.php
<21> DCC SEND FIFTEENCHARACTERSOFDOOM!
<2> hi Im designing an online shop, Im getting Cannot use object of type queryFactoryResult as array on line 2 of my affiliate code can anyone help http://pastebin.com/632326
<22> hi
<16> I believe that the example I just linked to can be easily compromised by an SQL injection.
<22> i have more then 100000 ips store in databse
<22> when ever i have more then 100 visiter on my site
<20> Lietu: checked strpos and substr... I was wondering if there is a better solution or if there is an exact optimised one...
<7> omega--, check this out - http://phpsec.org/projects/guide/
<22> my site stop displaying coz php use to reslove these 100 ip from the databse
<22> when all things done site comeback
<22> i just simply use this
<16> Thanks, lig. I will.
<22> $res = mysql_query("select * from ref_guest_visits where ref_guest_visits_ip='$UserIP'");
<2> lig, is it a super simple problem to fix
<22> if (mysql_num_rows($res) == 0){
<18> lig:oh ... thanks anyway.
<22> ----
<22> }


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#css
drop column Key MUL HOWTO
#osdev
#perl
libpoppler suse
rdfleming
qemu eth1
crapton de mongolia
#math
ubuntu mysqlar



Home  |  disclaimer  |  contact  |  submit quotes