Networking :: Set File Links On Website Via Ftp Or Php?

Apr 8, 2011

My hosting server is running Linux / Apache. It would be very nice to be able to link some files (preferably hard links, but symbolic links also would help), but haven't a clue how to do so. I would be willing to write a server side php script if that would do the trick.

View 4 Replies


ADVERTISEMENT

Fedora :: Some Links On A Website Don't Work In Firefox?

Apr 29, 2010

Recently Firefox is showing some but not all the links inside a page in a website that I use every day.Firefox had worked well in the past years with this site, so I made a few tests:- I tested the web page on Firefox 3.5.9 on Fedora 12. Some links missing.- I tested the same web page on IE8 on Windows Vista. No issues, all links there.- I tested the same web page downgrading Firefox to version 3.5.4 and downgrading the required libraries. Same issue, some links missing.- I compared the html code that the web server hands to both IE8 and Firefox. They are exactly the same.I don't know enough about html or javascript to understand why Firefox doesn't like some of this code portion.

Code:
<td align='left'>
<p class='liga'><a href="javascript:GeneraId('11')"><img src="image.gif" BORDER=0

[code]...

View 6 Replies View Related

Ubuntu :: Firefox Not Showing Links Of A Particular Website

May 24, 2010

The problem actually lies with Firefox (3.0.19) After I solved my problems, everything looked fine at first. That was until I went to one particular website and found that some links were missing. They simply were not showing in the browser. They were showing in the source code, so they should have appeared. Now, I have two different profiles by using:

[Code]...

View 9 Replies View Related

Ubuntu :: Save Website As Pdf With Preserved Links

Mar 9, 2011

I would like to save a website as pdf document, but I search for a method that preserves the links of that website and makes them clickable within the pdf file. Every method I found so far removes the links and leaves only all things visible, like printing. There is an thread from 2007 about the same topic but it didn't came to a conclusion either [URL]....

View 2 Replies View Related

CentOS 5 Networking :: Allow The User Only See The Size Of The File, And Not The File + Symbolic Links?

Feb 23, 2009

I'm researching about symbolic links been used with samba / CIFS:I'd like that the user that uses a MS-Windows OS could see my shared folder on CentOS 5 and the symbolic links that are inside this folder. Well, it works but, the user will see that the size of the file is bigger than the real file. Apparently, CIFS gets the size of the symbolic link (aproxim.32K) and add it to the size of the file.Example 1: 100KB file, used with shared folder, MS-Windows's user will see 100KBExample 2: 100KB file, used with symbolic link inside a shared folder, MS-Windows's user will see 132KB. (Sym link + size of file)Is there a way to allow the user only see the size of the file, and not the file + symbolic links ?

View 1 Replies View Related

General :: Finding Website Links In HTML Files?

May 29, 2010

I have a website that has a massive list of royalty free stock photos and I want to download all of them. I have bought a membership for [URL] so I am able to download as much as I want from them for the next month.

Instead of going page by page and manually downloading each set of stock photos manually, I would like to automate this process. Here's my idea:

1. Download the website with the links to hotfile [URL]

2. Use grep to retrieve all the links to [URL]

3. Feed the links I recieve from grep into wget and download the works of them.

The problem I'm getting is when I use grep, It retrieves the entire line of html code where "hotfile.com" is shown. So here is an example of one link I receive in the output:

Quote:

./1776-santa-claus-vector-set.html:<div align="center"><a href="http://hotfile.com/dl/18418176/181a55b/Santa_Claus_Vector_Set.rar.html" target="_blank">HotFile</a></div>

Is there a way to just have the link shown in the output?

PS: I have everything else working, I just need an automated process of getting all the links.

View 5 Replies View Related

General :: Script To Extract Appropriate Line From Website Using Links

Oct 26, 2010

I need to write a script called '~/get_birthrate' which when invoked with a two letter country abbreviation(i.e, au,ch,ni), extracts the appropriate line which contains the information about the country's birth rate from the [URL] (where "ca.html" should be replaced with the appropriate two letter abbreviation). The output should look like:

