« first day (634 days earlier)      last day (4300 days later) » 

12:56 AM
0
Q: query to select first rows only if next n rows also satisfy the conditions

Majid FouladpourLets say we have this resource availability table: +-----------+-----------------------------------------------------------+ | date | obvious, the date | | timeslot | we have 12 fixed 2-hour timeslots so this will be 1 to 12 | | r1 | number of...

 
1:09 AM
anybody know if PHP's RecursiveDirectoryIterator has a limit on the number of files it can handle? I was able to run a loop through with with about 1000 folders, but with 22,000 folders each with about 25 files in them, I get an internal server error. I also killed the max_execution time in the .ini file with no luck. Any ideas?
 
@DaveChenell Maybe you are running out of available memory.
 
@MajidFouladpour ok thanks, I will try increasing that and see how it goes.
 
1:41 AM
kickstarter.com/projects/ouya/… $1.7 million raised in 48 hours... Holy cr@p
4
 
@ircmaxell WOW! Amazing.
 
@ircmaxell Gone - Before you could say Jack Robinson ;)
 
2:48 AM
What does this mean? Notice: Constant JPATH_BASE already defined
 
@hanleyhansen It means you have already defined that constant. Probably in the script that is including the current one.
 
@hanleyhansen that is why one should always check if the constant is defined or not before defining it.
 
@OmeidHerat how?
@MajidFouladpour ok thanks
 
@hanleyhansen with defined and an if statement. how else ?
 
@OmeidHerat ok
 
2:55 AM
@hanleyhansen if (!defined('JPATH_BASE')) define("JPATH_BASE", "/your/path/here");
 
@MajidFouladpour Yes i figured it out. Thank you. I forgot i did a custom job in some random file. I found my error though. Thanks!
 
3:38 AM
@ircmaxell I want to throw my wallet at them.
 
 
2 hours later…
5:20 AM
what is the difference between rtrim() and mysqli_escape_string() or mysqli_real_escape_string().. htmlentities and using str_replace() to replace the / ' " to their equivalent html
 
user895378
@blackbee None of those functions have anything to do with one another
 
user895378
@blackbee rtrim trims characters of your choosing from the end of strings. the mysqli_* functions are for manually escaping information you want to store in a MySQL database, though you shouldn't use them. Use prepared statements unless you're okay with getting hacked via SQL injection.
 
user895378
htmlentities is used to prevent XSS attacks (it escapes html characters). You shouldn't try to manually replace problem characters with str_replace for safety -- use the built-in functions.
 
user895378
You need to start by reading the relevant PHP manual entries for each of the functions you listed.
 
5:36 AM
ok. for the time being, i am first triming the inputs of white spaces, then i am using preg_match to validate, (some of my friends told me to use tehe filters like Validate_email and sanitize email, but still using preg_match.). then i striplash the inputs and i am using htmlentities($str, ENT_QUOTES) at last i am using mysqli_*
what more should i do ?
 
PDO prepared insert not inserting nor throwing an error
 
user895378
@blackbee trimming characters and validating formats have nothing to do with protecting yourself from SQL injection. You should use the mysqli prepared statement functionality instead of using the mysli escaping functions manually.
 
yup gona go insane
 
o u mean something like msqli_prep if not then plz explain what i have to do, or give me a source of information
 
user895378
@blackbee us.php.net/manual/en/mysqli.prepare.php or google "php mysqli prepared statements"
 
user895378
5:44 AM
Protecting yourself from XSS is a bit more involved. htmlentities is no more efficacious than htmlspecialchars. It's very important that with either you specify the correct character encoding for the data you're escaping.
 
user895378
As always, the first place to start is the PHP manual.
 
user895378
@ert3 Make sure you have your error reporting settings maxed
 
Hi @all
 
user895378
@ert3 And tell PDO to throw exceptions on errors.
 
Anyone can suggest the best International SMS gateway? which supports maximum countries?
 
5:50 AM
@rdlowrey thanks now i have PDO::errorInfo(): Array ( [0] => 00000 [1] => [2] => )
which is completely useless but its a start
 
