Server :: Image Not Displaying On Webpage?

Mar 15, 2011

I'm using the "Beginning PHP5, Apache, MySQL Web Development" book from WROX to teach myself these processes. I'm a retired programmer and trying to keep my brain active. I've been able to get through most of the process and get things to work. But getting a picture upload and then display it is killing me. The picture is moved from the initial directory and placed in the destination but will not show on the web page, I get a place holder and all the information about the picture, but no pic. The MySQL is processing all the database stuff .I haven't a clue what is not working, Firefox, Apache or what. I'm running Fedora 14.

Here is the code I'm using:

Code:

upload_image.php
<html>
<head>

[code]....

View 11 Replies


ADVERTISEMENT

Server :: Displaying An Alternate WebPage When Apache Is Down?

Sep 11, 2010

Code:

# service httpd stop
Stopping httpd: [ OK ]
And now we access the web site by typing the URL: http://192.168.56.10/ and the following message, as expected, is displayed:

Code:

This webpage is not available. The webpage at http://192.168.56.10/ might be temporarily down or it may have moved permanently to a new web address. But is there any way to display a different web page or message when we have brought down the Apache Server for maintenance so that a visitor on our web site would not think that we are gone with our bags and baggages...?

View 1 Replies View Related

Ubuntu :: Image Extracting From Webpage?

Oct 21, 2010

I recently saved a large number of web pages from a website on my computer and all of them contains images. I needed help extracting all the images from the webpages(all of them) there are about 17000 saved webpages in the folder and all of them have images. I am not sure how to extract images from webpage in batch. google search dint turn up anything.. is there lika a tool or something for the job or should a script be written for it?

View 9 Replies View Related

General :: Prevent Displaying Image On Web Browser?

Sep 7, 2010

how to disable displaying image on web browsers. Example I have a link [URL].

- when I connect to this link on my browser, it will not display the image

- But I can use <img src="/img/test.jpg" to websites can read it.

View 9 Replies View Related

Software :: Scrolling In Opera - Displaying The Chopped Image

Jan 7, 2011

since a few updates of Opera, I'm experiencing very choppy scrolling, which is hugely annoying. It looks as if the page were chopped up and only pieces of it were scrolling, with parts of the former content still displayed. Now this happens generally during normal usage, with nothing but the browser running. CPU usage is thus minimal. The effect can be circumvented for a few seconds if I force the browser to scroll a large part of the screen at once (using the cursor keys), which has the effect of displaying the chopped immage as a still for a second, after which scrolling is perfectly fine.

This looks as though it was an issue of the processor speed being deregulated; alas, /proc/cpuinfo states both cores to be at their minimum speed in either circumstances. I'm not switching to Firefox, Opera is the only non-free piece of software I've come to love.

View 11 Replies View Related

Server :: Run CGI Script From Webpage?

Jan 13, 2011

I removed CYGWIN and installed a Ubuntu 10.10 64bit virtual box and now I have it running, but I still can't get it to run my CGI script from my webpage that i have on Ubuntu platform. I was wondering if there was a certain way that I need to install apache or whatever to get it running correctly.

View 6 Replies View Related

Server :: Access The Webpage Created Through Ftp?

Mar 20, 2010

i configured ftp in my server.i just want to access the web page created in server through ftp.ya i can able to access. but the problem is ,it,s showing all the files and folders of the server like Desktop,Documents etc.....

But its just need to show only the site files such as index.html and its sub folders.

i think the problem is because of logging in to the server through ftp as normal user,which is created in server. so i think if we login as ftp user we can able to access only the website files.

how to create ftp users.

View 4 Replies View Related

Server :: Access The Webpage Through Apache?

Mar 26, 2010

i have already configured a domain in my server. now i have configured multiple local ip addresses,can i configure a domain for each local ip address. is it possible. if possible how can i access the web page through apache.Because already i am accessing the web page for a pre-configured domain from the path /var/www. if i able to create new domain.From where the apache fetches that index.html file, when requested through browser.

View 5 Replies View Related

Networking :: Launch A Webpage With Vsftpd Ftp Server?

Apr 14, 2011

I'm kinda new to all of this so I believe there's a simple solution for what I need I just don't know how it's done.

So I've configured a vsftpd, ftp server and enabled the anonymous user, therefore when I do

Code:
ftp://my_location.com

a directory like view is displayed in my web browser, corresponding to /srv/ftp where the files for the anonymous account are kept. Now I've made a little web page and I've copied it there, and can be executed running main.html so the address to access the web page would be

Code:
ftp://my_location.com/main.html

My problem is that I don't want anybody to have the possibility to see the directory like display so I'm wondering if when someone does ftp://my_location.com can't this be redirected so it will do ftp://my_location.com/main.html instead?, making the display of files and directories impossible from the ftp://my_location.com

View 7 Replies View Related

Server :: Protect Webpage Directories With Passwords?

Jun 27, 2011

