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.





Php Tutorial For Beginner


I want to learn php so please send me any best php tutorial site for beginner by which i can get a basic and advance knowledge of php.




View Complete Forum Thread with Replies

Related Forum Messages:
PHP Beginner
I have a problem regarding with my code or maybe to my PHP configuration. I write a simple code, when I execute it to IE, no value of my variable “name”, can anybody advice me what to do. here's my code:

<html>
<head>
<title>Jet Search</title>
</head>

<body>
<h2>Search for First name</h2>
<form action="rname.php" method="post">
Please Enter name:
<br>
<input name="name" type=text id="name">
<br>...................

View Replies !
Beginner Question
I'm pretty new to PHP, and I'm trying to write a user authentication script.

The following code is designed to check a user's name a password against a flatfile database. If they are correct, the script prints ''Authorized." If not, it returns them to the login page. PHP Code:

View Replies !
Beginner PHP Book
I have looked all over for a php 5 noobie book for ever, one that is
easy but indepth...

If you could please reccomend a great book for us noobs in PHP world..

I only know html and some php..

View Replies !
Question From Beginner
I try to use php, but I have problem with forms.

I have a file named test.php like that:
<FORM ACTION="test.php" METHOD="POST">
type your name, then submit :
<INPUT TYPE=text NAME=name>
<INPUT TYPE=submit VALUE="Submit">
</FORM>
<P>
your name is
<?php
echo "$name";
?>

And I have this error:
Notice: Undefined variable: name in c:program
fileseasyphp1-8wwwepc est.php on line 9



View Replies !
Strategy For Beginner
What is the best way to set up a form? Should the submitted info always be redirected to a new page? I found a way to submit form data to the same page using $PHP_SELF. I really like the method but problems always happen when users press refresh or back button. What is the correct method to avoid back/refresh issue?

View Replies !
Where Can I Find Beginner PHP Tutorials.
I want to learn PHP, and I need to find the best & greatest online PHP tutorial for beginners to learn to code PHP.

View Replies !
Beginner Level Projects
I am a PHP ,MySQL newbie.Just finished learning the basics of PHP
programming and MySQL interaction.anyone me gain hands-on experience in developing a PHP-
MySQL software?

What will be the right approach in developing a "PHP-MySQL" software?
i.e,which part to develop first and which to address next ?

View Replies !
Beginner Question Regarding Arrays
I want to search through an array, and post each element in a table. This array contains alot of elements with the same value, and instead of presenting these repeatedly in my table, I want a row with a number representing how many times the value is in the array.

I know this can be solved with sorting the array and creating some kind of counter that adds up if the element is similar to the previous, but I just can't wrap my head around the syntax.

View Replies !
Absolute Beginner (Setup Questions)
I am trying to figure out how to get started with PHP/MySQL.
Everything I've read so far says to start with PHP first. I was
expecting something like Visual Basic Express or some other type of
free IDE. So I discovered that I needed to download a virtual server,
so I downloaded OmniSecure and followed the set up instructions as far
as I could figure them out.

So here is where I'm stuck.

1) While trying to set up and configure everything it tells me to move/
rename a certain .ini file. I can't find this file.

2) Even if I did get set up correctly I'm not sure what program/IDE to
use to begin entering code?

I am obviously a beginner, but have made several Access databases and
basic applications using Visual Basic Express and SQL Server Express
but all of those programs have had various set up wizards that made
everything idiot proof.

View Replies !
Sha1() Passwd In Mysql Help... (beginner)
For a log-in page I have created a mysql db and user registers
with a user name and password. The password field is encrypted with

$passwd = sha1($_REQUEST['passwd']);

I insert the $passwd in mysql_insert. The password gets
encrypted and stored in mysql. Now I want to check if the user has
entered the correct password when he logs in. How can I do that.

View Replies !
Beginner Question On PHP (redhat 9) And Variables
I am trying to work through a PHP book that I bought a year or so ago,
"Essential PHP" by Christopher Cosentino. In the beginning of the
book, after the Hello, World .php file, you get to a two-parter : a
form that sends it's results to another .php file, that then displays
those results.

Nothing I have been able to do has gotten this type of passing to
work. Checking the URL string for the second page, it properly shows
the values :

http://localhost/PHP/form_results.p...it=Submit+Query

However, when I refer to $first_name or $address from the second .php
file, they always render as empty (NULL). I cannot figure out why
this relatively simple case is not working; I can define local
variables and output them, however, I cannot pull the variables from
the URL string, so I can't work with forms.

I'm using a default Redhat 9 install, that came with Apache and PHP
preconfigured. I have made a few unrelated changes to Apache (setting
up SSL, etc) - is there something that needs to be done to get PHP to
work with variables?

View Replies !
Beginner With A Question About Associative Arrays
Is it possible to reference an index of an associative array using a variable? e.g.: If I had an array:

$myArray["first"] = "myValue";

and if I were to declare a variable:

$myVariable = "first";

I can't get PHP to display "myValue" by referencing this index using $myArray[$myVariable];

View Replies !
Fopen() With Url And Search Engine (beginner)

When I went through the php docs I come across with fopen() function
which can also takes the any url. So I tested with this following little
code.

<?php

$fh =
fopen("http://www.google.co.in/search?hl=en&q=php&btnG=Google+Search&meta=",
"r");

while(!feof($fh))

{

$output = htmlspecialchars(fgets($fh, 1024));

echo ("$output<br />");

}

fclose($fh);

?>

View Replies !
[Beginner] Reading A File Into An Array (hash)
The textfile looks like this:

A/S=age/sex?
A/S/L=age/sex/location?
AA=alcoholics anonymous
AAA=travel club
AAAAA=travel club for alcoholics / american association against acronym
abuse
AAMOF=as a matter of fact
....

It's a file of acronyms, where the first part (before the =) is the acronym
and the second part is the explanation.

I want to read this into an array so that I can access the array with the
acronym and get the explanation. e.g.
$key = 'AAA'
$expl = $acro[$key]

View Replies !
Beginner Question: Directory Handling & Sorting
I am trying to open a directory on a file server to populate a drop down
menu. I've been able to do this, but the results are not sorted
alphabetically. How would I go about this? I've looked at the php.net
site on directory functions, but haven't found a solution that works.
The sort() function seemed like it should, but it instead returned an
error: sort() expects parameter 1 to be array, resource given.

View Replies !
Adding Variable Output To An Array (beginner)
I have a variable that stores a temporary password. I'm just learning about arrays. I know this is wrong $pwList[]= ($newPW); I want to add the value of the $newPW which keeps changing to a unique variable and store each one in the array. How do I do that? Code:

View Replies !
Beginner Problem - Using Date("M", $i) Where $i Is An Integer
I am trying to use the following function:

echo date("M", $i)

to echo the date that the value of a variable, $i, represents (eg. 1 =
Jan, 5 = May, 11 = Nov). Unfortunetely, it returns only Jan for any
number which I assume is the 1970 date that this function returns when
you screw up. I know that when I have the string value of &#55614;&#57157;-05-01'
in a variable, I have to convert it in the following function:

echo date("M", strtotime($strdate))

Is something similar required when I use an integer?

View Replies !
Beginner Question: Define PHP "framework" For Me
I've just grabbed a PHP book and can deal with the syntax and now I
need to decide to learn specific packages and features.

Define "framework".

What are the major framework flavors ?

Under what conditions can I use two or more frameworks?

View Replies !
SSL Tutorial
Do you happen to know/have any website or tutorial on how to manage ssl website?

View Replies !
PHP & XML Tutorial?
I have tried so many PHP & XML tutorial but they are all not working properly.

Could you guys please show me a good and working properly PHP & XML tutorial,
a very nice and clear tutorial for beginners like me trying to learn them in combination.

View Replies !
PvP Tutorial
Does anyone know a good PvP tutorial, doesnt have to be easy to follow however it would be nice, or even if someone could write a VERY basic one on how to creat PvP pages.

I mean i only really need the basics and a explantion how it works, i did search on here and the main site but couldnt find one.

