You could allways call a javascript when you submit the form. the javascript
could look something like this for calling two frames:
function loadFrames(form,frame1,page1,frame2,page2) {
var query = "?name=" + form.field1.value + "&email=" +
form.field2.value;
eval(\"parent.\"+frame1+\".l
Configure your webserver manually!!
Jochem
Jason Thibeault wrote:
I'm trying to install php 4.3.0 for Windows on a Win2k box with SP3.
Everything installs fine until the end where I get the folowing error:
"Due to a missing OCX control on your system, this installer is unable to
configure your
Thanks Frank,
The
$english_format_number = number_format($number);
line works a treat.
Cheers, Pat
"Frank M. Kromann" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
>
> http://php.net/number_format
>
> is what you are looking for.
>
> - Frank
>
> > Hi
> >
Why would you use a com object to do an md5 hash?
php has an inbuilt md5() function.
-Original Message-
From: Wayne [mailto:[EMAIL PROTECTED]]
Sent: Monday, 27 January 2003 8:37 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] How do i load my new activex dll?
hey ya,
I have made a new dll
I'm trying to install php 4.3.0 for Windows on a Win2k box with SP3.
Everything installs fine until the end where I get the folowing error:
"Due to a missing OCX control on your system, this installer is unable to
configure your webserver. But, PHP is now installed on your system. You can
manuall
http://php.net/number_format
is what you are looking for.
- Frank
> Hi
> I have a field in my MySQL database that's a decimal where I have
figures of
> millions without the decimal point -
>
> i.e - 150
>
> Is there a function in PHP to display this figure as a $ amount -
>
> i.e - $1,5
Hi
I have a field in my MySQL database that's a decimal where I have figures of
millions without the decimal point -
i.e - 150
Is there a function in PHP to display this figure as a $ amount -
i.e - $1,500,000
I searched PHP manual without finding anything. If there is something in
the manu
Don`t think so Wade, the posted data would be sent only to whateverB dot
com.
Which domain was going to respond to the user by the way? since only one
can, the other is purely for the collection of data presumably - have a look
at fopen() and fsockopen() in the manual, a solution might come to mi
Only possible with javascript as far as I now wherein you do the calcs or
validation at the browser end. Other possibility is a java applet but PHP
being server side does not have any inherent ability beyond ordinary html
at the users end. nothing to stop you using php to generate the
aforementi
php-windows Digest 28 Jan 2003 22:46:04 - Issue 1560
Topics (messages 18130 through 18157):
Re: parsing tricky text file
18130 by: George Pitcher
18131 by: George Pitcher
18132 by: J.Veenhuijsen
Re: Redirecting to index.php
18133 by: Jill.Ramonsky.Aculab.com
Yep - check out the mail() function which will do exactly that. If you are
developing on your own machine which may not be running a mail server,
configure php to use your ISP`s mail server.
- Original Message -
From: "Duncan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday,
Bryan Pal wrote:
--- "Asendorf, John" <[EMAIL PROTECTED]> wrote:
$floor_val = 6 * ((int) 15/6) // yielded 15 for
me... not what I was going
for.
This returned 15 for me, too.
But this does what you want:
$floor_val = 6 * floor(15/6)
es, sorry was my mistake, correct is:
$floor_val = 6*(
Jeez... that was too simple... I like my convoluted 15 line solution better!
(ok... just kidding!)
Much better than mine and much more efficient too. Thanks, John
-
John Asendorf - [EMAIL PROTECTED]
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY
--- "Asendorf, John" <[EMAIL PROTECTED]> wrote:
> $floor_val = 6 * ((int) 15/6) // yielded 15 for
> me... not what I was going
> for.
This returned 15 for me, too.
But this does what you want:
$floor_val = 6 * floor(15/6)
Cheers!
Bryan
> > -Original Message-
> > From: cybot [mailto:[E
Hi All,
Is it possible to create a page where visitors can for example submit their
email address and a list of their demands, then the page mails it to a
support address?
Would I have to use a mail server of any kind to send the emails?
Where could I find an example script that could do this?
Scratch that other one, came up with something quite a bit better for speed
on large numbers:
// Obviously only works with intergers (can be fixed but don't need to for
my application)
// Obviously only works where $input > $divisor
function alt_floor ( $input , $divisor ) {
if ( $input % $d
I'm not sure if you understood what I was trying to do... I went ahead a
wrote something... if there's something else out there I should use, let me
know:
//this only works for positive numbers where input > divisor (so far)!!
function alt_floor ( $input , $divisor ) {
if ( $input % $divi
just use
$floor_val = 6 * ((int) 15/6)
John Asendorf wrote:
I'm looking for a function like floor() only I want it rounded to a number
that is divisible by another number. For instance, if the divisor is 6,
alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the
divisor. Or, alt
I'm looking for a function like floor() only I want it rounded to a number
that is divisible by another number. For instance, if the divisor is 6,
alt_floor ( 15 , 6 ) would yield 12 where 15 is the input and 6 is the
divisor. Or, alt_floor ( 174 , 20 ) would yield 160...
Anyone already do somet
Hello !
I'm in a mess. Please help me.
Every time I tried to write with fwrite or fputs in a file, I get an error
on windows nt sp6 , ie6 from "Doc. Watson" saying that Apache.exe makes an
application access error .
Filesystem functions: is_readable, is_writable,fopen,fclose are ok . I can
create,
I would try something like this instead:
$params = escapeshellarg($params);
$output = system(c:\path\to\htpasswd $params);
//check for output errors or what not
There very well could be a better solution (especially since I have not
tried the above code...).
I remember seeing somewhere that the
I am currently trying to create a .htpasswd file for apache using PHP and
the crypt() on Win2k. I can generate the file alright but it does not work.
I have looked into some classes as well and all use the crypt() function.
The reason for this not working is probably the algorithm used because the
No, however... you could use
include( "whatever.php" );
so that the form submits to one page, which then includes both pages and
does whatever it is you need. Why you want to submit to two places is a
mystery though...
Stephen
- Original Message -
From: "Wade" <[EMAIL PROTECTED]>
To: <
01282003 1248 CST
Is this even possible.
You create a page with two text fields= Name and Email and a submit button.
In the
https://www.whatever.com"; method="post">
can you submit this to Two different locations like
https://www.whateverA.com"; action="https://www.whateverB.com";
method="po
OK i tried to use the function of the win api
i tried the com, and guess it wont work :(
But i get the following error, now, apache only works as a multi threaded
webserver doesn't it?
Fatal error: dl() is not supported in multithreaded Web servers - use
extension statements in your php.ini in c
I think I remember something about pack and unpack working with aunti
endian, uncle endian and all the little endians.
Jason
-Original Message-
From: Robert Trembath [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 28, 2003 9:02 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: [PHP-D
That is impossible to do in PHP, because what you are asking is to do a
client side thing (which can be done with javascript) and PHP works in
the server side.
Cheers,
Luis Ferro
TelaDigital.net
Renger van Nieuwkoop wrote:
Dear all
Is it possible to have php refresh a form without using a su
> Dear all
>
> Is it possible to have php refresh a form without using a submit button (I
> want to have a form where people can enter data and see after entering the
> data what happens to the total. As they have to enter a lot of data, it is
> rather ennoying to push everytime the "submit" -butt
Dear all
Is it possible to have php refresh a form without using a submit button (I
want to have a form where people can enter data and see after entering the
data what happens to the total. As they have to enter a lot of data, it is
rather ennoying to push everytime the "submit" -button.
Renger
Has anyone done 16-bit integer conversion to decimal in PHP or know the
formula to convert the data. Below is an example of what oracle gives me
and what I need to convert it to. Any help would be greatly appreciated.
Thanks,
Robert
I get this in unsigned 16-bit Integer format:
AACBAACBAACDAA
if you look at, for example, htmlentities(), it can take a constant as
argument (the quote_style parameter). How would you do this in a user define
function?
like this (?) :
function foo($bar=0) {
define("ALL",0);
define("FIRSTHALF",1);
define("SECONDHALF",2);
switch ($bar) {
hi ...
pls tell me how to connect ms sql server 7 ?
thank
fendy
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
The function you want is called set_time_limit()
Jill
-Original Message-
From: Bobo Wieland [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 27, 2003 5:36 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] maximun execution time
Is there some way to get around the time limit of maximum execu
The simple answer is that is just happens, all by itself, as if by magic.
All you have to do is create a file called "index.php", and delete any files
called "index.htm" or "index.html". (You might also want to make sure you
don't have any files called stuff like "home.html" or "default.html", as
Then the authors/levels/quotes should go in a seperate table
all linked to the book id (eg ISBN number wich is unique for every book)
Is this the only way the publischer can produce their data.
I mean it must come out of some DB like system.
Jochem
George Pitcher wrote:
Jochem,
Yes. Where a bo
Jochem,
Yes. Where a book has multiple authors, then there is a USAU field for each,
likewise for editors, levels, and quotes.
And that is only from the 150 records I've looked at.
george
> -Original Message-
> From: J.Veenhuijsen [mailto:[EMAIL PROTECTED]]
> Sent: 28 January 2003 10:56
J.Veenhuijsen wrote:
> What I would do in this case is writing my own little
> parser program to spool it in to a MySQL database.
> I often use Delphi for this.
>
> What is the record delimiter?
The only way that you know a new record starts is the line starts with '-'
('-T&F eBook data rec.1534
php-windows Digest 28 Jan 2003 10:01:46 - Issue 1559
Topics (messages 18123 through 18129):
Re: Redirecting to index.php
18123 by: cybot
18124 by: Brian 'Bex' Huff
Re: How do i load my new activex dll?
18125 by: Brian 'Bex' Huff
Re: php-win2k error in apache as isap
What I would do in this case is writing my own little
parser program to spool it in to a MySQL database.
I often use Delphi for this.
What is the record delimiter?
OTOP with nothing behind it means emty field?
Execept for the USAU fields it seem all very fieldname/content like.
Jochem
George P
Hi,
I'm looking for some advice.
One of my suppliers (big publisher) has sent me a file containing records of
their books. The file is anabsolute nightmare.
There are approx 8000 records and the format is like this (actual record):
-T&F eBook data rec.1534 @ 27/01/2003
VISBN 0203445570
OSBN 0-
Hello,
Configuration:
Windows 2000 Professional
Apache 1.3
Tomcat 4.0
PHP 4.3.0
I'm trying to run PHP 4 as a servlet under Tomcat. However the phpsrvlt.jar
only contains net.php.reflect.class but according to configuration
information it should also have servlet.class and formatter.class. Where c
41 matches
Mail list logo