Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    PHP


SuperbHosting.net have generously sponsored dedicated servers to ensure a reliable and scalable dedicated hosting solution for BigResource.com.





Best Way To Start Learning...?


Alright, I need to learn PHP, but honestly I'm having trouble with some
of the online tutorials for two reasons:

1. They're incredibly dry and tend to just say what things do instead
of going in-depth into examples.
2. They don't provide me with excercises and projects in which to test
out what I've learned. The best books I've ever read on any form of
scripting, coding, programming, etc. give me tasks in which to use what
I've been taught. I only learn well by doing, not simply by being
presented with facts.

So... is there a site and/or a book (I'm willing to buy one if
necessary) that you would recommend for someone like me?

As a side note, a lot of them seem to put a lot of time and effort into
instructions on setting up PHP, Apache, and MySQL. I have a web host
that's already fully configured (and runs PHP as CGI, although Apache
is an available method that goes against their recommendation)




View Complete Forum Thread with Replies

Related Forum Messages:
Where To Start Learning OO In PHP ?
like to learning OOP in PHP , but i dont know where i must start to learning.
can somebody give me advice ...

View Replies !
How To Start Learning PHP
I am working website recently and new to it.Please mail me how to learn best?

View Replies !
Warning: Ldap_start_tls() [function.ldap-start-tls]: Unable To Start TLS:
Warning: ldap_start_tls() [function.ldap-start-tls]: Unable to start TLS: Connect error in C:apachehtdocs oolconnect_ldap.php on line 46 LDAP TLS error.

And this is my code ....

View Replies !
Warning: Session Start() [function.session-start]: Open(/tmp/sess 8b10
Hello. Could someone tell me why i am getting these warnings on my php pages? And what i can do to fix it? Thanks.

Warning: session_start() [function.session-start]: open(/tmp/sess_8b107ef6a1cde0a7426aedc044c14cb2, O_RDWR) failed: Disk quota exceeded (122) in /home/ployjam/public_html/admin/login.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/ployjam/public_html/admin/login.php:2) in /home/ployjam/public_html/admin/login.php on line 2

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ployjam/public_html/admin/login.php:2) in /home/ployjam/public_html/admin/login.php on line 2

Warning: Cannot modify header information - headers already sent by (output started at /home/ployjam/public_html/admin/login.php:2) in /home/ployjam/public_html/admin/login.php on line 23

Warning: Unknown: open(/tmp/sess_8b107ef6a1cde0a7426aedc044c14cb2, O_RDWR) failed: Disk quota exceeded (122) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0

View Replies !
Learning MVC
As part of my ambitious project which ultimate aim is not to produce amazing output (well, eventually), but to improve myself, I need to learn MVC.
In a nutshell, I will be making a simple PHP framework so that people can easily make their own websites with personal pages. I will then plan on making modules that people can easily add on.

This has brought me to the subject of MVC. I personally cannot find much online that I can understand easily, so is there anybody here that can help? For example by giving me a very easy-to-learn tutorial link, or what would be really good is somebody here who has experience with MVC who can help me via Email or MSN Messenger/Google Talk.

View Replies !
Php Vs Asp Learning
I might have to recode an app from php/mysql into asp/mssql - the app was not coded with platform portability in mind as it was a rogue app at work and I never thought it would gain acceptance the way it has.

If the powers that be come back at me with the news that it has to be coded with the company approved combination of IIS/asp/mssql then I have to learn asp and the little tricks of mssql.

I know there are folks here that know both and I was wondering acouple things from you.

I learned php simply through trial and error and alot of message board searching and manual searching. Is ASP similiar enough to php that I will be able to simply have to learn new syntax?

View Replies !
Php For Learning
if there are any books you can recommend to me for learning php. Basically I am looking to develop a website that will be part of an extensive database. I know the basics of html and have made some html sites before. I wouldn't consider myself an expert in web development at all. Am I skipping over required steps or is it possible to learn php without a fundamental understanding of more basic html?

View Replies !
Learning
I've never learnt a programming language before, and I'm trying very hard to learn PHP. I've been reading through some online tutorials and I'm really finding it hard. I'm sure that once I understand it, I will be fine, it's just so difficult.

Does anyone have any good tutorials? Or any tips? It's just that I would much rather learn PHP than go on snippet websites and take free scripts. Please help, I don't want anyone to do everything for me, i would much rather be pointed in the right direction.

