Re: [PHP] Re: Can this be done?

2009-05-05 Thread Miller, Terion
On 5/5/09 8:31 AM, php news feed maarte...@scullix.co.za wrote: post the script, and example of data Miller, Terion tmil...@springfi.gannett.com wrote in message news:c6259e7b.e91%kmille...@springfi.gannett.com... Ok I have a script that grabs data from a page and puts it in a db, I need to

Re: [PHP] Re: Can this be done?

2009-05-05 Thread Maarten Schalekamp
can try the foreach, put all the urls in one array something like this might work: ?php include(inc/dbconn_open.php); include(inc/dom.php); error_reporting(E_ALL); $TESTING = TRUE; $targets[] = http://www.greenecountymo.org/sheriff/warrants.php;; $targets[] =

Re: [PHP] Re: Can this be done?

2009-05-05 Thread Miller, Terion
On 5/5/09 8:47 AM, Maarten Schalekamp maarte...@scullix.co.za wrote: $targets[] = http://www.greenecountymo.org/sheriff/warrants.php;; $targets[] = http://www.greenecountymo.org/sheriff/page2.php;; $targets[] = http://www.greenecountymo.org/sheriff/page3.php;; foreach ($targets as

Re: [PHP] Re: Can it be Done?

2002-10-06 Thread Sascha Cunz
To produce such a JavaScript: define('_DOMBASE', 'http://yourdomain.com'); echo 'SCRIPT language=JavaScript type=text/javascript'.\n .'if (document.location == top.location)'.\n .' top.location='._DOMBASE.'/index.php?goto=' .base64_encode($_SERVER[REQUEST_URI]).';'.\n

Re: [PHP] Re: Can it be Done?

2002-10-06 Thread Adriano
I understand and thank you Sascha. Curiosity: why do you use the 'base64_encode' function to send querystring arguments? I'd rather used urlencode... Sascha Cunz [EMAIL PROTECTED] ha scritto nel messaggio [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... To produce such a JavaScript:

Re: [PHP] Re: Can it be Done?

2002-10-06 Thread Sascha Cunz
should be interchangeable. When i wrote this, i didn't want to show the real url up in browser, so i used base64 encoding. Sascha Am Sonntag, 6. Oktober 2002 23:52 schrieb Adriano: I understand and thank you Sascha. Curiosity: why do you use the 'base64_encode' function to send querystring