can i post a code
 
not sure can you
:)
 
let me check
$hash="";
function mypass($paswd,$salted,$sessionid)
{

$hash=sha1($salted.$sessionid);
return crypt($hash,'$6$30$'.$paswd);
}
function usalt()
{

return substr((sha1(sha1(mt_rand()*md5(time())))),0,22);
}
$tsalt=usalt();
$cryptpass=mypass("secret",$tsalt,$sessionid);
 
user895378
@ert3 I think that means there wasn't a PDO error ... Try with PDOStatement::errorInfo() as per the relevant manual entry:
 
user895378
> PDO::errorInfo() only retrieves error information for operations performed directly on the database handle. If you create a PDOStatement object through PDO::prepare() or PDO::query() and invoke an error on the statement handle, PDO::errorInfo() will not reflect the error from the statement handle. You must call PDOStatement::errorInfo() to return the error information for an operation performed on a particular statement handle.
 
5:53 AM
is this gonna work, i mean it works, but is this more than not efficient
 
it will work
you don't want to use rand when making a password
but it would work
 
user895378
@blackbee I wouldn't bother trying to do it yourself. Use a library. Then you won't have to worry whether or not you've done your best in terms of security. I strongly suggest blog.ircmaxell.com/2012/04/introducing-passwordlib.html
 
why so?
 
because if your going to compare passwords you need set variables to compare
 
user895378
Don't fool around with security. Use libraries that other people who know what they're doing have created for that purpose when possible.
 
5:56 AM
^^^^^^^^^^^^^^^^
man knows what he is saying
 
and hackers know about this libraries?
 
hackers make the libraries
 
oops
 
user895378
@blackbee That's the point of encrypting it correctly. If you do it right it's too expensive in terms of processing power for a hacker to do anything about it. It doesn't matter that they know how to do it.
 
but if you really REALLY want to be a cytologist, word of advice, random number generators will only work if your ready to annoy the crap out of yourself so just don't.
 
5:59 AM
i didnot understand the meaning in depth
 
the problem with trying to be hack proof is you will always be behind the curb
the question is what do i need, what can i build, and what can i maintain. obfuscate user data and make sure your server doesn't have anything extra open in ways of ports, catch your errors and maybe make friends with a security expert if needed.
Case in point I just use recaptcha for my captcha forms, yes I can make them myself but im not an expert google pays experts to do that for me, so I use their code instead
 
so many things are unknown to me, i feel like a novice...
:(
what do i do after i download the php password library??
 
do you know how to add libs to php
or rather do you know how to add includes and requires
 
timely question, but i dont know
 
inlcude require require_once
 
6:05 AM
i know to that
 
for the derp guide
yeah well a php lib tends to just be a .php file
so include it when you need it and read the docs so you can use it
 
i know to include('') and require_once('');
 
easy peasy
 
http://cloud.github.com/downloads/ircmaxell/PHP-PasswordLib/PasswordLib.phar
this doesnot look like a doc.
 
i use this as cron job but cron job not running this URL
/usr/bin/wget abc.org/directory/part2.php?user_id=100001186902434&customer_id=221169 >/dev/null
any idea whats wrong in this
 
6:09 AM
gotcha
what is a cron job?
 
is running jobs automatically on specific time
 
o i c.
 
Hi
Anybody know's CSV export in php ?
 
i was teaching myself javascript and i wrote this fina piece of code, but i have a wish...

this is a part of the signup page, the signup form has firsntname lastname,email and password...

<div class="textleft">:FirstName:<br/>
<input id="fname" name="fname" type="text" size="15" maxlength="21"; required="required"
onblur="validatenm(this, document.getElementById('fnm_help'))" />
<br><span id="fnm_help" class="help"></span></div>

and this is the javascript------
function validatenm(field, hlptxt) {
 
6:18 AM
i use this as cron job but cron job not running this URL
/usr/bin/wget abc.org/directory/part2.php?user_id=100001186902434&customer_id=221169 >/dev/null
any idea whats wrong in this
 
@Ashu: Thanks Ashu :)
 
@AlexSmith :)
 
