Programming :: PHP - Browser Doesn't Open The File Only To Download
Apr 12, 2010
I'm currently on LinuxMint. I'd like to start PHP scripting, but the browser doesn't want to open the file, only to download. I've red the description on Ubuntu's site how to bring apache2 and PHP together, but it simply cannot find php module. How on earth can I force Linux to act as a normal OS?
View 3 Replies
ADVERTISEMENT
Mar 22, 2010
Swiftfox does not have default file handling, and thus I cannot open files from the download menu. When I go to choose the program I want to open the file with, it just takes me to my Home folder in Nautilus. I have no idea where to find the programs I need (Image Viewer, Open Office, and Movie Player are the main ones I need).
View 1 Replies
View Related
Jun 23, 2011
just curious, this might not be possible, but is there any way with ajax to open an ftp connection, download a file and then turn around and POST it to a web server? the reason i ask is because i'm writing a script on a shared hosting plan that doesn't give me permission to directly talk outbound on the ftp port but i need to synchronize a file from a csv on an ftp server, this means i have to do the process manually, is there any way i can just click the button and let my browser do the work?
View 4 Replies
View Related
Sep 15, 2010
I installed ubuntu 10.04, apache2, perl, MYSQL and PHP5.
My test.pl script is working fine from /var/www directory.
That is from browser if I type:
It works.
Also test.pl runs from user home directory.
If I runs from browser with:
It works perfectly.
I made a soft link of:
Then Ln:
My test.pl runs perfectly from browser if I type:
Now I am facing problem with my PHP file. I have made a test.php script. And copy this file to:
My test.php displays perfectly to my browser with a address:
And:
But when I type:
To my browser address bar, my browser tries to download the file instead of display it.
View 2 Replies
View Related
Jan 12, 2010
i have installed xampp 1.7.3 in ubuntu 9.10 and if i try to open the .php file in the browser it asks the me where to save the file and browser opens the source code rather than parsing the php file.
View 9 Replies
View Related
Sep 16, 2010
In Gnome, How do I open a file browser in the current directory? I assume its [command] . Whats the command?
View 3 Replies
View Related
Sep 18, 2010
I use slack 13.1 64 bits on my intel i7 machine. That is I can't find a flash-player plugin that works on all browsers. The firefox crashes on open. The release of adobe 64 bits plugin simply doesn't work on any browser. I use slack 13.1 64 plus kde. Anyone knows some that works?
View 6 Replies
View Related
Mar 5, 2010
I have a remote VPS with 9.10 installed and would like to host some files on it. I'd like to be able to download the files from a browser using a login name and password.
View 2 Replies
View Related
Aug 25, 2011
I suspect this is a Gnome 3 problem and not a Fedora problem, but I have no way to separate the two here. I cannot upload an image from my computer to Weebly or to Google Plus, but strangely enough, I can upload one to Picasa. The sequence of actions goes something like this:
1. Open Weebly editing interface, add a picture element, click on the element to edit/add a picture. It then gives you a choice: from your local computer, from the web, etc.
2. Click on 'from local computer' and my computer opens the Open File Dialog Window.I am guessing that is its name, it is the same window you get when opening a file in any other application, like Gedit or LibreOffice.
3. Navigate to the image I want to upload and double click on it or select 'Open'.
4. Nothing happens.
I am able to upload images from my laptop, running Linux Mint 11 with Gnome 2.
It sounds to me like the Open File Window is not passing on the necessary information to the browser. I have no idea why it works in Picasa and not in Google+ or Weebly.
I don't really expect anyone to have a solution just yet, but I wanted to mention it somewhere, and I didn't see any Gnome.org forums. On the other hand, if someone does have a solution, great.
This is by no means a knock on Gnome 3, it is fine with me and I Iike it a lot more than I thought I would.
View 2 Replies
View Related
Jun 2, 2010
It doesn't matter what theme I use, the AWN file browser launcher applet always looks the same...I strongly dislike inconsistencies.
View 6 Replies
View Related
Mar 21, 2011
In the kde realm, with the dolphin file browser, I can open a terminal in whatever folder is in the gui by using the shift and f4 keys. I'd like to be able to accomplish the same in gnome with the nautilus file browser but can't figure out how to do same. So far I have to open a terminal and then cd to the desired folder. Or do I have to use some other file browser and which one?
View 2 Replies
View Related
Dec 28, 2009
I installed Fedora 12 yesterday. After installation, I added some packages like gstreamer*, amarok, vlc etc.
Once I rebooted, all desktop icons became invisible and I'm unable to open file browser and browse files/folders.
When I log out, I get this message saying "File Manager not responding!"
I initially thought I messed up with settings, and created a new account. Still no use.
BTW, I use Gnome Desktop Environment.
I went further and installed Fedora 12 again. And did the same package installation. And after reboot, no desktop items is visible and can't browse files/folders using file browser (nautilus).
View 4 Replies
View Related
Aug 24, 2010
When i open any .pps file with OO.org (impress), it starts a slideshow and it doesn't let me edit the file. If i click on "end slideshow", the program exits.i ran it in a terminal and there's no error messages.[EDITED]Well, i found the answer, just renaming it to ".ppt".
View 2 Replies
View Related
Jul 30, 2011
i have VPS server and i installed Xserver on it and all ok i created new user for my client but i need to limit his access to the following
he can download and upload to his home file " browser by Firefox"
he can't install or use any application "just the one i installed it"
he can't see the file system or browser it !! if i can give him specific space on harddisk would be better
he can extract and compress files
he can't edit the settings ....
i have another sensitive folder and setting i don't want him to see it so how to limit his access?
View 8 Replies
View Related
Sep 4, 2009
About a couple of days ago I'm sure I saw that Open Office was offering a DVD file download of their latest version. It was including versions for Win. Mac and Linux all on the one DVD. Now, after buying a DVD burner for my 'puter, I have been unable to find that information again.
View 4 Replies
View Related
Apr 27, 2010
I have successfully mounted windows shares in to ubuntu and can able to access the folders from nautilus. But i wanted to open the mounted share folders from the "open file browser(select a file dialog)" in DeVeDe app. I have tried all the options, and nothing worked out.
View 2 Replies
View Related
Aug 6, 2010
I am running after compiling a program and I find that I get the following. How best can I avoid this as i cannot run the program. I have tried removing the offending package, although I cannot find it. I have also tried re-installing. I have also tried changing FC and F90 flags to avoid the MPI version.
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory
View 1 Replies
View Related
Apr 30, 2010
I am trying to create a script to do the following.. Login to a ftp and download a with the following naming convention xmtvMMDDYY.xml.gzon a daily basis followed by extracting that file. which I can do easy enough with a static filename. but the variable filename is throwing me off. I was planning on doing a mget with wildcard to just grab the entire directory but this found to not be as clean as I had hoped. Mainly due to the admins of the ftp keeping multiple days of the above mentioned file on the site.
View 2 Replies
View Related
Jul 11, 2011
I want to download a software and it is in .rar File. So I put this in the terminal: Code: sudo apt-get install unrar It installed fine but now how do I open the Rar File? Also is it true that Linux doesn't support many softwares?
View 4 Replies
View Related
Oct 8, 2010
What is it gedit uses additional that causes so many problems in root account? When run Code: # gedit /some/file it either doesn't open file at all or opens it with lots of errors...
View 3 Replies
View Related
Apr 18, 2011
I am having some issues with downloading images to my website from my suppliers!
I have a text file (extracted from product their product lists) which has all of the image URLs!
I have tried to use php using the below script which was started via a cron job, however exec is blocked and my hoster has told me to use curl..... Is there something that can be written in or with curl to do the same thing?
View 4 Replies
View Related
Apr 18, 2011
Which is the default file browser(NOT web browser) of Ubuntu 10.10 Maverick Meerkat?Nautilus?Are there any others for Ubuntu?
View 7 Replies
View Related
Jul 2, 2010
When I hardcode abc.bin to inputFileName - I can open the file in cpp. But when I pass the same using an optional argument, it fails. Note that in both cases, fprintf, prints the inputFileName as abc.bin properly.
I get can't open - no file or directory.
Code: main()
{
char * inputFileName;
char * optarg;
inputFileName = optarg; //doesn't work.
[Code].....
View 2 Replies
View Related
Jan 21, 2011
I want to download open suse but it takes up to an hour to download the 600mb .iso, my internet speed aren't that slow though. Im downloading the Live KDE, Direct Link 32-bit, all the other types of download have strange torrent or metalink fileformat. Is this just me
View 9 Replies
View Related
Mar 20, 2009
I want to read an ftp site [URL]...and download the sub-directory structure and ONLY the tagfiles to the local directory.
FROM THIS:
Code:
slackware
+--a
| |aaa_base-12.2.0-noarch-1.tgz
| |aaa_base-12.2.0-noarch-1.tgz.asc
[code]....
I tried wget + grep but that didn't work too well.
View 2 Replies
View Related
Sep 6, 2010
I have two files, uploads.txt and downloads.txt. I would like to combine the columns of these files based on the ip address. How can I best do this?
Uploads.txt Code: 192.168.0.147 1565369
192.168.0.13 1664855
192.168.0.6 1332868 Downloads.txt Code: 192.168.0.147 9838820
[code]...
View 7 Replies
View Related
Jun 12, 2011
I created a dbf file via a code but the file does'nt seems to open.
Quote:
Code is running file and the file emaster.dbf and etran.dbftoo is created in the home directory but it does'nt opens(Libre Office 3 can't open it).
How to open the file.? I want to add information to the database file(Dbf) file. But until it opens how will I achieve my purpose?
View 3 Replies
View Related
Dec 12, 2010
How do I use bash to open a file, (file name as first parameter) cut n char from begin of each line, and write shortened lines to new file (outputfile name as the second parameter, n as the third parameter)
View 3 Replies
View Related
Oct 12, 2010
i want to open a txt file and then read line by line and display data with first line and label it 1 and then incremented by 1 for each additional line.
View 14 Replies
View Related
Jun 29, 2011
I have a 50 file name NSSAVE0001.vtk to NSSAVE0050.vtk.Do I have to manually type individually command to open each file or can I have a loop to open file?
View 3 Replies
View Related