Search found 19 matches
- Sun Feb 24, 2013 2:17 pm
- Forum: Tutorials
- Topic: Basics: MySQL - MySQLi
- Replies: 4
- Views: 1398
Re: Basics: MySQL - MySQLi
You can use it OO style or procedural style. I prefer the OO version but it is possible to just add an "i" to all the function names. I have recently tried it. I hadn't read the manual till then about it to be honnest :roll:, but still has some differences not only in syntax, for example ...
- Tue Feb 05, 2013 11:59 am
- Forum: Tutorials
- Topic: Basics: MySQL - MySQLi
- Replies: 4
- Views: 1398
Re: Basics: MySQL - MySQLi
You can use mysqli in the same way as the old mysql version simpley by adding the "i" mysql_connect => mysqli_connect for example. Well, it looks to me (at least) a bit different as the mysqli_* looks like more OO, so if there's a php page with simple PHP script its getting a little bit w...
- Mon Feb 04, 2013 3:23 pm
- Forum: Tutorials
- Topic: Basics: MySQL - MySQLi
- Replies: 4
- Views: 1398
Basics: MySQL - MySQLi
Hi Jacek, I was watching recently your video on Basics about the mysqli . I'm really sorry for posting about this subject, as there are a lot of discussions, as you've said about it. I 'm still using the mysql_* mostly, as I'm writting more proceedurePHP than OOP, just because i'm used to this 'appr...
- Wed Sep 05, 2012 6:51 am
- Forum: PHP
- Topic: Having a little problem with creating the Template System
- Replies: 3
- Views: 1014
Re: Having a little problem with creating the Template Syste
Thanks for the reply Jacek! Well ok, off course the 404 page :roll: !! but.. how exactly is going to be this redirect? :? if ( ????? ){ header('Location: 404.php'); die(); } I guess i'll need something like: in_array("anything.php", scandir('fakesite')), or something like this?? And where ...
- Tue Sep 04, 2012 10:04 am
- Forum: Suggestions
- Topic: Basic shopping cart
- Replies: 2
- Views: 2927
Re: Basic shopping cart
Hey Jacek, i 'd like to ask you a favor. Could you pleeeease bring the shopping cart tutorial on your "high priorities" tutorials and make it :roll: as soon as you can? Could you also use both php and ajax-javascript? Not only to learn both php and javascript more quickly and effectively, ...
- Mon Sep 03, 2012 6:58 am
- Forum: PHP
- Topic: Having a little problem with creating the Template System
- Replies: 3
- Views: 1014
Having a little problem with creating the Template System
I was watching the "Template System" tutorial for making a template system in a basic small site of four pages and i would like some help please, cause i got a little bit confused :? . In the four pages index.php, about.php, products.php and contact.php I have included the same navigation ...
- Wed Aug 29, 2012 9:27 am
- Forum: Suggestions
- Topic: security: password encryption
- Replies: 4
- Views: 3661
Re: security: password encryption
Thanks for the reply and all that great stuff you 've shared! ;) I 'm going to give a more in depth read and excersise soon, i hope. Just let me get this straight, cause i got a little bit confused :? if i just md5, or sha1 my passwords like this: <?php $password = md5('password'); echo $password; ?...
- Thu Jul 19, 2012 1:58 pm
- Forum: Suggestions
- Topic: security: password encryption
- Replies: 4
- Views: 3661
security: password encryption
Hi Jacek could you pleeeeeeeeeeaaaaaase make a tutorial on password encryption? I've read from many users recently in some forums that a simple md5 or sha1 isn't good enough even for a small personall website, so I tried to find some tutorials on how to encrypt or hash user's password, to access a p...
- Wed Jun 20, 2012 7:53 am
- Forum: PHP
- Topic: safe login script???
- Replies: 5
- Views: 1093
Re: safe login script???
so better do it with db tables
- Tue Jun 19, 2012 2:17 pm
- Forum: PHP
- Topic: safe login script???
- Replies: 5
- Views: 1093
Re: safe login script???
outdated??? didn't get thatjacek wrote:That method is fine, however the code is a very outdated style.
mean having security issues??
- Tue Jun 19, 2012 12:47 pm
- Forum: PHP
- Topic: safe login script???
- Replies: 5
- Views: 1093
safe login script???
As I was browsing on youtube for some php videos, I bumped into this http://www.youtube.com/watch?v=HeavBljJppE . If my website has no user accounts, just admin, is it safe to create the login script like this??? or better do it with database table, create a table users with only one user in, the ad...
- Sat May 26, 2012 2:31 pm
- Forum: Suggestions
- Topic: Hosting
- Replies: 2
- Views: 2854
Hosting
hey Jacek, I have request, actually ask favor :P . Although I know its maybe out of the scope of your videos teaching php, is it possible to make a tutorial about how to host a website? A cource covering things like changes (if there are any) made in php when turn from localhost to a server and the ...
- Wed May 23, 2012 9:58 am
- Forum: Suggestions
- Topic: Planned Tutorials CMs
- Replies: 1
- Views: 2518
Planned Tutorials CMs
hi jacek, I was just going to ask you for a tutorial on creating a cms but then I noticed in "Planned Tutorials http://betterphp.co.uk/board/viewtopic.php?f=9&t=25 " this: Projects CMS (Including user management). So I'd like to ask you apart from the user management the cms you are go...
- Tue May 15, 2012 10:30 am
- Forum: Suggestions
- Topic: simple tut with php & jquery
- Replies: 1
- Views: 981
simple tut with php & jquery
Hi Jacek, Nice tutorials, really helpfull! I have a suggestion :idea: . Is it possible to have series on developing a SIMPLE tut (like a photo gallery) using html, css and basicly jquery and php . I believe it will be cumbersome. But the idea is to show or teach how the pulled from db data, like pic...
- Tue Apr 03, 2012 4:10 pm
- Forum: Suggestions
- Topic: Choose language
- Replies: 1
- Views: 724
Choose language
hi jacek, I 've found some websites that have links-flags (of countries), usually on top, and when you click on them it translate the content of the web-page from one language to another, for example from english to french etc, like the attachment. Could you make atutorial about it? p.s Is this made...
- Mon Apr 02, 2012 9:10 am
- Forum: PHP
- Topic: how to set utf-8 or ISO-8859-7 ???
- Replies: 3
- Views: 826
Re: how to set utf-8 or ISO-8859-7 ???
do I have to do any settings and in my database or my php? if yes, could you please tell me with details so not to make any errors
- Sun Apr 01, 2012 10:13 am
- Forum: PHP
- Topic: how to set utf-8 or ISO-8859-7 ???
- Replies: 3
- Views: 826
how to set utf-8 or ISO-8859-7 ???
Hi I would like some information please. How can I set the utf-8 unicode or charset ISO-8859-7 on my dynamic web page? To give you some feedback: when I'm creating the page on my editor (btw I use Dreamweaver) and typing some text, in greek, inside a <p> tag everything looks fine, but when I preview...
- Sat Mar 31, 2012 8:51 am
- Forum: Suggestions
- Topic: mail from localhost
- Replies: 1
- Views: 704
mail from localhost
Could you make a tutorial about sending email from localhost? What I mean is not focusing on mail() function and the php code, but how to set xampp (which I use) or other platforms, etc etc..
- Sat Mar 24, 2012 9:10 am
- Forum: Suggestions
- Topic: OOP project
- Replies: 0
- Views: 16876
OOP project
Tutorial suggestion: Create a project, for example an e-commerce site, e-shop (shopping card etc) maybe a good idea, with OOP.