To Protect Web Page Directories With Passwords i have done the below configuration but the problem is when i click the linux it is not asking username and password,

Created new account for logging into web interface:

htpasswd -c /etc/httpd/conf/.htpasswd travelkarega
Created a file name .htaccess in /opt/apps/deploy/websites/travelkarega/html/
vi .htaccess
AuthUserFile /etc/httpd/conf/.htpasswd
AuthName "Please enter password"
AuthType Basic
<Limit GET POST>
require user travelkarega
</Limit>

Added these above entries in the file .htaccess

View 1 Replies View Related

Server :: Run A Script On Host Machine From A Webpage?

Jul 26, 2011

it was possible to run a script (something.sh) on a server when a button on a webpage is pressed. I already have Apache set up and I will set up php if I have to.

View 5 Replies View Related

Server :: Set Default Webpage Using SQUID Proxy?

May 5, 2010

I have configured Squid proxy on RHEL 5. Now I want all squid clients to use default website which is set by Squid Proxy Server. So whenever user opens their browser they will visit same website automatically.

View 3 Replies View Related

Server :: Share Files In A Directroy On A Webpage?

Nov 8, 2010

I want to put some files in a directory that other people will be able to access via a web browser, so that they do not need to log in or have an account.

View 1 Replies View Related

CentOS 5 Server :: How To Upload/change The Webpage

Apr 19, 2010

i have a centos server with squirrel mail and sendmail, i have a web page that i want to change for a new one... how can i do it?

View 1 Replies View Related

Server :: Samba Is Not Displaying Subfolders?

Apr 28, 2010

I have installed Samba and the Guest only share i've created works, I can connect and view, edit, create, delete files fine... However...I can NOT see or create subfolders.Google searches and playing around for six odd hours and no success...

----------smb.conf--------------
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed

[code]....

View 52 Replies View Related

Server :: How To Play Live Video From USB Webcam On Webpage

May 29, 2010

We have a Centos 5.4 system with V4L installed. xawtv displays the web cam's output fine, but I need to find a way to embed live video from the web cam in a web page (Apache is also installed). I want to play the video in such a way that the viewers do NOT need any special software other than a standard web browser (Firefox, IE, etc.)

View 11 Replies View Related

Server :: Wget Webpage Secured By Username / Password

Feb 18, 2011

I wish to download a webpage, which is secured by username and password, using WGET. The thing is there are many forms on that page and I dont know how to tell WGET which one should it send (by POST method) the parameters. I have solved it till this so far:
wget --post-data="predmet=xxx" --http-user="yyy" --http-password="zzz" [URL]
It gets through the authentication but it will not submit the form.

View 3 Replies View Related

Server :: PNG Images Not Displaying From Certain Directories In Apache?

Jan 13, 2011

I have a png file which I put into a user's directory: /~user/file.png This displays OK. When placed in the user's images directory: /~user/images/file.png the file does not display. If I put the file in the global images directory: /images/file.png the file displays OK. Finally if I change the format of the file to a jpg and save it in the user's images directory: /~user/images/file.jpg the file displays OK.

When I look at the Apache access_log and error_log files, there is not even an entry if the png image file is accessed from the user's images directory.

View 4 Replies View Related

Server :: Change Default Apache Webpage To User Home Page

Aug 9, 2010

I am now using CentOS5 as the server providing Apache services. I have managed to setup the web page under /home/user1/public_html, now I wish to change the default web page of our server to /home/user1/public_html. i tried to modify httpd.conf, in which i changed the "/var/www/" to the above user directory, but didnot work. Please kindly suggest.

View 9 Replies View Related

Ubuntu Servers :: 9.10 Server Downloading PHP Files Instead Of Displaying Them?

Mar 17, 2010

I have an Ubuntu 9.10 server set up at my house. I have Apache2 and PHP5 installed on it. Every time I go to the server on a web page and try to load the PHP index page it downloads instead of displaying.

I have virtual servers set up and have the files stored at /home/cusinndzl. If anyone needs to take a look I can let them into the webmin panel.

View 4 Replies View Related

Server :: Non-displaying Website Data: Javascripts And Images?

Mar 10, 2010

I have a weird problem I am experiencing with my Apache 2.2 w/ ISPConfig 3 running on Debian 5.0.4. It is not a website html issue.***PROBLEM***Images are not beind displayed,javascripts are not being run, however when the site is viewed from a local source as a file(like on a USB Flash Drive) they work fine and display properly.Here is the website URL:I have removed a lot of the images and content or changed it in order to troubleshoot it myself, so the site is stripped pretty bare. There is supposed to be a logo inside the "header" <div>, which is set in the CSS file "style.css". There are supposed to be images for navigation, but they show up as red "x"'s. I removed the javascript elements and just trying to work with barebone html/css and can't seem to get it to display properly.

View 3 Replies View Related

Server :: Red Hat - Multipathing In Conjunction - Fdisk -l To Display One Lun Rather Than Displaying All 8 Paths To The Lun?

Aug 25, 2010