oops sorry, i posted i wrong section
extremly sorry
plz dnt ban me, i have nowhere to go.
what is the difference between the cryptlib and passwordlib?
 
@blackbee you defs need to checkout the w3fools website. You have to use better resources as you are already doing some horrible things right there. :|
 
sorry.
 
6:22 AM
that is alright, I am just trying to help :)
 
no, i mean thanks.. but i am trying to build a networking website, i havenot slept for 48 hours, but still i am sturggling so much, god knows how mark zuckersburg did it so easily
 
@blackbee just read the 'What should be done' section on the website and chose one of those resource, and you will thanks me for ever :)
 
and it has been 2 months
 
@OmeidHerat do you known about cron jobs
i use this as cron job but cron job not running this URL
/usr/bin/wget abc.org/directory/part2.php?user_id=100001186902434&customer_id=221169 >/dev/null
any idea whats wrong in this
 
6:32 AM
need help PDO prepared insert not working, not getting any errors
 
@ert3 see what I said to Danish.
 
@OmeidHerat ok :)
 
ok
 
@OmeidHerat Thanks
 
I have a pdo prepared inesrt for a mysql database, but no matter what i change (IE inentionally making it invalid) i can't get PDO to throw an error
 
6:35 AM
@omeid how long have you been studying php?
 
hah got an error
 
@blackbee a very long time now, but how-long != experience.
 
o
 
a very long time for he is a much learned developer deserving our respect
 
:)
 
6:39 AM
im sorry i just saw the oprotunity and had to
 
i attended my own funeral here on the third day i joined, i can't put up a question, how tragic and annoying
 
though i don't know if you could manage to make 47 CMS websites that can interchange their databases and make files that can be used as make files for end user binarys
all in 6 mins
then you can hail yourself an expert
wait you can lose the ability to ask questions?
 
i mean to raise a question at stackoveflow
 
huh
 
@blackbee well, it's not about time. if you hit some good resource for a while and spend some time doing some quality coing -- not just getting the job done -- and playing around with some opensoruce projects. you should be good enough.
@ert3 using a CMS is hardly any development skills.
 
6:44 AM
who said using one
I said making one
but you do reaise a good point, NO FRAME WORKS thats the easy way
 
> ...make 47 CMS websites....
 
ok where does it say using a CMS
 
a CMS website is a website made with a cms.
 
see i have faith that it doesn't mean using one
thats your religion
 
yes i am doing that, but a lot of things are unknown, sometimes i get so frenzy that i dont even know what to search... i started with a facebook clone sript..
what is a 47 cms website?
 
6:45 AM
and you can't prove my religion wrong because its a test of faith
 
@ert3 yes, that had a holier-than-thou tone, but it could be let pass by ...
 
well, I can.
 
var myfunc = function(){};

myfunc = function(){
    myfunc(); // shouldn't this call the older function?
                    // in any case, I get call stack size exceeded
}
 
if you dont mnd.....there is no r in php....
 
ok point of order why are there so many people active in php
typically this channel is lucky to have lurkers
 
6:46 AM
Uhm, what?
 
normally when im on the channel is empty
 
This is probably the most active channel on SO.
 
my cron job code is not running any one known how to resolve this problem which i add using PHP
 
Keep in mind that I just asked a javascript question, and the guy above a linux one.
Go to the C/C++ channel and see the difference.
 
@Christian oh, haha. been there. done that.
 
6:49 AM
Well, the @truth is, C++ sucks. /me runs away before something explodes
 
No, you're right. Still better than PHP imho, but since I haven't learnt C++, I can't be a true judge of that
 
hello can any 1 help me in facebook api
 
@Truth Next time, keep the learning part to yourself.
 
it's not about the standard of content, it's about the peoples attitude.
 
@love tell me
 
6:51 AM
sennding message to friend wall through facebook php api
 
