Search found 10 matches

by fadi
Tue Jan 11, 2005 4:10 am
Forum: PHP - Code
Topic: Number of Online User Problem
Replies: 2
Views: 332

Number of Online User Problem

Hi Folks, i've recently made a script which tells the exact number of online users on my website. Method i am using is following 1. i ask username and password 2. if matches in database than insert in another table 3. On Sign Out i delete that user. it works fine as far as it is concerned with sign ...
by fadi
Wed Sep 22, 2004 3:07 am
Forum: PHP - Code
Topic: redirecting to previous page after registering session value
Replies: 5
Views: 559

redirecting to previous page after registering session value

Hi All! i want to know any method of how can i redirect to previous page from where i logged on after registering sessions variables..so use doesnt have to navigate throughout the sitemap. infact i've many pages of login option..i just want that user just puts his user id pwd and registers it in ses...
by fadi
Wed Apr 21, 2004 2:40 am
Forum: PHP - Code
Topic: file not picking values of variables placed in another file
Replies: 2
Views: 261

yes. i tried that one also .but it dint work. there was an error that u dont have permission . i did set permissions to each folder n file to 777 ...but still dint work.... it gives no error at ("../abc.php"); but also doesnt get values...
by fadi
Wed Apr 21, 2004 1:38 am
Forum: PHP - Code
Topic: file not picking values of variables placed in another file
Replies: 2
Views: 261

file not picking values of variables placed in another file

hi! i have 2 portions of site as usual others do have.Admin and User. in the user section. all webpages of php are picking values defined in language files. But in the admin section providing proper path n everything..Values are just not visible even there is no error. like i have defined a variable...
by fadi
Fri Apr 09, 2004 12:30 am
Forum: PHP - Code
Topic: how to get selected Index of <select> from PHP in java
Replies: 0
Views: 506

how to get selected Index of <select> from PHP in java

hi! i have a problem. i've populated <select> with a php loop fetching values from database with nId setting its value and its text. now what i want is to get its selected index and its value in javascript to calculate the amount for each item at client side.but prblem i m facing is that javascript ...
by fadi
Fri Mar 26, 2004 4:48 am
Forum: PHP - Code
Topic: Is there any function in PHP like that Server.mappath in ASP
Replies: 4
Views: 1206

Is there any function in PHP like that Server.mappath in ASP

hi
i wan2 know if there is any function in PHP which returns the path of file on any server like that server.mappath(filepath and name) in ASP ?
by fadi
Thu Mar 25, 2004 3:15 am
Forum: PHP - Code
Topic: Getting Header Error Help!
Replies: 7
Views: 1231

thanx ! Markl999. You made a valid point. There is really no point sending user info if they're to redirect. we can show them message at redirected page.that worked..Thanx alot... Now Mark Would You Plz tell me how to use templates in php ? plz tell me the most easiest way to use them and from where...
by fadi
Wed Mar 24, 2004 10:45 pm
Forum: PHP - Code
Topic: Getting Header Error Help!
Replies: 7
Views: 1231

Hi Buddies thanx for help . Here's my code which is getting header error!. <?php $_REQUEST['username']; $_REQUEST['password']; session_start(); if (! isset($_SESSION['password'])) { session_register("username"); session_register("password"); $_SESSION['password']=$_REQUEST['passw...
by fadi
Wed Mar 24, 2004 1:28 am
Forum: PHP - Code
Topic: How to Use Php templates and introduction!
Replies: 7
Views: 2389

How to Use Php templates and introduction!

Hi !
Can any one plz tell me how to use php templates and any beginners tutorial for them ..and their advantages..i would b really thankful for helper...
by fadi
Wed Mar 24, 2004 1:26 am
Forum: PHP - Code
Topic: Getting Header Error Help!
Replies: 7
Views: 1231

Getting Header Error Help!

Hi!
i m getting following error on header. can any one help me.

Cannot modify header information - headers already sent by (output started at index.php:9) in index.php on line 19.

plz help me out. i need to work on project.