Ok, I've found a website they have new page every weeks...
for example this week they have:
www.../index.php?diarystamp=20051107
and last they have
www.../index.php?diarystamp=20051102
Understand what I mean?
Im pretty sure about this that 2005 is year, 11 month but what other digits is I don't know. and it's not date.
It's an TV program. they will post new every week, and the show goes every saturday.
so they post every sunday or monday. and this satuday isn't 07... so what can that be?
and I want to find all site with
index.php?diarystamp=20051102
(other site similar to this of course maybe like index.php?diarystamp=20051109
please help me... hope you all understand what I mean.
I need help with (index.php?diarystamp=20051011)
Started by Annihilator, Nov 10 2005 09:33 AM
8 replies to this topic
#1
Posted 10 November 2005 - 09:33 AM
#2
Posted 10 November 2005 - 04:33 PM
Maybe those other 2 digits are the day. 
Thats all I could think of. I hope that helps you, otherwise, I don't understand what you were asking.
Thats all I could think of. I hope that helps you, otherwise, I don't understand what you were asking.
#3
Posted 10 November 2005 - 08:06 PM
nope other 2 digits is not day...
example:
http://www.pixel2lif...hp?showforum=13
this is a forum to P2L Articles (ok it ends with 13, index.php?showforum=13)
and community buzz
http://www.pixel2lif...hp?showforum=41 (ends with 41)
understand what I mean? it's include or something huh? so that site I've wan to know use similar function like this, with index.php?showforum=whatever
know what I mean? I want to find all website connected to index.php?=showforum=whatever
and maybe there is index.php?=showforum=whatever2, index.php?=showforum=whatever3, index.php?=showforum=whatever4 etc know what I mean?
example:
http://www.pixel2lif...hp?showforum=13
this is a forum to P2L Articles (ok it ends with 13, index.php?showforum=13)
and community buzz
http://www.pixel2lif...hp?showforum=41 (ends with 41)
understand what I mean? it's include or something huh? so that site I've wan to know use similar function like this, with index.php?showforum=whatever
know what I mean? I want to find all website connected to index.php?=showforum=whatever
and maybe there is index.php?=showforum=whatever2, index.php?=showforum=whatever3, index.php?=showforum=whatever4 etc know what I mean?
#4
Posted 10 November 2005 - 09:28 PM
On this link
http://www.pixel2lif...hp?showforum=13
The 13 is the "id" in the MySQL table that the script runs and makes the forum. PHP gets the id and makes the forum.
http://www.pixel2lif...hp?showforum=13
The 13 is the "id" in the MySQL table that the script runs and makes the forum. PHP gets the id and makes the forum.
#5
Posted 10 November 2005 - 10:09 PM
From what i can understand of that, you want to find EVERY diary entry on that site.
To do so, you'll have to either have database access on their server, or a pre-made script by them on their server to do it for you.
Go talk to the owner of the site you want to do that at.
To do so, you'll have to either have database access on their server, or a pre-made script by them on their server to do it for you.
Go talk to the owner of the site you want to do that at.
#6
Posted 11 November 2005 - 10:08 AM
Write a script to generate through all numbers
ie: 20050520 then regex it to see if its what you want.
if it is, retrieve it to a database o.o
ie: 20050520 then regex it to see if its what you want.
if it is, retrieve it to a database o.o
#7
Posted 13 November 2005 - 08:42 PM
halobreak, on Nov 11 2005, 03:08 PM, said:
Write a script to generate through all numbers
ie: 20050520 then regex it to see if its what you want.
if it is, retrieve it to a database o.o
ie: 20050520 then regex it to see if its what you want.
if it is, retrieve it to a database o.o
#8
Posted 13 November 2005 - 09:41 PM
use $_SERVER['PHP_SELF']; to find the url, parse out the unneeded stuff, loop through increments of one until you get to 31 or 30 and change the month value..
#9
Posted 13 November 2005 - 09:53 PM
Halo, this guy apperently doesn't know much about PHP, so i doubt he even understood half of what you said. So next time be more informative.
For instance.
$_SERVER['PHP_SELF'] would only need parsing if he needed to change the file, $_SERVER['REQUEST_URI'] would give the full url, query string and all (then it would need parsing).
http://php.net/manua...tern.syntax.php (form of regex i like to use).
http://php.net/manua...nction.glob.php (function i'd recommend if you want to look through a list of files).
Although, theres 1 problem he has yet to provide any info about.
Is this on your server, or somebody elses? This is something that will determine whether or not you're even allowed to do anything. If it's not, don't worry about what i've just said.
If it is on your server, then i'd recommend using mySQL, since that is what i'm betting that diarystamp thing uses (and what i know the forums use).
http://php.net/manua...mysql-query.php
http://dev.mysql.com.../en/select.html
For instance.
$_SERVER['PHP_SELF'] would only need parsing if he needed to change the file, $_SERVER['REQUEST_URI'] would give the full url, query string and all (then it would need parsing).
http://php.net/manua...tern.syntax.php (form of regex i like to use).
http://php.net/manua...nction.glob.php (function i'd recommend if you want to look through a list of files).
Although, theres 1 problem he has yet to provide any info about.
Is this on your server, or somebody elses? This is something that will determine whether or not you're even allowed to do anything. If it's not, don't worry about what i've just said.
If it is on your server, then i'd recommend using mySQL, since that is what i'm betting that diarystamp thing uses (and what i know the forums use).
http://php.net/manua...mysql-query.php
http://dev.mysql.com.../en/select.html
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
