Ivcraig's Posts
Nairaland Forum › Ivcraig's Profile › Ivcraig's Posts
1 2 3 4 5 6 7 8 9 10 (of 11 pages)
This benchmark is flawed, as PDO does escaping/preparing entirely on the client-side, while MySQLi uses the mysql protocol for that (thus network IO). The writer even agreed to it himself. Read the end of the article. |
Thanks for taking out time to do this for all who want to transit from function-oriented (procedural) PHP programming to object-oriented. I have become very much accustomed to mysqli procedural. But please I need to know why switching to PDO for database operations is advantageous, apart from PDO's power to connect to other databases? Thank you. |
You can contact me on : 08062239670 |
Ready to sell.
|
vicsrael:Thanks man. What's the advantage of this over the solution I got. I'm very interested in making positive changes and learn new stuff. From the looks of this one it seems I can easily redirect all my links. |
I tried this but it didn't work. Rewriterule ^tracks-([0-9]+)+([0-9a-zA-Z_-]+)$ This worked tho: Rewriterule ^tracks/([0-9]+)/([0-9a-zA-Z_-]+)$ I changed the slashes to dashes. I guess the slashes convert the link to directories, which also reroutes all files on the page. |
dhtml18:Thanks bro. I really can't figure out how to use it. I'm still stuck with procedural php orientation. I think it's high time I started to take this oop serious. Everything on the Web nowadays are objects. PHP object orientation dey turn my head. |
dhtml18:I hope this solves it permanently. I checked WordPress, laravel and codeigniter's own Htaccess. They seem to have a generic approach to rewriting links. I guess php also plays a major role. |
dhtml18:Thanks bro. I tried it but didn't work. This just worked tho: Rewriterule ^tracks-([0-9]+)+([0-9a-zA-Z_-]+)$ instead of: Rewriterule ^tracks/([0-9]+)/([0-9a-zA-Z_-]+)$ I changed the slashes to dashes. I guess the slashes convert the link to directories. I also feel this is not appropriate. |
Ive tried all advise and its still same thing. I wish there was a better way |
Options -Indexes ErrorDocument 404 /index.php RewriteEngine on Rewriterule ^home index.php [NC,L] Rewriterule ^events events.php [NC,L] Rewriterule ^music music.php [NC,L] Rewriterule ^articles articles.php [NC,L] Rewriterule ^article article.php [NC,L] Rewriterule ^news news.php [NC,L] Rewriterule ^ministration ministration.php [NC,L] Rewriterule ^tracks/([0-9]+)/([0-9a-zA-Z_-]+)$ view_music.php?page=$1&title=$2 |
vicsrael:I've tried all methods I found online. None seems to work. |
Guys please help out. I'm trying to cleanup my the links on a website I'm working on, using htaccess. My rewrite rule works fine, but the images on the page don't display because a part of image links are also rewritten. I'm rewriting view_music.php?id=$1&title=$2 to: track/id/title track/id/title gets appended to all image links. |
Hello guys. I'm trying to cleanup my the links on a website I'm working on, using htaccess . My rewrite rule works fine, but the images on the page don't display because a part of image links are also rewritten. |
What youre getting is a "404 HTML Response". It literarily means, the page or file you are trying to access doesn't exist on the server. Val601: |
Please help!!! A friend of mine mistakenly choose a wrong year of birth, hence he cannot continue registration because the year he chose makes him above 30 years old. |
Please my friend chose a wrong year of birth and he can't continue registration. Any solution to this? |
Team Oyo B16. Follow this page. https://www.nairaland.com/2924045/all-2016-batch-corpers-posted |
chinakanelson:Once you login, don't click on the print slip button. Just change the link immediately. |
Is there any of such? I'm not on any. |
The title of this post is damn too long and boring. |
Victor
Uniben
Pol science and pub admin
Oyo! Sharp Team |
If ure using your mobile phone to check. Firefox or the default browser works best on Android devices. Ensure you change your settings to enable it view desktop site. |
rusty9:Nothing do you. You fresh. |
mickyswaggz:Lagos. Stream 1. |
rusty9:Benue. Stream 1. |
Good news guys. If your call up number wasn't showing, you can check back online now. Mine is showing now. |
registered successfully without a call up number. Any solution? |
Lazyreporta:Nice one bro. How old is the site. |
9iceX:Nice one bro. What language or software did you use to write/make the site? |
SeunOni your site needs more work. It's seems unfinished and very much unresponsive. You fit contract me, make I finish am up for you. |
Uniben prospective Batch A corpers. What's the status on the collection of our SOR? |
