Hi,
how can I use the "External PHP Application" plugin? I've created a new directory called "php" inside the s9y directory and copied an index.php into it.
I've set:
Permalink: /index.php?/static/test.html
URL shorthand name: phpname
File to include /is/htdocs/60841/www.mydomain.de/blog//php/index.php
But nothing happens. How can I call this page?
cu,
Roaster
External PHP Application
Answering myself: I got this running.
I wanted to add a formmailer script which is running more or less perfect. I've got a simple problem:
Using the action like above possibly detected errors within the form aren't displayed anymore. When using
it works perfectly.
Now, how do I get rid of this long path in the last coding? I've tried to use but the variable is empty!.
Any hints?
cu,
Roaster
I wanted to add a formmailer script which is running more or less perfect. I've got a simple problem:
Code: Select all
<form class="formular" action="index.php" method="post">Code: Select all
http://localhost/serendipity/index.php?serendipity[subpage]=contactNow, how do I get rid of this long path in the last coding? I've tried to use
Code: Select all
<?php echo $PHP_SELF ; ?>Any hints?
cu,
Roaster
Answering meyself agin 
I've checked the recommended way to get global vars using
However I got back this path/file:
My script is saved into "/serendipity/php/index.php". So the problem still exists: Is there a simple way to get the current loaded file?
cu,
Roaster
I've checked the recommended way to get global vars using
Code: Select all
<h1><?php echo $_SERVER[PHP_SELF] ; ?></h1>Code: Select all
/serendipity/index.phpcu,
Roaster
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Use
Regards,
Garvin
Code: Select all
$_SERVER['REQUEST_URI']Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/