473,320 Members | 1,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

External files

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

Sep 20 '07 #1
3 1278
In our last episode,
<11**********************@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 <http://larseighner.com/ <http://myspace.com/larseighner>
Countdown: 488 days to go.
What do you do when you're debranded?
Sep 20 '07 #2
On 20 Sep, 10:57, Lars Eighner <use...@larseighner.comwrote:
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 <http://larseighner.com/ <http://myspace.com/larseighner>
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

Sep 20 '07 #3

"UKuser" <sp********@yahoo.co.ukwrote in message
news:11*********************@r29g2000hsg.googlegro ups.com...
On 20 Sep, 10:57, Lars Eighner <use...@larseighner.comwrote:
>In our last episode,
<1190279583.798638.170...@o80g2000hse.googlegroup s.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 <http://larseighner.com/>
<http://myspace.com/larseighner>
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
Sep 20 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Erohsik | last post by:
I am using external tables to load data from the data file. But the log files are getting created in the datafile's directory (because of CREATE OR REPLACE DIRECTORY ...) But I want those log...
1
by: Aravind | last post by:
we have two files: 1. rc4.c (defines one function "create_pin()") 2. MyImpl.c(calling the function "create_pin()"),This implements JNI method. 1.When I am trying to create .dll file with one...
10
by: Pasquale | last post by:
hello wverybody... i've got a terrible matter with JS my browsers (either IE and NN) load the external scripts uncorrectly...they load the files from the half part of them and not from the...
19
by: J. J. Farrell | last post by:
After many years of dealing with definition and linkage issues in ways that I know to be safe, I've decided it's time to try to understand this area properly. Consider a header file with the file...
1
by: Laszlo | last post by:
Hi all, As a novice I installed PostgreSQL 7.2.1 on Win32 and works, Borland C++Builder Enterprise Suite 5.0 (build 12.34) what works too. I decided to combine these two programs and develop a...
6
by: Olivier Lechenne | last post by:
I am converting some projects from VS 6.0 to VS .NET 2003 and I get a linker error error LNK2001: unresolved external symbol ___security_cookie or error LNK2001: unresolved external symbol...
3
by: eieiohh | last post by:
MySQL 3.23.49 PHP 4.3.8 Apache 2.0.51 Hi All! Newbie.. I had a CRM Open Source application installed and running. Windows Xp crashed. I was able to copy the contents of the entire hard...
2
by: f rom | last post by:
----- Forwarded Message ---- From: Josiah Carlson <jcarlson@uci.edu> To: f rom <etaoinbe@yahoo.com>; wxpython-users@lists.wxwidgets.org Sent: Monday, December 4, 2006 10:03:28 PM Subject: Re: ...
2
by: =?Utf-8?B?YmFzaA==?= | last post by:
Hello, I am compiling a CPP code using Visual studion .net 2003. I get the following error, despite having windldap.h and wldap32.dll in my include and lib paths. Here is the error. uuid.lib...
0
by: =?Utf-8?B?S2VsbHk=?= | last post by:
Each fall and winter I deal witht he same problem. When the daylight savings time comes into effect the time stamp for files on my external portable hard drive are 1 hour out from the time stamps...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.