This equation from Bogdan is simple and working:
$scale=ceil($scale/100)*100;
Thanks to all those who helped,
Charlie
> -Original Message-
> From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
>
> $scale=ceil($scale/100)*100, maybe?
>
> Bogdan
--
PHP General Mailing List (http://ww
Help!
I've been beating on a problem all day and think I've isolated the problem to the
following line:
print "";
If I call the statement as is, I get a little red x where my map should be. In
earlier calls to the same directory, I can get a server error, misconfiguration...
if I change
Phil, Thanks for the suggestion. I tried it and it worked the first time,
but as I changed to a second directory ./maps2/ it fell apart again.
Also, what I didn't state at the start, was that map1.jpg is actually a
variable, $map. It's just that when I was pounding on it, I settled on
using har
I'm making a search page on my site where users enter certain criteria and I
ouput the results like many other webistes: By first telling how many
results were generated, then having dynamic pages to view, say, 10 results
at a time.
So first I have to SQL the database to get totalresults, then ca
ceil() maybe
- Original Message -
From: "Charlie Killian" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 4:14 PM
Subject: [PHP] Math rounding problem
> For an arbitrary large number I need to round() it up to the hundreds
place
> if it is not divisible by 100
Hello,
I have installed php3 in my machine.To make php connection with mysql
what are the lines to be comment out in apache conf file.Here i am
attaching the some parts of apache conf file
-Uma
##
## httpd.conf -- Apache HTTP server configuration file
##
#
# Based upon the NCSA ser
Did you use session_start() on the second page?
In other words, the first page should have
session_start();
session_register("the_var");
$the_var=-"here it is";
link or whatever takes you to the second page.
Then the second page needs
session_start();
echo "$the_var";
Janet
- Original Me
i'll give it a try...
jeff.
"Sam Masiello" <[EMAIL PROTECTED]> wrote in message
002001c1affa$9aa56560$6300fa0a@dev">news:002001c1affa$9aa56560$6300fa0a@dev...
>
> You can force the browser to refresh using a meta tag:
>
>
>
> This will cause the page to refresh every 180 seconds.
>
> HTH
>
> Sa
Hi all,
Since I couldn't find solid docs on the web about this...
I was curious if PHP in Apache 2.0 implements a couple features that I'm
used to using in the AOLserver world:
-- Can PHP hold a global cache that's accessible for all threads?
-- How well do persistent database connections wor
On Saturday 09 February 2002 09:35, hugh danaher wrote:
> Phil, Thanks for the suggestion. I tried it and it worked the first time,
> but as I changed to a second directory ./maps2/ it fell apart again.
>
> Also, what I didn't state at the start, was that map1.jpg is actually a
> variable, $map.
ok, I'll buy that, but. Now, in a strictly php page that is also
failing intermittently I have the following:
$im_size = GetImageSize("./maps/$map");
Same basic HTML problem?
I'll change everything to be relative to http:// and see if that helps.
- Original Message -
From: "Larry
Thanks Jason, I'll give it a try too.
Hugh
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 08, 2002 9:20 PM
Subject: Re: [PHP] Re: die! die! directory!
> On Saturday 09 February 2002 09:35, hugh danaher wrote:
> > Phil, Thanks fo
ok, I changed all the paths to include:
( http://www.host.com/directory/sub-directory ) before the /maps2/map1.jpg
call. It still falls apart, but... if I shorten the path I can get to the
image. I am beginning to think there is a weakness in the file structure on
my site. Anyone else see anyth
Hi there,
Please help me out in the following...
Actually I want to replace "is" alone from the string and not all the
words that contains is...
I have tried with "^".$is."$" ---> but yields nothing
Also tried with "\b"...
thanks and regards,
Desikan
--
Desikan
[EMAIL PROTECTED]
Hello,
Anas Mughal wrote:
>
> What would be the easiest and more effective way to
> check for bouncing email addresses?
Setting the return-path address some pop mailbox address and check if
that mail box gets any bounced messages.
Regards,
Manuel Lemos
> Thank you.
>
> --- Manuel Lemos <[EM
* Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 02:17]:
> Hi there,
Hi,
> Please help me out in the following...
> $is='is';
> echo eregi_replace(" ".$is." "," ","This is a test string which contains
> is in dismissal");
> ?>
> Actually I want to replace "is" alone from the string and not all t
* Desikan ([EMAIL PROTECTED]) [Feb 09. 2002 02:52]:
> hi Thanks,
Sure,
> But I want to do thr replace operation for
> regular exprerssion and not exactly for the string alone...
> like > ^and$,a*, etc
I like the top better..
--
Headers set. CCs on list replies -> bit bucke
101 - 117 of 117 matches
Mail list logo