Welcome to Dream.In.Code
Getting PHP Help is Easy!

Join 109,720 PHP Programmers for FREE! Ask your question and get quick answers from experts. There are 2,141 online right now! We've got more than 500 tutorials and 2,000 snippets. Join and find out why Dream.In.Code is the #1 programming help community on the internet! Registration is fast and FREE... Join Now!



Request a PHP Tutorial

3 Pages V  1 2 3 >  
Reply to this topicStart new topic

Request a PHP Tutorial

Rating  5
max302
post 16 Nov, 2007 - 06:55 PM
Post #1


Proud supporter of the lulz

Group Icon
Joined: 5 Mar, 2006
Posts: 1,281



Dream Kudos: 200
My Contributions


I think that PHP deserves this kind of topic too.

If you like to see a tutorial about anything PHP, just ask for it here.
User is offlineProfile CardPM

Go to the top of the page


snoj
post 16 Nov, 2007 - 08:05 PM
Post #2


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 5 times

Dream Kudos: 700
My Contributions


Pinned.
User is offlineProfile CardPM

Go to the top of the page

snoj
post 17 Nov, 2007 - 06:53 PM
Post #3


$Null

Group Icon
Joined: 31 Mar, 2003
Posts: 3,304



Thanked 5 times

Dream Kudos: 700
My Contributions


I'll prolly start it sometime...but what about programming a GUI application using PHP? Anyone interested?
User is offlineProfile CardPM

Go to the top of the page

nav33n
post 23 Nov, 2007 - 06:55 AM
Post #4


D.I.C Head

**
Joined: 2 Oct, 2007
Posts: 71


My Contributions


smile.gif sounds interesting !
User is offlineProfile CardPM

Go to the top of the page

dubs07
post 3 Jan, 2008 - 04:36 PM
Post #5


D.I.C Head

**
Joined: 3 Jan, 2008
Posts: 107


My Contributions


hi guys i am completely new to this site and to coding (apart from HTML noob ) but i have made a few website but i am short on a few things e.g. PHP

this may be noob question but i want to have users login, register etc.

What coding do i need to do? And in dreamweaver if i choose New>Dynamic Page>PHP . can i stil code and design like a basic html page??

sorry if thats too confusing sorry msg me and i will try to explain better
User is offlineProfile CardPM

Go to the top of the page

scottyadam
post 22 Jan, 2008 - 11:54 AM
Post #6


New D.I.C Head

*
Joined: 3 Dec, 2007
Posts: 44


My Contributions


Ok, I personally use Namo Web Editor and it is very simple to create a PHP file and you can edit it like a normal document. Now...after saying that, you will see (or at least in my web editor) I will see a script tag with a question mark telling me what php tags are embedded in the php page. I presume it is the same in Dreamweaver but as I haven't used it for a while, I wouldn't know....

I create my php pages first in notepad and then save them with a .php extension and then drag them over into my web editor and there I use it to add different things to it. My document is surrounded in <html> tags with small bits of php code in it...

Now...for php I don't know if this is what you are asking but to make a pure php page the tages should be

<? you stuff here ?>

If you want to have a login script I would download this one that I got it is called vAuthenticate...it is free and I just modified it to fit with my MySQL database and so that I could customize my own login pages...

You can download it here: http://www.beanbug.net/vScripts.php

Hope this helps...

ADAM
User is offlineProfile CardPM

Go to the top of the page

ahmad_511
post 17 Feb, 2008 - 04:45 PM
Post #7


D.I.C Regular

Group Icon
Joined: 28 Apr, 2007
Posts: 351



Thanked 8 times

Dream Kudos: 400
My Contributions


GUI application using PHP?

Go ahead,very interested.....
User is offlineProfile CardPM

Go to the top of the page

akozlik
post 25 Feb, 2008 - 11:04 AM
Post #8


D.I.C Regular

Group Icon
Joined: 25 Feb, 2008
Posts: 410



Thanked 16 times

Dream Kudos: 700
My Contributions


