There's no need to 'pass' any variables.
HINT: pretend the include() command is being replaced with the code in your include
file,
this means that whatever variables are set/available at that point will also be
available in the include.
On Mon, 28 Jan 2002 18:54:02 -0800, Evansville Scene wro
Hello,
In addition to Henning Sprang's fine solutions, you can also do the following (given
you use PHP 4);
$xmp_text
EOF;
?>
Note that the {} around your variables are optional, they will not be included in the
output but can be used to avoid confusion.
greets,
bvr.
On Wed, 9 Ja
anyway, if you would really like to do this you could use output buffering function to
send
headers from anywhere in your script, ofcourse delaying output.
check the manual part LXXII. Output Control Functions ..
bvr.
On Fri, 4 Jan 2002 22:37:13 -0500, Brian Clark wrote:
>* harry ([EMAIL P
>Thanks for the reply but leave the "duh's!" out of comments please.
I'll think about it ;)
bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL P
Hi,
You could use register_shutdown_function() which should be called before the script
ends (duh!).
Define a function for your process and pass it's name to register_shutdown_function() .
bvr.
On Wed, 2 Jan 2002 15:14:59 -0600, charlesk wrote:
>This works almost. Instead of having echo
On Wed, 2 Jan 2002 14:11:39 -0700, Matthew Walker wrote:
>Can anyone give me a pointer on where to go to find out how to send
>cookies through images, preferably in PHP?
To do this you will have to point the HREF in your IMG tag to a PHP script.
>From that script you should do this:
- Pass t
Or use a commercial fax service, this may even be cheaper!
http://www.jfax.com/ offers email to fax.
bvr.
On Mon, 24 Dec 2001 12:26:54 -0800, Jim Lucas [php] wrote:
>hylafax
>I am working on a project right now to set this up on a linux box. Should
>work great.
>
>Jim
--
PHP General Ma
and restart ofcourse ;)
bvr.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
For XML use parser: http://www.php.net/manual/en/ref.xml.php
PHP in .xsl file is possible, edit your httpd.conf
find this line:
AddType application/x-httpd-php .phtml .php .php3
and add extensions that should be parsed by PHP, like so:
AddType application/x-httpd-php .phtml .php .php3 .xsl
b
No not CGI, binary (instead of apache module).
- Just leave out the --with-apache part when you do configure.
by default 'make install' will put the php binary in /usr/local/bin
- On top of your PHP script add the following line:
#!/usr/local/bin/php
- Make sure you don't use MS-DOS (but UNI
set_magic_quotes_runtime (false)
bvr.
On Thu, 20 Dec 2001 09:43:28 +1100, Martin Towell wrote:
>either set "magic_quotes_gpc" to "off" in you .ini file - or use
>stripslashes() on the variable
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
I don't know!
But if you're only accesing the cookie from PHP you could use
serialize()/unserialize()
or *sessions*, they both work even on full objects.
bvr.
On Mon, 17 Dec 2001 16:30:28 -0700, Zach Curtis wrote:
>What is the syntax to set multiple name=value pairs in a cookie?
>
>Thanks.
scripts like this are widely available.
check: sourceforge.net/projects/phpfilemanager/
bvr.
On Mon, 17 Dec 2001 14:55:48 -0800, Jeremiah Jester wrote:
>Anyone have a php directory listing script that creates clickable links for
>all items in folder list?
>
>JJ
--
PHP General Mailing L
Hi Bas!
SSH is possible but complicated.
For telnet, simply use fsockopen() (default telnet port is 23).
This returns a filepointer so you can read/write like as a regular file.
greets,
Bas van Rooijen
On Mon, 17 Dec 2001 17:28:04 +0100, Bas van Schaik wrote:
>Hello everybody!
>
&
Oh, one more thing.. The latest MSIE suddenly doesn't seem to support the function to
be named 'selection' . change that and it'll work ;)
bvr.
>
>
>I know *exactly* what you mean, the solution (took me at least an hour) is attached.
>
>have fun,
>bvr.
>
--
PHP General Mailing List (http:
I know *exactly* what you mean, the solution (took me at least an hour) is attached.
have fun,
bvr.
On Mon, 17 Dec 2001 17:54:42 +, Shane Wright wrote:
>Hi
>
>I'm having somewhat of a problem :(
>
>I have my banks of checkboxes, all named 'mycheckbox[]' with the values as
>different IDs.
Small comment:
No need to use urldecode() here, as the data is automatically decoded during submit.
greets,
bvr.
On Mon, 17 Dec 2001 17:11:33 +0100, Jan Maska wrote:
>I take it back.. after some time of tracing the error, I found out that I
>handed over the date as a string argument (img src
PHP 4.1.0 :
$_SERVER["REDIRECT_URL"] and
$_SERVER["REDIRECT_STATUS"]
PHP 4.0.6 and earlier:
$HTTP_SERVER_VARS["REDIRECT_URL"] and
$HTTP_SERVER_VARS["REDIRECT_STATUS"]
greets,
bvr.
On Mon, 17 Dec 2001 14:27:45 GMT, [EMAIL PROTECTED] wrote:
>
>I have a php docum
18 matches
Mail list logo