G
Gauthier
hi there...i'm using fp 2000, and i am a total notive...i want to add
'tell-a-friend' script to my page...
i have been all over the web...and there is TONS out there...but i'm just
not versed enough to know how to add it...
there's alot out there in .php format - i confirmed w/ my host that they do
support php...i notice there's some scripts in .asp too
which one is better? i'm terribly confused.
anyway - i downloaded some .php tell a friend script, however, am working to
resolve the following error:
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden
This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
executed.
Contacted my host and they said that i had to make sure that all the PHP
content was in the _cgi directory.
I have 3 .php files (config.php, friend.php, stylesheet.php) so i tried
moving them over to the _cgi directory and rec'd the following error:
SERVER ERROR
The folder "/_cgi/sendpage" is marked executable. You are not allowed to put
files into an executable folder on the server.
And since i've gone this far, i might as well let u know that i have a
(image) link on my default.htm folder which links to these files.
i've entered the following code (as per the instructions that came with the
script) in between the <head> tags of my default.htm page:
<script>
//Popup Window Script © CJ Website Design
function popUp(url){
window.open(url,"pop","width=650,height=500,toolbars=0,scrollbars=1")
}
</script>
and i've also added the following script (as per the instructions that came
with the script) in the body of my default.htm page:
<script language = "JavaScript">
<!--
document.write("<a href=\"javascriptopUp('sendpage/friend.php?id="
+document.URL);
document.write("&js=on');\"><img src=\"images/tell_a_friend4.gif\" alt=Tell
A Friend! border=0></p>");
//-->
</script>
appreciate your assistance!
thanks..sandi
'tell-a-friend' script to my page...
i have been all over the web...and there is TONS out there...but i'm just
not versed enough to know how to add it...
there's alot out there in .php format - i confirmed w/ my host that they do
support php...i notice there's some scripts in .asp too
which one is better? i'm terribly confused.
anyway - i downloaded some .php tell a friend script, however, am working to
resolve the following error:
HTTP Error 403
403.1 Forbidden: Execute Access Forbidden
This error can be caused if you try to execute a CGI, ISAPI, or other
executable program from a directory that does not allow programs to be
executed.
Contacted my host and they said that i had to make sure that all the PHP
content was in the _cgi directory.
I have 3 .php files (config.php, friend.php, stylesheet.php) so i tried
moving them over to the _cgi directory and rec'd the following error:
SERVER ERROR
The folder "/_cgi/sendpage" is marked executable. You are not allowed to put
files into an executable folder on the server.
And since i've gone this far, i might as well let u know that i have a
(image) link on my default.htm folder which links to these files.
i've entered the following code (as per the instructions that came with the
script) in between the <head> tags of my default.htm page:
<script>
//Popup Window Script © CJ Website Design
function popUp(url){
window.open(url,"pop","width=650,height=500,toolbars=0,scrollbars=1")
}
</script>
and i've also added the following script (as per the instructions that came
with the script) in the body of my default.htm page:
<script language = "JavaScript">
<!--
document.write("<a href=\"javascriptopUp('sendpage/friend.php?id="
+document.URL);
document.write("&js=on');\"><img src=\"images/tell_a_friend4.gif\" alt=Tell
A Friend! border=0></p>");
//-->
</script>
appreciate your assistance!
thanks..sandi