Michael R. Wayne wrote:
In my continuing efforts to actually get sessions to work, I upgraded
to PHP 4.3.6 and apache 1.3.31. This did not make the slighest
difference.
So, does ANYone have ideas of how to debug this? Or is PHP simply
broken and no longer able to maintain sessions?
/\/\ \/\/
Hi List,
I am trying to list all files in a remote url for processing into my attempt
at a search engine but I cant work out how to list the files found in a
given domain name.
The manual has nothing on this, as I can see, and searching the web has
drawn a blank.
So I ask the list if there is a
On Tuesday 25 May 2004 12:42, Jake Johnson wrote:
Is it possible to have an alias so that bots will index the page instead of
a redirect.
If you're using Apache have a look at the alias directive.
If you're using some *nix system use symbolic links.
--
Jason Wong - Gremlins Associates -
On Tuesday 25 May 2004 03:52, Mike Rotondo wrote:
I've written a script that displays a graph of some data from a text file.
Beneath each bar in the graph is a text label. I read the php.net
documentation and it seemed that imagettftext() was the easiest function to
get text in an image with,
On Monday 24 May 2004 11:28, Matt Palermo wrote:
Is there a way to change the maximum file upload size in a PHP script?
Kind of like the way you can change the error reporting in a script, but I
just want to adjust the max file upload size. Does anyone know if this can
be done?
No. Because
i try this it seems to work but i reseve error message like that :
SMTP server response: 553 sorry, relaying denied from your location
i heve windows server
please advise
tassos
Craig wrote:
On windows I believe this will work:
ini_set(sendmail_from,[EMAIL PROTECTED]);
Try that.
Hello,
On 05/25/2004 04:51 AM, Tassos T wrote:
i try this it seems to work but i reseve error message like that :
SMTP server response: 553 sorry, relaying denied from your location
i heve windows server
It seems to need to authenticate. The mail() function does not support
authentication.
You
Dave Carrera wrote:
Hi List,
I am trying to list all files in a remote url for processing into my attempt
at a search engine but I cant work out how to list the files found in a
given domain name.
The manual has nothing on this, as I can see, and searching the web has
drawn a blank.
So I ask the
On Saturday 22 May 2004 19:15, mattias lundberg wrote:
Why isn't there any way to verify the authenticity of downloadable files,
like you can do on apache.org where there are PGP hashes for each file?
I know that there are MD5 sums on the website, but I can't assume that the
webpage is not
Hello!
I need to print an image file, but Im having some problems.
I have a handler to a printer witch I can print text correctly with the
printer_write function.
I can also print an image if it is in bmp format (printer_draw_bmp), however,
I want to print png files.
How can I do it?
Thank
I have a PHP script who reads data from a XML file uploaded via http form.
This file is about 15 MB. The script builds a query of thousands inserts as
many as the products the XML file contains (more or less 4 inserts).
After 4 minutes the httpd process aborts by itself. What can it depend on?
I've never had a problem using sessions. Do you have a sample piece of
simple session code that isn't working? You also need to have cookies
enabled on your client if you are using the default session management
technique. Your very first line of code, before you do anything else,
should be
Ago wrote:
I have a PHP script who reads data from a XML file uploaded via http form.
This file is about 15 MB. The script builds a query of thousands inserts as
many as the products the XML file contains (more or less 4 inserts).
After 4 minutes the httpd process aborts by itself. What can it
How much long can be the session name? What is the limit? 10, 40, 255
alphanumeric chars? or what?
Thanks...
--
Miguel J. Jiménez
ISOTROL, S.A. (Área de Internet)
Avda. Innovación nº1, 3ª - 41020 Sevilla (ESPAÑA)
mjjimenez AT isotrol DOT com --- http://www.isotrol.com
ICQ# 12670750
TLFNO.
I had a similar problem on my system too. In my case I fixed the problem
simply outputting some information during the processing (I would recommend
a process bar or something like that). The process itself was correct
anyway, but doing that I was getting the expected behaviour from the
browser:
Because it doesn't replace the newlines, just inserts br before them...
I liked the implode solution ... (shoulda figured, since I come from a
python background ... but I keep saying to myself that py is better and that
php can't be treated the same way ... ;)
Greetings, and thanks for all the
Hi,
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead of 253.07.
Why?
I've noticed this non-coherent approximation behaviour when
3rd
Hi there,
Try using:
round($number, 2);
cheers,
Gareth
On 25 May 2004, at 16:00, [EMAIL PROTECTED] wrote:
Hi,
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead
It is not a database problem, it seems to me something about the reading of
the XML file. This is my code about this:
$data = implode(file(example.xml), );
xml_parse_into_struct($parser, $data, $structure, $index);
xml_parser_free($parser);
it could be the array $data creation fails because
Ago wrote:
It is not a database problem, it seems to me something about the reading of
the XML file. This is my code about this:
You can't rule out the database because, inserts are a resource
intensive task.
$data = implode(file(example.xml), );
ouch!!
xml_parse_into_struct($parser,
From: [EMAIL PROTECTED]
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead of 253.07.
Why?
I've noticed this non-coherent approximation behaviour when
* Thus wrote Miguel J. Jimnez ([EMAIL PROTECTED]):
How much long can be the session name? What is the limit? 10, 40, 255
alphanumeric chars? or what?
Thanks...
You're limit will most likey be the cookie length (if you're using
cookies).
That would be about:
4KB - ~82 Bytes
Curt
--
I
Hi,
I've looked at the php.net tutorial, and though I'm learning some things
from it, it's still a bit over my head. It seems to presuppose a comfort
level with programming which I do not have.
Can anyone recommend a simple, hand-holding, introductory tutorial
suitable for someone with no
Personally I would buy a book on programming in general or maybe just go
straight for a
PHP beginners book.
But this is pretty straight forward from the ground up:
http://www.w3schools.com/php/default.asp
HTH
Craig
Neal [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I've
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
From: [EMAIL PROTECTED]
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead of 253.07.
Why?
[EMAIL PROTECTED] writes:
please suppose PHP 4.3.2 and $number=502,3550
number_format($number,2,'.',' ') returns 502.36.
It seems ok, but if $number=253,0650
number_format($number,2,'.',' ') returns 253.06 instead of 253.07.
My PHP manual (from a Debian package) has the following note on
On Tue, May 25, 2004 at 10:47:01AM -0400 or thereabouts, Neal wrote:
Hi,
I've looked at the php.net tutorial, and though I'm learning some things
from it, it's still a bit over my head. It seems to presuppose a comfort
level with programming which I do not have.
Can anyone recommend a
On Mon, 2004-05-24 at 17:14, Robert Fitzpatrick wrote:
I am getting the following problem with trying to install from source
PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2
recently upgraded from 7.3.x and it is up and running fine. I also have
Heimdal 0.6 installed and
On Tue, 2004-05-25 at 05:03, Ago wrote:
I have a PHP script who reads data from a XML file uploaded via http form.
This file is about 15 MB. The script builds a query of thousands inserts as
many as the products the XML file contains (more or less 4 inserts).
After 4 minutes the httpd
On Tue, 2004-05-25 at 09:17, Stephen Allen wrote:
On Tue, May 25, 2004 at 10:47:01AM -0400 or thereabouts, Neal wrote:
Hi,
I've looked at the php.net tutorial, and though I'm learning some things
from it, it's still a bit over my head. It seems to presuppose a comfort
level with
The first line of my file is session_start(); but whenever I try to set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
What's up with that???
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Here is the top of my file:
?php
// Start the session
session_start();
Which looks OK to me, but it returns:
Parse error: parse error, unexpected T_STRING in
c:\inetpub\wwwroot\palms\htdocs\start-selling.php on line 3
What's going on here??
- Brian
--
PHP General Mailing List
Martin Geisler wrote:
My PHP manual (from a Debian package) has the following note on the
page for round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05 in your case) add or substract a tiny
Can you post your whole file?
Brian Dunning [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Here is the top of my file:
?php
// Start the session
session_start();
Which looks OK to me, but it returns:
Parse error: parse error, unexpected T_STRING in
Java Applets cannot connect to the same host they were loaded from. They run
on the client machine as a local program. I know this because I attempted to
run an applet and have it connect to a mysql server the lived on the web
server. It couldn't connect using localhost as the domain name of
Ben Ford - Bio-Logic Aqua Technologies wrote:
Java Applets cannot connect to the same host they were loaded from. They run
on the client machine as a local program. I know this because I attempted to
run an applet and have it connect to a mysql server the lived on the web
server.
Small
It doesnt necessarily mean the error occured on that line, that may have
been the last executed statement
post a few more lines or we cant help you.
Regards
Craig [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Can you post your whole file?
Brian Dunning [EMAIL PROTECTED] wrote in
On Tue, 25 May 2004 08:36:37 -0700 [EMAIL PROTECTED] (Brian Dunning) wrote:
The first line of my file is session_start(); but whenever I try to set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
What's up with that???
what php-version do you use?
thomas
--
Hi,
I've looked at the php.net tutorial, and though I'm learning some
things
from it,
it's still a bit over my head. It seems to presuppose a comfort
level with programming which I do not have.
Can anyone recommend a simple, hand-holding, introductory tutorial
suitable
I've looked at the php.net tutorial, and though I'm learning some things
from it, it's still a bit over my head. It seems to presuppose a comfort
level with programming which I do not have.
Can anyone recommend a simple, hand-holding, introductory tutorial
suitable for someone with no
Session handling was added in PHP 4.0.
The first line of my file is session_start(); but whenever I try to set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
What's up with that???
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
This is straight from the http://java.sun.com/applets/ web page:
When you use a Java technology-enabled browser to view a page that contains
an applet, the applet's code is transferred to your system and executed by
the browser's Java Virtual Machine (JVM).
Java Applets cannot connect to the
On Tue, May 25, 2004 at 07:37:47AM +0100, Peter Risdon wrote:
Michael R. Wayne wrote:
In my continuing efforts to actually get sessions to work, I upgraded
to PHP 4.3.6 and apache 1.3.31. This did not make the slighest
difference.
So, does ANYone have ideas of how to debug this? Or is
* Thus wrote Martin Geisler ([EMAIL PROTECTED]):
My PHP manual (from a Debian package) has the following note on the
page for round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05
Martin Geisler wrote:
My PHP manual (from a Debian package) has the following note on the page for
round():
Caution
When rounding on exact halves round() rounds down on evens and up on
odds. If you want to always force it in one direction on a .5 (or
.05 in your case) add or
Michael R. Wayne wrote:
It seems that people have forgotten last week's postings. To recap:
Session support worked fine in 4.1.2. It's broken in 4.3.4 and 4.3.6
What doesn't work in 4.3.6? I'm running 4.3.6 w/ Apache 1.3.31 on both
a Fedora Core 1 and Mac OS X box, and haven't had a problem
On May 25, 2004, at 9:06 AM, Craig wrote:
It doesnt necessarily mean the error occured on that line, that may
have
been the last executed statement
post a few more lines or we cant help you.
?php
// Start the session
if (! session_id()) session_start();
if (not
This is 4.3.2 and sessions are enabled.
Session handling was added in PHP 4.0.
The first line of my file is session_start(); but whenever I try to
set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
The first line of my file is session_start(); but whenever I try to
set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
What's up with that???
what php-version do you use?
It is 4.3.2 on XP. I only recently installed it and this is the first
time I've tried using
Brian Dunning wrote:
This is 4.3.2 and sessions are enabled.
Session handling was added in PHP 4.0.
The first line of my file is session_start(); but whenever I try to set
or reference $_SESSION['anything'] I get:
Undefined variable: _SESSION
- Brian
Post some code.
--
John C. Nichel
Gabino Travassos [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Personally, if I was teaching someone programming concepts from scratch I
would start them with Javascript. It's mostly platform-independent, you
From my experience, PHP is much better at running the same code on
[EMAIL PROTECTED] (Neal) writes:
Can anyone recommend a simple, hand-holding, introductory tutorial
suitable for someone with no programming experience to speak of?
I have a tutorial online here which is supposed to be pretty basic:
http://gimpster.com/wiki/PhpTutorial
It was written a
Hello all,
I found a quick tutorial on how to write a session handler that uses MySQL
(http://phpbuilder.com/columns/ying2602.php3?page=1 ).
I have a couple of questions regarding this type of session handling:
1) Does this mean that I cannot use the $_SESSION[] variable to enter
Sorry for the double post, but that should be Custom not Customer.
Paul
From: Paul Higgins [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Customer Session Handlers Using MySQL
Date: Tue, 25 May 2004 13:26:32 -0400
Hello all,
I found a quick tutorial on how to write a session handler that
1) Does this mean that I cannot use the $_SESSION[] variable to enter
information into the session?
Sure you can. When you use a custom session handler then setting /
getting the $_SESSION[] variables will use sess_write and sess_read in
order to write/read that information. I think the only
Yup. this is a test. Sorry.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Sherri wrote:
Yup. this is a test. Sorry.
Did we pass??
--
John C. Nichel
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ah ha. Had to confirm my email address.
Got it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Woah!
Signed up litterally 1 minute ago and I'm already getting spam. From
Advance Credit Suisse Bank
Great. Thanks php.net.
Guess you can't even trust the well known sites not to slam you with spam.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Sherri wrote:
Woah!
Signed up litterally 1 minute ago and I'm already getting spam. From
Advance Credit Suisse Bank
Great. Thanks php.net.
Guess you can't even trust the well known sites not to slam you with spam.
The problem is this list has no active moderator (at least none that
makes
Sherri wrote:
Woah!
Signed up litterally 1 minute ago and I'm already getting spam. From
Advance Credit Suisse Bank
Just wait. There are some more waiting for you ;) You should receive the
Information Desk and Ingram Computer Services mails yet.
--
PHP General Mailing List (http://www.php.net/)
Hi,
I am having a couple of difficulties with a script to parse XML. This may
well be because my 16 month kid was up all night, but I'm banging my head
against a wall right now.
The script quite easily extracts one of the entries listed under DATA_2
but doesnt list the other. This is my first
Advance Credit Suisse Bank
Great. Thanks php.net.
Guess you can't even trust the well known sites not to slam you with
spam.
Come on, that's not fair. Those emails are sent by some unscrupulous
individual who subscribed to the list and set up a rule to reply those
spams to everyone who posts to
I think it's someone else on the list getting the email lists, and spaming.
Signed up litterally 1 minute ago and I'm already getting spam. From
Advance Credit Suisse Bank
Great. Thanks php.net.
Guess you can't even trust the well known sites not to slam you with spam.
--
PHP General Mailing
Would I also have to write the sess_write() and sess_read() functions? If I
want to store an array or object, how would I go about doing that?
Paul
From: Jason Barnett [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [PHP] Re: Customer Session Handlers Using MySQL
Date: Tue, 25 May 2004
[EMAIL PROTECTED] (Curt Zirzow) writes:
* Thus wrote Martin Geisler ([EMAIL PROTECTED]):
Caution
When rounding on exact halves round() rounds down on evens and up
on odds. [...]
This is a documentation error. And is not on the current
documentation.
Indeed you're right, sorry
Brian Dunning wrote:
On May 25, 2004, at 9:06 AM, Craig wrote:
It doesnt necessarily mean the error occured on that line, that may have
been the last executed statement
post a few more lines or we cant help you.
?php
// Start the session
if (! session_id()) session_start();
if (not
On 23-May-2004 Russell P Jones wrote:
I just want to print out a table from mySQL. Thats it. into an html
table.
Column 1 | Col 2 | Col 3
-
Val 1| val 2 | val 3
Val 4| val 5 | val 6
any ideas on how to do this?
if ($res = mysql_query($qry)) {
Sessions do not work properly for me. Thanks to other people on
this list, we've proven that the test script I am using works fine
for other people. So, something is wrong with PHP on all of my
systems since the same script fails (see previous posts) on multiple
servers for me.
So, I am now
echo \ . $search_for_list[$i][0] . \ works but
echo \$search_for_list[$i][0]\ prints Array[0].
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
From: Bob Lockie [EMAIL PROTECTED]
echo \ . $search_for_list[$i][0] . \ works but
echo \$search_for_list[$i][0]\ prints Array[0].
$search_for_list[$i] is an 'Array' which is followed by the string '[0]' ...
how is PHP supposed to know you mean
$search_for_list[$i][0]?
echo
My page is supposed to compare the client IP address to the IP address of an
other webserver. I have that domain name and would like to find out it's IP
address. Unfortunately its IP address changes regularly (dynamic dns) so
that gethostbyname() does not work (it caches the IP address).
I am
*lol
ok, at first I believed this was php... didn't look all that closely I
suppose
Chris W. Parker [EMAIL PROTECTED] schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com
What does the { } around the array mean?
From: Bob Lockie [EMAIL PROTECTED]
echo \ . $search_for_list[$i][0] . \ works but
echo \$search_for_list[$i][0]\ prints Array[0].
$search_for_list[$i] is an 'Array' which is followed by the string '[0]' ...
how is PHP supposed to know you mean
could you ping or gethostip that webserver using the sytem command, then
parse what you recieve?
$val = system ('ping -c 1 outherwebserver');
or
$val = system ('gethostip outherwebserver');
//then parse $val to pull out the ip address
there is probably a better way to do it though, not even sure
I disagree with the suggestion that you need to or should have programming
experience to learn PHP, although it is helpful. There are a few books out
there (and books probably are the best starting point) that assume the
reader has no programming background, although you need to be familiar with
What does the { } around the array mean?
http://www.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex
-
michal migurski- contact info and pgp key:
sf/ca
From: Daniel Clark
echo \{$search_for_list[$i][0]}\; will work, btw.
What does the {}around the array mean?
It delimits your variable so PHP knows what to interpret as a variable and
what to interpret as a string.
$ar[1] = 'foo';
echo Value is {$ar[1]}; // Value is foo
$ar = 'foo';
echo
Thank you John, and Michal :-)
From: Daniel Clark
echo \{$search_for_list[$i][0]}\; will work, btw.
What does the {}around the array mean?
It delimits your variable so PHP knows what to interpret as a variable and
what to interpret as a string.
$ar[1] = 'foo';
echo Value is {$ar[1]}; //
John W. Holmes wrote:
From: Daniel Clark
echo \{$search_for_list[$i][0]}\; will work, btw.
What does the {}around the array mean?
It delimits your variable so PHP knows what to interpret as a variable and
what to interpret as a string.
$ar[1] = 'foo';
echo Value is {$ar[1]}; // Value is foo
$ar
Good point Justin !
John W. Holmes wrote:
From: Daniel Clark
echo \{$search_for_list[$i][0]}\; will work, btw.
What does the {}around the array mean?
It delimits your variable so PHP knows what to interpret as a variable and
what to interpret as a string.
$ar[1] = 'foo';
echo
From: Justin Patrin [EMAIL PROTECTED]
IMHO it's just better to use concatenation and single quotes for your
string. PHP doesn't have to parse your strings for variables that way
and it makes it obvious what parts are variables.
To each his own. Shall we discuss the merits of print vs. echo
* Thus wrote John W. Holmes ([EMAIL PROTECTED]):
From: Justin Patrin [EMAIL PROTECTED]
IMHO it's just better to use concatenation and single quotes for your
string. PHP doesn't have to parse your strings for variables that way
and it makes it obvious what parts are variables.
To each
Ok, print or echo :-)
From: Justin Patrin [EMAIL PROTECTED]
IMHO it's just better to use concatenation and single quotes for your
string. PHP doesn't have to parse your strings for variables that way
and it makes it obvious what parts are variables.
To each his own. Shall we discuss the
John W. Holmes wrote:
From: Justin Patrin [EMAIL PROTECTED]
IMHO it's just better to use concatenation and single quotes for your
string. PHP doesn't have to parse your strings for variables that way
and it makes it obvious what parts are variables.
To each his own. Shall we discuss the merits of
Greetings,
I am fairly new at this and I am going to create my first web server. I
have installed PHP as the documentation says and the only question that I
have is whether or not PHP can be configured on a single directory only,
(example mydomain.com/php/). The server that I am running on is
Michael R. Wayne [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Sessions do not work properly for me. Thanks to other people on
this list, we've proven that the test script I am using works fine
for other people. So, something is wrong with PHP on all of my
systems since the same
I'm in a bit of a pickle. I need to find out if a variable is a perfect
square or not, and this needs to test for decimal numbers as well, such as
2.25. The thing is, the only function I've found in PHP is
gmp_perfect_square() which isn't supported on my web server, and I don't
know how to compile
Paul Higgins [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Would I also have to write the sess_write() and sess_read() functions? If
I
want to store an array or object, how would I go about doing that?
Take a look at PEAR's HTTP_Session source code. It includes a DB session
Try taking the square root of the variable
$sqrt = sqrt($var);
then compare the number of decimal places.
if (strlen(strstr($sqrt,.)) = strlen(strstr($var,.))) {
// perfect
}
Just guessing of course.
On 5/25/2004 5:06 PM, Stephen Craton wrote:
I'm in a bit of a pickle. I need to find out
I'm surprised that no one else already replied to this?!?! Anyhow, my
answers are below.
Phil Dowson wrote:
Hi,
I am having a couple of difficulties with a script to parse XML. This may
well be because my 16 month kid was up all night, but I'm banging my head
against a wall right now.
OT: And
John Kaspar wrote:
Try taking the square root of the variable
$sqrt = sqrt($var);
then compare the number of decimal places.
if (strlen(strstr($sqrt,.)) = strlen(strstr($var,.))) {
// perfect
}
Just guessing of course.
I'd do something similar, but a little different:
$sqrt = sqrt($var);
if
Stephen Craton wrote:
I'm in a bit of a pickle. I need to find out if a variable is a perfect
square or not, and this needs to test for decimal numbers as well, such as
2.25. The thing is, the only function I've found in PHP is
gmp_perfect_square() which isn't supported on my web server, and I
I guess I don't mean perfect squares, more or less square roots with
terminating decimals. Thanks for all the help, and I found that Jason's code
will work for the program I'm doing right now.
Thanks,
Stephen Craton
http://www.melchior.us
- -Original Message-
- From: Jason Barnett
Ben Ford wrote:
This is straight from the http://java.sun.com/applets/ web page:
When you use a Java technology-enabled browser to view a page that contains
an applet, the applet's code is transferred to your system and executed by
the browser's Java Virtual Machine (JVM).
I have had one
Very Cool! That is what I was looking for!
Thanks,
Jake Johnson
http://www.plutoid.com
On Fri, Jun 20, 2003 at 12:46:04PM +0100, Pete Morganic wrote:
Slkigh Ammendment to below
?php
header(Location: https://www.google.com;) ;
die;
?
Jake Johnson wrote:
Have you tried...
?php
Very new at this so pardon my ignorance:
Off of my regular server, I'm calling a script off of a secure server in
order to process a credit card inquiry. I thought that, just by calling the
script off of the secure server, that the gold lock icon would
automatically appear but it does not. Is
Hi,
I would like to develope a desktop application using PHP.
I was wondering can the .exe program run on Win CE/Pocket PC?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I would like to develope a desktop application using PHP.
I was wondering can the .exe program run on Win CE/Pocket PC?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Martin Geisler wrote:
I don't remember any more where I found this, but with
?php
$dom = new DomDocument();
$dom-formatOutput = true;
?
you get what you ask for: formatted output.
Excellent, that did the trick!
Thanks,
-Dan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
1 - 100 of 102 matches
Mail list logo