View Replies !
Learning PHP
I am reading "PHP and MySQL For Dynamic Websites" by Larry Ullman. very well written i am about quater the way through and i have a good understanding of how a script works so i can anaylse a script and know what the script is trying to do. But i thats about it, when i come to writing my own code i don't know how i can make the script do what I want it to do.

View Replies !
Advantages Of Learning PHP/OOP
While researching ways to streamline my work flow (rapid dev strategies, maximizing code re-usability, etc) I keep coming across commentary which essentially says that creating PHP web applications via OOP is the way to go.

Yikes.

At this point in my learning curve, I only consider myself a half-step above an apprentice and the whole OOP thing scares me. But, for the sake of being more efficient in my workflow, I'm willing to take the plunge (atleast get my feet wet) if the good and very knowlegable folks on this list are in agreement - and if learning this aspect of PHP would really speed up the dev of future projects.

So, what's the consensus here? Do most of the advanced developers here (or world-wide) use PHP/OOP strategies when developing their web applications?

View Replies !
PHP Learning Suggestions...
I have been given the task of working with PHP and MySQL at my company,
to development some methods for our future use. The problem is, I have
very little experience with PHP, and I need to figure out a way to
quickly work with PHP and MySQL.

Here is what im going to be working with.

I need to develop a PHP web page, that will contact the MySQL database
on the server and return specific pieces of information; rows, tables
etc. However, i'm not sure how to get started with this.

I know some basics with PHP (I do use Perl for Sys Admin, so some of the
concepts are similar).

But, can anyone recommend some books, links, tutorials etc. that can
help me get started with this project?

It seems daunting, but I think I just need to get started with it, and
it will eventually be easy, with time.

View Replies !
What Is The Learning Curve For PHP?
A friend and I want to learn PHP but we have two totally different
programming backgrounds.
I have experience with procedural programming in C, and he has
experience with Visual BASIC.
Well we wanted to know, what type of learning curve ( of difficulty )
we would have trying to learn PHP?
Also, What will be the most significant changes for us to adapt to? I
wanted to know if PHP is like
bash shell scripting for Linux?

View Replies !
PHP/MySQL-> Learning On The Fly?
I"ve been working with them for a while, and right now I've read 'learn mysql in 21days', learn php in 24hrs, and php/mysql database applications (by greenspan and bulger).

So anyways I applied for a job that's a database administration/creation in actuarial science field(i'm in actuarial science) and somehow got it. Right, so my questoin is, with what i've read so far, is it going to be possible to learn everything else i'll need on the fly, or is my *** going to be grass in 2-3days from start.

View Replies !
And Mysql Learning
I am try to teach myself PHP and MYSQL.

Below I have a php file I have created which when i look at it in a browser
returns a nice list of people and there addresses.

When I change the $data line from
$data = mysql_query("SELECT * FROM dir ORDER BY SURNAME") or
die(mysql_error());
to
$data = mysql_query("SELECT * FROM dir WHERE SURNAME = 'SMITH'") or
die(mysql_error());

I expected my page to show all the people who had the surname SMITH. But
instead I get nothing.

When I run the query SELECT * FROM dir WHERE SURNAME = 'SMITH'
against my mysql databse it returns the lines with SURNAME Smith.

Can anyone tell me why it doesnt work in my php file?

<html>
<head>
<title></title>
</head>
<body>
<font size="2" face="Century Gothic" color="#0000FF">

<?php

//Connect information
mysql_connect("localhost", "gaspa", "blah123") or die (mysql_error());
mysql_select_db("SBC") or die (mysql_error());

// Collects data from "dir" table
$data = mysql_query("SELECT * FROM dir ORDER BY SURNAME") or
die(mysql_error());

// puts the "dir" info into the $info array
$info = mysql_fetch_array( $data );

// Print out the contents of the entry
while($info = mysql_fetch_array( $data ))
{
Print "<b>SURNAME:</b".$info['SURNAME'] . " ";
Print "<b>HOME PHONE:</b".$info['HOME_PHONE'] . " ";
Print "<b>Name:</b".$info['NAME_1'] . " ";
Print "<b>Mob:</b".$info['PHONE_1'] . " ";
Print "<b>Birthday:</b".$info['BIRTHDAY_1'] . " ";
Print "<b>Name:</b".$info['NAME_2'] . " ";
Print "<b>Mob:</b".$info['PHONE_2'] . " ";
Print "<b>Birthday:</b".$info['BIRTHDAY_2'] . "<br><Br";
}
Print "</table>";

?>

</font>
</strong>
</body>
</html>

