Xyluz's Posts
Nairaland Forum › Xyluz's Profile › Xyluz's Posts
jorlarmind:Although this place is for PHP programming problems... so my answer might not be accurate or helpful... but i believe what you need is the right drivers. You can download the proper driver for your windows system Follow this link: http://windows.microsoft.com/en-us/windows7/automatically-get-recommended-drivers-and-updates-for-your-hardware Make more search online if the link is not helpful. |
Walexwal:Regardless, i think you revealed too much. |
fraphael:You need to explain what you mean... |
lovebondz:No, normally... i guess it doesn't matter what you name your folders... but if he had named his folders better or used names that are not so common, even with directory listing turned on i might still have a bit more difficulty guessing the folder names used. I just think there can not be too much security measures when it comes to programming and especially web... But maybe its just me being paranoid... ![]() |
Walexwal:wow... the first thing you should do is put it offline... Or just use the @ sign in front of your queries to hide the error message. Then, the problem is probably your server name, is your hosting default localhost? Check with your hosting company for the right server name. And also check that your password is correct. I also noticed that you have directory listing turned on, that's very dangerous. I suggest you read your hosting company knowledge base to learn how to turn off directory listing.. its usually straight forward... You might also want to take note of your file and folder naming convention, its too predictable... I hope this was helpful. |
Walexwal:The response given by lovebondz is actually good. However, since you're new to database issues... i advice you focus on PDO or MySQLi as mysql is no longer in use and might not be supported in future. You can read more here: http://xyluzcodes..com/2015/01/pdo-tutorial-series-1.html |
jayriginal:No, i'm not. jayriginal:I didn't call them Gods... please read my comment again, i believe its written in the bible, and thats all i said... But they too died as mere men... they might have lived a little longer than others (in their dispensation), but in the end... they all died as mere men. jayriginal:And i am not 'putting' our culture away... and not asking you or anyone else to absorb foreign ones. I hope you understand. |
I have a few things to contribute to this, please read: jayriginal:No, the bible is not a scientific document. Therefore, requires no scientific proof. jayriginal:Yes. At some point in history, these people existed... its not expressly stated in the bible (not their names anyway), but it is stated that their were men on earth who were considered gods by other men, the bible even called them sons of God. There was someone called Obatala in history, he was a man of influence among the yoruba people probably with some form of 'mystical powers' - but he was just a man, who died like the rest. I don't really know where this discussion is coming from, and so i'm not in the place to say who is right or wrong. However, it seems fruitless to try to proof the existence of God scientifically... Thank you. |
DONOCSO:You're welcome |
FUNCTION TO LOG ERROR MESSAGES... function log_error( $action, $message="" ) { //fetch date $datestamp = strftime("%Y-%m-%d", time()); //name error file, using my datestamp as name code $errorfile = 'log/error'.$datestamp.'.txt'; //checking if the file already exists $newError = file_exists($errorfile) ? false : true; //open the file and write the error message inside if($handle = fopen($errorfile, 'a')) { // append $timestamp = strftime("%Y-%m-%d %H:%M:%S", time()); //get user info $content = "IP of User: {$_SERVER[REMOTE_ADDR]} {$timestamp} | {$action}: {$message}\n"; fwrite($handle, $content); fclose($handle); if($newError) { chmod($errorfile, 0755); } } else { echo "Could not open log file for writing."; } Usage Example here: http://xyluzcodes..com/2015/01/pdo-tutorial-series-2.html Tell me what you think. |
DONOCSO:What do you mean by port? HTML and PHP are two different things, you can hardly write a PHP code without the use of HTML. PHP is a programming language, HTML is not. If by port you mean, switching ... then its not possible nor necessary. I hope i was able to help? |
Hello, Thanks for the idea @emmayflexible, but I think applying for IT at the wrong time is illegal. Before any company can accept you for IT they would like to see IT letter from your school, an attestation to your level, and a prove that you're due for IT. Asking people to applying for IT at the wrong time is asking them to forge the IT letter, and this is Illegal. Thank you for your contribution. Add more idea to help someone. Read the updates on: www.blog.xyluzdevelopers.com Like our facebook page: www.facebook.com/xyluzdevelopers And Follow us on twitter @xyluz_info to get regular updates. |
Some have asked the question what shall i do during this strike? Some have said... i am so bored! Here is something you would be interested in if you are a Nigerian student in any of the universities being affected by the ASUU strike... topic: how to profit from the ASUU strike... this piece does not only get rid of boredom, it also gives a few ideas on how to make cash... read here: www.blog.xyluzdevelopers.com |
Hello, You can download our free online tutorials with the following topics: 1. How to use windows command prompt 2. Using javascript to create simple addition calculator Its self explanatory. download here: www.xyluzdevelopers.com Its abosultely free. Thank you. |
You're welcome... Maybe we can do somethings together later. |
Yes indeed that'll work, nice work olyjosh... i agree with webdezzi though, int values is a more professional way to do it, or simple varchar such as A and B or N and Y.. |
please visit www.xyluzdevelopers.com to find out more... you are sure to earn atleast 30 000 NGN between December 2012, and January 2013. I'll be happy to answer any questions you might have |
It actually depends on the language you wish to use, either PHP, javascript, JQuery, java etc... this would determine how you would do it. and for each language there are several ways yo achieve random number generation. For example, javascript: you can use the math.random(), for PHP: you can use rand(), or for both you could just create an array containing numbers 0 to 9, create a code that randomly sort through the array and output the result. Its even possible to have different functions working together in the background and outputting the values together (this is more secured). You could as well use PHP in conjunction with SQL to generate your random numbers. So it all depends on the language you want to use. What language do you wish to use? |
some of our jobs: www.fsflautech.ord www.gokiatech.com www.sqiprofessionals.com (in partnership with SQI) and our site: www.xyluzdevelopers.com Our company details include: NAME: xyLuz Developers DESCRIPTION: we are a group of programmers aimed at providing solutions.We are professionals at using java, JQuery, Javascript, php, JSP, HTML5, CSS3, SQL, Networking (internetworking and intranetworking) and Graphics Design. CONTACT: info@xyluzdevelopers.com +234 - 05 - 8160614229 you can also like our facebook page to get latest updates: xyluz Developers |
Hello, i want to inform every interested persons about this opportunity. It is for anyone able to communicate regardless of language. You are guaranteed a minimum income of at least 500 USD or 80 000 NGN between December 2012 and January 2013. This is no joke. visit www.xyluzdevelopers.com, for more details. Forward your CV (just basic details) to career@xyluzdevelopers.com. This opportunity is open to anyone interested in making the best out of this festive period. I'll be happy to answer any questions you might have. |
