TalkPHP

TalkPHP (http://www.talkphp.com/forums.php)
-   General (http://www.talkphp.com/general/)
-   -   what are all the subjects in php? (http://www.talkphp.com/general/2035-what-all-subjects-php.html)

sarmenhb 01-21-2008 04:02 AM

what are all the subjects in php?
 
ok so far these are the subjects or sections or whatever its called about php that i know of. or sections of study


Variables
Functions
Arrays
Classes
Sockets
Cookies
Sessions
User Authentication
User Registration
PHP & mysql interaction with the browser
PHP & xml
PHP GTK
Sending Email
setting .htacess rules(not php but something to know)
then maybe php security(guarding against xss and injection)


what are other sections of study for php because once i master the above does it mean i know php and i can go forward and create whatever comes to mind, and occasionally look at php.net for new functions i can take use of?

Orc 01-21-2008 04:08 AM

Master the Data types.

Also .htaccess allows support for Mod_rewrite, the stuff for parsing URL's differently. As you seen right now, live, the URL address states this thread is:
Code:

http://www.talkphp.com/general/2035-what-all-subjects-php.html

.E.G. - general/2035-what-all-subjects-php.html

Considering you can do that with vbSEO for the Search Engine to recognize the URL easily.

You can have Wildcard schemes with an HTTP String Specific, if I put that correctly. :]

Code:

( also if you want a wildcard Subdomain service, like most sites do as like Blogger.com, that has it's url's as such:
myblog.blogspot.com, that's probably coming this url query:
http://www.blogspot.com/?bget=myblog&ref=0 (usually I'd put this if 1 then assign this to the database  >:D

If you catch my drift <end>);

By the way, you cannot just do a Wildcard  Subdomain, you must allow for it in the APACHE VirtualHosts.

By the way Wildcards are like this = "%foo%"

Usually considering sql, this can be made for making Search Engines :D

As such:

$sql = mysql_query("SELECT * FROM table LIKE = '%$row%'");

etc etc

now enough..


By the way, for PHP & XML, just use SimpleXML, it makes it simple for PHP to actually interact with XML, or probably the only way. >.< I know you could try the YouTube API for this

PHP: SimpleXML - Manual <- here

Let us get one thing straight, Cookies & Sessions are basically the same thing.

User Authentication and User Registration eh? As with Cookies & Sessions you assign the session to the user coming from the database, that's about all I know of the subject. And then you can use setcookie to increase the session.

Sending email?
Just use mail() or for (Some what)
imap_mail()

What about Arrays?
Though you can familiarize yourself with them with the Keys and Values, that's about it besides manipulating them using the functions and how some functions turn variables into arrays such as Explode() function

I've never really touched with Sockets, but I can tell you, you can use them for grabbing information from a remote server, but so can cURL.

They have their own page for SQL injections, simply mysql_real_escape_string does the trick
UPDATE: well it does help with SQL injections, but I'm sure someone has already gone beyond escaping strings. Though I've never SQL injected before so.. I am not totally knowing about this :S or XSS attacks.. >.<

What do you mean by PHP & Mysql interacting with the Browser? Sounds to me like Javascript(AJAX) :/.. What are you trying to accomplish?

I would try to grasp the GD Library, so you could add that to your list.

Classes are brilliant in their own way!
I love Classes! They make everything easier for me!
But instead of hearing me blab, I think you should go to php.net and check about all the means of classes/objects.


In the end as said above for classes, PHP.NET is your place for anything and everything about PHP. :]

Talkphp is LIKE Winston Wolf ( Pulp Fiction ref. ), he solves problems.. Hehe

Village Idiot 01-21-2008 04:34 AM

There are far too many subjects to list. The best way to gauge your skill it to give yourself a task and know that you could program it.

Orc 01-21-2008 04:37 AM

Quote:

Originally Posted by Village Idiot (Post 9123)
There are far too many subjects to list. The best way to gauge your skill it to give yourself a task and know that you could program it.

He should get some Tutorials, and study them hard, then put what he wants on the tutorials, and then he should familiarize himself with that.

As I do. :P


I'm not really good at explaining PHP am I? >.<

sarmenhb 01-21-2008 06:08 AM

Quote:

Originally Posted by Orc (Post 9121)
Master the Data types.

Also .htaccess allows support for Mod_rewrite, the stuff for parsing URL's differently. As you seen right now, live, the URL address states this thread is:
Code:

http://www.talkphp.com/general/2035-what-all-subjects-php.html

.E.G. - general/2035-what-all-subjects-php.html

Considering you can do that with vbSEO for the Search Engine to recognize the URL easily.

You can have Wildcard schemes with an HTTP String Specific, if I put that correctly. :]