View Replies !
Learning PHP And MySql
PHP along with MySql. Im gonna pick up a couple of books and
already visited some sites with tutorials... Just wondering if there's
something else I can do to ease and quicken the process.

View Replies !
E Learning PHP5
I have heaps of experiance with C++, meaning about five years. I want to
learn PHP and was wondering if anyone knew of a E-Learning course worth the
price.

View Replies !
Learning Arrays
Am having a really big problem dealing with arrays. How can I improve on this?

View Replies !
Learning OOP For The First Time
I am reading Professional PHP5 of WROX. It uses Postgre as database and i am using Mysql. Whatever, I found a code and changed it to mysql. Code:

View Replies !
Learning PHP + MySQL
I was reading my PHP book this evening and trying a script to connect to a database. Eventually ended up talking to my host who said that the function was MAYBE php3. I said I have no clue and that I'm just trying to learn.

I check out some of the tutorial sites but they all approach it from so many different angles. I'm willing to take the time to sit and read a tutorial that speaks plain english but can't find something that does. My server is running php 4.3.10 and I have php myAdmin installed as well. how to create a DB from PHP code without touching any command lines or the phpAdmin cp if possible.

View Replies !
Learning Resources
For someone who doesnt know anything and I mean anything about PHP but wants to learn quickly, can you recommend any good sources?

View Replies !
Distance Learning
Does anybody know of any (free) online distance learning courses in web-development with php, targeting beginners, from the keyboard and text editor up? My first Google attempts turned up pages of "online schools" that want you to enroll and pay a fee. But nothing of substance that was free.