View Replies !
Php Tutorial
I am completely new to php (call me a noob if you'd like) and im hoping for a complete overview of php/mySQL. Every guide ive seen makes no sense to me. You can also post some tips and hints to learning  Im a fast learner in my opinion... hoping to start a text-based game in about a year. 

I already have php/mySQL/apache and a ton of other junk that came with the Xampp download. Where the heck do i put scripts... and what are the different servers for? Host im guessing.

View Replies !
Best Tutorial?
what are the best tutorial / news PHP website ?

View Replies !
CMS Tutorial
jst wondering if anyone knows of any tutorials that will show the design and impl. of a simple cms. im thinking of making my own and tough i might get some ideas from such a tutorial or example. basically i have a site with following section

articles,
photos,
web dev articles etc.,
cd reviews,
receipes,
links in categories,

what would be the best way to apprach this. mostly everything will be article based i think. photo album will have a seperate script to load and display. all i need to do is upload the pics. just looking for sugesstions really. think it will be some sort of a system that is based on text files for content nad include to put it all together, would that make some sense?

View Replies !
Xml Tutorial
Can someone point me to an online tutorial of sorts that will explain xml,and it's usage in php.

I have limited php knowledge. I am building a custom shopping cart application. I need to use xml to get quotes from UPS online tools, and to pass and receive a response from our payment processor.

View Replies !
Cron Tutorial
anybody now good tutorial on cron??
thanks

View Replies !
HTML_AJAX Tutorial
Thos who are interested to develop applications using HTML_AJAX,
please take a look at this tutorial

http://www.troymcilvena.com/wordpress-and-html_ajax/

View Replies !
Devshed's JSP Tutorial
http://www.devshed.com/Server_Side/Jserv/JSP/page1.html an interesting introduction to the language - I wondered if any PHP-heads are fluent in both JSP and PHP and what the pros and cons of java server pages are comparably? the variable process looks a little excessive (certainly for simple scripts) to me.

View Replies !
Installation Tutorial
I'm having trouble with my windows PHP/MySQL. I have a few years experience with ColdFusion, so I'll do OK once I get the basics figured out. I ran the windows installer. I believe I have 4.3 installed. I've run through some of the kindergarten tutorials. But now I get to the tutorial on Creating a PHP login script and it's assuming I know all kinds of things like how to create a frigging batabase in the MySQL that I installed. It doesn't appear there's a user interface for MySQL built in, so I installed MyAdmin. But I can't seem to configure that.

This tutorial tells me to put in my username, pw, dbhost, and db name. I have no idea where to start!

View Replies !
Tutorial On URL Encoding?
Can anyone point me in the direction of a tutorial on URL encoding? I am creating a website and i want to use 1 page which contains the layout, then seperate pages with the content. i would do it something similar to this:

http://website.com/index.php?page=links

Then that would just call up a .inc page specified in the page= variable and display it on index.php.

View Replies !
PHP Poll Tutorial
I am running through a tutorial on how to generate a poll using PHP and mySQL, I have inputted the code exactly as it states, but I keep getting this error: Parse error: parse error, unexpected $end in C:Program FilesApacheApache2htdocsaby.php on line 75.

There are only 75 lines in my code, so I assume I mistyped something somewhere. Does anything in the following code look wrong to anyone? I deleted the username and password for obvious reasons, but they are set right. PHP Code:

View Replies !
Mail() Tutorial
I need to send e-mail to a list I have created from a MySQL DB. I have the list working from a Friends page. It works great. I have a list of e-mail address. That part is fine. I am sending them fine. The part that I am having a problem with is when I send the e-mails if one is not delivered how do you know?

Does anybody know how to check to see the bounce backs. Do you need to set something in the header of the e-mail when sending the e-mail to send it to a mailbox if it is non-deliverable?

View Replies !
Very Basic PHP Tutorial Available?
I am not a programmer, and I want to do a 301 redirect for my site and do not have access to htaccess.

But I do have access to PHP apparently with certain site packages (and found the code to use online). I signed up and got lots of great new files and have no clue what to do with them.

So, is there a really basic step-by-step tutorial for what to do with PHP? I just want to forward my html pages, and need a really basic instruction source that probably starts something like: make a new file and name it X.

View Replies !
PHP4->PH5 Tutorial
Seen that support for PHP4 will be dropped at the end of the year I was
thinking that maybe now might be a good time to start moving things.

Is there a tutorial as to what I need to look out for?

And, Could I run both version on my test server? Or do I need to have
to Apache servers running?

View Replies !
PHP SOAP Tutorial Please?
anyone got a decent PHP SOAP tutorial?

View Replies !
Begining - Tutorial
i need to begin in php. is there any tutorial to begin? (i started an
hour ago .....)

i copied this first example

<html>
<head>
<titleHello World </title>
</head>
<body>

Hello, world!

<?php

echo 'This is my first PHP web page.'

?>

</body>
</html>

and saved as .html file, and when i open it with the browser, it
appears only the html part, but not php ....

View Replies !
PHP Cookies Tutorial
I was wondering if someone could point me to a good offline or online (I would prefer offline though) resource to get the gripps on dealing with cookies (both persistent and seesion based) to create an online application for one of my customer.

It will have almost the same capabilities than a ecommerce site, i.e. adding products and quatity to basket, retrieving basket info, retrieving past order info (for a short time i.e. a week or so), saving current basket for 24 hours and submitting order.

The diff with ecommerce site is that this would be for members and I would manage the product list so no need for fancy backend capabilities.

View Replies !
PHP&MYSQL Tutorial
Does anyone know of a good php&mysql tutorial?

View Replies !
Login Tutorial?
just want to know if any one knows of a good tutorial that will show me how to make a simple login system so that users can register on my site?

View Replies !
Pagination Tutorial
I followed the pagination tutorial provided on the site and everything worked out perfect... then it hit me. If I use this tutorial to display my articles, the order will be backwards. My oldest article will always be first. I see there is a comments section at the end of the tutorial and I can see that someone already tried to address that issue.

I just can't get the comments to show up. I only see their titles. Can someone either explain how to see the comments at the end of the tutorial or possibly post the solution here?

View Replies !
Video Tutorial
I'm trying to make a video tutorial on basic PHP and I don't even know why we use quotation marks such as in echo statements. All I know is that we have to use them. So why do we use quotation marks? I want to say "We use quotation marks to tell PHP that were are starting the string".

View Replies !
Good Tutorial
does any one know of some good tutorial that go through using smarty for a web site?

View Replies !
Database Tutorial
it was one of the better tutorials I've seen, but the author seemed to go off on tangents that made it hard to follow. He went over delete, update and sort options that should have been included in with the script he made available at the end of the tutorial.

It seems odd to go through all that trouble talking about it and not include it. It makes sense to be able to do these things in HTML from the Website, but instead you have to go into PhpMyAdmin and make your changes or deletes.

Can someone tell me how I can hack the add.html script to be able to modify, update and delete entries into the database from this HTML page?

View Replies !
PHP Tutorial/PHP Site
Can anyone please give me a tutorial for a simple-simplest site you can make by PHP.

View Replies !
Session Tutorial?
Does anyone know of a SIMPLE tutorial that explains and demonstrates how to create sessions, use sessions with cookies and destroy sessions.

I want to create a simple application where the 1 user... ME can stay logged in and span multiple pages. I have created everything i need to log in but don't know much about sessions.

All i can find are massive tutorials spanning everything from registering to forgetting your password. I just need something that covers sessions and cookies. Not everything else inbetween.

View Replies !
Oracle Tutorial
Are there any tutorials on linking Oracle 10g and PHP? I currently have a PHP application that uses MySQL, but our database folks want to use Oracle.

I've read http://php.net/oracle and the basics seem to be there. But are there any sample scripts or anything that might help me get started?

View Replies !
Looked For Tutorial
i need some help writing a script. I need it to do this.

when the page http://blah.com/Updater.php?version=...sion2=infohere

i want were it says infohere to be written to a file, i have looked for tutorials, but i cant find one doing exactly what i want, and i can't figure it out by myself.

View Replies !
Starting Tutorial
I have the php & mysqul for dummies books and have found a few old tutorials. I thought I'd ask if anyone knows of an up to date tutorial for installing apache, mysql, php in order to get a web site up and running.

View Replies !
LDAP Tutorial
Is there any good tutorial for writing a simple LDAP apps using PHP?


View Replies !
Ftp Upload Tutorial?
does anybody know an easy tutorial to upload files from a form via php over ftp.

View Replies !
Gallery Tutorial
does anyone know a basic php gallery tutorial where the client will be able to upload there own images and this same image can be used as a thumbnail and a big picture.

View Replies !
Charting Tutorial
I am looking to build some charts using GD. while there are a plethora of pre-made scripts out there I want to build my own. I've been googling for tutorials that cover the basics of using GD and the math behind making charts but I'm coming up empty handed.
Are there any good tut's out there that I can use to help me?

View Replies !

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