Search Results

Search: Posts Made By: o0110o
Forum: Programming 05-28-2011
1,676
Posted By o0110o
This is how I did it.
#! /usr/bin/env python

from __future__ import with_statement
import os

with open("../tmp/ordered_list.txt") as f:
for list_item in f:
myCommand = "THIS IS WHERE I TYPE MY...
Forum: Programming 05-26-2011
1,676
Posted By o0110o
Help with Python. Please and thanks.
Hi everybody,

I've been experimenting with Python lately and for the most part it's been a smooth ride. I have one little problem that maybe one of you can help me with.

PROBLEM:
I have list...
2,185
Posted By o0110o
Help with passing XML variables to MySQL DB via PHP
Hi everybody, I need the help of the Unix community once again :)

I have some code which queries an XML feed and displays the results for me. I would like to enter the XML output in to my...
2,616
Posted By o0110o
Thx ygemici, I will let you know how this goes :)
Thx ygemici, I will let you know how this goes :)
2,616
Posted By o0110o
Thanks rdcwayx, but that still outputs the full...
Thanks rdcwayx, but that still outputs the full url address with the filename included.i'm trying to output the url without the filename included.
2,616
Posted By o0110o
I'm still having trouble with this :(
I'm still having trouble with this :(
2,616
Posted By o0110o
File A ...
File A
http://lh6.ggpht.com/_0ga0wb33PoQ/S2ulPfVJBTI/AAAAAAAAAYs/1wxZhiPW1mw/BM09_Starlight_-10.jpg
http://lh3.ggpht.com/_WpT8ajiz98w/R7aUf5YVUiI/AAAAAAAAAHA/00XJnAPH7TM/DSC02803.JPG...
2,616
Posted By o0110o
Thanks @bartus11. The only problem is that when I...
Thanks @bartus11. The only problem is that when I forward the output to a new file, the results are exactly the same as File A. I am trying to get the output to be everything that appears before the...
2,616
Posted By o0110o
Help with shell script and sed!
Hi folks, maybe somebody here can help me.

I have 2 files. File A and File B. File A contains URLs leading to files on the Internet, with one URL per line; The format of the URLs on each line in...
18,488
Posted By o0110o
Thanks for all your input people :) Here's...
Thanks for all your input people :)

Here's what I have so far:

{This part downloads photos based on the users query, in this case "Apples". The URLs which are access during the download process...
1,397
Posted By o0110o
Help with watermarking photos downloads with corresponding URLs
Hi Everybody :)

Once again I seek the wisdom of the community:b:

I wish to accomplish a task on the command line that involves watermarking download photos with the URL that they originated...
18,488
Posted By o0110o
Thanks for your feedback alistar :) Maybe you can...
Thanks for your feedback alistar :) Maybe you can answer this one for me: How would I go about printing the url of a particular photo onto that photo (ie. watermark) as soon as its downloaded? I have...
18,488
Posted By o0110o
Okay, so far so good. Thanks for the tip. All I...
Okay, so far so good. Thanks for the tip. All I need to do now is figure out how I can automatically replace the filenames with their respective url addresses; is this somehow possible using grep or...
18,488
Posted By o0110o
Thanks for your response :) Will -O replace all...
Thanks for your response :) Will -O replace all the downloaded files filenames with their corresponding original url addresses?
18,488
Posted By o0110o
Help with WGET and renaming downloaded files :(
Hi everybody, I would greatly appreciate some expertise in this matter. I am trying find an efficient way to batch download files from a website and rename each file with the url it originated from...
Forum: Web Development 03-04-2010
3,710
Posted By o0110o
I agree with TonyLawrence, Wordpress is a good...
I agree with TonyLawrence, Wordpress is a good place to start, and there are many free photography themes available. If you need an inexpensive web host, try 000webhosting, they are free. Also you...
Forum: Web Development 02-24-2010
2,969
Posted By o0110o
I've made some progress :) ...
I've made some progress :)

http://img696.imageshack.us/img696/1...reenshotle.png

Here is the code:

<?php

define('SORT', '&sort=relevance&per_page=5');
define('QUERY_0',...
Forum: Web Development 02-22-2010
2,969
Posted By o0110o
Help with Flickr Geolocation script!
Hi everybody, it's me again http://phpbuilder.com/board/images/smilies/smile.gif
I'm currently working on a script that will show a website visitor pictures of their location. The pictures come...
13,512
Posted By o0110o
I just updated the URL to the demo. Try it now :)
I just updated the URL to the demo. Try it now :)
13,512
Posted By o0110o
This works: <?php define('QUERY_0',...
This works:

<?php

define('QUERY_0', 'http://api.hostip.info/get_html.php?ip=');
define('QUERY_1', 'http://www.google.com/ig/api?weather=');

function getWeather() {

if...
13,512
Posted By o0110o
This works: <?php function getWeather()...
This works:

<?php

function getWeather() {

if (!empty($_SERVER['HTTP_CLIENT_IP']))
{
$ip = $_SERVER['HTTP_CLIENT_IP'];
} elseif...
13,512
Posted By o0110o
Thanks! ---------- Post updated at 04:25 PM...
Thanks!

---------- Post updated at 04:25 PM ---------- Previous update was at 04:07 PM ----------



So I take it I somehow have to replace get_file_contents with something like this:

//...
3,424
Posted By o0110o
Thanks!
Thanks!
3,424
Posted By o0110o
Can I install GeoIP in RED HAT Linux? My server...
Can I install GeoIP in RED HAT Linux? My server runs RED HAT.
13,512
Posted By o0110o
Nice, curl() sounds good. So how would I...
Nice, curl() sounds good. So how would I implement curl()?
Do I just replace "get_file_contents" with "curl()"?
Showing results 1 to 25 of 35

 
All times are GMT -4. The time now is 07:43 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy