Forum Moderators: coopster
I think "preg" and "ereg" uses something like in the Apache's RewriteModule the "[0-9]" something like that... Do you know a tutorial that will easily teach me on how to do that?
Second, I'm planning to use Apache Rewrite. But I really don't know how to use. Do you know a tutorial that will easily teach me on how to do that?
Third, while openning some php scripts, I didn't get the meaning of example:
<?php $sample1-> //some string here?>?>What does it mean? I didn't master the array functions of PHP. Do you know a tutorial that will easily teach me on how to do that? Fourth, I really need to master PHP easily. Do you know a tutorial that will easily teach me on how to do that?
Fifth, I'm planning to use MySQL. But It's really difficult for a beginner like me to learn that. Do you know a tutorial that will easily teach me on how to do that?
Sixth, About offline debugging of my website, I have Apache 1.3, and the latest version of PHP. that's why before uploading my files, I know that they will work because i debug them offline. My computer will act like a server, but offline. Now, how can I use MySQL? The download size is very big! and also, I remembered, I tried it, 29 MB, and with PHPMyAdmin. Is there any other way to download a LITE version of mysql to be used for offline debugging purposes? and also, is the a stand alone program that will let me manage and edit databases?
I hope that you will be able to answer all of my questions.
Oh yeah, another one, how can I create a PHP script that will be easily readed by people?
Another one:
Now, in PHP i know there's microtime, srand, float, array_rand, arrays, foreach, or any other loop functions. i'm really confused. Please help me!
3
Is it something like $var->something or $var->something(somethingelse)? It looks like a class. Classes potentially can make writing a program much easier, but probably not something you should mess with until you've spent some more time in PHP.
4
Browse this board. Browse the PHP site. I'm a big fan of the "For Dummies" books. Barnes & Noble has a pretty good introductory book to PHP that they publish.
5
Same answer as #4, with the addition of the Visual book on MySQL.
6
Your best bet may be to search for a "WAMP" package (I'm assuming you're using Windows). There are packages out there that install Apache, PHP, and MySQL all in one go; altough I can't recall any names off the top of my head. Maybe someone else can chime in. Either way, it's a pretty big download. Or, you can buy a book with the software on CD and kill steps 4,5, & 6 in one go.
For standalone I use MySQL Query Builder and MySQL Adminstrator, both available at the MySQL website. Since installing them, I haven't had to touch phpMyAdmin.
7
What do you want to know about those functions?
- Ryan
As for #1, google searches on
- regular expressions tutorial
- regular expressions reference
will give you a lot. On #2, the standard reference is
[httpd.apache.org...]
See also
[engelschall.com...]
and google on "url rewriting" for more.
You can also play with some regex testers. You can download the free Regulator which I just discovered and haven't used much
[sourceforge.net...]
or use the online regex tester at
[fileformat.info...]
---------
#3
see [php.net...]
------------
#4 and #5
Lots of tutorials out there, but think about what you're asking:
I really need to master PHP easily.
I don't want to be snide, but really, the first thing you need to do if you want to get anywhere with this is to excise the word "easily" from your items #1, #2, #4 and #5. If you've ever mastered anything in your life, you know that it is done with sweat and toil.
I got started with tutorials from devshed.com and a few others and have gotten a LOT better by hanging out here. If I ever master PHP, I'll post here and let you know how I did it ;-)
------------
#7
I didn't understand. Did you have a question about these?