DualCore1's Posts
Nairaland Forum › DualCore1's Profile › DualCore1's Posts
1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 27 (of 371 pages)
Make una no fight ![]() I think I was being general with my previous posts. OOP for web development is different for OOP for standalone dev. In my opinion OOP for standalone development is serious business and that for web development can be toyed with. OOP PHP is just a buzz word that most people get swayed by. If you are going to be working in a very small team and have everything planned out well, modular procedural coding is just fine and gets the job done. The strength of OOP is in its polyphormism, abstraction and encapsulation. The GOAL: Never write the same piece of code twice. You do NOT need OOP in PHP to achieve the goal of never writing the same code twice. This can also be achieved with procedural programming using a well planned modular approach to coding in the form of functions. Most OOP PHP tutorials always use the example of a list of cars and trucks and their similarities and differences. It beats my comprehension how the writters of this tutorial try so hard to write very stuupiid procedural codes and compare it with a very well written OOP code just to point out the benefits of OOP. So really... a lazy man is a lazy man... OOP does not save your time. Self discipline saves your time. Use what works best with minimum investment in time and a high return on this minimum investment of time. As far as PHP is concerned I see OOP as just another style of coding. I have written pure procedural scripts in the past, after learning OOP I didn't start writing pure OOP scripts. Its now a blend of both... in fact I just call my style of coding "functional programming". Its neither fully procedural or fully OOP... its a perfect blend. I'm too old to be swayed by buzz words, I just pick out the juice from the buzz words. My thoughts, really. |
I now believe 9jahoster.com has a hand in promoting fraudulent practices going on in that website. After contacting "Peter" on 9jahoster.com's live chat at about 2PM this afternoon, Peter in his words said "we are suspending the site now and will investigate". The time now is past 8PM and the site is still LIVE and kicking. Its a shame. |
brother20102010: Slyr0, Guy I pity you, they there dey form guru make u go put innocent person for prison, How can you just point that he his the person, dont forget that when buildiing website, 3 people are involved, 1 is the owner of the site, 2 is the person that built it, 3 is the hosting company, I am sorry to say, that You might either be talking about the person that host it, and if he his, then i dont think they need to blame it, because first and foremost, if the hoster saw that the domain was something related to zenith bank, he wouldn't have hosted the site, looking at this bank domain, even if you are the host company, you cannver tell if its for fraud because you didnt see any domain like zenithbank. something, so please one more time, non go put innocent person into trouble just becos say u wan make name, I Tell you...... make the blood of innocent person non go flow for ur blood ooo============== WHOIS - Wikipedia Purpose The WHOIS system originated as a method for system administrators to obtain contact information for IP address assignments or domain name administrators. The use of the data in the WHOIS system has evolved into a variety of uses, including:[citation needed] Supporting the security and stability of the Internet by providing contact points for network operators and administrators, including ISPs, and certified computer incident response teams; Determining the registration status of domain names; Assisting law enforcement authorities in investigations for enforcing national and international laws, including, in some countries, specialized non-governmental entities may be involved in this work;[original research?] Assisting in combating abusive uses of information communication technology;[2] Facilitating inquiries and subsequent steps to conduct trademark research and to help counter intellectual property infringement;[citation needed] Contributing to user confidence in the Internet as a reliable and efficient means of information and communication and as an important tool for promoting digital inclusion, e-commerce and other legitimate uses by helping users identify persons or entities responsible for content and services online; and Assisting businesses, other organizations and users in combating fraud, complying with relevant laws and safeguarding the interests of the public ============= Source: http://en.wikipedia.org/wiki/Whois Bottomline: The administrative contact information in the WHOIS records of a domain is responsible for whatever happens on that domain, whether he is a reseller or end user... he is totally responsible for the use of the domain. The authorities will pin him down and it is left for him to prove he's just a middle man or not... that is not our business. His name is there and he's responsible. End of story. |
everyday: I have just visited the webhosting company who gave these scammers a roof over their heads and guess what they said that there is no sufficient evidence to prove that the website theu are hosting is a scam fellow nairalanders please try to call them ooo if u have credit abeg this is their contact link http://9jahoster.com/contact.htmlIf they have said they have no real evidence and will investigate, that's fine. If they have said they have no real evidence and have closed the case, that's foolishness. The scam site "gin-fb.com" is a phishing site. The official site of the Gulf International Bank is "gibonline.com". Well if 9jahoster.com will not be doing anything about it.... its like complaining to a driver that he's a rough driver... if he refuses to heed advice you move on to tell his boss. 9jahoster.com is hosting "gin-fb.com" on a server with the following details: ===== NetRange: 184.154.0.0 - 184.154.255.255 CIDR: 184.154.0.0/16 OriginAS: AS32475 NetName: SINGLEHOP NetHandle: NET-184-154-0-0-1 Parent: NET-184-0-0-0-0 NetType: Direct Allocation RegDate: 2010-06-21 Updated: 2012-03-02 Ref: http://whois.arin.net/rest/net/NET-184-154-0-0-1 ===== The IP address block is registered to Singlehop. Those are the people who have the power to take down the entire server if the smaller resellers refuse to take down a phishing site. ======= RAbuseHandle: ABUSE2492-ARIN RAbuseName: Abuse Department RAbusePhone: +1-866-817-2811 RAbuseEmail: abuse@singlehop.com RAbuseRef: http://whois.arin.net/rest/poc/ABUSE2492-ARIN ======== The email address in bold is the email you should use to contact them about this. After sending the mail you can go back and thank 9jahoster.com for their support and you won't need their assistance anymore as you have reported the issue to the datacenter responsible for that server. |
LoLZ |
[quote author=D-sense]This is a web application that is meant to conduct transaction after being connected to Database. But, it seems i still haven't positioned the BEGIN and COMMIT perfectly. Please drop your input if any! if(isset($_POST['amount'])) { if(isset($_POST['ADD']) && $number !="" { mysql_query("BEGIN" ; $query="UPDATE accounts SET balance='balance+amount' WHERE number='12345'"; mysql_query($query); } else { $query="UPDATE accounts SET balance='balance-amount' WHERE number='12345'"; mysql_query($query); } mysql_query("COMMIT" ;[/quote]Look at what I have put in bold. That's not correct variable declaration.What you should have there is $query="UPDATE accounts SET balance = balance + '$amount' WHERE number='12345'"; AND $query="UPDATE accounts SET balance = balance - '$amount' WHERE number='12345'"; Assuming the variable holding the amount is $amount. i.e $amount = $_POST['amount']; Then again, although the whole MySQL BEGIN thing is not necessary and should be removed its still good to point to you that you have placed it in a wrong place. If it was necessary to use the BEGIN command, it should have been placed outside the IF block checking if the operation is an addition. You have placed yours inside the IF block that will only run if the operation is an addition. So if the operation is not addition, the BEGIN query wont run. Discard the BEGIN and keep the principle in mind for future tasks. |
You may have overridden the string variable with an array variable. Consider this among the suggestions given above. A scenario where this may apply ... |
Call me, call me, call me..... that's mostly what I see here. ![]() |
If you have done those steps then it means you should have the API documentation. Provide the documentation so we can have a look at it and help you from there. If the documentation is not readily available via a link but is in PDF format, just copy paste the example url to send an sms, as stated in the document. |
nelklyn: I guess you didn't read the post properly, I said "using PHP"...I think he read properly. I don't think you understand the concept. You need a (bulk) sms service API to connect to for this to work. PHP is only a medium to connect to the API. I don't think this should be a major issue. 1. Get a bulk SMS service 2. Study the API of the service 3. Create a function using PHP cURL to connect to the service and send SMS. 4. Call the function on every transaction, adding any arguments to the function like the amount and the description of the transaction. ==== function sendSms($amount, $description){ //write the cURL block that connects to the bulk sms service } if(//carry out transaction successfully){ sendSms($amount, "Balance payment for reservation made." ); } |
ActiveMan: for me i see this as a waste of resources and also time consuming....OOP: Spend 1 hour writing a class once and then subsequently spend 30 seconds instantiating that class whenever you need it for various conditions. Procedural: Spend 10 minutes each, writing a block of code with same functionality but different conditions and applications. For each of the different conditions and applications of the function, its a fresh 10 minutes. Imagine writing that same block for a hundred different applications and conditions. Bottom Line: Use what works for you. Its a technological sin to waste time and its punishable by a life of regrets sooner or later. Life is too short. |
There are 2 classes of people who would choose procedural programing over object oriented programming. 1. People who are very comfortable with the tons of functions they have written over time (to simplify almost every task). 2. People who are just too lazy to grasp the OOP concept and then take consolation in the fact that they can code in procedural. Its the way forward. Some employers now ask to see a code snippet you have written in OOP, as part of the determining factors to get hired. Again, its the way forward and its worth learning now even if you don't know why you should learn it or you don't intend to switch to it immediately. |
WHOIS (gin-fb.com) albert jones (aljones11@gmail.com) +234.08061195717 12 paul hendricks street new bodija ibadan ibadan, oyo 2001 NG Nameservers ns10.9jahoster.com ns9.9jahoster.com What more info could you possibly need to catch the thief? everyday: Is it possible to close down their websites they are using to deceive innocent peopleGoto 9jahoster.com and contact them. They are the ones hosting this phishing site. |
Textaiwo: There's is this issue on smartweb cpanel webmail, whenever I try to login on a different machine, it blocks me and trigger "IP has changed, please login again" pls am I the only one getting this or can anyone help in to find a way aroud it, I called smartweb and mailed them, they said am browsing with either airtel or mtn modem meanwhile I used etisalat, immediately I knew they dnt knw much abt this, pls can anyone recommend a different host company. Thanks in advanceThis problem you are having has little to do with your webhost. This has a lot to do with your internet connection. If I wasn't an Etisalat subscriber I would be giving you the same answer they gave you that it's because you are using either MTN or Glo as these two are known to cause this problem. However Etisalat just started having the same problem about a month ago. The only logical explanation I can give for this happening is that these ISPs use several IPs in a pool and whenever a connection disconnects and quickly reconnects it reconnects with a different IP in the pool. Your cPanel and other sensitive web applications see this as a threat and flag an "IP changed" error because the IP that was recorded for your session (via cookies) at the point of your cpanel login is no longer the same IP your connection is on (as there was a split second disconnection-reconnection cycle which caused an IP change). A mild fix for this problem is to disable cookie IP validation on the cPanel server. While this softens the problem it does not eliminate it entirely as this can only be eliminated entirely from the ISPs end. This is not a problem worth changing hosts for. [quote author=*dhtml]use www.trudigits.com[/quote]The cookie validation has been turned off on the shared hosting servers and some of the VPS servers of TruDigits on customer request so you may not experience the full effect of the problem but it is still there. |
LOLz @ the topic. I wish I could teach... I would have thought you free of charge. |
I am confused Did you really mean "mydomain.com/wp" or the "mydomain.com" was just an example. Cuz the actual "mydomain.com/wp returns a 404 error. Well in my experience the 406 error you are getting could be as a result of your requests being blocked by the server due to some firewall settings. Delete the WP files in your root directory including the .httaccess file and reinstall. If that doesn't work and if you have nothing to lose request for your hosting account to be reprovisioned (terminated and re-created) by your host. Once that is done, do a fresh WP installation. If you still jam the error (very unlikely), contact your host and tell them its their problem. |
hislordship: sorry i meant billing system, thank for your replyOk let's add that up... your topic becomes: "How Can One Own A Web Hosting Site in Nigeria That Accepts Billing System?" This still doesn't add up to form a complete meaning, in my opinion. Leave English alone, what do you want? The more detailed you can be in your explanation the better the quality of replies you will get. |
Your request is not clear, what do you mean by "that accepts billing chart"? |
miracle4: thanks for such insightful review I'm sure gonna implement it .Adding "text-align:justify" to the "home-middle" div style gives you the alignment of the text as shown below: https://easycaptures.com/fs/uploaded/636/7728734308.jpg Compare it with what is there presently, if it looks better you can implement it. For the footer this may be close to giving you ideas as to what you should do with it. The text is best served as white or grey on a dark background, I didn't change the text in the image below though. https://easycaptures.com/fs/uploaded/636/7085704481.jpg |
The images in the banner slideshow are of poor quality and over stretched (to fit your banner size). The "header" and "navigation bar" do not flow well, they don't tally with the the entire curved theme. You can take a look at the "header" and "navigation bar" in www.saharabet.com for inspiration. The texts in the body of your site, add a "center:justify" to the <p> styles. It will make the texts define your columns well as they will be aligned on both the left and the right sides. Optimise the background image so it loads up quicker. The scrolling marquee in red makes no sense in that position and with that effect. You can add the text as a static line on the footer or anywhere else. If you are to keep your background you will have to put all texts on that site on a plain background for visibility. You have done so with all areas of the site except the footer. Add a background to the footer to make it visible. Enjoy! |
Site has been down for about 3 days now. Looks like they intend to add funding LR via Credit Cards for verified members. The delay should be a pay off for that feature. ![]() |
[quote author=php.NET]@ dual, can i get LR payment module for wordpress or woocommerce? thanks.[/quote]Use Google to check if its already out there. If you don't fine any let us know. I can't readily opt to write one now, time constraints. |
e-topup.com.ng will fund your account if everything (from the payment gateway to the site) is in order. Meanwhile Liberty Reserve's site has been down for over 24 hours for "scheduled maintenance". So there's no way you are getting any USDs in and outta that place until its back up. |
uholdtheace: You will within 24hrs max come up with an application to run on our website.If you think its that easy, why don't you hold the code ace bro? Do it yourself... its just a 24-hour stunt! innit? |
I get that with Etisalat as often as I go there to check for their data plans and activation code. I usually really on forums and blogs to get that info now. |
I don't use Yahoo! mail, however I had cause to check some mail routing problems from some servers to Yahoo! It was really disgusting for me because at home I work with an additional wall-mounted screen that I connect to my laptop for a wider work area. So I had the browser on the wall-mounted screen and several times I felt there was a cockroach on the wall and my reflex action was natural. Really that's a very terrible ad. |
Una jobless o. ![]() |
^^ not the Government. Google Adwords should put policies on the age of a domain and the amount it can spend per day running ads. How can you create a domain today and immediately pump 200 Dollars per day into ads? ...Just an instance. |
Are the owners related to the dealfish/kalahari freaks? Common behavioral trend. Get a brainwave > pump money into the brainwave > create a brand via Google Adwords > Jam reality > Accept the harsh reality > Rebrand/Die/Merge > Damage control telling the world how wow everything will be now that it has "evolved" or gone through a "rebrand". Am I the only one wondering when Mocality will die? It looks like the next in line. |
I am not talking about the issue that was raised as, according to Voguepay that was resolved on Monday. The issue I am talking about is bank accounts being debited while Interswitch is reporting a transaction failed situation. That problem existed even before these agregators were born. In theory the money is reversed after 24 hours. Practically the money is reversed after a couple of hours in most cases or never at all (maybe going to the bank to lay a complaint should work then, but this is Nigeria). I did some transactions on one of Voguepay's merchant sites. It failed twice and I can confirm the first failure was reversed but I cannot confirm the second was reversed as its not in the account statement and the amount is too negligible to be detected. |
I don't think everyone understands this problem. This is NOT a Voguepay issue. This is a switching problem. Dealing directly with Interswitch does not solve any switching issues. |
1 2 3 4 5 6 7 8 ... 19 20 21 22 23 24 25 26 27 (of 371 pages)


