RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
[snip] > ... > $block=new Block($header,$content,$link,$andsuch); > $block->display(); > ... [/snip] That's very cool... Thank you... alex hogan * The contents of this e-mail and any files transmitted with it a

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
Hi Alex, In that case, make your include file local; don't use the URL, use a relative path to the file. Make the include file have a function you can call or be an object you can instantiate. ex: block.php ... direct html output here ... and a variable output such as and some more html, blah b

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
Thanks James, > I'm going on the assumption that since you're using a URL > parameter in the include, you have fopen_wrappers enabled, Yes > and the URL is external to your current site. Otherwise you'd > just be doing a file system based include. No, the url is on my site... I have a file

RE: [PHP] Limitation to URL params on Include()?

2004-07-14 Thread James Harrell
eneral list Subject: [PHP] Limitation to URL params on Include()? Hi All, Is there a limit to the number of url parameters(other than the 256 limit) that you can have on a file that you are including? I have a file that I'm calling.., include('http://mydomain.com/block_display.php?i

[PHP] Limitation to URL params on Include()?

2004-07-14 Thread Alex Hogan
Hi All, Is there a limit to the number of url parameters(other than the 256 limit) that you can have on a file that you are including? I have a file that I'm calling.., include('http://mydomain.com/block_display.php?id=1&ttl=1011&cnt=268&lnk =129&prv=202'); where the parameter values are record s