External files
am 20.09.2007 11:13:03 von UKuser
Hi,
I'm sending users an email with a form button which opens up one of my
pages which I'm hosting on my website. However when I go to include()
the files necessary for the PHP page to run it won't work.
Is there a way to include files outside the server by using an include
or alternative statement? I.e. include("http://www.mysite.co.uk/
functions.php")??
Thanks
A
Re: External files
am 20.09.2007 11:57:50 von Lars Eighner
In our last episode,
<1190279583.798638.170900@o80g2000hse.googlegroups.com>, the lovely and
talented UKuser broadcast on comp.lang.php:
> Hi,
> I'm sending users an email with a form button which opens up one of my
> pages which I'm hosting on my website. However when I go to include()
> the files necessary for the PHP page to run it won't work.
I'm not sure I understand this. Why would they need any php files?
Why wouldn't a plain old HTML file work (assuming they have a mail client
that will use a web browser on an HTML file).
> Is there a way to include files outside the server by using an include
> or alternative statement? I.e. include("http://www.mysite.co.uk/
> functions.php")??
> Thanks
> A
--
Lars Eighner
Countdown: 488 days to go.
What do you do when you're debranded?
Re: External files
am 20.09.2007 12:12:02 von UKuser
On 20 Sep, 10:57, Lars Eighner wrote:
> In our last episode,
> <1190279583.798638.170...@o80g2000hse.googlegroups.com>, the lovely and
> talented UKuser broadcast on comp.lang.php:
>
> > Hi,
> > I'm sending users an email with a form button which opens up one of my
> > pages which I'm hosting on my website. However when I go to include()
> > the files necessary for the PHP page to run it won't work.
>
> I'm not sure I understand this. Why would they need any php files?
> Why wouldn't a plain old HTML file work (assuming they have a mail client
> that will use a web browser on an HTML file).
>
> > Is there a way to include files outside the server by using an include
> > or alternative statement? I.e. include("http://www.mysite.co.uk/
> > functions.php")??
> > Thanks
> > A
>
> --
> Lars Eighner
> Countdown: 488 days to go.
> What do you do when you're debranded?
Hi Lars,
Sorry for the confusion. I've decided to use a link rather than a
button which opens the page properly.
Basically I had a submit button in the email - opened in Outlook -
click submit - but Outlook opens a temporary internet file rather than
the actual page. As a result, I wanted to build the temporary internet
file on the users computer but couldnt include the full links to the
files required.
Thanks though.
A
Re: External files
am 20.09.2007 20:20:02 von Shelly
"UKuser" wrote in message
news:1190283122.563250.59770@r29g2000hsg.googlegroups.com...
> On 20 Sep, 10:57, Lars Eighner wrote:
>> In our last episode,
>> <1190279583.798638.170...@o80g2000hse.googlegroups.com>, the lovely and
>> talented UKuser broadcast on comp.lang.php:
>>
>> > Hi,
>> > I'm sending users an email with a form button which opens up one of my
>> > pages which I'm hosting on my website. However when I go to include()
>> > the files necessary for the PHP page to run it won't work.
>>
>> I'm not sure I understand this. Why would they need any php files?
>> Why wouldn't a plain old HTML file work (assuming they have a mail client
>> that will use a web browser on an HTML file).
>>
>> > Is there a way to include files outside the server by using an include
>> > or alternative statement? I.e. include("http://www.mysite.co.uk/
>> > functions.php")??
>> > Thanks
>> > A
>>
>> --
>> Lars Eighner
>>
>> Countdown: 488 days to go.
>> What do you do when you're debranded?
>
> Hi Lars,
>
> Sorry for the confusion. I've decided to use a link rather than a
> button which opens the page properly.
>
> Basically I had a submit button in the email - opened in Outlook -
> click submit - but Outlook opens a temporary internet file rather than
> the actual page. As a result, I wanted to build the temporary internet
> file on the users computer but couldnt include the full links to the
> files required.
>
> Thanks though.
>
> A
Why not have the button effect a link to the real page?
Shelly