CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 User Specific Editing - Revisited!

Print topic Send  topic

Author Message
rogueangel2k


Posts: 2
Posted: 08/29/2004, 3:27 PM

Ok, so I checked out http://docs.codecharge.com/studio/html/QuickStart/EnhAp...rInitEvent.html - as a possible solution to my user specific editing question in topic http://forums.codecharge.com/posts.php?post_id=50465 - So now comes the hard part. I've tried and tried, I can't make the page work, possibly because I know nothing of PHP other than what code charge is doing for me. I am trying yet no matter, I cannot make the page "Non-Public".

Ok, check it. http://rogueangel2k.kicks-ass.net:9000 is my page, not a plug but you get my jist. A user should be able to get to my main page, register (or login) and then click on the "My Account" link (which is not active) and get a page with ONLY their info on it. Here's what the example provides:
global $tasks;
global $Redirect;
global $DBIntranetDB;
$current_task = CCGetParam("task_id", "");
if ($current_task != 0 && CCGetUserID() != CCDLookUp("user_id_assign_to", "tasks", "task_id=".
$DBIntranetDB->ToSQL($current_task, ccsInteger), $DBIntranetDB))
{
$tasks->Visible = false;
// $Redirect = "tasks_list.php";
// $tasks->UpdateAllowed = false;
// $tasks->DeleteAllowed = false;
}
Now is global $tasks the page, or a table, or a variable, i am guessing variable. I am not using auto incremented fields in my accounts table, what is task_id supposed to represent, and $current_task I am stumped, and ready to quit. Should I quit?

Let me know please, gawd help me!!!

2k
_________________
Flying from the inside

2k
View profile  Send private message
Karsten
Posted: 08/29/2004, 3:58 PM

dont drink so much alkohol :-)

no just joking...

i think you have an error in SQL relationship or something, im sure its
not a real problem for me to solve if you want me to help send your project to
entwicklung@fivea.de and i take a look on it, dont ask me why i do tis, i think its because i like your writingstyle and i remember my own programming beginnings.

regards


Karsten from germany

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.