How to device-mapper multipathing in conjunction with fdisk. I am more of a solaris expert and now trying to grasp linux (red hat). I have a server that I plan to cluster (future assignment) which is attached to a Netapp SAN via emulex LPe11002 HBA. I have 8 paths to the LUN I created and I can see the multipath device (/dev/mapper/mpath1). Below is my multipath.conf file:

[Code]....

Question 1: When I look at fdisk -l, I can see all 8 paths to the same LUN. Although I partition /dev/mapper/mpath1, I can still see that 7 of the 8 still say "Disk /dev/sdX doesn't contain a valid partition table". I would think that all 8 would have this removed. I execute '/usr/sbin/lpfc/lun_scan all' and it doesn't work. I am looking to clean this up...what should I do? It seems weird to have to do it to all 8 paths!

Question 2: Why does my alias, 'db' not show up under /dev/mappers?

Question 3: Is there a way for fdisk -l to display one lun rather than displaying all 8 paths to the lun?

What is the standard procedure (commands) people execute when adding a new lun to a server with multipathing so it is nice and clean?

View 4 Replies View Related

General :: Webmin Error: Unable To Open A Webpage Even Though Virtual Server In Apache Is Added

Aug 2, 2010

I tried creating a virtual server in apache and it got created successfully. (I also added a zone in dns for that domain successfully) However, when I try opening that domain in my browser, I see a popup window which asks me what to do with "default" which is a php file type.

I dont see the index.php which should actually open. What do I do to make the php files display correctly?

View 2 Replies View Related

Server :: Insert "show Interface Status" Output To A Client Side Webpage?

Nov 16, 2010

I need to show an output of the command "show interface status" executed on a server side in new window on client side. In other words: on client side web browser page I would like to have a link which I can click and get output of command "show interface ... status" in a new window. On web server script has to connect to switch/router, execute this command and send output to client window.

where to look, and, may be explain, what can be better for this purpose? I need a clue, because I have newer done it before. It should not be snmp, because I want to view many different outputs and snmp wont help me.

View 2 Replies View Related

Server :: Find A .ovm Format Image Of A Windows Server Installation?

Sep 16, 2010

I currently run Windows Server 2008 at my office, but I'm looking to test Samba as a PDC for future reference/consulting work. Before I go and try to configure Samba, I wanted to ask if anyone can think of pitfalls I would run into and perhaps recommend a better setup:
<10 PCs running either Windows XP, Vista, or 7.

VirtualBox running Debian (planning on swapping for Fedora) on a Windows XP Home computer.
Computers are connected to a large switch, which is connected to a wireless router. The Windows server doesn't employ ICS (essentially is just a $1500 PDC ). where I could find a .ovm format image of a windows server installation? I'm guessing vmware would work in this regard, but I'm not fond of using purposely crippled software.

View 1 Replies View Related

Server :: System Image Of Intel Server RAID1?

Aug 2, 2011

I have an Intel server, which has it's two SATA HDD's in "Intel Embedded Server RAID Technology 5.4" RAID1 volume. How to proceed with a system image in case two of those SATA HDD's fail at the same time? Should one take the first HDD of RAID1 volume, connect it to another machine and execute:

Code:

# ddrescue /dev/sda1 /media/External/image_of_first_hdd /media/External/log_of_first_hdd
* HDD from the problematic RAID1 volume would be recognised as /dev/sda1 behind new machine
* /media/External/ is a mount point for large external HDD in the new machine
* log_of_first_hdd would be the log file

..and then take the second HDD to another machine and execute:

Code:

# ddrescue /dev/sda1 /media/External/image_of_second_hdd /media/External/log_of_second_hdd

how to make system image using ddrescue in case disks are in "Intel Embedded Server RAID Technology 5.4" RAID1?

View 1 Replies View Related

Server :: How To Take Backup(image)

Jul 5, 2011

I have to set at Linux server(i don't know which distribution) to check something ,could some one tell me how can i take the image backup and if that possible with other software like gost image.

View 2 Replies View Related

Server :: Rhel5 Dvd Iso Image Not Bootable / Fix It?

May 8, 2009

I wonder if someone can shade alight on this problem,I have active subscription for rhel4 ES and trying to do a fresh install of rhel5,I was able to download rhel5.3 DVD image from redhat site,burnt it to a DVD but is not booting,i have so far tried on 2 different DVDs but both have failed. I have even downloaded and burnt 1 CD ISO image burnt it still failed.BIOS level is set to cd device first so no problem there,it works!

View 5 Replies View Related

Server :: Splash Image For Grub?

Feb 13, 2011

how to add images to grub window in Ubuntu and how to zip a image that to be used in grub.

View 1 Replies View Related

Networking :: Boot An Ubuntu Image From A Server?

Jan 30, 2010

Is there a way to boot an ubuntu image from a server? im not trying to install anything. just want to be able to have a server with the image and be able to boot from different computers so i dont have to install ubuntu on all of them.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved