Request scripts

Status
Not open for further replies.


I still think it's an issue on your end, I created this test script below, it will test if you can connect to google.com via file_get_contents and curl.

It should output the google homepage twice.
 

Attachments

I still think it's an issue on your end, I created this test script below, it will test if you can connect to google.com via file_get_contents and curl.

It should output the google homepage twice.

Looks like youre right- it must be an issue on my site.

Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\test.php on line 6

Warning: file_get_contents(Google) [function.file-get-contents]: failed to open stream: No error in C:\wamp\www\test.php on line 6
Could not retrieve contents. (file get contents)error retrieving contents (curl).


I checked that one line in the php.ini file, can you think of another place to look?
 
I'm not sure, but I'll look around a bit. But first, are you sure your firewall isn't blocking the requests or anything like that?
 
I don't know if this is too complicated but an automated trackback script would be cool. If not then thanks anyway, your other script is great!
 
What do you mean by automated trackbacks, isn't that what pingbacks do?

Pingbacks allow you to notify a weblog of your entry just by posting its permalink directly in the content of your blog entry. No special trackback link necessary.

Anyway, I haven't done any wordpress coding so I don't know much about how to create a plugin for that, etc so I think this would be out of scope at the moment. Thanks anyway :)
 
Yeah it's the same thing, wordpress calls it a pingback, others call it a trackback.

It doesn't have to be from a blog/wordpress as many people try to *ahem* exploit tracbacks using scripts to link back to their site. Any blogs with unmoderated trackbacks can be used to gain links. It can just be a standalone php script.

Oh well I'll just have to get off my lazy ass to code one myself! :D

Now where did I put my copy of "Dummies Guide to php".... lol

Edit: Actually if anyone has a clue what I'm talking about do you have any pointers on how to get started with a trackback script? I know a bit of php but just need to know what to look out for etc.
 
It's not the same thing, as pingback automatically submits like you want it (it searches all links in your content) whereas for trackback you need to specify the trackback url yourself.

I suggest you download the wordpress code and try to find how they implement pingbacks/trackbacks. I'm not sure if other blog software uses the same mechanisms though (for pingbacks).

Another thing you might want to do is compile a list of the trackback formats that each blog software uses.
 
hehe i've hit a stonewall with this one...

search for trackback_cls.php

its a trackback class that someone wrote....

I wrote a script using this and outta 4,000 trackbacks that I harvested could only get 1 or 2 to go through successfully and I know that quite a few maybe invalid , but I should get more than 1 or 2...

Yeah it's the same thing, wordpress calls it a pingback, others call it a trackback.

It doesn't have to be from a blog/wordpress as many people try to *ahem* exploit tracbacks using scripts to link back to their site. Any blogs with unmoderated trackbacks can be used to gain links. It can just be a standalone php script.

Oh well I'll just have to get off my lazy ass to code one myself! :D

Now where did I put my copy of "Dummies Guide to php".... lol

Edit: Actually if anyone has a clue what I'm talking about do you have any pointers on how to get started with a trackback script? I know a bit of php but just need to know what to look out for etc.
 
Seems like a cool script doing exactly what you wanted :) Autodiscovery, etc.

What are the error messages you get?
 
Here's one you can try Wesley.

I want to scrape URLs from Google, Yahoo and MSN SERPs. Well, at least G but the others would be super if you could make it. (not all three at once but a way to select which SE to use)

I want to be able to put in a keyword or phrase and have the script output just the URLs of the sites returned. Not just the first page of results, all the results or a limit I could define... say 50,000 or 75,000 or whatever. (Maybe allowing a limit would be good since it might take days to pull in millions of results, eh?)

I need it to be capable of allowing the same sorts of simple searches as from the SEs pages, with boolean operators like quotation marks, +s and -s, etc.

Output could be to a plain text file or right to a web page where I could copy and paste the results. One URL per line. I have no need to save the info to a db or anything.

I have a similar script where I enter certain info into the script on my machine, upload it to my server then run it by going to that page on my site where it lives. Each time I want to make a change I have to modify the script and upload it. That would be fine with this script as well. Nothing fancy needed.

If you can do it, that would be great! Thanks for making the offer.
 
Doesn't seem very hard, I'll give it a crack after the weekend :)

I'll set it up to allow for proxies, since I'm sure you would be banned otherwise.
 
I figure I'll ask here... a script that saves emails to database with offer keyword and passes email to offer.

So you can make an email submit page, user enters email for offer, the script passes the information, and user continues to offer page if available etc.. you get email along with offer keyword for future use...

Thanks for offering this
 
can you make a script that would automatically submit your blog post in all social bookmarking sites? :D no need to input text. just once..
 
Status
Not open for further replies.