Search found 19 matches

by gaurav_sting
Tue Jun 29, 2004 9:05 am
Forum: Databases
Topic: initialzing base class constructor
Replies: 4
Views: 636

initialzing base class constructor

hi everyone, can any body help me knowing that how can i initialize the constructor of the base class if an object of the derived class is created. eg. class base { var x; var y; function base() { $this->x = 100; $this->y = 200; } } class derived extends base { var p; var q; function derived() { $th...
by gaurav_sting
Sat Jun 26, 2004 12:09 am
Forum: PHP - Code
Topic: themes in php
Replies: 1
Views: 426

themes in php

hi every one. i am making a site in which i have to make themes for the site. now i have been searching sites for help and tutorials but havent found an adequate way to implement a theme system for my site. please help me knowing the proper way and concept and procedure for implementing a theme syst...
by gaurav_sting
Tue Jun 15, 2004 11:55 pm
Forum: Volunteer Work
Topic: very difficult code - program
Replies: 3
Views: 1769

very difficult code - program

hi everyone, i am facing a sitution, in developing an employee system. plz help me coding following problem, i have not been able to write a suitable code for it. An employee fills in a leave request, a record is created for the request. This request doc goes to his supervisor for approval. In case ...
by gaurav_sting
Sat Jun 12, 2004 1:58 am
Forum: Databases
Topic: php xml output problem, urgent plz help
Replies: 1
Views: 640

php xml output problem, urgent plz help

hi everyone, i am a newbie, trying to learn how to parse a xml document using php. i got some code from some tutorial, the code has no errors but there is a problem i am using php expert editor which has got inbulit web-server sought of a think that runs on port 8080. when i run the code from the ph...
by gaurav_sting
Mon Jun 07, 2004 11:32 pm
Forum: Databases
Topic: whos online
Replies: 5
Views: 1755

whos online

hi everyone

can anybody help me telling that how can we know number of users online

thanx alot
Gaurav
by gaurav_sting
Mon Jun 07, 2004 8:58 am
Forum: PHP - Code
Topic: disk usage
Replies: 1
Views: 339

disk usage

hi everyone, i am stuck in a situation, kindly help. i am making a system in which there is multiple login (just like yahoo mail), now fixed disk quota has been assigned to the users (5 mb), users are allowed to upload certain images in their respective folders. now i want that the total size of the...
by gaurav_sting
Tue May 25, 2004 5:50 am
Forum: PHP - Code
Topic: Results per page problem with smarty - urgent please help
Replies: 1
Views: 272

Results per page problem with smarty - urgent please help

hi everyone, i am stuck in a very difficult situation. i am making a site in php, mysql using smarty. now i am not able to implement results per page (showing results per page say 10 on one page and then 10 on others and so on....). i have a page show_cards.php which contains the code which retrieve...
by gaurav_sting
Thu May 20, 2004 9:48 pm
Forum: PHP - Code
Topic: site statistics - number of clicks
Replies: 7
Views: 529

site statistics - number of clicks

hi, i am stuck in a problem, kindly help. i am making a site, in which the visitor clicks on apply (for a credit card), now, how can i know that how many times apply for a card has been clicked by the user, i need to create a statistics that for a particular card - n number of times apply was clicke...
by gaurav_sting
Thu May 13, 2004 8:40 am
Forum: PHP - Code
Topic: email client confusion
Replies: 1
Views: 263

email client confusion

hi everyone, i want to make a email system in php (like hivemail), but i dont know where to start, also i have a couple of doubts. first - i am able to retreive mails using pop and imap, but for security reasons, i have heard that it shud be on ssl, no how can i use ssl and what it the exact techniq...
by gaurav_sting
Tue May 11, 2004 11:27 am
Forum: PHP - Code
Topic: cookie problem
Replies: 1
Views: 346

cookie problem

hi everyone, i am a newbie in php and facing a problem regarding cookies. i have following settings in my php.ini file: session.save_path = "C:\Program Files\Apache Group\Apache2\htdocs\tmp" session.use_cookies = 1 session.cookie_lifetime = 0 session.cookie_path = "C:\Program Files\Ap...
by gaurav_sting
Fri Apr 16, 2004 5:48 am
Forum: PHP - Code
Topic: form validation problem - urgent plz help
Replies: 2
Views: 363

form validation problem - urgent plz help

hi, i have been trying to implement the form validation, in which the user is shown error in RED (or any) color next to the textbox or any input box in the next page, if he or she does not enter or enters wrong information. I am trying to implement the validation similar to what happens when a user ...
by gaurav_sting
Tue Apr 13, 2004 2:47 am
Forum: PHP - Code
Topic: smarty string matching problem - urgent plz help
Replies: 1
Views: 958

smarty string matching problem - urgent plz help

hello everyone, i am stuck in a very peculiar situation, In my php script i am assigning a variable like this: smarty->assign("message","true"); now in my template file whenevery i write this: {if $message eq "true"} Welcome {/if} the above code gives me the following e...
by gaurav_sting
Mon Apr 12, 2004 6:19 am
Forum: PHP - Code
Topic: Problem setting array as a session variable - urgent help.
Replies: 1
Views: 225

Problem setting array as a session variable - urgent help.

hi everyone, i am trying to set a session variable (array) but unable to figure out how to do that. I am able to set a single variable but i need to set an array. for instance i am alble to do following: session_start(); $cart = array(); $_SESSION['cart'] = '1234'; but i want to set the value(index)...
by gaurav_sting
Wed Apr 07, 2004 10:23 am
Forum: PHP - Code
Topic: Template Problem - plz help
Replies: 1
Views: 183

Template Problem - plz help

hi everyone,

plz help me,
I am not able to figure out that that how can i use templates with php.
I dont want to use smarty templating system,

Is there any other way. I am not able to find tutorial on the net.

Plz help ASAP

thanx
gaurav Behl
by gaurav_sting
Fri Apr 02, 2004 2:47 am
Forum: PHP - Code
Topic: cookie update problem
Replies: 2
Views: 326

cookie update problem

hi everybody i am stuck in a problem please help! i am making a shopping cart, in which, the items selected (added to cart) are stored in an array and then that array is stored in a cookie. The id is stored in an array after the user clicks add to cart button. The code first checks whether cookie ex...