Re: [PHP] getting filenames from dir

2005-04-01 Thread Vaibhav Sibal
And does one manage recursive sub directories for the same thing ? On Apr 1, 2005 3:38 AM, Stanislav Kuhn <[EMAIL PROTECTED]> wrote: > HI... > > Do you read php manual sometimes? ;o) > > just replace > echo "$file\n"; > by > $my_file_array[]=$file; > > readdir > (PHP 3, PHP 4 , PHP 5) > > read

[PHP] Auto logout

2005-03-15 Thread Vaibhav Sibal
Hi I wanted to implement an auto-logout feature for my project so that if a terminal is left unattended for say 10 minutes, it should automatically logoff the user. Apart from this, there is another problem that I am encountering with my authentication scheme, the scene is as follows : (1) I am usi

[PHP] A general question

2005-03-07 Thread Vaibhav Sibal
How can I click on a link which is linked to a JPG file and instead of displaying it in the browser save it somewhere on the local machine or open in a different software ? Please help very urgent Thanks vaibhav -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www

[PHP] FTP functions

2005-03-07 Thread Vaibhav Sibal
server. Now where will this file be downloaded ? Though I have an inkling that since PHP is a server side scripting language, the file will be downloaded to the server only... But i still wanted to confirm Please confirm Thanks in advance Vaibhav Sibal -- PHP General Mailing List (http

[PHP] Opening files....

2005-03-06 Thread Vaibhav Sibal
to open in a particular software ? thanks in advance Vaibhav Sibal -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] loggin into linux account

2005-03-02 Thread Vaibhav Sibal
Hi, The scenario is, I made a login interface wherein i accept usernames and passwords from users and after comparing them to a database I log them in. The server runs Linux Fedora Core 2. Now I want to know whether there can be a scenario wherein I can make the logged in user have access to files

[PHP] how to move files from one place to another ?

2005-02-27 Thread Vaibhav Sibal
Hello, Can some please guide me as to how should I move files from one directory to another on the server itself using PHP ? I use PHP 5.0.3 and Apache2 and Mysql. Thanks Vaibhav -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Not able to add data to a MySQL database

2005-02-25 Thread Vaibhav Sibal
Hi, I am not able to insert data into my mysql database using php even if i use a simple code as follows : even after running this code on the server, there was no change in the mysql database as seen by the phpmyadmin. Ive tried it with another file and another table, but its not just happening.

[PHP] how to select files from a directory and transfer to a different dir ?

2005-02-22 Thread Vaibhav Sibal
Hello, I need to select around 200 files at random out of a file pool of 10k-15k files from a directory and then transfer them to another directory on my linux server which runs Apache 2.0.52, PHP 5.0.3 and Mysql. I will also be requiring to add the paths of all those files into a database. If some

[PHP] Is there a way I can read full path names of files on the server and enter it into the database ?

2005-02-20 Thread Vaibhav Sibal
Hello, I wanted to ask whether there is a way whereby a script can read filenames from a particular directory on the server and enter those filenames with the complete path into the MySQL database? I am trying to do this, because I am developing an application where a supervisor will be distributin

[PHP] How to open a URL directly ?

2005-02-18 Thread Vaibhav Sibal
Hey ppl, I have a scenario wherein the people logging into the system have different kinds of status as in a person can either be a admin, a user, or a supervisor etc. Now I have different web interfaces for all these kind of people. What I want to know is what function do i use to go to a URL dire