View Replies !
Learning MySQL And ASP?
I'm interested in learning php/MySQL and ASP and want to ask whether or not ASP is similar to php and if it's generally considered better to have a go at learning php prior to learning ASP. Regarding ASP web-sites is the language ASP.net or ASP (not sure if there's a difference)?. Also can ASP or ASP.net web-sites be written locally and hosted locally for testing purposes prior to FTP'ing to web-space.

View Replies !
Learning MySQL
Does anyone know of a goodbook to Learn PHP and SQL?

View Replies !
DVD Learning Tutorials?
I'm an interested and eager web designer wanting to get a good grasp of learning PHP. I have a handful of useful books, but I was wondering if anyone is aware of any kind of interactive learning guides, ie. DVD, CD, etc.?

View Replies !
Good Learning
I am looking for two good books: a php4 one and a php4 with db one. I see that "Beginning PHP4" and "Beginning PHP4 Databases" are a series but "Beginning PHP4" got a bad review on amazon regarding outdated code.

View Replies !
Learning PHP And MYSQL On Own Laptop Possible?
I am trying to learn PHP and was reading the book by Laura Welling and
Luke Thompson. Obviously, PHP is already installed on a server when
hosted by an ISP already. Is there a way to just download PHP 5 onto my
laptop as well as MYSQL and practice learning it with coding and
scripts, etc.? I don't have another machine to install Apache or IIS.

View Replies !
PHP Online Learning System
Does anyone know of a good software package written in PHP for online learning. I am looking for something taht would allow me to add and remove students, track their progress, edit / content. Does anyone know of a package like this, or should I start writing my own?

View Replies !
Learning PHP With Lighty And W3Schools
I have a question that may be relatively easy
for someone to answer I hope.

I am running lighttpd on xp with php, perl etc. I am attempting to
teach myself PHP by going through the turoials on W3Schools.com. So
far it has been no problem and fun but I have recently hit a snag when
going through page. http://www.w3schools.com/php/php_file_upload.asp

The premise is it shows you how to select a file (restricted to jpg or
gif and file size of less than 20kb), and moves it to an /upload/
folder on the test server. If it is not a jpg or gif an larger than >
20kb it should give an error.

It works fine when uploading the small files, however when i am testing
it with a larger file image 100k or more the server seems to freak out.
The lighttpd error log shows this

(connections.c.1069) denying upload as opening to temp-file for upload
failed: /var/tmp/lighttpd-upload-2AGhiX No such file or directory

Firefox gives me 'The connection has been reset' message.

I am thinking there is maybe a setting in php.ini I should check? Not
sure,

View Replies !
Learning PHP (5) -> Cloning Objects?
The release of PHP5 seemed like a good reason to try to learn it once
more...

I'm reading through the O'Reilly PHP/MySQL book and right now, I'm
fiddling with objects. I just discovered the proper way to clone
objects is *not* "$b = $a->__clone();", as it reads in the book, but
"$b = clone $a". Right?

Now it's still not fully clear to me. The class is called UnitCounter,
two private variables are $units and $weightPerUnit. The __clone()
function simply looks like...

$this->weightPerUnit = $that->weightPerUnit;
$this->units = $that->units;

....but when I use it like so:

$a = new UnitCounter();
$a->add(5);
$c = clone $a;
$c->add(5);

....both end up containing 5 units, whereas I would expect $c to contain
5 already from the beginning (as it's a clone of $a, which contains 5
units), so 10 in total, after adding another 5. Why is $c getting the
initial (constructor) value of zero, instead of 5 like $a, which it is
cloned from?

View Replies !
Learning Curve For PHP-Nuke?
My client has chosen PHP-Nuke for building a prototype of his idea (i.e. to demonstrate proof of concept). I know that a "needs analysis" should have been done but he's in a hurry and has made the choice. I've not worked with any other CMS yet.

Approx how much time (hrs) would it take to get up to speed on PHP-Nuke? ...from understanding to implementing to customizing -- for basic/general functions -- not anything significantly esoteric.

View Replies !
Good Book For Learning PHP?
maybe not the right place for this, can any one recommend a good book for learning PHP?
Probably not absolute beginer level but somewhere between beginer/intermediate level.!

View Replies !
Learning To Use Foreign Keys.
I'm having trouble learning to use foreign keys. Does anyone know of a good tutorial they could point me to?

View Replies !
Recommend Learning Book
recommend me a good book for newbie to PHP to learn about PHP and more advanced PHP and MYSQL so afterwards I have the knowledge to build myself a complete CMS. Not an ebook and one which I can buy in the UK. I need a book which goes into complicated scripts but starts off with a newbies guide.

View Replies !
Looking For A Good Book To Begin Learning PHP
Just like the subject says, I'm interested in taking up PHP and would
like to know if anyone knows of any books that are a must have. I know
there are tons of books out there on every language, but I'm sure some
are much better than others. I'm mainly looking for a beginners book
that also had advanced content too, but if that doesn't exist, then
just an excellent beginners book would be fine too.

View Replies !
Good Online Tutorials For Learning Php?
Are there any good online ttorials for learning php?
Im a novice at php, but with a background of html, css, and javascript.
Where should I start to get into php?

View Replies !
Learning About Session Cookies, URL String
I am learning PHP atm, and I want to learn about sessions. What I would like to know is if sessions HAVE to appear in the URL of the web browser, or can they appear "hidden" from view in the browsers address bar?

View Replies !
Displaying Php Code On Website For Learning Purposes
I would lilke to display Php code on my website for learning purposes, without being interpreted by the web server. Just displayed. Highlighter would be better. How can I do it?

View Replies !
Admin Section For An Online E-learning Application
I'm making an admin section for an online e-learning application. I want the "tutor" or administrator to be able to upload a video file. Normally between 3-5mb. Using html forms with POST just does not seem to work on files this size.

I also want to strip out just the file name and insert the filename i.e. myVideo.wmv and insert it into the database so another php script can access the video file at a later time. The inserting into database is a problem. But what's the best way to strip the filename i.e.

c:.............myVideo.wmv to just the file name and what's the easiest way to upload the file?

View Replies !
Login Session Control Learning/Test
I'm wondering if anyone knows if there is any type of php script out there that I can install on my site that would allow me to create a Learning area. This areas would contain learning sections and at the end of each section would be a test. User submints Test, it validates before granting access to the next section, if test fails they must go back and retake test.

Hopefully it could be session controlled so when the user logs off and back on it will have either the section completed and highligted or direct the user to section where he/she left off. I see a number of login and authentication scripts out there but I just can't find what I'm looking for.

View Replies !
Learning Object Oriented Programming W/ PHP - Any Good Example Projects?
I'm looking for a complete project/application done with heavy use of of object-oriented programming & design.

Preferably something well documented and/or commented so that I can pick it apart and learn how/why they designed it they way they did.

Any suggestions?

View Replies !
Recommendations/links For Learning Hwo To Write POST/GET Scrtips To Thwart Sql Injection
color=blue]
> "And read up on "sql injection" attacks (use your favorite search
> engine). As indicated, validate input. e.g. if you expert $_GET['a']
> to be integer, then do
>
> $a = intval($_GET['a']);"[/color]

I want to learn how to incorporate defenses into my code to thward a sql
injection attach.

