nadeemshafi9
-
Posts
1,245 -
Joined
-
Last visited
Posts posted by nadeemshafi9
-
-
That's what I was hoping. I guess we'll see what happens.
iv had around 13 interviews and i think if your going to an interview that you realy want to suceeed in, i reckon you should do a few dud ones first and then go for the one you want, go to some senior php roles you dont want and check them out what they say and that.
-
is there anything included above this code in an include or somthing else or some other code ? .
-
i had a java teacher and a ADA teacher, they were both from the army one worked on the jaguar jet coding
-
..and write implementation proposals for clients in decent English..
when decent English is required, it gets checked over, my teachers told me you have to judge whether testing is necessary and how much, i apply this to all parts of life. What real advantages would i recive by spending extra time on spellings on this forum, the message gets accross and i dont waste any more time than is necessary, but im productive and have contributed lol.
-
if(count($array) >= 1) echo "array has result";
else echo "error";
-
a senior php developer would be an engineer rather then a coder, he would be the person who designs the architecture, gathers specifications and distrabutes them amongst team members
-
im going to have to go through this one day
-
lets just stop there a second, why has it stopped working, where is the error, you can clean out the data from now on and get rid of anything that causes the error.
show us error codes you are getting etc
try error_reporting(2047);
before your code
-
ok so you connect the hard drive in,
this means if you would like to run the site on your laptop server you need to fill in directives on you laptop servers httpd.conf
please be more specific if this is not the case and state if you have told apache where to look for files
-
so its the libraries that make it better ?
-
would be better to make a login class called Auth(), have methods to do these things
I am trying to keep it simple..
go tiger grrrrr
i rember when i used to write it out nut i just dont have the time anymore, gud man !
-
would be better to make a login class called Auth(), have methods to do these things, lookup the username and then password for authentication
Do you understand the concept of an example? Obviously people are not going to write a full-fledged application each time they want to provide a snippet.
im just helping the brother out
-
would be better to make a login class called Auth(), have methods to do these things, lookup the username and then password for authentication
-
This should be an easier option for you
If you add a random hash to the users record (in the database) when they login and keep a copy in a session, then check that session hash with the DB hash, and if they don't match then log them out..
Now if a second person logs in, the system kicks the first one out.
i hear an echo
-
i made this script once, that when you login
you hash a random number
you store the random number in the users record and you create a cookie on the users system to store it there too.
you then chgeck these two on every page that they match
when somone else logs in it will be changed and it wont let two people in at the same time
presto
when another user logs in the number will be generated again and stored in the users record, will no longer match with the other users system cookie
-
Thanks again for taking the time to help out. I'll see how far I can get with your info.
there are many other ways to do it, but they are non standard and will lead to complications
-
your an A.P
I agree, Maq does appear to be an Actual Programmer, unlike some others.
why is it that when somone says somthing, you just repeat it in the same thread, you done that on a few posts now, knock it off, its not gona get you a job, you even done it on my answers in my last help to somone, it was getting annoying but i let you go, now im confronting you, stop your foolishness, its like having a mirror
a.) At what point during this thread had anybody else said the same as what I stated in my post? A few threads such as?
b.) I believe the last thread I commented on at the same time as you I simply pointed out you were wrong. I can't help it if you feel the need to post irrelevant/incorrect information. Even after other people have already mentioned better/correct solutions.
c.) If getting a job means having to work with somebody like you, I'd rather not have one.
d.) If I am infact annoying you, then I'm glad, it's nice to know we're even.
e.) This is the last post I will make in this thread as it is already way off topic. The saving grace being that there are multiple threads on this topic by the OP anyway.
this conversation ends here, business is business, you snooze you loose
-
Thanks for your reply.
I am aware of the types of code I need to use - I am actually looking to see if someone has a specific piece of code they know of that I can just plug my data into. Otherwise, I don't know anything about JSON, AJAX, or JQUERY, so most of what you typed is foreign to me, sorry.
its actualy quite simple
this is how you get the resulkts from the file $.ajax({ type: "POST", url: "some.php", data: "name=John&location=Boston", success: function(msg){ alert( "Data Saved: " + msg ); // msg will have all your data in it // you can access it via msg.items[1].name etc depending on what you name it in teh JSON } });
now on your server you create a php file which outputs results the array of your query into json
use
(PHP 5 >= 5.2.0, PECL json >= 1.2.0)
string json_encode ( mixed $value [, int $options = 0 ] )
place your mysql query result -> to array in the function and get the result
then just echo the result
-
create a JSON http://en.wikipedia.org/wiki/Json object on the server, then get it with ajax in jquery, now you can easily say,
textbo1.value = thejsonresult.record1.name
you can find a class that transforms an array into json and just output it and retrive it with ajax
-
to the original poster, you can also use this if you have pear set up http://pear.php.net/package/XML_XPath
-
your an A.P
I agree, Maq does appear to be an Actual Programmer, unlike some others.
why is it that when somone says somthing, you just repeat it in the same thread, you done that on a few posts now, knock it off, its not gona get you a job, you even done it on my answers in my last help to somone, it was getting annoying but i let you go, now im confronting you, stop your foolishness, its like having a mirror
-
P.S. Wow' date=' troll much? :-\[/quote']
I already fed him, and he's still hungry. Must be a fat troll.
hey listen you started it with your insult, i dont come here to be insulted , you can clearly see my physique in the picture
-
your an A.P
I agree, Maq does appear to be an Actual Programmer, unlike some others.
you can plug into him then
-
i know you are but what am i,
You're a manchild.
you could try spliting the document into an array the good old fashioned way1) Why would he try that when we already have a proper working solution?
2) I think you meant to say, "the good old inefficient way".
3) Why in the world would you use an array when they made the DOM class and XPath for this specific reason? Come on Nadeem, that's just silly.
dont be so narrow minded he could probably find it more interesting, manchild lol
Coming from someone of your caliber, lack of skill and grammar, I could care less what you think. freal
your an A.P
checking the array
in PHP Coding Help
Posted
$child = array_merge($child, getChildCategories($categories, $catId));
if(!is_array($child)) echo "error";
else if (count($child ) >= 1) echo "array has result";
else echo "error";