Re: [PHP] php parsing and db content

2006-05-10 Thread Chris
Schalk wrote: Greetings All, I have the following problem. I load certain links and breadcrumbs from the database into a external .php file which I include on various pages within the site. Due to this I have defined a constant '_root' and precede all links with this to ensure that the links

Re: [PHP] php parsing and db content

2006-05-10 Thread Chris
Chris wrote: Schalk wrote: Greetings All, I have the following problem. I load certain links and breadcrumbs from the database into a external .php file which I include on various pages within the site. Due to this I have defined a constant '_root' and precede all links with this to ensure

Re: [PHP] php parsing and db content

2006-05-10 Thread Schalk
Chris wrote: Chris wrote: Schalk wrote: Greetings All, I have the following problem. I load certain links and breadcrumbs from the database into a external .php file which I include on various pages within the site. Due to this I have defined a constant '_root' and precede all links with

[PHP] getting $_GET params from iFrame window to parent

2006-05-10 Thread blackwater dev
Hello all, I have a small site which provides search functionalities. My search sites are framed in my clients sites via iframe. I have a client who would like to put the search form somewhere else on their site (it is currenly all on my page within the iframe) and then call their search page

Re: [PHP] php parsing and db content

2006-05-10 Thread Schalk
Chris wrote: Chris wrote: actually if it's only one variable, this might do it for you: $content = str_replace('?php echo _root ?', _root, $content); but that's still a bad way to do this. Chris, This works: $breadcrumb = $row_pathway['pathway']; $breadcrumb = str_replace('?php echo

Re: [PHP] file Upload - checking file size before uploading

2006-05-10 Thread Wolf
True, but it checks it at the first attempt to upload, not when the file is done or partially uploaded. Granted, not what the OP asked for exactly, but better then what he has now and better then spending more time looking... Wolf Chris wrote: Wolf wrote: In your form uploading script: #

Re: [PHP] php parsing and db content

2006-05-10 Thread Chris
Schalk wrote: Chris wrote: Chris wrote: actually if it's only one variable, this might do it for you: $content = str_replace('?php echo _root ?', _root, $content); but that's still a bad way to do this. Chris, This works: $breadcrumb = $row_pathway['pathway']; $breadcrumb =

<    1   2