$ get_birthrate au
8.69 births/1,000 population (2007 est.)
$ get_birthrate ch
13.45 births/1,000 population (2007 est.)
$ get_birthrate ni
40.2 births/1,000 population (2007 est.)

View 4 Replies View Related

Networking :: Grab The Exe File Off Of Acer Website And Install?

Mar 18, 2010

I am having problems with my acer extensa 5620z wireless. I went on a few fourms and tried a few things they told me to do and It did not work. My question is this If i install wine can I grab the exe file off of acer website and install it that way?

View 2 Replies View Related

Software :: Download Some Images From A Website - Single Column Of Links To The Images?

Jul 26, 2010

I am running Linux from a DVD, not installed. I am not good with installing software, but since the DVD cannot be corrupted, I am content to operate this way. Lately, I have been having problems that previously did not occur. When I try to click on the checkbox to get rid of emails, it doesn't register in most cases, or when it does, I am clicking multiple times so it registers twice, meaning it is unchecked again. Even more frustrating is some issues that are affecting my ability to update my business. I am trying to modify spreadsheets (text not calculations).

Whenever I try to click & drag to select something to change, it keeps jumping around to select only some of what I want, something else or some combination of the 2. When I try to copy and paste several fields from 1 column to another, everything from the several fields in the source column ends up together in the last field in the target column. I am also trying to download some images from a website. There is a single column of links to the images. I have to click on the link to get to the image in order to copy it, then back out to continue looking for more links to do the same.

My computer keeps jumping back 2 steps, then forward 2 steps, and sometimes I lose my place in that list. I could deal with it if it were a small number of links, but this is a list of probably close to 20,000 links. Again, i am operating off of a live DVD so this should not be corruptible, but this has just started happening, and has been an issue the last several sessions.

View 14 Replies View Related

Ubuntu Networking :: Grab The Exe File Off Of Acer Website And Install It That Way?

Mar 18, 2010

I just have a question. I am having problems with my acer extensa 5620z wireless. I went on a few fourms and tried a few things they told me to do and It did not work. My question is this If i install wine can I grab the exe file off of acer website and install it that way?

View 5 Replies View Related

Ubuntu :: Links Browser Script - Automatically Fills In The Credentials On The Links Login Page?

Dec 6, 2010

At my Uni, we use a web-based login for our internet connections. Its based off of Cisco, and every Wednesday night every computer on campus must re-enter their credentials to use the network.

Normally on my several computers I simply pull up the Terminal, point links to google.com using

Code:

And enter my credentials when Cisco redirects to the login page.

Literally, the process is

Code:

Then ENTER to accept the redirect, down arrow to skip over the logo image, USERNAME, ENTER, PASSWORD, ENTER, ENTER.

Naturally, this is EXTREMELY time consuming, as I have about 5 computers located around campus and must physically walk to the machines and login every single week.

My question is, How would I formulate a program that does the following;

1) checks for connectivity (i.e. is able to reach/resolve to the greater part of the internet) and

2) automatically fills in the credentials on the links login page?

View 2 Replies View Related

Programming :: Scripting : Change Markdown Links To Wikitext Links?

Feb 3, 2009

I have a personal wiki of notes, with now thousands of links in markdown format:

