Hi!
So...
A)
?php
define(INPUT_FILE, test.abc); //Input file
$if = fopen(INPUT_FILE, r) or Die(); //Open the input file
$of = fopen(INPUT_FILE..$$$, w) or Die(); //Open temporary file
FPutS($of, $yourdata); //Write data first
while (!FEof($if)) //Then...
Hi!
I've made a background image devoted to all people who are feeling the
pain with the people of United States Of America.
You can find it on:
http://maniax.host.sk/special/usa/images/120901_usbk.jpg.
The world's with you,
God Bless The USA!
m.
this all seems just fine to me, aren't you sending some Header:
Content-type -s?
could you post that init.php script source? and is that apache server
working well for other scripts that are called from the forms?
AND ... just to be sure,... are you calling that html which contains the
form
Dunno the original question, but this obviously should be escaped...
So the correct code follows...
usort($authors, create_function('$a,$b','
$a = str_replace(array(\'é\', \'a\'), array(\'e\', \'a\'), $a);
$b = str_replace(array(\'é\', \'a\'), array(\'e\', \'a\'), $b);
return
this is slightly changed function of yours, written for better
readability...
?php
$authors = array('élen', 'Élen', 'Elison', 'ámadeus', 'albert',
'alfred', 'amadeus', 'elen');
function usort_callback($a, $b) {
$a = strtolower($a); $b = strtolower($b);
$a = str_replace(array('á', 'é'),
Pardon me for the strtolower line, i've just forgot there... it's 4:30AM
here in Slovakia... :/
correct listing follows...
?php
$authors = array('élen', 'Élen', 'Elison', 'ámadeus', 'albert',
'alfred', 'amadeus', 'elen');
function usort_callback($a, $b) {
$a = str_replace(array('á', 'é'),
hello!
use output buffering...
?php
ob_start();
//... your code here
$_contents = ob_get_contents();
ob_end_clean();
?
regards,
m.
Maris wrote:
Hi!
Let's say my index.php consists of the following:
? include(header.inc); echo pPHP says Hello World/p; ?
pHTML says Hello World/p
? //..
I would do it this way:
- open the page and create hidden iframe (or frame with 0% width/height)
which will be refreshing itself every ... let's say ... 2 minutes...
then you'll get up to 2 minutes accurate numbers... the refreshed page
would write timestamp to database every refresh... when
endtime + 2 minutes will be written as endtime and
flags properly set to finished session ... and then start the new one...
and so on...
i hope i've explained it right :)
regards,
m.
Robb Kerr wrote:
On Mon, 19 Jul 2004 15:54:14 +0200, Miroslav Hudak wrote:
I would do it this way:
- open the page
Have you added the line with the hash mark (#) ??? if so, then it's
commented out... that's the first point.
The second one is, that when using Apache 2.0.50, you should use
php4apache2 module instead (I'm not ABSOLUTELLY sure of it, while for a
longer time using PHP5, but I hope, that
This could happpen when the file is open by another process,... then
file is deleted, but filename is still there until the file is not free
of any open filedescriptors... I don't know exactly what processes
happens in kernel when deleting the file, but it's something like
that... and it could
pictures in php pages. Path and picture is
correct but when i want see picture in php script picture don't show.
I use PHP4.3.4 on apache server 2.0.44 on Windopws 2000 Server.
Thanks for help.
--
Miroslav Hudak
developer designer
http://hudak.info
--
PHP General Mailing List (http://www.php.net
directly on remote
machines? I need a Unix program, preferably a FreeBSD port, but am happy
to compile something myself if it will work consistently or at least
give some kind of error message if it has difficulty, and not just hang.
TIA.
Peter.
--
Miroslav Hudak
developer designer
http
vos amis. A tlcharger gratuitement sur http://fr.messenger.yahoo.com
--
Miroslav Hudak
developer designer
http://hudak.info
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
didn't find a way to write the characters. I tested with
RewriteRule
^(([0-9]|[A-Z]|[a-z]|_| )+)$ redirect.php?$1 [L] but didn't work.
Thanks!
Rob
Did you try
RewriteRule ^([0-9A-Za-z_%]+)$ redirect.php?$1
?
--
Miroslav Hudak
developer designer
http://hudak.info
--
PHP General Mailing List
flexible
layout in the final presentation. the way I am having the text files
written, there is no way to get it to produce seperate text files -
otherwise this would be easy to do
Is this possible?
Thanks in advance!
Dustin
--
Miroslav Hudak
developer designer
http://hudak.info
--
PHP General
16 matches
Mail list logo