Request a PHP Tutorial

  • (11 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »

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

#61 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 542
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: Request a PHP Tutorial

Posted 15 March 2009 - 11:27 PM

View Postdgersting, on 16 Mar, 2009 - 12:33 AM, said:

I've been searching to no avail for a couple months now. All I'm finding are scripts that are either several years w/o an update, or poorly written.


Welcome to the reason why it's best to write it custom. Then you know it'll be written a way you can understand, and it'll do exactly what you want.

To point you in the right direction, you could do a database full of permission "flags", where each row has a user ID to tie it in to the account the permissions apply to.
Was This Post Helpful? 0
  • +
  • -

#62 dgersting  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 23-February 09

Re: Request a PHP Tutorial

Posted 16 March 2009 - 12:02 PM

View PostValek, on 16 Mar, 2009 - 12:27 AM, said:

you could do a database full of permission "flags", where each row has a user ID to tie it in to the account the permissions apply to.


Thank you for the suggestion. I thought about doing that, but decided that because of the scale of the application, that would be impractical.

Perhaps if I explained my situation a bit better; I'm the lead web designer for a web site that serves as a communications hub for a non-profit spanning 3 US States (WV, OH, and PA). We are currently planning for a major re-organization where our user base will be increasing from about 400 to around 1000. Also, our admin toolbox has approx. 100 pages each with View / Update / Delete Permissions (plus a few variations which add levels to view and update).

Using your suggestion would produce a permissions "matrix" of 1000x300 (A bit hard to manage). But again, thank you for your suggestion.
Was This Post Helpful? 0
  • +
  • -

#63 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 542
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: Request a PHP Tutorial

Posted 16 March 2009 - 12:11 PM

Okay, another solution would be taking the settings for all of the permissions and concatenating them, making a comma-separated string of numbers for their settings. That gives you 1000 x 1, but controlling the permissions takes a bit more backend as a result.

Or you could group the permissions based on what specifically they affect, to balance between the two, if it's possible.
Was This Post Helpful? 0
  • +
  • -

#64 akozlik  Icon User is offline

  • D.I.C Addict
  • member icon

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

Re: Request a PHP Tutorial

Posted 16 March 2009 - 12:11 PM

You may want to move this question into a thread of it's own so you can get it the most attention.
Was This Post Helpful? 0
  • +
  • -

#65 dgersting  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 8
  • Joined: 23-February 09

Re: Request a PHP Tutorial

Posted 16 March 2009 - 01:26 PM

View Postakozlik, on 16 Mar, 2009 - 01:11 PM, said:

You may want to move this question into a thread of it's own so you can get it the most attention.

Moved to: http://www.dreaminco...showtopic=93220
Was This Post Helpful? 0
  • +
  • -

#66 hadi_php  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 10
  • View blog
  • Posts: 382
  • Joined: 23-August 08

Re: Request a PHP Tutorial

Posted 31 March 2009 - 04:40 AM

I need tutorial .......

1. Session and cokkies for log in i need full and professional..
2. calculate values of text field by only one click .... No other page execution ...page will calculate when i enter ...such as -

In text box 1 : 2
In text box 2 : 3
When i will click in third text box then it must be 5

plz man i need this....
Was This Post Helpful? 0
  • +
  • -

#67 hadi_php  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 10
  • View blog
  • Posts: 382
  • Joined: 23-August 08

Re: Request a PHP Tutorial

Posted 31 March 2009 - 10:07 PM

no one here? plz i want this
Was This Post Helpful? 0
  • +
  • -

#68 syiedah88  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 3
  • Joined: 06-April 09

Re: Request a PHP Tutorial

Posted 06 April 2009 - 07:40 PM

i need php tutorial...as soon as possible
Was This Post Helpful? 0
  • +
  • -

#69 Auzzie  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 43
  • View blog
  • Posts: 573
  • Joined: 20-January 09

Re: Request a PHP Tutorial

Posted 07 April 2009 - 01:02 AM

@hadi_php look in the tutorials section for your first one and for the section one you need to go over to the javascript forum and ask there
@syiedah88 it's all good and well saying i want a php tutorial asap but what do you want the tutorial to cover?
Was This Post Helpful? 0
  • +
  • -

#70 SpaceMan  Icon User is offline

  • D.I.C Addict
  • member icon

Reputation: 10
  • View blog
  • Posts: 507
  • Joined: 20-February 03

Re: Request a PHP Tutorial

Posted 11 April 2009 - 12:37 PM

View Postsyiedah88, on 6 Apr, 2009 - 06:40 PM, said:

i need php tutorial...as soon as possible

$smartassmode = TRUE;

ok, here is a quikie...

you need <? at the begining of php for it to work.
if the page is an included file, leave off the last one, so it wont run unless it is included.

$smartassmode = FALSE;

have fun

This post has been edited by SpaceMan: 11 April 2009 - 12:38 PM

Was This Post Helpful? 0
  • +
  • -

#71 the1corrupted  Icon User is offline

  • D.I.C Head

Reputation: 13
  • View blog
  • Posts: 165
  • Joined: 31-March 09

Re: Request a PHP Tutorial

Posted 14 April 2009 - 02:24 PM

Here's a thought for a php tutorial, even if it's possible.. Can you specify one session and only have the user bring up THAT SPECIFIC session each and every time regardless of the page?

I've recently tested this out and each time you have session_start(), it will generate a new id, and forget about anything special you made for any session you might've made before. e.g. you start the session on one page, so you continue it (same ID and everything) on another.

Or something that would produce results like the ones I'm describing.

This post has been edited by the1corrupted: 14 April 2009 - 02:25 PM

Was This Post Helpful? 0
  • +
  • -

#72 pemcconnell  Icon User is offline

  • D.I.C Regular
  • member icon

Reputation: 54
  • View blog
  • Posts: 472
  • Joined: 05-August 08

Re: Request a PHP Tutorial

Posted 22 April 2009 - 11:41 AM

View Postthe1corrupted, on 14 Apr, 2009 - 01:24 PM, said:

Here's a thought for a php tutorial, even if it's possible.. Can you specify one session and only have the user bring up THAT SPECIFIC session each and every time regardless of the page?

I've recently tested this out and each time you have session_start(), it will generate a new id, and forget about anything special you made for any session you might've made before. e.g. you start the session on one page, so you continue it (same ID and everything) on another.

Or something that would produce results like the ones I'm describing.


Not sure if I'm misunderstanding that, but that is what session data does is it not?

Page 1

<?php
session_start();
$_SESSION['userid'] = 14;
?>



Page 2

<?php
session_start();
echo $_SESSION['userid']; // prints 14 to the page
?>


Was This Post Helpful? 0
  • +
  • -

#73 dfields2  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 2
  • Joined: 23-April 09

Re: Request a PHP Tutorial

Posted 23 April 2009 - 02:09 PM

View Postmax302, on 16 Nov, 2007 - 05: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'd like to see a tutorial on PHP and openSSL. My specific problem has to do with encrypting PayPal buttons, but I would like to understand openSSL so that I can synthesize solutions to any problems I encounter in the future.

Also, some sort of reference to the meanings of errors generated by openSSL in PHP would be helpful in debugging problems.
Was This Post Helpful? 0
  • +
  • -

#74 msaidins85  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 6
  • Joined: 14-April 09

Re: Request a PHP Tutorial

Posted 26 May 2009 - 08:13 PM

i've e-book for PHP tutorial,very easy to understand. Request from me who need this e-book. No payment charge.
Was This Post Helpful? 0
  • +
  • -

#75 noorahmad  Icon User is offline

  • Untitled
  • member icon

Reputation: 209
  • View blog
  • Posts: 2,290
  • Joined: 12-March 09

Re: Request a PHP Tutorial

Posted 10 June 2009 - 12:12 AM

Quote

i've e-book for PHP tutorial,very easy to understand. Request from me who need this e-book. No payment charge.


upload it in a free file sharing such as 4shared.com or google free file sharing and past the link here.
Was This Post Helpful? 0
  • +
  • -

  • (11 Pages)
  • +
  • « First
  • 3
  • 4
  • 5
  • 6
  • 7
  • Last »