[PHP] php header function

2003-10-24 Thread Shaun van den Berg
Hi I have tried the net , googling ect. but i cannot get a good description of what the header function is al about ? Can anyone please define the header function. Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novtel.co.za -- PHP Ge

[PHP] Databases

2003-09-25 Thread Shaun van den Berg
Hi Im kinda new to php. I have a linux server witch has our website on it. I want to make a download page. If a person clicks on a link , they must be able to download from our server. How difficult is this , can you send me an example ? Thanks Shaun van den Berg -- Novtel Consulting Tel

[PHP] session variables

2003-03-13 Thread Shaun van den Berg
Hi, Is it wise or wrong to put long strings into a session variable ? Is it better to keep the values short ? Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novtel.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscr

[PHP] sessions garbadge

2003-03-12 Thread Shaun van den Berg
Hi, My gc_maxlifetime = 3600 (1 hour) and my probability = 100 , just for testing . When i create a session on my site and i dont log out , the session var will still remain on the server , ok , after an hour (not exactly an hour) , when i surf the site , the collector destroys that var on the ser

[PHP] session

2003-03-10 Thread Shaun van den Berg
Hi, What should the probability of your garbadge collector be ? is a 100% bad , and how long must the max lifetime of your session variables be , the default is 1440 secs(24 min) , is 24 hours to much ? Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our we

[PHP] session

2003-03-10 Thread Shaun van den Berg
When does the carbadge collector start ? Thanks Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novtel.co.za -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] sessions

2003-03-10 Thread Shaun van den Berg
Hi, Tell me , is sessions safe - why is it really used ? Is it important te delete the session variables after u use it ? When a user logs on to my site , he enters the password , i then encrypt the password and verify it with the one in the database ! Will someone be able to hijack the session ge

[PHP] sessions

2003-03-06 Thread Shaun van den Berg
Hi, Im working on a site where the user logs in , if username and password matches with uname and pword in database then he is a valid user. I then start a session with session_onstart() and have a variable for his username and for his permissions ! (these variables are stored on server) Once he

[PHP] printing

2003-01-27 Thread Shaun van den Berg
Hey, Is there a way in php to print to a printer? say i have a order from , when someone clicks the submit button - then print the form plus the entered details to a page ? Thanks for you help Shaun -- Novtel Consulting Tel: +27 21 9822373 Fax: +27 21 9815846 Please visit our website: www.novte

[PHP] DOWNLOAD

2003-01-21 Thread Shaun van den Berg
Hi , Im not sure if this can be done in PHP , i know PHP has upload features ! Does it have download features , wat i mean is the following : i want a link - click here to download - when you click on it , the download dialog box must appear - how do i do this ? Thanks Shaun van den Berg