Can I set "register_globals=off" using a runtime configuration directive
(something like ?php_register_globals_off?)?
TIA
-- Catalin Borcea --
\\\|///
\\ - - //
( @ @ )
-oOOO(_)OOOo
--
PHP General Mailing List
Dear everyone,
I want to know which approach is bettter?Using cookies or session to store
user's data?
i have tried using cookies ,but some computers can't accept that,then i move
to session register,but my supervisor ask me to put cookies as well,
i dunno what is the purpose of using cookies
Hi Toby:
Yes, that's the way I did, but it's not so clean, you have to open each time you
write!
--
Saludos, Rubn Blanco.
__
A r t e k - 928.52.20.77 - http://www.artek.es
One thing that occurs to me -- stdout starts off by being
Hi,
I'm trying to develop some intranet system based on Informix DB. Standard
connection works fine but when I try to exec any SQL I've got a error
message.Can someone help me ? I use Ifx IDS 7.3, PHP 4.0.4pl1 on Win2k and
IIS 5.0. If I use connection trough ODBC it works fine. Here is sample of
I have a form that permit a user to upload files, but if the file is 1 or 2
Mb the time excess the script live time,
how i can change this, keeping the global value for script live time.
And if i want to permit a user to upload a file, wath is the best mayway to
do this, at this moment i need to
Anyone familiar with this class willing to help out. Would
appreciate it.
when i run the following (example.php) script, i always get what looks
like the rfc822 body of the message within the e-mail, but never the
html or text body body parts. first i'll show the output of the script,
then
Hello,
What do you think about Zend position?
http://php.weblogs.com/
http://zend.com/phorum/read.php?num=3id=6277loc=0thread=6277
Cordialement,
Uioreanu Calin
-
[EMAIL PROTECTED]
[EMAIL PROTECTED]
Tel: +4094477589
Web: http://www.ecomert.f2s.com
DMS Team
"Uioreanu Calin" [EMAIL PROTECTED] wrote in message
Hello,
What do you think about Zend position?
I thought I would reply to the list on this one, basically to see if I am in
the minority (and if so, I will shut up!)...
Firstly, many people who use PHP do so to make money - I know I do!
We are working on extending the APC cache (http://apc.communityconnect.com)
with an encoder, and already have a pretty much functioning version (though
its a bit of hack job at the moment :). I think the patches we made were
sent to the dev list, but I can send them around at request.
adamw
At 3:16 AM -0500 1/25/01, [EMAIL PROTECTED] wrote:
I have a date and time stored in the following format:
day:month:year:hour:minutes
Example 27:01:2001:08:13
I want to work out the difference between that and the current time on my
server, but I can`t find any math functions in the PHP manual
For the inconvenience...
I had some trouble with my mailclient yesterday... This is just a test to check if my
new mailer is any better...
Sorry...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote:
You would need to go through a web server for it to work.
I seem to recall seeing something on the Zend site a while back about a
"compiler" for PHP that was in the pipeline. After the store was launched I
can't find anything. Am I imagining
The compiler has become the encoder, because it's rather hard to meet the
expectations of a 'compiler' (many would expect it to produce binaries and
heavily optimised code). Encoder makes more sense, based on what the product
does.
adamw
- Original Message -
From: "Angus Mann" [EMAIL
The seep function, it can sleep for a number of seconds, if i have
configured into php.ini the live time of a script to 30 sec. and if the
upload's time is more greather than 30 sec, the script dies.
What means the sleep function?
--
PHP General Mailing List (http://www.php.net/)
To
Cold Fusion has a method
of encrypting
it's code, and it comes like that out of the box
For what it's worth, ColdFusion's encryption tool isn't much help.
There's a decryption tool widely available. So one question is, does
$6000 buy you real (effective) encryption or not?
-- Owen
Hi Rasmus,
Thank you for the link - and sorry about the empty messages ;-)
The slides did help to some extend. But I'm only able to compile as
described in slide 28.
When I try to compile it as a shared module no .so file is generated. I
do however get the following warnings:
*** Warning: This
How do you display a "you are being redirected to xyz page" page
for some period of time(5 seconds?) and then redirect to another
page without the user having to click on a link or a button?
TIA.
--
Hardy Merrill
Mission Critical Linux, Inc.
http://www.missioncriticallinux.com
--
PHP General
I don't think you can do it in php since that headers should be send before
any other output to the browser, but you can use metatags like this:
meta HTTP-EQUIV="refresh" CONTENT="5;url=http://the-other-page.dk"
as you maybe can see the content tell's the browser that it should wait 5
On the PostgreSQL lists there has been some discussion recently as to
the mechanism behind, benefits and drawbacks, of persistent connections.
In particular a scenario similar to the following was brought up:
Browser A connects to Apache child N, and calls a web page that calls a
script which
Hello,
What do you think about Zend position?
http://php.weblogs.com/
http://zend.com/phorum/read.php?num=3id=6277loc=0thread=6277
I think that if Zend wants to sell it for $6000, then they have all right
to. These guys have worked hard, and they deserve some cash for it.
If people
Please see bottom of message for remove instructions. What you are about
to read is tried,
true, poven and effective. Have you ever tried or consideredmaking money using the
medium of the internet? Are you marketing or promoting a business opportunity or
product
online? There is a LOT of
Hi Postmaster,
how about letting onl people post to the list who are subscribed to?
At 01:00 26.01.2001, NEWS!! said:
[trash]
Please see bottom of message for remove instructions. What you are about
to read is tried,
true, poven and effective. Have you
The Encoder does in fact all of the optimizations of the Zend Optimizer
(including ones that aren't enabled in the plug-in Zend Optimizer, because
performing them every time may take more than what they would save,
something that is not an issue in a one time compilation.
The reason it's not
Sander Pilon wrote:
Hello,
What do you think about Zend position?
http://php.weblogs.com/
http://zend.com/phorum/read.php?num=3id=6277loc=0thread=6277
I think that if Zend wants to sell it for $6000, then they have all right
to. These guys have worked hard, and they deserve
Angus Mann wrote:
At 22:35 18/01/01 -0800, Rasmus Lerdorf wrote:
You would need to go through a web server for it to work.
I seem to recall seeing something on the Zend site a while back about a
"compiler" for PHP that was in the pipeline. After the store was launched I
can't find
Perhaps not 100% php but still!
Is there any way I could ping all whois servers that exist. Something
like whois.* ??? I am trying to ind a whois server that holds .ba domain
names information. I found some research and found that it should be
held at whois.ripe.net but I have tried and
No it has got about 10gig free space!
- Original Message -
From: Hardy Merrill [EMAIL PROTECTED]
To: Jeroen Jochems [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 2:50 PM
Subject: Re: [PHP] Strange problem
The first thing I'd check is the space on the client
Or does anyone know a better way to download files?
- Original Message -
From: Hardy Merrill [EMAIL PROTECTED]
To: Jeroen Jochems [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 2:50 PM
Subject: Re: [PHP] Strange problem
The first thing I'd check is the space
Please see bottom of message for remove instructions. What you are about
to read is tried,
true, poven and effective. Have you ever tried or consideredmaking money using the
medium of the internet? Are you marketing or promoting a business opportunity or
product
online? There is a LOT of
At 15:13 25.01.2001, Andy Woolley said:
[snip]
I know this is a little off topic but for your information 'whois.ripe.net'
provide information for the .ba TLD
I too am looking for a database of Top Level Domains around the world so if
anyone knows of one I
On Thu, Jan 25, 2001 at 03:37:26PM +0100, Ernest E Vogelsinger wrote:
At 15:13 25.01.2001, Andy Woolley said:
[snip]
I know this is a little off topic but for your information 'whois.ripe.net'
provide information for the .ba TLD
I too am looking for
On 25 Jan 2001 13:04:27 +0800, Jamie wrote:
return array($lang_pref,$currancy_pref);
if you make this return array("language" = $lang_pref, "currency" =
$currency_pref)
you can store the value and reference it by name (eg)
$prefs=your_func($whatever);
echo "language pref:
On Thu, 25 Jan 2001, Jacky@lilst wrote:
$sql1 = "insert into firsttable (firstname, lastname) values('Jack','Chan')";
$resultsql1 = mysql_query($sql1);
$sqlLastID = "select LAST_INSERT_ID() from firsttable";
$resultlast = mysql_query($sqlLastID);
$FirstLast = mysql_result($resultlast,0,0);
php-i18n Digest 25 Jan 2001 13:33:14 - Issue 46
Topics (messages 102 through 103):
Problem with gettext suporrt - Solaris 2.7
102 by: Albert Novak
Genuine Opportunity
103 by: NEWS!!
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To
stasThu Jan 25 06:35:36 2001 EDT
Modified files:
/php4/ext/gdgd.c
Log:
Fix crash in stdout image output
# Basically, this code sucks. It should use GD contexts, not temp files
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.108
Hello, So I think I've found 3 ways to describe the HTML Doc as "HTML".
Which one is the best?
1) Via MetTag (this was generated in Dreamweaver):
head
meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1"
/head
2) Print Statement at top of page:
How would I go about pulling e-mail addresses from a database and sending
and e-mail using that list?
Kenneth R Zink II [EMAIL PROTECTED]ICQ# 5095094
'87 2.8L TBI GMC S-15 Ext. Cab (Hurricane) ...524 in the works !!!
http://www.s-series.org/htm/windstorm/project-windstorm.htm
'85 3.4L
Please ,
I don't know how to declare a functionhow is the scope??
In C++ is for example...
Void test(int a, int b)
{
.
}
But...
In php HOW DO I DECLARE A FUNCTION OR PROCEDURE
BrunoBrazil
Is there an easy way to do this? I know that SQL Server can export a comma
delimited file, can mySQL import this? I imagine the PHP will be easy to
modify as long as the field names are the same.
Thanks,
jb
Jason Bouwmeester
New Media Consultant
InterVisual
Suite 200, 709 - 11th Ave SW
Hello Bruno!
See the following URL in the PHP manual:
http://www.php.net/distributions/bigmanual.html#functions
HTH
Sam Masiello
Systems Analyst
Chek.Com
(716) 853-1362 x289
[EMAIL PROTECTED]
-Original Message-
From: Bruno Freire [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
function function_name($input, $inputtwo) {
// stuff goes in here.
}
and then call it with:
function_name($input, $inputtwo);
- Original Message -
From: "Bruno Freire" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 10:39 AM
Subject: [PHP] How do I to
1. Generate SQL script for your database in the MS SQL Server Enterprise
Manager
2. Modify generated SQL to be compatible with MySQL
3. Run the script on your MySQL server
Pretty easy if you aren't using any feature of MS SQL that MySQL doesn't
support (for example stored procedures)
Another
myODBC - what is that useful for, or is there anywhere I can get
documentation or a description on it?
Thanks again,
jb
-Original Message-
From: Pavel Kalian [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 8:55 AM
To: Jason Bouwmeester
Cc: [EMAIL PROTECTED]
Subject: Re:
Just did this to a 65mb fixed width file.
What I did was get it into a csv file via perl :)
Then I created the db table.
Then I used:
load data infile "/file.csv" into table blah fields terminated by ',' ;
then go ahead and create any indexes etc...
!works slick!
Is there an easy way to do
myODBC lets you connect to a mysql databas3e via the ODBC protocol. So
you can create a mysql database connection (on a windows machine) and
use that connection in a MSAccess environment. Or pull data directly
from mysql into an Excel spreadsheet. Plus i am sure ASP and stuff
like that can use it
Thanks, was just trying to figure out what I really needed to
download/install to run mySQL with PHP on my W2K box.
jb
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 9:26 AM
To: Jason Bouwmeester; [EMAIL PROTECTED]
Cc: [EMAIL
Andrew Sitnikov wrote:
Hello php-general,
I have some problem with Zend debuger:
debug.php
?
for ($i=0;$i10;$i++){
echo $i."\n";
}
?
What happens if you modify it as:
debug.php
htmlbody
?
for ($i=0;$i10;$i++){
echo $i."\n";
}
?
Hello all. I've spent the past month or two implementing a file upload
utility for the web based on PHP's http upload method. It works fine for
smaller files, and it's been working fine for files I've tried up to and
including 400 megs at a time. The problem I'm having is that we want to
roll
Hi!
When I use the echo to see what is inside the list(). Instead I got the
message on screen saying "ArrayArray".
The array are being assigned first then then list come second. ie.
$test = array();
$test1 = array()
list($test,$test1);
---
On Thu, 25 Jan 2001, Andy Woolley wrote:
Ajdin,
I know this is a little off topic but for your information 'whois.ripe.net'
provide information for the .ba TLD
Ripe has only 10 .ba domains registred in their db :(. It is not up to date.
Ajdin
I too am looking for a database of Top
Hello!
I am trying to upload the files to the sever. For files that has only one
dot such as abc.txt and 123.doc, it works fine. But when uploading files
that have more than one dot such as 123.txt.pdf, there's problem, and I
tried to echo the $userfile[i], and it is "none". Codes are
IMHO, if you want to sell it then it's your right. You coded it, you own
it, you
get to sell it.
But I do know that for $6,000 I sure as hell am not buying it.
Maybe for a couple hundred...but $6,000? No way. I'd have to have
some seriously proprietary kickass scripts that cost me a huge
Addressed to: "Karl J. Stubsjoen" [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from "Karl J. Stubsjoen" [EMAIL PROTECTED] Thu, 25 Jan 2001
08:36:43 -0700
Hello, So I think I've found 3 ways to describe the HTML Doc as
"HTML". Which one is the best?
1) Via MetTag (this
I need to enable a user to insert an 'NEWS' item into a mySQL table one of
the definable limits for the user is to be the date that the news is to be
displayed. Currently the collum is in a 'date' format and should be stored
in a MMDD - being Australian we are used to the exact reverse of
Hi all. In the project I'm working on, I've got a table with ids that are
written based on how many records are in the table. i.e., the first record
has an ID of 1, the 50th is 50, etc. When a row gets deleted (I created a
web interface, I don't want all these members using phpMyAdmin), the
[EMAIL PROTECTED] wrote:
But I do know that for $6,000 I sure as hell am not buying it.
Maybe for a couple hundred...but $6,000? No way. I'd have to have
some seriously proprietary kickass scripts that cost me a huge investment
in time/money to develop to blow $6,000 just on keeping
Scott Fletcher wrote:
...
What are the better way to see the data in the array?
Maybe var_dump().
http://www.php.net/manual/en/function.var-dump.php
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
In my previous message I stated how some uploads were failing past a
certain size. What I want to know is, is it possible to force PHP to write
the uploaded contents as it receives them, or must they all be written at
the end? In other words, does the file you are currently uploading have to
Addressed to: "Chris Doyle" [EMAIL PROTECTED]
"Fang Li" [EMAIL PROTECTED]
[EMAIL PROTECTED]
** Reply to note from "Chris Doyle" [EMAIL PROTECTED] Thu, 25 Jan 2001 09:38:55
+1000
To be completely safe:
cd /var/mysql# or where ever your databases are
Jamie wrote:
...
? echo"select name=\"form_date_day\"";
$day = (date ("d"));
$daysinmonth = (date("t"));
for ($i=00;$i$daysinmonth;$i++){
if ($i == $day) {
echo("option SELECTED value=\"$i\"$i/option\n");
} else {
From: "Brian White" [EMAIL PROTECTED]
Sent: Thursday, January 25, 2001 4:55 AM
At least you're not sitting in high school calculus and actually
understanding everything on the board, but not being able to use any of
it
because Texas Instruments is the only company that's figured out how to
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote:
[ . . . ]
No, and thats why in the postgres list we talked about persistent connections
not having much benefits. That is because the connection is persistent to the
httpd child that called it and not to all.
Well, yes, but
At 11:33 AM -0500 1/25/01, Scott Fletcher wrote:
Hi!
When I use the echo to see what is inside the list(). Instead I got the
message on screen saying "ArrayArray".
The array are being assigned first then then list come second. ie.
$test = array();
$test1 = array()
My question is-
Does the encoder license permit a company to purchase the license, and then optionally
encode php for third parties?
Can I, for example, encode purchase the encoder, and then make a deal with John who
can't afford the encoder to encode John's web application for $150 and give
I've brought this up in reference to other questions but haven't got a
straight answer.
Suppose I've created a session variable: session_register("foo") and receive
a posted form with the input field "bar".
If register_globals = off, I can only access the form-field like this:
please, please take this discussion elsewhere.
if you have questions for the zend guys about their pricing and want to
lecture them on what you think the right pricing is, there are a number
of message boards on their site that are more suitable.
if you want to explore alternatives to the zend
Hello...
I would like to code a search engine to use just inside my home
page...Anyone has an idea where can I find informations about how is the
process to code a search engine with PHP??
Thank you
Felipe Lopes
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faça já o seu. É
Hello,
I want to *read* a file into a page and not process any PHP. I'm just
reading an HTML file. I though it was simple, I thought I had it figured
out, but now when I try, I get the following error:
Fatal error: Call to unsupported or undefined function read() in
For PHP's data and time functions, see this page:
http://www.php.net/manual/en/html/ref.datetime.html
You didn't mention a database - are you going to be selecting
records in a database based on a date?
I haven't seen this anywhere in the documentation, but my
favorite way of doing date
I am using htdig from htdig.org.
It is an external program that executes like a cgi.
It is simple, fast and configurable.
I recommend it.
Hope it helps
Marko.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
Hi, anybody knows where can i change the telnet timeout on a linux red
hat 6.2?
Thanks
Pablo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL
Anyone who can help me making a loop of this?
http://www.sakshaug.net/phps/loop.txt
I have tried many things, but I can't get it perfect...
Best Regards, Christian Sakshaug
--
Email: [EMAIL PROTECTED]
Web: www.sakshaug.net
Tel: +47 913 95 618
--
PHP General Mailing List
El Jue 25 Ene 2001 14:34, Frank Joerdens escribi:
On Thu, Jan 25, 2001 at 11:18:49AM -0300, Martin A. Marques wrote:
[ . . . ]
No, and thats why in the postgres list we talked about persistent
connections not having much benefits. That is because the connection is
persistent to the httpd
I need to format decimals that are percise to the second place in the
following format:
4.00 to 4
4.50 to 4.5
4.25 to 4.25
As you can see, I just want to drop the trailing zeros, and if necessary the
decimal.
Thanks
___
Ethan Nelson, Systems Administrator
Net
I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of
seconds between that date and the date specified by its parameters. If this
date is before 1/1/1970, it always returns -1, not a large negative number,
which would be more reasonable, i think.
The question is: How can I
use Date_Calc.
http://www.phpinsider.com/php/code/Date_Calc/
Diego Fulgueira wrote:
I know the UNIX epoch is 1/1/1970 and that mktime() returns the number of
seconds between that date and the date specified by its parameters. If this
date is before 1/1/1970, it always returns -1, not a
Is it possible to enable track_vars from a .htaccess doc, and does anyone
have a link to a good basic (as in, insanely beginner) tutorial to do it?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm doing a page where the front page will show "news" stories. What I'd
like is if the story is longer than X words/chars/etc, the index page will
show the first X words, then a link for the full story.
Does anyone have a good idea on how to split
Hi there,
I am trying to open remotely the file http://www.parentprofiles.com/clicker.php
and am useing the code:
?
$fp = fopen("http://www.parentprofiles.com/clicker.php?profile_id=" .
$this-profile_id
. "code=1","r");
echo $fp;
?
to do it. however when I do all I get is a
El Jue 25 Ene 2001 16:49, Frank Joerdens escribi:
On Thu, Jan 25, 2001 at 04:04:24PM -0300, Martin A. Marques wrote:
[ . . . ]
Of course. But the persistent connection are not working as the manuals
say they should work.
It appears this riddle has been solved: From a post by Adam Lang on
Rasmus Lerdorf wrote:
Well, without the Encoder the entire *possibility* of "seriously proprietary
kickass scripts" that people distribute and sell is out of the question.
Let's not go overboard here. You can build and sell serious stuff without
an encoder. Obfuscating the code is not
In article 005801c08668$e0459070$0201010a@shaggy, "Jamie Burns"
[EMAIL PROTECTED] wrote:
I tried something like this and your examples worked:
$str = "tag element = \"value\" nextelement";
if (eregi("=[[:space:]]*\"([^\"]+)|=[[:space:]]*([[:alnum:]]+)",$str,$regs)) {
print("yes -
I never said that obfuscating the code is a requirement for all people.
I'd like to know where I said that. It's easy to make me sound like an
idiot or worse when you put words in my mouth. I said that for some
people it is. BIG difference.
That was not how I understood what you wrote.
You
How do I get every other column to be a different color (or font ect.)when
I'm populating a table from a db(different field counts all the time)
Thanks Mike
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
I haven't read all the posts, but as you stated
Charge $6000 to the big companies, I have no problem with that. I personally
would be willing to pay that if web applications was my business. But at the
same time, allow those who don't necessarily need to have the encoder but
just want some
How do I get every other column to be a different color (or font ect.)when
I'm populating a table from a db(different field counts all the time)
If $i is a counter then $i%2 will alternate between 0 and 1
$i%3 would cycles through 0,1 and 2
-Rasmus
--
PHP General Mailing List
$color = "tan";
FOR ($i=0 ; $i $numrows ; $i++) {
if ( ($i % 2) == 0 ) {
ECHO ("\nTR");
} else {
ECHO ("\nTR BGCOLOR=$color");
}
}
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 25, 2001 4:19 PM
To: Mike
Cc: [EMAIL
I thought I saw in one of the older manuals that there is an optional second parameter
to 'file_exists' that will tell it too search the 'include_path' for a file instead of
using an absolute path. However, I can't seem to find this documentation any more.
Does anyone know if this still works?
Anyone who uses Edit Plus. Can you send me the php function files and auto
complete file. The edit plus web page has the links but none of them work.
Thanks
Pat
You will probably be much happier in the future if you make a
one-to-many setup rather than a many-to-many.
As Mathew said, create your tables with:
BID table:
bidid, projectid, OtherFields
PROJECT table:
projectid, OtherFields
If you are at a project and want to look at bids, just "select *
Hello Pat,
I've emailed you the files that I use. I've customized them a bit
since I downloaded them from editplus.com.
Best regards,
Randy
Thursday, January 25, 2001, 4:02:45 PM, you wrote:
PH Anyone who uses Edit Plus. Can you send me the php function files and auto
PH complete file.
hholzgraThu Jan 25 12:52:53 2001 EDT
Modified files:
/php4/ext/gdgd.c
Log:
gd didn't work if no WBMP was available after rev 1.107 - fixed
Index: php4/ext/gd/gd.c
diff -u php4/ext/gd/gd.c:1.109 php4/ext/gd/gd.c:1.110
---
On Thu, Jan 25, 2001 at 05:10:54PM -0300, Martin A. Marques wrote:
[ . . . ]
OK, lets see if we can understand what each other is saying (maybe I'm not
getting your point here).
Lets say browser A connects to the apache server, to a page using php code.
Lets say the code is OK (no bugs).
dbeuThu Jan 25 14:07:31 2001 EDT
Added files:
/php4/ext/msql msql.dsp
Modified files:
/php4/ext/msql php_msql.c php_msql.h
/php4/win32 php_modules.dsw
Log:
make msql build under win32
Index: php4/ext/msql/php_msql.c
Almost there... actually this creates one problem...
It turns 40.00 into 4
It needs to quit shaving zero's when it hits the decimal point.
40.00 into 40
45.50 into 45.5
40.25 into 40.25
Thanks
-Original Message-
From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Announcing the eTech Online Time Sheet system for gathering Employee Time over the
Internet.
Online TimeSheets easily integrate with Payroll, Billing Project Management.
Simplified Time Tracking and Project Management is a click away.
http://www.solutioncorp.com/timesheet.shtml
Please call
Hello Ethan,
$onum=4.11440;
$onum =number_format($onum,2)+0;
echo $onum;
With this technique, you get the following:
$onum output
4.166 4.12
4.135 4.11
4.000 4
4.30004.3
Is that what you wanted? To me, it's much easier to code and use
than reg expressions and replaces.
Hello Kristi,
Sure, I'm sending them now...
Best regards,
Randy
Thursday, January 25, 2001, 4:56:03 PM, you wrote:
KR Could you email them to me too? :)
KR - Original Message -
KR From: "Randy" [EMAIL PROTECTED]
KR To: [EMAIL PROTECTED]
KR Sent: Thursday, January 25, 2001 5:20
Hi,
I have this line in my shtml pages...
!--#exec cgi=\"../../cgi-bin/ads.cgi" --
How do I write this as a function to include in my .php files.
(I've looked up virtual () in the manual but can't make head nor tail
of it).
Many thanks,
Dave Stewart
--
PHP General Mailing List
It doesn't. Some of the file-related functions have that capability and some don't.
This may be what you're looking for:
function file_exists_in_path($file) {
foreach(split(':', ini_get('include_path')) as $dir) {
if ($dir[sizeof($dir)-1] != '/') {
1 - 100 of 109 matches
Mail list logo