Code:

( also if you want a wildcard Subdomain service, like most sites do as like Blogger.com, that has it's url's as such:
myblog.blogspot.com, that's probably coming this url query:
http://www.blogspot.com/?bget=myblog&ref=0 (usually I'd put this if 1 then assign this to the database  >:D

If you catch my drift <end>);

By the way, you cannot just do a Wildcard  Subdomain, you must allow for it in the APACHE VirtualHosts.

By the way Wildcards are like this = "%foo%"

Usually considering sql, this can be made for making Search Engines :D

As such:

$sql = mysql_query("SELECT * FROM table LIKE = '%$row%'");

etc etc

now enough..


By the way, for PHP & XML, just use SimpleXML, it makes it simple for PHP to actually interact with XML, or probably the only way. >.< I know you could try the YouTube API for this

PHP: SimpleXML - Manual <- here

Let us get one thing straight, Cookies & Sessions are basically the same thing.

User Authentication and User Registration eh? As with Cookies & Sessions you assign the session to the user coming from the database, that's about all I know of the subject. And then you can use setcookie to increase the session.

Sending email?
Just use mail() or for (Some what)
imap_mail()

What about Arrays?
Though you can familiarize yourself with them with the Keys and Values, that's about it besides manipulating them using the functions and how some functions turn variables into arrays such as Explode() function

I've never really touched with Sockets, but I can tell you, you can use them for grabbing information from a remote server, but so can cURL.

They have their own page for SQL injections, simply mysql_real_escape_string does the trick
UPDATE: well it does help with SQL injections, but I'm sure someone has already gone beyond escaping strings. Though I've never SQL injected before so.. I am not totally knowing about this :S or XSS attacks.. >.<

What do you mean by PHP & Mysql interacting with the Browser? Sounds to me like Javascript(AJAX) :/.. What are you trying to accomplish?

I would try to grasp the GD Library, so you could add that to your list.

Classes are brilliant in their own way!
I love Classes! They make everything easier for me!
But instead of hearing me blab, I think you should go to php.net and check about all the means of classes/objects.


In the end as said above for classes, PHP.NET is your place for anything and everything about PHP. :]

Talkphp is LIKE Winston Wolf ( Pulp Fiction ref. ), he solves problems.. Hehe

thakn you for that detailed explanation. ill come back to answer some of the questions i saw in there.

TlcAndres 01-21-2008 01:56 PM

All the subject relevant to PHP can take up their own article o.O, in an extension of what Village said try to create a script not based off one of those aforementioned areas but using them all in tangent (or as much as is practically reasonable)

sketchMedia 01-21-2008 02:02 PM

learn the basics first, then build on it, dont bite off more than you can chew.
namely:
Variables
Functions
Arrays

also i'd add to the list, data exchange:
XML
RSS
JSON

and maybe even the PHP XSLT stuff too
and .htaccess is really more of an apache thing, but never the less still good to learn

wGEric 01-21-2008 05:41 PM

Quote:

Originally Posted by Village Idiot (Post 9123)
There are far too many subjects to list. The best way to gauge your skill it to give yourself a task and know that you could program it.

Agreed. I've never used the LDAP functions but I know I could write a script that uses those functions.


All times are GMT. The time now is 06:44 PM.

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0