[link text](http://example.com)

but now that fckeditor is available for mediawiki (very beta), it has become much better to just stick with wikitext format. There are only a few conversions to do: tables, links, and bulleted lists. The lists are a fairly simple regex and fckeditor magically reformats the tables, so all I'm left with is the links. But I'm not a regex master. How do I reformat code...

View 12 Replies View Related

General :: Downloading All Links In An XML File?

May 26, 2011

I am, as the forum title suggests, new to linux and to programming and having trouble figuring out how to do this.I have a very large XML file with a lot of information in it. I'm trying to get a single tag out of the file, each of these tags contains a single web link and I want to download the file at every single one of those links. I really don't know how to do this.My thought, though its probably not the most efficient or correct way, was to use VIM to search the document and somehow extract all of this one particular tag and then use wget on the links.

View 3 Replies View Related

General :: Get The Pathname Of The File And Its Links?

Dec 21, 2010

i have to write a shell script that takes name of the file as command line argument and the script should use path envt variable to look for the specified file and specify where are the different instance of the filename specified exist

firstly enter the filename echo "enter the filename" read filename by using ls command we can get to know how many links are there for that file but i don't know how to get the pathname of the file and its links after knowing the pathnames of the file i can set the path variable using export command can any one tell me how to get the pathname of the file i entered as a command line argument

View 14 Replies View Related

Server :: Identifying Links To A File?

Dec 23, 2010

How do we check as to how many links have been created that point to a particular file?

Let's say there is this file /work/contacts.dat

and we have, let's say, 10 soft links that have been created by different users in their home directories. Now how can I figure by looking at the file /work/contacts.dat that there are 10 (soft or hard)links pointing to this particular file so that I know that it is being used or refered to by those many users and before deleting it I can check with them.

View 3 Replies View Related

Ubuntu Networking :: Open Firefox, Some Website Works, On Some Other Website Firefox Says "Connecting To..."?

Apr 18, 2010

I open Firefox, Some Website Works, on some other Website Firefox Says "Connecting to...",but all the Sites I have Tested working on my Windows 7.

View 3 Replies View Related

Ubuntu :: Insert Pictures In ODF File, Not Internet Links To Them

May 30, 2011

When I copy and paste something from a web site, links to pictures are inserted, not actual pictures.

When I disconnect from the Internet, I cannot see pictures which is annoying.

Do you know how to make LibreOffice copy and paste actual pictures into a Writer document?

View 2 Replies View Related

General :: What Is The Purpose Of Using Hard Links Instead Of Being A Shortcut To Some File

Mar 23, 2011

what is the purpose of using hard links instead of being a shortcut to some file ?

View 5 Replies View Related

General :: Remove All The <a Href Links From Text File?

Mar 24, 2010

[Code]....

I am trying to remove <a href links using SED but unable to do it.

The finale result I am looking for is

[Code]....

Is it possible with Linux or should I try with Php?

View 2 Replies View Related

General :: Create Hard Links Within A File System To A Directory?

Aug 1, 2010

I am trying to create hard links within a file system to a directory, but unable to do that. is there any limitation to create hard links to directories within file system ?

View 4 Replies View Related

Networking :: Transparent Proxy With 2 WAN Links?

Feb 9, 2010

I'm trying to setup a linux box with 3 NICs (2 WAN links and 1 LAN). All http traffic (port 80) should go to WAN 1 via squid proxy and the rest to WAN 2. I already setup MASQUERADING in iptables and I already configured port 80 to redirect to port 3128 for squid. My default gateway is WAN 2. But the problem is squid uses the default gateway - WAN2. setting up the iptables / routing for squid to use WAN 1?

View 7 Replies View Related

Debian :: Installing A .deb File Directly From Website?

Dec 15, 2010

When i go top and click on the link to download/install de debian-multimedia-keyring, a pop-up windows appears with the choice to open the file with file-roller. But i want to open it with aptitude to get it installed.i missing something? How can i setup Iceweasel to make sure the next time .deb files can be installed directly from the source website

View 2 Replies View Related

General :: Check If A Website File Has Changed?

Jan 18, 2010

I have a site that I login to to check updates. It does not have RSS because users need to authenticate themselves before getting access to the page. Is there a way to write a script that can login to the page and check whether the HTML has changed and then send me an email?

View 13 Replies View Related

General :: Curl - Download A File From A Website In Command Line?

Aug 9, 2011

I need to download a file from a website which has a URL formatted like:

[URL]

This redirects to a .zip file which has to be saved. There is also a need to authenticate based on username and password.

I tried to use wget, curl and lynx with no luck.

UPDATE:

wget doesnt work with redirection. It simply downloads the webpage instead of the zip file. curl gives the error "Maximum redirection exceeded > 50 " lynx also gives the same error.

View 1 Replies View Related

Software :: Parsing A Text File To Display Certain Data On Website In Php?

Dec 26, 2009

Im trying to figure out how to display parts of a .db file created by the scorch2000 server to display a player name, games played, score and maybe more...

here is the text file format example:

playername1 password email #ofgames score setting1 setting2 setting3
playername2 password email #ofgames score setting1 setting2 setting3
playername3 password email #ofgames score setting1 setting2 setting3
playername4 password email #ofgames score setting1 setting2 setting3
playername5 password email #ofgames score setting1 setting2 setting3

I dont want to display everything, of course ^^, but how do i get the player name, the number of games he played and his score to display it in a webpage in this fasion:

Name Games Played Score

joe blow1 25 9876890
joe blow2 31 8989767
joe blow2 26 7989767
joe blow2 17 5989767
joe blow2 13 4989767

and by highest score because the log doesin't put them in in score order....

please help, i asked the maker because he has one runing already but no answer back, well the game is pretty old so i didn't really expect an answer anyways and tryed to figure it out but i dont know functions in php, this is to include in a php-nuke block (this i know how to do

here is an example of a working page at the developper website:url

View 14 Replies View Related

Ubuntu Networking :: NFS Mount Produced Circular Links On Urix?

Jun 20, 2011

I was setting up an Ubuntu server for a client who runs a rather old version of Irix on an SGI O2 machine (he uses some design software that does not run on newer hardware). This version of Irix can only use NFS V2 or V3, so I setup the exports file on Ubuntu to use nfs3. However, when the file system was mounted on Irix, everything (including flat text files) was mounted as a directory, i.e. everything in the Ubuntu directory was mounted as a circular link to its' self After _much_ faffing about, I found that using nfs2 in the exports file fixed the problem, and the client was a happy camper again.

View 1 Replies View Related

Networking :: Squid Proxy With Multi Wan Links And Load Balancer

Mar 1, 2010

My netowrk interface:

My iptable T1:

http traffic not follow the iptables. sometime via eth1 or eth2

After squid.conf added "tcp_outgoing_address wan1's gateway" it worked correctly

Why? what squid do?

The http traffic:

Why iptables can't not control the traffic

I want creat the tables T2 =>for load balancer

How to make squid route follow this table

View 1 Replies View Related

Debian Configuration :: Editing / Etc / Hosts File To Make Website Loopback

Sep 6, 2010

I am trying something a bit tricky.Suppose there is a website URL...Now suppose when i open a file /var/www/ test.php which connects to the above website to gather some info and then allow me to further in the process, i want it to instead direct to a file say /var/www/test_done.php.How do i edit my hosts file for such a scenario? Is there any other better option than using a hosts file ?

View 1 Replies View Related

Ubuntu Networking :: Symbolic Links Deny Permission In Samba Share?

Oct 19, 2010

I have a Samba share that contains a symbolic link and when I try accessing it from the WinXP machine it denies permission. If I access it from the Linux account, it goes in with no problems. Is there a certain setting that needs to be set or enabled or is this just one of those things with Samba?

View 5 Replies View Related

Ubuntu Networking :: Samba Share Cannot Access Symbolic Links To Other Drives?

Jan 10, 2011

I've created two samba shares, /media/disk1 and /media/disk2 say the structure is like this:

/media/disk1/dir1
/media/disk1/dir2 links to /media/disk1/dir1
/media/disk2/dir1 links to /media/disk1/dir1

so I can access /media/disk1/dir1 and /media/disk1/dir2 from samba share, but I cannot access /media/disk2/dir1, on Windows 7 it throws:

Quote:

[Window Title]
Location is not available
[Content]
N:dir1 is not accessible.
Access is denied.
[OK]

In conclusion, symbolic inside the same drive is okay, but when cross-drive links happened, I cannot access them..

View 2 Replies View Related







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