i 've win 2ks, php4,iis5.
i try to dev a upload program with a copy function.
when i test, i've an error:
Warning: Unable to create
'D:\users\Apache\www-serveurs\cgpme-54\htdocs\Infos': Permission denied in
D:\users\Apache\www-serveurs\cgpme-54\htdocs\scripts\actu.php on line 53
i 've put righ
Hello php-windows,
any body know how to do this ?
suppose there is a input number "12345678.23"
i want output to be like this "1,23,45,678.23"
i don't need output in international format...
that means not like this fomrmat "12,345,678.23"
(it is the format used in our country)
so this is what i d
To have the items auto-numberd so as to skip blank entries, use:
for ($i = 1; $i<6; $i++) {
print "\n";
}
then if on items 1,2 and 5 are filled in, you will have a array with just 3
elements in it.
"Mike Flynn" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED].
create a form which posts to itself and in the page have this:
if ($Submit=="Submit") { # where $Submit is the name of the submit button.
# do form validation/actions here
} else {
# display the form here
}
"Jeff Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMA
"Jeff Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm trying to get information from a URL in a way similar to utilizing GET
> in ASP. I know how to get information by submitting a form and going to a
> new page, but how can I use the form to stay
php-windows Digest 21 Aug 2001 23:09:21 - Issue 714
Topics (messages 8973 through 8983):
Re: Paths, Windows and PHP
8973 by: Craig Morrison
8977 by: Angie Tollerson
8979 by: Craig Morrison
Array
8974 by: Sichta Daniel
8978 by: Mike Flynn
Re: win2k i
I'm trying to get information from a URL in a way similar to utilizing GET
in ASP. I know how to get information by submitting a form and going to a
new page, but how can I use the form to stay on the same page, yet be able
to retrieve the information?
For example:
I start on http://www.mypage.
Hi all,
I am using cookie to write a counting page but when the page is refreshed,
it will increase by 1 automatically.
According to this problem, I used following lines but it doesn't work
--
header ("Expires: Mon, 26 J
The PHP use the C_style to access to the command line. So $argv[1] is the
first parameter, $argv[2] the second and so on...
$argc is the number of parameters.
Greatings
Darvin
> -Messaggio originale-
> Da: SereyVuth Hong [mailto:[EMAIL PROTECTED]]
> Inviato: martedì 21 agosto 2001 17.
Dir All,
I'm a new PHP, and using PWS4.0 + PHP4.0.6-dev.
It is nice to request (*.php) from browser.
But I want to run *.php thru MSDOS console,
so I try eg.
1/ c:\php>php -q -f hello.php => Hello
---hello.php---
I need to pass some arguments to hello.php,
but I do not know how to get the arg
The obvious solution to the problem is to have the installer take care of this
in the first place.
I would be _more_ than happy to help in this regard. I've spent a little time
doing this sort of thing and would be more than happy to help out.
What we need to remember is the point of view of th
Alternately, though I think the array solution is probably the most
durable, you could also do it as such:
for ($i = 1; $i<6; $i++) {
print "\n";
}
and then retrieve them as $test1 thru $test6, or if you want to use a loop
like this:
for ($i = 1; $i < 6; $i++) {
$thevariable = "test$i";
hehe...I think that was my original advice in the whole long email discussion that
stemmed this. (check Image Functions thread). The most straight forward and simple
solution for everyone is to just put all those files together in one place. But if
others want to go the more advanced route(w
Change your code in:
}
?>
You will obtain an array, named test, with 5 elements.
Bye
Darvin
> -Messaggio originale-
> Da: Sichta Daniel [mailto:[EMAIL PROTECTED]]
> Inviato: martedi 21 agosto 2001 15.15
> A: [EMAIL PROTECTED]
> Oggetto: [PHP-WIN] Array
>
>
> Hi there !!
> cfg: php
[Tue Aug 21 20:52:45 2001] [error] [client 192.168.1.2] Invalid URI in
request POST /project/hello.php HTTP/1.1
my apache config like Darren's
What's my problem?
"Julie Meloni" <[EMAIL PROTECTED]> ?
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> DA> This is my exact configuration, in my htt
Hi there !!
cfg: php4.0.4pl1, w2k, apache 1.3.20
Situation:
}
?>
This is all in one form. How can I get all five values of test from this
kind of code ?
DAN
Ideally yes.
But changing the PATH envinroment variable is a much cleaner solution than
copying files all over the place.
Phil Driscoll wrote:
>
> Surely the ideal solution to this problem is to have php.exe php4ts.dll and
> all the other dlls in the same directory (e.g. c:\php) then there's
php-windows Digest 21 Aug 2001 10:26:26 - Issue 713
Topics (messages 8967 through 8972):
php and http authentication
8967 by: Erick Baum
8968 by: Alain Samoun
Mutiline read as Sigle Line!
8969 by: Jack
8970 by: Michael Rudel
Re: Paths, Windows and PHP
Hello php-windows,
any body know how to do this ?
suppose there is a input number "12345678.23"
i want output to be like this "1,23,45,678.23"
i don't need output in international format...
that means not like this fomrmat "12,345,678.23"
(it is the format used in our country)
so this is what i d
Surely the ideal solution to this problem is to have php.exe php4ts.dll and
all the other dlls in the same directory (e.g. c:\php) then there's no
messing around with paths?
Cheers
--
Phil Driscoll
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
Hi Jack,
... look at the generated html-code, you will read:
This is a test!
and this is not a joke!
But since html doesn't display \r\n you have to use
the php-function nl2br.
Greetinx,
Mike
Michael Rudel
- Web-Development, Systemadministration -
Besuchen Sie uns am 20. und 21. August 200
Dear all
I had a page which let user to input a long description into it! and had
wrote a script which will "fputs" the user input content to content.txt!
When i open the content.txt, it is shown below:
This is a test!
and this is not a joke!
which is fine , because it display as how the user ty
22 matches
Mail list logo