Dear All,
I am working on php with html form input type file.i want to get the
fullpath of my file which i have selected from my computer.
example :C:\programs\.....
can anyone help me,
Regards
Irfan 3 2184
<ir************@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
Dear All,
I am working on php with html form input type file.i want to get the
fullpath of my file which i have selected from my computer.
example :C:\programs\.....
can anyone help me,
Will this help?
$path = $_SERVER["SCRIPT_FILENAME"];
$path = substr($path, 0, strrpos($path, "/")+1);
On Mar 2, 5:30 pm, "McKirahan" <N...@McKirahan.comwrote:
<irfan.moham...@gmail.comwrote in message
news:11**********************@s48g2000cws.googlegr oups.com...
Dear All,
I am working on php with html form input type file.i want to get the
fullpath of my file which i have selected from my computer.
example :C:\programs\.....
can anyone help me,
Will this help?
$path = $_SERVER["SCRIPT_FILENAME"];
$path = substr($path, 0, strrpos($path, "/")+1);
Dear McKirahan,
i need the client side path,not the server.if i choose a file from
desktop it should give the path.
$_FILES only give the filename,i need the full path.
can you help me in this...
Thank you for your help,
Regards
Irfan
<ir************@gmail.comwrote:
<N...@McKirahan.comwrote:
><irfan.moham...@gmail.comwrote:
I am working on php with html form input type file.i want to get the
fullpath of my file which i have selected from my computer.
example :C:\programs\.....
i need the client side path,not the server.if i choose a file from
desktop it should give the path.
$_FILES only give the filename,i need the full path.
can you help me in this...
The browser doesn't send this, and rightly so, there is no way to
determine where the file came from when uploading using only HTML & PHP.
--
Rik Wasmus This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Paul |
last post by:
Hi,
VB.NET is saying the file I am creating is in use by another process and
won't complete its task of moving the file to the specified destination
folder.
Here is my code (the main bit...
|
by: yogesh |
last post by:
hello
I getting problem in FileSystemWatcher , I had wrriten the code for
the FileSystemWatcher , when i dropping the new file in the directory
, the WatcherEdi_Created event get fired , but...
|
by: André Nogueira |
last post by:
Hi there.
I know you can view a node's fullpath property, but is it posible to select
a node using its path?
Like, tell the treeview that the node that should be selected is the node
with the...
|
by: apple |
last post by:
i try to print image file in a directory using PrintDocument. It will raise
printPage event to draw image to the printer. The file will be deleted
after print and the directory will be checked...
|
by: ataanis |
last post by:
Hey everyone
I'm writing this simple function call from a sub , but for some reason
when I click the file to open, it freezes, can anybody tell me what's
the deal?
Thanks
Private Sub...
|
by: Muddasir |
last post by:
Hi..
i am having a strange problem.......the problem is i am trying to upload a file and to store it in db....when the file got stored in db...it got converted into black and white
image and...
|
by: tshrinivasan |
last post by:
Friends.
I am doing a file manager application.
I did the upload part.
now doing the download script.
<?php
$path = $_SERVER."/path2file/"; // play with the path if the document root...
|
by: Sin Jeong-hun |
last post by:
Hello.
Speical folders, like Desktop, usually have different display names.
For example, in Japanese Windows, it's displayed as "$B%G%9%/%H%C%W(B". I want
to get the this displayed name of a...
|
by: petershaman |
last post by:
Hi
I have a gorgeous flash image gallery, it would work perfectly fine but there's a small problem I can't upload anything thru it's upload script, since I'm getting an error 403. It's so because...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |