Search found 9 matches

by funsutton
Wed Aug 24, 2005 3:41 pm
Forum: PHP - Code
Topic: Google News RSS problem
Replies: 5
Views: 203

NEVERMIND

I got it working by using google's redirect:

http://www.google.com/url?sa=D&q=$url

It's great...I don't even have to change the referer. While it would still be cool to know how to do that, I don't need it now.

Thanks for the responses.

Brian
by funsutton
Wed Aug 24, 2005 2:06 pm
Forum: PHP - Code
Topic: Google News RSS problem
Replies: 5
Views: 203

Oh - I see - this is news ! What happens when you replace http://news.google.com with http://google.com or http://www.google.com ? not sure, but I can get it working with news.google.com. I just can't get it to go to the page....instead it just reads the page in as input. That's my problem. If I co...
by funsutton
Wed Aug 24, 2005 1:38 pm
Forum: PHP - Code
Topic: Google News RSS problem
Replies: 5
Views: 203

Strange - google news has external links - not google links. These pages can be viewed if you simply enter them in the browser. I hope your link is something like this : http://news.google.com/news?q=php+development&format=xml&output=rss No, you don't understand. If you click one of google'...
by funsutton
Wed Aug 24, 2005 12:28 pm
Forum: PHP - Code
Topic: Google News RSS problem
Replies: 5
Views: 203

Google News RSS problem

I am parsing the news from google just fine, but I notice that when I click some of the links, if it doesn't think I am from google, it gives me a registration page. So, I am triyng to figure out how to send a custom referer when a user clicks a news link. What I have so far is: function getlink($li...
by funsutton
Mon Aug 22, 2005 8:53 pm
Forum: PHP - Code
Topic: PHP Logic problem
Replies: 2
Views: 503

PHP Logic problem

I am suffering from Brain-Block, and can't figure out how to code this. I'll try and keep my explaination short. What I am trying to do: I have a weather website and I am trying to display the last 3 searches the visitor has made, using cookies to read in and store the data. I want to make sure that...
by funsutton
Wed Jul 13, 2005 10:24 am
Forum: PHP - Code
Topic: Insert Statement error (with ms access db)
Replies: 1
Views: 252

Insert Statement error (with ms access db)

I get the following error message, and I don't understand where it is coming from. Can anyone help? Fatal error: Uncaught exception 'com_exception' with message 'Source: Microsoft JET Database Engine Description: Syntax error in INSERT INTO statement.' in F:\web\websites\fia\home\logger1.php:35 Stac...
by funsutton
Sun Jan 18, 2004 4:46 pm
Forum: Databases
Topic: while statment with 2 different db query's
Replies: 5
Views: 621

Yeah, that doesnt work either...a nested while statement will complete the inner one first and then do the outter one.
by funsutton
Sun Jan 18, 2004 12:49 pm
Forum: Databases
Topic: while statment with 2 different db query's
Replies: 5
Views: 621

Each query will work on their own. I did as you suggested, but it still only outputs the $datarow...

perhaps it isn't possible to do 2 while statements at the same time.
by funsutton
Sun Jan 18, 2004 12:02 pm
Forum: Databases
Topic: while statment with 2 different db query's
Replies: 5
Views: 621

while statment with 2 different db query's

I can only generate the $datarow['c'] and not the $row['Files']; Isn't there a way to do 2 while conditions at the same time? I need the result to be formatted in 2 separate columns. Thanks! <? include "dbconnect.php"; $query = "SELECT * FROM Briansutton_Files"; $result = mysql_q...