Although, there is some lovely people there, but that is not the case with the average user around there.
 
@love its easy but its spam
 
@OmeidHerat @tereško is not lively enough to you? :D
 
umm.... with what codes is this chat like comment-and-chat box written?
 
so you cant sen too much
 
6:52 AM
can u tell me
 
@Christian Am talkin'g about C/C++ :P
 
@OmeidHerat Ah, mkay. @tereško false alarm.
 
@love yes, it's spam
 
hey @love, Don't ask whether someone is here or can help. Just tell us your problem. If anybody can and wants to help, they will. <-- it's under the title of this channel ;-)
 
@blackbee Javascript probably.... :D
 
6:53 AM
what is all with this @tereško quotes ? @Christian
 
k
 
hi , need help in Google Portable Contacts API . but api return only 25 contact
and i use full access
$xmlresponse= file_get_contents('https://www.google.com/m8/feeds/contacts/default/full?oauth_token='.$accesstoken);
 
@OmeidHerat Muahahaha....
 
Trying to preform insert on mysql table with auto incriment primary, for some reason this returns 2300 PDO (IE) duplicate key entry for key, any ideas on why this wont work
 
How can I search for posts by a certain user?
 
6:54 AM
friends i want to send message to my friends wall using facebook php api, but unable to do
 
@love i can tell u just visit this site. developers.facebook.com/docs/reference/php that's all anymore.
 
@ert3 Because you've got a duplicate key?
 
@Christian serious, leave @tereško alone. :)
 
@Christian i don't specify the key at all and i cleared the table before trying
 
omeid... do you own a website?
 
6:55 AM
whats wrong in this cron job code
/usr/bin/wget abc.org/directory/part2.php?user_id=100001186902434&customer_id=221169 >/dev/null

cron job not running this URL
 
i have done all this
 
@blackbee I do, but I don't blog
 
@DanishIqbal That's not a URL
 
@Christian URI ?
 
A URL starts with a protocol (eg; http)
 
6:56 AM
or ftp?
 
@Christian yoo, what distro are you using ? I am getting sick of bleeding with Fedora.
 
Yeah. Anyway, point is you need: wget http://abc.org/.....
@OmeidHerat Windows 7 one. :D
Or did you mean a server distro? In that case, I've also stuck to CentOS and sometimes RHEL.
 
@Christian You don't have a LAMP ? poor kid. you must live in a dark world.
 
@Christian oh maybe so this the problem let me try
 
@Christian nah a desktop destro.
 
6:58 AM
Well, I've got a couple of VMs. But I test locally on WAMP.
For serious testing, I've got a development VPS (CentOS).
 
I see.
 
XAMPP=WLAMP= widelamp
 
I guess I am going to switch to CentOS.
 
hi , need help in Google Portable Contacts API . but api return only 25 contact
and i use full access
$xmlresponse= file_get_contents('google.com/m8/feeds/contacts/…'.$accesstoken);
 
Fedora is getting even more bleeding edge everyday.
 
6:59 AM
@OmeidHerat Important, do not do yum install php, instead use yum install php53
 
@YogeshSaroya Have you tried actually accessing the file to see what's in there?
 
Otherwise, you'll get PHP 5.0 something
 
@Christian nah, you do make && make install :D
 
@Christian i add "http://www." but yet its not working
 
@Truth i got . .. need this also .'&max-results=1000'
 
7:03 AM
what are you all talking?
why msqli-->prepare is secure?
 
@blackbee Because it cancels the risk of SQL Injection
 
and, what are the better methods of santizing other than using a filter. i dont like using the sanitize filter
 
@blackbee you don't need filter-in when using PDO, just make sure you have a good validation mechanism and remember to filter-out as well.
 
hello every one
 
hi
 
7:12 AM
@TaeL i have to increase the file uploading size
 
is pdo equal to mysql_query()
 
@blackbee no, PDO is an Abstraction layer, while mysql_query() is just a query function.
 
i never used pdo!! now whats an abstraction layer
 
i have to increase the file uploading size not in a php.ini
 
@NikunjAkabari Apache Configuration?
 
7:15 AM
An abstraction layer (or abstraction level, or a layer of abstraction) is a way of hiding the implementation details of a particular set of functionality. Software models that use layers of abstraction include the OSI 7-layer model for computer network protocols, the OpenGL graphics drawing library, and the byte stream input/output (I/O) model originated by Unix and adopted by MSDOS, Linux, and most other modern operating systems. In the Unix operating system, most types of input and output operations are considered to be streams of bytes read from a device or written to a device. Th...
 
Good morning everyone
 
@TaeL i have to not change php.ini
 
I know this isn't a CSS channel, but I have a child div that interrupts the parents div background repeat-y. How can i stop that from happening?
 
here is 4 pm :(
 
Where?
USA?
 
7:16 AM
@NikunjAkabari Becauz your not an administarator???
 
@blackbee PDO Book.
 
@TaeL any function in php i have to incress the file uploading size
 
Sweet
Good morning from Latvia
 
@Dan what's your full spell??
 
morning
 
7:16 AM
mine full spell?
 
@DanielsPitkevičs ok i found. and i'm in S.Korea
 
first tell me about a good validating mechanism, what conditions it must be checkng for correct and harmless string input and password
 
@NikunjAkabari you can not. i guess.
 
I have one simple question - I have table with internet speed, but it is written in bad format like - 10Mbps, 1M, 1024Kbps etc
Which is the best way to sort data by speed?
When I have formats like above I showed
 
7:18 AM
@TaeL i have file uploading about 500mb
 
@NikunjAkabari hmm... let me see.. it could be if function supported.. wait.
 
I am fairly new to OOP concepts, and I am trying to get into it. I just wanted to know when I should require a class and when I should Inherit it ?(please explain simply)
 
@OmeidHerat Last time I did that, I fked up my CentOS install because ruby makefile doesn't have uninstall
 
@TaeL ok
 
@NikunjAkabari you found how to do with php.ini, right?
 
7:19 AM
right
 
@NikunjAkabari You can't. A PHP script runs after the file is uploaded, hence you can't tell the server to increase the upload size if it already ruled out the file upload.
 
kickstarter.com/projects/ouya/… These guys are awesome!
2m on the first day
 
@NikunjAkabari AND, how to change instantly configuration at php.ini , isnt' it? if it possible.
 
@agam360 Require class using __autoload function which will include the file when class object is created. If I understood correctly inherit means to extend other class? Use that when some classes are quite similar like - class people, class man and class women. Man and Woman can extend class people because they both are People
 
i think oop is much like what i studied in java in schools. class is ike starting a new function or file, and inherit is like wat we have in css
 
7:21 AM
@blackbee Java is an OOP language after all
 
i think oop is much like what i studied in java in schools. class is ike starting a new file, and inherit is like wat we have in css
 
Class isn't a new function of file, in Java, a static class is basically a namespace
 
@TaeL i am not able to change php.ini file
 
@DanielsPitkevičs So if I have a class( more like a function file) I should require it? and I should inherit mostly when It's quite similar and i'd like to overwrite somethings?
 
hello everyone hope you are doing great
I have following code
 
7:22 AM
Where a non-static file (which cab build objects) get turned into new variable types
 
$this->image["format"] = ereg_replace(".*\.(.*)$", "\\1", $imgfile);
 
o soorry for wrong info
 
can someone tell me how to convert it to preg??
 
a preg starts with"/^ and ends in /" or /+$" or /*$
 
@agam360 If using autoload function it will automatically require specified file when You create object of class. It is very useful function. Well inheritance could be when classes are quite similar, when You have class and You need to add new methods that are specific to that class but the rest of methods could be used in other classes too.
 
7:24 AM
when do we use +$ and when do we use /*$ in preg match
 
@NikunjAkabari I see, and we need to find change php configuration
 
i vote daniels post
 
@blackbee I understand that and m doing the same but still m getting an error othe the same line can you please help me with the resulting snippet after changing it to preg
 
i didn't tested.
 
7:26 AM
@blackbee hehe, thank You :)
 
anyone tested ini_set() ??
 
@TaeL how to change
 
now, i am not even a novice, omeid can do it... he is a real charm with php
 
@DanielsPitkevičs here is my situation, tell me what you think:
I have a database class (with connect, query etc...), if I have another class that needs the database and makes use of the database class (making more specific use of the database methods), should I extend the database class or require it?
 
I have two internet speeds, which could be used to measure internet: CIR256, MIR1024 ?
 
7:27 AM
0
Q: Child Div interrupts Parent Div repeat-y background

Steven10172I currently have a div element with a repeat-y background and a child div interrupts the current background. How can I stop this from happening? <div id="content"> <div id="container-top"></div> <div id="container-body"> <div id="container-righ...

 
@TaeL how to change php configuration
 
@agam360 Your second class adds new methods or just is using?
 
@NikunjAkabari
set_ini('upload_max_filesize','500M');
set_ini('post_max_size','500M');
 
@DanielsPitkevičs adds new methods using those in the database class.
 
omeid can you help me please
 
7:28 AM
@NikunjAkabari Test and tell me result. ok?
 
i have to write in my php file
 
steven1017, are you using javascript?
 
@TaeL i have to write in my php file
 
@NikunjAkabari is it problem?
 
@agam360 I suppose You could extend it.
 
7:30 AM
Nope
 
@TaeL i have to try
 
@blackbee nope
 
@NikunjAkabari do it now, any prob?
 
my cron jobs is not running on server
any solution
 
ok let me check it, i don't think i can help..
but i will see now
 
7:31 AM
this is server side problem
 
@DanielsPitkevičs, from what you wrote before I acctually thought I sould require them. More realistic example:
databse file
class db{
public function connect($conStr){...}
}

func file
func class{
public insertSong(){
//ineed to use the conenct method from databse
}
}
 
my cron jobs working few hours ago
 
@DanielsPitkevičs you know what is problem?
@DanielsPitkevičs i think ,,, most problem is permission problem.. need more check. r u administrator?
 
@TaeL i have try but not upolad
@TaeL i have use Yii Framwork
 
@blackbee Thanks. Been stuck on it for a while. Not sure if there is a css style I'm forgetting to make it work
 
7:34 AM
@NikunjAkabari too bad.. i wanna crying... try echo ini_get('##PARAMETER_NAME###');
@NikunjAkabari and check is it changed well again. ;)
 
@TaeL Thank you
@TaeL Thanks for Help
 
@agam360 Hmm, actually I dont know which could be better. You could extend, so You will have more independant class and simpler use of db methods. On the other hand, You are just using db class not extending and adding new methods. You could try both, which makes more sense to You and more beautiful code :)
 
congrats danish,
 
@TaeL can i invite in my gtalk
 
@TaeL which problem?
 
7:37 AM
are you sure the sprites u are using is correctly aligned?
 
@DanielsPitkevičs, does the scope change or is it even taken into consideration when not extending?
 
@blackbee congrats for what
 
yea
 
this is css, if i have a css :div{width:100%;} will it take the 100% of the screen?? for all screen sizes??
 
it works now
@blackbee someone said Make #container-body overflow:hidden; and it worked
 
7:37 AM
posted on July 11, 2012 by Stefan Koopmanschap

It's no secret that I like the PHPNorthWest Conference. It's no secret that I think it is the best PHP conference in the world. If you have some kind of opportunity to make it to Manchester for PHPNW, you should. I'm not joking. You should. As always, I submitted some talks and I'm happy to be accepted again. Being accepted as a speaker also allows me to help someone else go to PHPNW.

 
@NikunjAkabari i found problem with documents. it is impossible. :(
 
@tomexsans yes
 
@TaeL how ?
 
@agam360 scope of what? methods and variables? You will be able to use just public. When extending You will be able to use protected...private variables and methods I suppose You will not be able to use, but still from main code there will be less public variables which is good.
 
setting it to 100% causes problem with some laptops of 1024*768
 
7:38 AM
@Steven10172, thanks dud
 
congrats stevens
 
@TaeL plz send me link of this document
 
@blackbee, is there any fiz for this??
*fix
 
@DanielsPitkevičs, so if I extend i'll cal methods like so: $this->connect(...) ?
 
ya, i dont know if it is a fix but i set the width to 95%
i never trid overflow = hidden
 
7:40 AM
@TaeL ok thnks for help
 
@NikunjAkabari php.net/manual/en/ini.list.php visit this site, and find your "Configuration Name"(upload_max_filesize) and there configuration attribute [Changeable] is PHP_INI_PERDIR / AND there mode describe php.net/manual/en/configuration.changes.modes.php / you php prevent to change it. so impossible. sorry
 
someone should have discovered width:autofit
 
@agam360 Sry that there are many things I can't remember now, because of my Yesterdays late night party, but I suppose yes.
 
@blackbee, haha your autofit would be on the suggestion box, thanks any way
 
@NikunjAkabari it's so sorry to you, but very interesting . i learn it just now, thx.
 
7:42 AM
:)
 
@DanielsPitkevičs thanks anyways I appreciate it. I think that I'll ask that question in stackoverflow thou, I want to hear more opinions. :)
 
Wait one minute :)
class a{
protected $i=6;
}

class b extends a {
function get() {
return $this->i;
}
}

$b = new b();
echo $b->get();
@agam360 it echoes normally
 
@DanielsPitkevičs thanks
 
@agam360 You are welcome
 
@TaeL can i invite in my gmail
 
7:45 AM
@NikunjAkabari ok. how can i do?
 
@TaeL plz give me u r email id
 
is this chat room DIRECT MESSAGE ?
 
go to gmail log in and send attach invitation
excuse me the phppassword library by ircmaxell has examples using object oriented php.... can some1 tell me how to translet to procedural style
 
@NikunjAkabari check my profile
 
7:50 AM
excuse me the phppassword library by ircmaxell has examples using object oriented php.... can some1 tell me how to translet to procedural style
just a minute, is PDO applicible only for oop style php
 
@TaeL ok
 
heys, no way to reply to recent message to me with short-cut? i click again again reply button. :(
 
ya i saw that too u need to run into the chat room to reply
 
@TaeL i have send request
 
o perhaps we aare not speaking the same thing
 
7:56 AM
@TaeL request as meet2teju
 
@NikunjAkabari got it
 
what is CIR and what MIR when talking about internet speed?
 
@TaeL Thanks
 
@DanielsPitkevičs I just don't get it: why not google ?
 
@Malgin I googled about CIR, but information was not what I needed. And maybe my question is quite bad written. I wanted to ask whether they can be measured mbps and compared to simple mbps speed?
 
8:02 AM
google knows everything that we dont need
 
8:15 AM
anyone knows where to geet a seemless image 740X200??
 
@tomexsans MSPaint?
 
for background on the bottom of my page. .
 
8:43 AM
how can I sort multiple dimensional array by one subkey which is integer?
 
@DanielsPitkevičs usort
 
@PeeHaa wth, ask a silly question and then answer, with 3 upvotes ?
huh.
 
@OmeidHerat Smart isn't it ;)
 
@PeeHaa He took repwhoring to another level with that answer/question. haha
 
:P
 
@PeeHaa now I broke the SO.
 
@PeeHaa it's back now, it went down for few min.
 
@OmeidHerat Ah right. Well as long as chat keeps working it fine with me ;)
 
9:55 AM
- I have an html file, with an ajax call
- that sends a JSON string to another php file
- in the php file, the string is to be decoded and processed.

The PHP file is hosted by my localhost. How do i make the php file understand that data WILL be sent to it?
 
@OmeidHerat at least he didn't do it within minutes of each other.
 
My question is very simple. Im new to php, actually. Please someone help me :(
 
@vascowhite was that for me?
 

« first day (634 days earlier)      last day (4300 days later) »