Hey, I know this post is over a month old, but I wanted to see if you were still having questions. Building basic user authentication systems is pretty easy. The best way to do that is to set up a mysql database for the username and password. When logging in, just take in the username and password from the form, and check it against the mysql database. If the login is successful you can set some session variables for use on the site. If you have pages that you want protected for members only, just do a session check. Remember that to access the variables you must start the session on each accessing page.


Authentication:

CODE

<?php

session_start();
if ($_SESSION['loggedin'] != "true") {
        header("Location: redirectPath.php");
}

?>


Just read up on session variables and you should be alright. Let me know if you need more clarification.

Andrew
User is offlineProfile CardPM

Go to the top of the page

CyberPetWorld
post 3 Apr, 2008 - 09:35 PM
Post #9


New D.I.C Head

*
Joined: 1 Apr, 2008
Posts: 17


My Contributions


Hiya,


I am currently learning PHP and MySQL as I have a website (virtual pet community) in which I paid for a script then was left with no support so had to learn it myself. lol As it turns out I have become addicted to PHP and MySQL and love the flexibility and potential it offers my website.


My website has a config, global and header document which I believe contain global settings (hence the name lol).

There are a few projects I am working on in which I want to be able to indetify a user who is logged in.

For example ... I am creating message boards and want to be able to automatically identify the user instead of having to ask them to fill in their name. I would also like to be able to set up an online user list that displays the names of all those online. (I currently have an online list that is not ideal and I cant seem to change it)

I know that the members have a ID number and then that is somehow linked to the username.

I expect this may be too tricky to ask but would someone be able to teach me how to extract this information so I can use it on my message boards etc?

I think there is already settings for the $userid which I see is commonly used to idetify users but when ever I have tried using it I cant seem to get the same result.


Thanks you all
Justin





User is offlineProfile CardPM

Go to the top of the page

anshul_gupta2
post 17 Apr, 2008 - 04:10 AM
Post #10


New D.I.C Head

*
Joined: 17 Apr, 2008
Posts: 2

QUOTE(max302 @ 16 Nov, 2007 - 06:55 PM) *

I think that PHP deserves this kind of topic too.

If you like to see a tutorial about anything PHP, just ask for it here.

i like to learn the php. i m just the begginner please provide me with some tutorials
User is offlineProfile CardPM

Go to the top of the page

no2pencil
post 17 Apr, 2008 - 04:13 AM
Post #11


Wet D.I.C.

Group Icon
Joined: 10 May, 2007
Posts: 4,950



Thanked 27 times

Dream Kudos: 2325

Expert In: Goofing Off

My Contributions


QUOTE(anshul_gupta2 @ 17 Apr, 2008 - 07:10 AM) *

i like to learn the php. i m just the begginner please provide me with some tutorials

There is an entire section of PHP Tutorials available under the Tutorials link. This topic is for specific tutorial requests.
User is offlineProfile CardPM

Go to the top of the page

sfw
post 29 Apr, 2008 - 03:28 PM
Post #12


New D.I.C Head

*
Joined: 24 Apr, 2008
Posts: 9


My Contributions


Hello, I would like to learn how to pass variables using sessions. i can't find a tutorial that makes sense to me. i'm very new at php.

i know how to get variables from forms but want to display an already defined variable on another page when the user pushes a submit button.

for example:
$fname ="Carlos";

//now, on another page i want to be able to show display the $fname variable.

I would like to learn more about sessions so feel free to go more into depth but i need to start at beginning.

thank you very much.
User is offlineProfile CardPM

Go to the top of the page

3 Pages V  1 2 3 >
Fast ReplyReply to this topicStart new topic
Time is now: 9/8/08 09:30AM

Live PHP Help!

PHP Tutorials

Reference Sheets

PHP Snippets

Bye Bye Ads

Free DIC T-Shirt

T-Shirt Example

Related Sites

Monthly Drawing

Thumb Drive

Partners

Top Contributors

Top 10 Kudos This Month