View Replies !
Better To Start With <? Or <?php
Is starting with <? the same as <?php . The reason I asked was that after reading a few tutorials I have seen them both use <? and <?php sometimes. Why not use <? since its only 2 chars compared to 5?

View Replies !
Not Sure Where To Start
I have a page with the letters ABCDE...etc
I want to be able to click on a letter and it will bring up a list of
title's to click on, so how do I get it to load a page if say A was
index.php?reviews=a

I've already got the page with the links in and that then loads the reviews
up if you click on the link, but I've made 26 pages areview, breview,
creview etc. I would just rather have a common page that would choose the
right one.

Is this a simple answer or is it going to be complex?



View Replies !
Where To Start
I'm still new to HTML / PHP and so forth, but here is my project. I am going to create database table with URL's in it. This table is going to be my list of "member sites". I want a user to be able to enter a search question (for Example, "GOLD WIDGETS"). Then I want to move through the list of "member sites" searching each site for "GOLD WIDGETS".

View Replies !
Where Do I Start
I don't have any idea about frameworks, how they work and what they are. I didn't learn much of the base PHP stuff, but I can assemble a quick program if I'm required to, and if it's needed I can go back to revisiting some of the php books I have. And I kinda know some xhtml/css but I won't do it without an IDE or web development tool (i.e Dreamweaver) that auto-completes and does most of the dirty work for me. from where do I need to start to get the basic knowledge and getting experience(quickly)? I need this done in about 2 months, and I hardly can keep myself motivated to do this.

View Replies !
Want To Start Tomcat From Php
i wan tto start jakarta-tomcat-5.5.3 from the webbrowser using the
sheel scripts...i normally use the shell scripts from the command line
to start and stop the tomcat server.....

i found out that php gives this incredible facility where i can execute
normal bash commands...i tried doing so ..but a simple command like {
system('whoami') } from
browser......eg.....http://localhost/startup.php..

prints apache as the user....so technically it executes the tomcat
startup script as apache user..but ive got
jakarta-tomcat-5.5.3 under the tomcat user....can someone please tell
me is there a way in php coding wherein i can execute the command as
another....i know this seems a bit out of place...but i really didnt
know anywhere else to go

View Replies !
PHP Script At Start Up
I would like to run a script at startup under SuSE 9. I read and
figured out that it can be done using chkconfig and setting the proper
run level. The problem I have currently is that I depend on system
environmental variables being available for PHP. I am using PHP as a
scripting language (nothing to do with the web), and this PHP script
is called from the start up bash script, but it cannot retrieve any
environmental vars at runlevel 3.

When are environmental vars set and at which runlevel? Or should I do
this some other way?

View Replies !
Newbie Looking Where To Start
After being a lurker in here for some time, I got the PHP bug, and
downloaded Apache 2.0, PHP 4.summat and MySQL

I installed, registered the dll's edited the conf files and finally got it
all working (i think) after a few nights of faffing about.

Now... where should i start? I know naff all about PHP or MySQL and would be
greatful if someone could point me in the direction of some tutorials to
start learning about PHP and MySQL.

I am from a programming background (visual basic) and have a welly load of
knoledge on relational databases so wheres the best sources...
Book/Web/Forums etc...

View Replies !
Fopen Start On New Row?
is it possible to have fopen start on new row?

fopen("$filename","aw");

i've been trying to write to the end or beginning, doesn't really matter, of a .txt file, but it just writes on the same row as the last input.

View Replies !
How To Start Session?
i m learning how to have session in my form. like for example, after the user insert their information in the application form, they will then be redirected to another page. the another page is where they will have to print out their form - with their info added in. but i m unsure how to go about doing it. can someone show me?

View Replies !
When Does HTTPS Start?
This might seem obvious, but do you have to establish an https connection before a form is sent, or can you send the form to an https connection and have it encrypted? For some reason, I never looked into this - I just always sent the form to the user via https to be sure - and to be honest it really doesn't matter that much, but I'm just curious. Code:

View Replies !
Session Start More Than Once
I include sessionstart.php which calls session_start() and instantiates a user class from my index.php. I also have a place to login with the form set to run login.php and then I want to reload the index.php with the user set up.

Does the session_start() get run again and if so does it kill the stored values? And how am I supposed to reload the index.php? The way it is set up now I have to have "Action='login.php'" but somewhere in login I have to go back to index. Or should I put the action="PHP_SELF" and collect the user's info on load?

View Replies !

Copyright © 2005-08 www.BigResource.com, All rights reserved