Request a PHP Tutorial

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »

151 Replies - 61887 Views - Last Post: 13 July 2014 - 04:35 AM Rate Topic: ***** 3 Votes

#1 max302  Icon User is offline

  • Proud supporter of the lulz
  • member icon

Reputation: 2
  • View blog
  • Posts: 1,281
  • Joined: 05-March 06

Request a PHP Tutorial

Posted 16 November 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.
Is This A Good Question/Topic? 0
  • +

Replies To: Request a PHP Tutorial

#2 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 84
  • View blog
  • Posts: 3,564
  • Joined: 31-March 03

Re: Request a PHP Tutorial

Posted 16 November 2007 - 08:05 PM

Pinned.
Was This Post Helpful? 0
  • +
  • -

#3 snoj  Icon User is offline

  • Married Life
  • member icon

Reputation: 84
  • View blog
  • Posts: 3,564
  • Joined: 31-March 03

Re: Request a PHP Tutorial

Posted 17 November 2007 - 06:53 PM

I'll prolly start it sometime...but what about programming a GUI application using PHP? Anyone interested?
Was This Post Helpful? 0
  • +
  • -

#4 nav33n  Icon User is offline

  • D.I.C Head

Reputation: 7
  • View blog
  • Posts: 71
  • Joined: 02-October 07

Re: Request a PHP Tutorial

Posted 23 November 2007 - 06:55 AM

:) sounds interesting !
Was This Post Helpful? 0
  • +
  • -

#5 dubs07  Icon User is offline

  • D.I.C Head

Reputation: 1
  • View blog
  • Posts: 107
  • Joined: 03-January 08

Re: Request a PHP Tutorial

Posted 03 January 2008 - 04:36 PM

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
Was This Post Helpful? 0
  • +
  • -

#6 scottyadam  Icon User is offline

  • D.I.C Head

Reputation: 2
  • View blog
  • Posts: 116
  • Joined: 03-December 07

Re: Request a PHP Tutorial

Posted 22 January 2008 - 11:54 AM

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
Was This Post Helpful? 0
  • +
  • -

#7 ahmad_511  Icon User is offline

  • MSX
  • member icon

Reputation: 131
  • View blog
  • Posts: 722
  • Joined: 28-April 07

Re: Request a PHP Tutorial

Posted 17 February 2008 - 04:45 PM

GUI application using PHP?

Go ahead,very interested.....
Was This Post Helpful? 0
  • +
  • -

#9 akozlik  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 90
  • View blog
  • Posts: 797
  • Joined: 25-February 08

Re: Request a PHP Tutorial

Posted 25 February 2008 - 11:04 AM

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:

<?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
Was This Post Helpful? 1

#10 CyberPetWorld  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 17
  • Joined: 01-April 08

Re: Request a PHP Tutorial

Posted 03 April 2008 - 09:35 PM

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
Was This Post Helpful? 0
  • +
  • -

#11 anshul_gupta2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 17-April 08

Re: Request a PHP Tutorial

Posted 17 April 2008 - 04:10 AM

View Postmax302, on 16 Nov, 2007 - 06:55 PM, said:

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
Was This Post Helpful? 0
  • +
  • -

#12 no2pencil  Icon User is online

  • Toubabo Koomi
  • member icon

Reputation: 5315
  • View blog
  • Posts: 27,220
  • Joined: 10-May 07

Re: Request a PHP Tutorial

Posted 17 April 2008 - 04:13 AM

View Postanshul_gupta2, on 17 Apr, 2008 - 07:10 AM, said:

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.
Was This Post Helpful? 0
  • +
  • -

#13 sfw  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 27
  • Joined: 24-April 08

Re: Request a PHP Tutorial

Posted 29 April 2008 - 03:28 PM

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.
Was This Post Helpful? 0
  • +
  • -

#14 we_undertaker  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 44
  • Joined: 06-May 08

Re: Request a PHP Tutorial

Posted 06 May 2008 - 04:18 AM

anyone know any tutorial about upload video any file of video, to (database or server) and playback that video ,
i am just new in php ... plzz help me .. thank you so much
Was This Post Helpful? 0
  • +
  • -

#15 joeyadms  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 41
  • View blog
  • Posts: 178
  • Joined: 04-May 08

Re: Request a PHP Tutorial

Posted 06 May 2008 - 04:44 PM

View Postsfw, on 29 Apr, 2008 - 03:28 PM, said:

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.



I would very much like to make an article about this, I have another one dedicated to PHP Security as well, just waiting on the submissions of them to be fixed.
Was This Post Helpful? 0
  • +
  • -

#16 sirus  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 13-May 08

Re: Request a PHP Tutorial

Posted 13 May 2008 - 06:37 AM

View Postmax302, on 16 Nov, 2007 - 06:55 PM, said:

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 know few thing about php but i want know more as i8s it possible to manipulate php with vb and if yes what is there real power of this language
Was This Post Helpful? 0
  • +
  • -

  • (11 Pages)
  • +
  • 1
  • 2
  • 3
  • Last »