Search found 5 matches
- Tue Jun 02, 2009 4:04 pm
- Forum: PHP - Code
- Topic: Optimized php executing many sql commands
- Replies: 2
- Views: 229
Re: Optimized php executing many sql commands
You might get more help by 1. describing your algorithms briefly in words, and/or 2. posting in the "code critique" board.
- Tue Jun 02, 2009 4:02 pm
- Forum: PHP - Code
- Topic: getting absolute addresses: am i oversimplifying?
- Replies: 1
- Views: 118
Re: Help writing site crawler
Ok, another way of phrasing it:
Am I oversimplifying by saying that either I assume the base of the relative url's to be the same as the page I am currently reading, OR there is a specified base address using the <base href=....> tag?
Thank you.
Am I oversimplifying by saying that either I assume the base of the relative url's to be the same as the page I am currently reading, OR there is a specified base address using the <base href=....> tag?
Thank you.
- Tue Jun 02, 2009 3:38 pm
- Forum: PHP - Code
- Topic: getting absolute addresses: am i oversimplifying?
- Replies: 1
- Views: 118
getting absolute addresses: am i oversimplifying?
Ok, so: I can use cURL to get the contents of a page. I can use regexps to get a list of links. For an arbitrary page, what is the most general way to fill out relative links? Like, going from "about.html" to "www.site.com/about.html" when I am currently reading "www.site.co...
- Mon Jun 01, 2009 1:15 pm
- Forum: PHP - Code
- Topic: Retrieving data member names from a PHP Object
- Replies: 2
- Views: 156
Re: Retrieving data member names from a PHP Object
thanks - exactly what i was looking for.
- Mon Jun 01, 2009 12:48 pm
- Forum: PHP - Code
- Topic: Retrieving data member names from a PHP Object
- Replies: 2
- Views: 156
Retrieving data member names from a PHP Object
Hi, So, if I have an object of the form: stdClass Object ( [1909] => 1 [1950] => 1 [1977] => 1 [1982] => 2 [1984] => 1 [1986] => 1 .... How do I get a list of the data member names (like "1909, 1950, etc"). Note , they may be dates here, but are ARBITRARY. completely. I ask because I have ...