Hi,
I am facing problem to read file. The file content is following :
dir1
dir2
dir3
dir4
I read the file and put all the data in an array like below
array_data[1] = dir1
array_data[2] = dir2
array_data[3] = dir3
array_data[4] = dir4
But when I want to open the all the directory by following way I can open only last directory(dir4) .What can I do to...
User Profile
Collapse
-
File read problem (Line by line )
-
Thank u pbmods for reply. But I still can not capture the upload time stamp.
My code is following :
[code=php] <?php
function DirDisply($data ) {
$array_date_mai n = array();
$file = ".";
$TrackDir=opend ir($file);
$i = 0;
while ($file2 = readdir($TrackD ir)) {
if (filetype($file 2) != "file"... -
File Upload Time Tracking Problem By PHP From Linux Server Hosting
Hi this is Imran,
I am facing some problem to track file upload time in a linux hosting. I used filectime / filemtime to track date. But I get the time stamp of locally file creation time.I can not track file upload time in linux server. Is there any way to track time
without filectime / filemtime or without use of any database tracking.
Thank to all advanced. -
This is a nice way to solve my problem.Many thanks to timhussey.Leave a comment:
-
Problem to transfer selected multiple value from select box to PHP page
I need array type name like "destList[]" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList[]" select box and send all selected value in php page.The multiple select value then insert in database added by comma.The following is my code:
Form Page:form.php
...Code:<head> <script language="JavaScript"> function addSrcToDestList()
Last edited by Niheel; Jan 10 '12, 06:49 PM. -
Thank you vssp.
I have try your solution.This is a way.But I need array type
name like "destList[]" must use for my destlist select box,not a single name.Or need a solution to capture multiple value of "destList[]" select box and send all selected value in php page.The multiple select value then insert in database added by comma.Again the following is my code:
Form Page:form.php
...Leave a comment:
-
Problem to transfer multiple value from select box
This is my first problem.Please help me.
I have the following code:
<head>
<script language="JavaS cript">
function addSrcToDestLis t() {
destList1 = window.document .forms[0].destList;
srcList = window.document .forms[0].srcList;
var len = destList1.lengt h;
for(var i = 0; i < srcList.length; i++) {
if ((srcList.optio ns[i] != null) &&...
No activity results to display
Show More
Leave a comment: