Programming :: PHP Log File Downloads After They Finish?
Jul 30, 2010
I'm writing a download script, that will serve files for download and that has to log each download. I'd write something like this:
Code:
log_downlad($file_id, $user_id...);
$dl_path = $server_mount."/".$file_hash...;
[code]...
View 1 Replies
ADVERTISEMENT
Jul 16, 2010
I've spent all day trying to sort this out and I'm beginning to think this problem is specific to a Mac because I've managed to build this extension just fine on a debian vpsI'm trying to build the PECL extension amfext.I download the source to a folder and run the following:
Code:
sudo phpize --clean
sudo phpize
[code]...
View 13 Replies
View Related
Aug 10, 2010
I'm trying to find out which hard drive my vista installation is labeled in ubuntu so I can finish editing the grub menu.1st file.
All it says on the sourceforge page is
Quote:
Root - You likely have something along these lines "(hd0,1)". "hd0" refers to the your hard drive while 1 points to the partition. Note that for GRUB, partitions start at 0 and not 1. for example 0=Partition 1, 1=Partition 2 and so on.
It doesn't say how I can find out which one my vista is. So I need to know what my hard drive is in linux. Is it hd0,1 or hd0 or what?
View 9 Replies
View Related
Apr 29, 2010
while upgrading to Lucid, I got the following error:
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/dbus_1.2.16-2ubuntu4_i386.deb (--unpack):
unable to open '/lib/dbus-1.0/dbus-daemon-launch-helper.dpkg-new': No such file or directory I tried to just add the dpkg-new extension to the existing /lib/dbus-1.0/dbus-daemon-launch-helper - to no avail. How can I finish installing dbus?
View 1 Replies
View Related
Jan 4, 2010
relative n00b to C++ but I have heard that KDevelop rocks so I am using it as my IDE. what does it mean when it wants me to find a cmake file? idk what that is lol, just got through the section on if statements on my book. where do i find this file? are there any good tutorials on the KDevelop4 Enviroment?
Charlie
View 2 Replies
View Related
Feb 24, 2011
I just write a script that check some thing. and I use
Code:
read -p " enter : " chk
it executed. but if a user use "Enter key" on keyboard it cant continue and finish.
View 7 Replies
View Related
Jan 10, 2011
I have a wrapper script called MAIN.sh that runs several other script. It looks like this:
Code:
#! /bin/sh
script1.sh
[code]...
View 6 Replies
View Related
Jan 29, 2010
Last night I was using Ubuntu just downloading music with Limewire and it was all working fine until I clicked on a a song to download and a message popped up saying something like "This computer doesn't have a file for Limewire downloads", I am not exactly sure on how it said it but it had something to do with the File System. Since it was so late I just decided to leave it like that and deal with it in the morning.
I woke up and when I started Ubuntu and it says "File System not found", and something about pressing Control-D. Sorry for the lack of info I just don't remember exactly what it said, but like I mentioned above it has something to do with the File System that apparently isnt working. I decided to re-install Ubuntu and it worked great, I am using ubuntu right now but it doesn't have any of the setting and apps etc etc that I had on the other one.
When I restart the computer and the dual-boot menu comes up it has 2 types of ubuntu, this one that works and the other one that everytime I click on it it keeps showing me the "File System not found". Is there any way to fix my old version of Ubuntu 9.10? And if I cant then how can I delete the damaged version of Ubuntu so it doesn't come up in the Dual-Boot screen? And I also have Windows 7 on it, how can I delete that one also?
View 4 Replies
View Related
Oct 13, 2010
i can download but i cant run anything because there is no ar file path for ark. please dont tell me to download something to get the ar file path because if i download it i can't open it
View 1 Replies
View Related
Jun 8, 2010
I write a bash script to time some downloads from a server using ftp connection. ( something like: "time ftp 'options' ) I need to count the time for a list of files in a loop and output the result in a file.
View 1 Replies
View Related
Aug 15, 2010
I am running debian lenny running apache (latest) i am trying to make a webserver. i put the index.html file in my www folder. it shows up when i go to my site (localhost) i put an index.php file in my www folder and when i try to go to my site it Downloads the index.php file instead of showing it.
View 2 Replies
View Related
Sep 26, 2010
No matter what site I try to get a file from, when trying to download - let's say - a .pdf file, I get a dialog box that tells me that the file could not be saved,"because the source file could not be read. Try again later, or contact the server administrator." This is on my laptop only, a clean install of Lucid Lynx, the files download fine on either of my desktop machines, each an earlier Ubuntu release. I'm using Firefox and cannot try another browser since I'm unable to download one. Can't seem to find anything relevant in the log files. What could be happening?
View 2 Replies
View Related
May 13, 2010
I trashed my Karmic Ubuntu install and installed Lucid (I had heard that the boot times were much reduced and I didn't see any improvement in my normal upgrade). I reinstalled Drupal but find that my installation of Apache does not run the scripts, but rather passes the php text file to the browser. IIRC when I installed it apt configured Apache correctly without me having to edit .htaccess or /etc/apache2/httpd.conf which makes me think that I am missing a key dependency.
Does anyone know of a check list to which I can refer to make sure that I've installed everything? My installation has Postgres instead of MySQL. Failing which, in the event that my memory is faulty, where can I find which changes need to be applied to the configuration files above?
View 4 Replies
View Related
Feb 27, 2010
I just installed virtualbox and installed windows xp on it. I need windows xp for compiling my Lazarus (Free Pascal Compiler) projects in it, so that something I program on ubuntu works on Windows too. Windows works correctly on the virtual machine, there is just one problem. How do i copy a file from ubuntu(for example from/home/user/downloads) into the C drive of windows(Windows is installed on the virtual machine)
View 4 Replies
View Related
Feb 14, 2011
i have a weird issue with my web server. every time i enter my domain name instead of processing my index file it downloads it. wth could be the problem first time this ever occurred. recently installed webmin.
View 7 Replies
View Related
Feb 17, 2010
I've got an old p3 with 11 ide hard drives strapped to it for storage and I decided to throw Ubuntu server on it because it's more lightweight than a standard ubuntu install, and given it's a pentium 3 with 128mb of ram, lightweight is good. I installed, through putty (ssh), the gnome gui - then learned that putty only does cli (i was thrilled), so I've spend the last hour trying to figure out how to enable remote desktop.
I don't mind reinstalling to do what is necessary. remote desktop to manage file downloads from my windows 7 machine(s) big list, i know. history: this thing is/was my media server. I had xp on it, sharing all drives and watching hd movies off it, but then xp decided it did't want to boot anymore so here we are. I'm thinking of just putting ubuntu 8.04/8.10 on it and through its wonderful gui enabling remote desktop and using realvnc/tightvnc to access it
View 9 Replies
View Related
Apr 11, 2010
i guess it is because my USB mouse. after unplug it. the installer works well. i am not sure how can i use my USB mouse after i finish it.
View 3 Replies
View Related
Apr 20, 2010
try to download mysql-serverPHP Code:apt-get install mysql-server but it seem to stop downloading this package at 5%Tried converting rpm to deb with alens still no luck..PHP Code:
alien -i --scriptsMySQL-server-5.1.45-1.glibc23.x86_64.rpm
error: incorrect format: unknown tag
chown: cannot access `MySQL-server-5.1.45//etc/my.cnf': No such file or directory
[code]....
View 4 Replies
View Related
Nov 26, 2010
I've installed previous Ubuntu and other linux distros in the past, so I have a fair idea what I'm doing.
I downloaded the official Ubuntu 10.10 ISO from Canononical, burned to CD and booted from that.
I chose to install, using an existing swap partition, and a freshly formatted (ext4) partition, with mount point "/" as root.
The installation runs fine up to where I enter my User, Computer and Login details.
The forward button to continue, remains greyed out, even tho the copying of files finishes and says down the bottom that I'm ready to go.
At this point, I can't exit, log out, or do a proper restart.
Only a forced reset of the computer gets me out of the installation.
No files get installed on the partition, but the MBR does get written to.
And obviously I get an error trying to boot to it.
I've tried this same procedure 3 times now, with exactly the same result each time.
View 7 Replies
View Related
Jun 2, 2010
i just installed fedora 13(fresh install) everything worked fine so i wanted to install the nvidia drivers (using akmod) everything went fine so i rebooted it. It started fine showing everything as[ OK ]But after showingEnabling monthly Smolt checkin: [ OK ]Starting atd: [ OK ]It stops rigth there...I dont know why, i just can reboot and cant go any furtherThe next one must be service local, but cant get it started
View 3 Replies
View Related
Mar 21, 2010
I can't install filezilla. I've searched and written the line (sorry can't emember what it was exactly) in terminal, but it didn't find filezilla. I then found another thread and tried writing as shown by aysiu in the screen grab. But, it got to 99% and then after ages said it couldn't finish (see screenshot).
View 9 Replies
View Related
Apr 2, 2010
I put together this 500+ page .pdf how-to, if your looking to setup a server, and manage it with Webmin. built on Debian, but should work here to for the most part[URL]..
View 9 Replies
View Related
Dec 6, 2010
Ever since I installed Maverick Update Manager it hangs when I update and I eventually have to kill it.
View 3 Replies
View Related
Apr 25, 2011
When I try to connect UbuntuOne, it gives an error -"The process did not finish successfully."
View 6 Replies
View Related
Jan 16, 2011
lsusb shows this:
[code]...
I know the thing is there and Linux is able to identify it. However, using the drivers included with the device (rtl8192su_linux_2.6.0002.0707.2009) and later other drivers (rtl8712_8188_8191_8192SU_usb_linux_v2.6.6.0.20101111) and the firmware realtek package as well, Modprobe shows nothing. Also *tried* to follow instructions to the best of my ability from these sources:
[code]...
I am still running lenny 2.6 on a dell latitude d505 (circa 2006) running the x86 32-bit debian distro. The USB device is produced by Sabrent and contains the realtek 8191s IEEE 802.11N chipset. After all effort so far, my guess is that the 8192 drivers are not compatible with the 8191 chipset, but then why were they included with the device and why do the 8191 drivers still reference 8192?
View 4 Replies
View Related
Apr 6, 2010
how can I set it don't close automatically? I want it just stay there, and let me close it manully.
View 9 Replies
View Related
Aug 8, 2010
rubyripper starts ripping but then it seems it stops during the analyzation.No action noticable and it does not finish.The last message in the log is: analyzing the files for not matching chunks.I left it for hours and nothing happens.It happens with all formats and with all CD's I have.No error messages or other.With opensuse 11.2. there was no problem at all.
rubyripper version 0.6.0
Kernel: Linux 2.6.34-12-desktop x86_64
Distribution: openSUSE 11.3 (x86_64)
KDE: 4.4.4 (KDE 4.4.4) "release 7"
Does anybody have an idea or need any logfiles?A similar problem I have in k3b when ripping audio cd's. It hangs up during analyzation.
View 1 Replies
View Related
Jun 11, 2010
When installing build-essential and ubuntu-restricted-extras the internet connection was interrupted. How can I force re-installation in terminal? I'm looking all over for the commands but I can't find them. If i just type "sudo apt-get install build-essential ubuntu-restricted-extras" it returns the message that they are both up to date. I know one of them was interrupted and needs to be finished.
View 1 Replies
View Related
Mar 8, 2011
After some hours of googling, I've managed to increase the size of the default ramdisks (/dev/ram0-16) to 1 GiB each, I raided them together with mdadm to try it out, then created a filesyste, mounted it etc etc. No problems. The problem comes when I used gparted to move my windows partition over and in the unallocated space (1 GiB), I created an unformatted partition (/dev/sda2)Now when I try to create the raid array I get the following:
Code:
:~$ sudo mdadm --create /dev/md0 -l 1 -n 2 /dev/ram0 /dev/sda2
mdadm: Cannot open /dev/sda2: Device or resource busy
[code]....
View 2 Replies
View Related
Jun 5, 2011
I'm a novice using Ubuntu 10.1 on an Asus EeePC. For several days, my computer has refused to connect to the office wifi, though it's had no trouble doing this in the past. It recognizes the signal, and the wifi icon keeps indicating that it's in the process of connecting, but the process never completes. Every few minutes I'll be asked to re-enter the password. Eventually it gives up.
I'm not sure if this problem extends to other wifi networks or just the one at my office.
View 8 Replies
View Related