thies Wed Feb 21 12:33:46 2001 EDT
Modified files:
/php4/ext/imap php_imap.c
Log:
fix possible leak.
Index: php4/ext/imap/php_imap.c
diff -u php4/ext/imap/php_imap.c:1.56 php4/ext/imap/php_imap.c:1.57
--- php4/ext/imap/php_imap.c:1.56 Sun Feb 18
Hi!
I am trying to change a filename this is my php:
It doesn´t work do I need some more code to get it working, something
like fopen?
Thanks for any help.
Regards
Jan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mai
I'm having some trouble reading a text file from a remote server into a
string. The code is as follows:
if( !($fd = @fopen($ftp_url, "r")) ){
$error = true;
$error_msg = "Unable to connect to server.";
}
else {
$file_contents = fread($fd, 10);
fclose($fd);
}
if( empty($file_content
Is it necessary to include the 'http:' in the DB field?
It would make your life a lot easier to drop it.
You would then store the url values as
www.mydomain.com
Then, modify your code to add the 'HTTP' whenever it encounter a URL, or
wherever you will create a link.
This would elim
php-general Digest 22 Feb 2001 01:08:34 - Issue 526
Topics (messages 40941 through 41086):
Re: Deleting mySql records based on dates
40941 by: Kevin Cawthorne
40943 by: Christian Reiniger
40945 by: Kevin Cawthorne
40949 by: php3.developersdesk.com
Re: email
That was just an FYI... If it happens again
I'll let you know and you can pursue it with them.
> -Original Message-
> From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 12:22 PM
> To: '[EMAIL PROTECTED]'; Boaz Yahav; Krznaric Michael; 'Thomas
> Deliduka';
put a sleep(300); at the end of your while() loop - I did this on my mass
mailer and it worked like a charm.
--Joe
On Fri, Feb 22, 2002 at 02:53:10PM +0800, Arnold Gamboa wrote:
> hi there.
>
> is there a way to tell crontab to do:
>
> "run script every 5 mins for 1 hour"..
>
> i have this m
sas Wed Feb 21 11:58:32 2001 EDT
Modified files:
/php4/ext/ircg ircg.c
Log:
Allow users to set the ident string which we use to register with
the IRC server.
Index: php4/ext/ircg/ircg.c
diff -u php4/ext/ircg/ircg.c:1.33 php4/ext/ircg/ircg.c:1.34
-
liquidweb.com has some nice looking deals.
last time i checked, they supported
MySQL/PHP/Perl/lots of other stuff
> -Original Message-
> From: Jeff Gannaway [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 05:59
> To: Mark Maggelet; [EMAIL PROTECTED]; [EMAIL PROTECTED]
>
thanks for the comment
let's just say i have 100k emails to send... don't you think that will drain
the system resources if i send it all at once even if you have usleep(300)
on each while?
your comment please.
> put a sleep(300); at the end of your while() loop - I did this on my mass
> mailer
On Wed, 21 Feb 2001 14:55:25 -0800, ..s.c.o.t.t.. ([EMAIL PROTECTED])
wrote:
>liquidweb.com has some nice looking deals.
>
>last time i checked, they supported
>MySQL/PHP/Perl/lots of other stuff
well, most hosts do, but not many are using 3.23.30 or higher. I'm
looking for a host that somebody k
What do you mean flatlines? Does the solaris machine's CPU move to ~100%
utilization?
You might be hitting the automatic garbage collection. Use gstat -h to
watch your transactions states. Particularly the oldest transaction and the
oldest interesting transaction. By default an auto garbage c
I'm not sure this is the best way to do it, but you could try:
$keys = array_keys($HTTP_POST_VARS);
for($x = 2; $x < (count($keys) - 1); $x++)
{
$updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',";
}
$x++;
$updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$
hi there.
is there a way to tell crontab to do:
"run script every 5 mins for 1 hour"..
i have this mass email script that is so huge that i need it to chunk into
records and make sure that it will run every 5 mins for 1 hour.
Thanks for any help.
Hi,
I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17.
Some of the pdf functions work, but others don't, such as pdf_new().
Does anybody know what the problem is? I have been all over the
documentation, email archives, and support discussions at phpbuilder.com
thanks,
Sam
I'm no whiz with header types, so my attempts with the PHP.net docs wasn't
too successful...
Here's the deal. My customer needs to upload an ASCII export file of
database info generated by MS Access on their PC. I've written a script
that allows them to upload their Access files then does a LOA
ok here we are, your code is *almost* correct, but even syntaxialy correct
doesnt mean it should be used :) use arrays, its a tone easier. to fix your
code change
$name =& $field;
to
$name = $$field;
now to make the code, a ton easier to use, use arrays.
";
...
?>
$val)
{
echo $val;
Hello All,
Is there a way to turn ZEND_DEBUG on or off
without recompiling?
Thanks.
--
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 PROTECTED]
After spending a lot of time on this I think I almost have it figured out. I
don't think it is a problem with the install.
A found on php.net where when using pdflib 3.03, pdf_new() doesn't work. The
fix is at the bottom of http://www.php.net/manual/en/ref.pdf.php It says to
change pdf_new() to t
My idea is so easy it can't be right but here goes.
Couldn't you read the total and page count into an array, the divide array
values 1-3 by array value 0 and multiply that by 100? In other words:
$row[0] = 1000;
$row[1] = 500;
$row[2] = 250;
$row[3] = 250;
array[1]/array[0] = 0.5 * 100 = 50
a
I have been using the tools from ImageMagick (convert) to create thumb nails
of pictures upload to our site. Once you have the uploaded file just:
if (exec('convert -w 100x100 ... src_file dest_file')) { error }
I hope this helps.
Dale Frohman wrote:
> Does anyone know of a way to resiz
Just wanted to say pair.com upgraded my server today and
it went so smoothly I didn't even notice it. They now have
PHP4 on my server. pair.com is a great hosting service as
long as you don't need hand holding or super quick tech
support.
Jeff Oien
> > I went through this installation process
We have designed a web based email program that we have
recently found a problem with...If you open up two email
accounts in two different browser windows, the first window
opened takes on the session that the second window is in.
It appears that you can open up as many sessions as you
like, but a
I'm not sure what is the original function design of session_destory().
Committing that, my code does not delete currently registered session data
from memory. This result in writing currently registered session write to
session database again unless programmer explicitly unregister them.
If you w
This must be why you guys get paid the big $$ . I _never_ thought of
looking at the HTML for errors, doh! Given the nature of the user who will
be inputting the data (familiar with HTML) I will probable keep this
'quick-n-dirty' for now - I do like the multiple fields concept for future
mods as
> "M" == "Mike" <[EMAIL PROTECTED]> writes:
> I am building an update string on the fly from form fields.I am
> trying to add a comma between fields but I cant have one after the
> last field.This is the code that doesnt work.Also I cant have a
> comma at all in a table with only one upd
> On Wednesday 21 February 2001 20:54, Jeff Oien wrote:
> > I would agree. I've had clients hosted on pair for quite a while.
> > They are still using PHP 3 however.
> 'almost complete control of the server' includes the ability to compile your
> own PHP and use it to run the place :) of course,
Maybe something along the lines of:
$results = eregi("Item3[a-Z 0-9]", $data);
-David
On Wed, 21 Feb 2001 23:32:04 -0600, Tyler Longren said:
> Hello,
>
> I've been reading a LOT on how to solve my problem today, but haven't been
> able to come up with anything yet.
>
> Here's my proble
sas Wed Feb 21 12:25:53 2001 EDT
Modified files:
/php4/sapi/thttpd thttpd.c
Log:
If we cannot send the header, we don't need to continue with the page.
Index: php4/sapi/thttpd/thttpd.c
diff -u php4/sapi/thttpd/thttpd.c:1.35 php4/sapi/thttpd/thttpd.c:1.
Actually, you may not have to do all that.
you can use implode().
By default, implode will join an array, with the supplied character.
So, if you have
$list = (one two three four);
you can do
$all = implode("," , $list);
to get
$all = "one,two,three,four";
This w
emile Wed Feb 21 14:18:55 2001 EDT
Modified files:
/php4/ext/midgard Makefile.in article.c attachment.c element.c
event.c eventmember.c file.c group.c host.c
image.c member.c mgd_oop.h midgard.c oop.c page.c
Since I've always found my answers in the archive, this is my first post, so
please excuse any blunders...
I'm trying to download info from a table as a tab-delimted text file. This
part works fine. (By disabling the UPDATE statement in the code sample
below, I can get the same data file sent tim
Hello,
I've been reading a LOT on how to solve my problem today, but haven't been
able to come up with anything yet.
Here's my problem:
I have an html file that contains many table rows like this:
Item1Item1 Again
Item2Item2 Again
Item3Item3 Again
Item4Item4 Again
And so on. I want to search
Hello,
I am trying to make am admin page for a few other pages in PHP but I dont
know how to save the changes made.
ie. The page has a few checkboxes & select boxes that when changed, change
some variables that are then used in other pages.
However I want the changes in the admin page to be per
From: "John Monfort" <[EMAIL PROTECTED]>
>
>
> Is it necessary to include the 'http:' in the DB field?
>
> It would make your life a lot easier to drop it.
>
> You would then store the url values as
> www.mydomain.com
>
> Then, modify your code to add the 'HTTP' whenever it encounter a UR
Would something like this solve bugs 9311 (and 9341) too?
> + if (op_array != NULL) destroy_op_array(op_array);
- Colin
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administra
Don't know your definition of CHEAP but check out OLM.net or webAXXS.net
(they're the same company, just different marketing plans). I've recent;y
signed up for their new RSE servers which are a real bargain in my
opinion... but then again I've got a site with 650 meg of graphics plus 6
or 7 smal
You don't have to specify them as "PHP arrays". You
can do something like:
PHP will create the array for you.
Jason
--- Brian White <[EMAIL PROTECTED]> wrote:
> Why do you have to specify multi-value fields in
> HTML
> forms specifically as PHP arrays?
>
> It seems incompatible with othe
shane Wed Feb 21 15:57:29 2001 EDT
Modified files:
/php4/ext/mysql php_mysql.c
Log:
Initalize some of the global vars. Crashed under ms debugger without having them
initialized.
Index: php4/ext/mysql/php_mysql.c
diff -u php4/ext/mysql/php_mysql.c:
From: "Gfunk" <[EMAIL PROTECTED]>
>Hi, I'm trying to disable phplib, and I have a .htaccess file consisting of
the line
>
>php_value auto_prepend_file none
>
>And now I'm getting a 500 internal server error. Can anybody shed some
light
>on what I'm doing wrong?
>
>Cheers,
>Gfunk
It sounds like
That's the point - why do I have to have 'name="myArray[]"'. Why
do I have to specify the '[]'s at all?
Brian
At 13:44 21/02/2001 -0800, jason cox wrote:
>You don't have to specify them as "PHP arrays". You
>can do something like:
>
>
>
>
>
>
>PHP will create the array for you.
>
>Jason
--
Hi,
I am having some problems creating FDF/PDF's on the fly.
I have created a PDF with Abobe Acrobat 4 including forms. I would like
to send
PDF's via mail filling the fields in the PDF using my mysql database, so
that everyone
gets their own prefilled PDF.
Does any of you have an example scrip
jon Wed Feb 21 19:37:32 2001 EDT
Modified files:
/php4/ext/standard crypt.c
Log:
The php_rand() and php_srand() functions added in the previous commit
require the inclusion of php_rand.h.
Index: php4/ext/standard/crypt.c
diff -u php4/ext/standard/cryp
Why store the html in the db? Why not have multiple db fields, say url and desc
then when you grab them from the db to be outputed put them into the html
print ''.$desc.'';
Then you wouldn't have to input all the html when it gets stored in the db, not
have to worry about quotes, or htmlspecialch
Can anyone tell me if trans sid is supposed to work through form posts, and
if so how to make it work right? It is working fine through normal links,
but we have quite a few posts, and they lose the session. :(
Thanks,
Shawn
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
On Thu, 22 Feb 2001 02:11, Matt Williams wrote:
> I have done it this way...
>
> $menu = array();
> $count = $db->num_rows();
> for($i = 0; $db->next_record(); $i++)
> {
> $menu[$i]["name"] = $db->f("name");
> $menu[$i]["url"] = $db->f("topic_id"
> At 17:48 21/02/2001 -0500, Jaxon wrote:
> >Is there any way to take an image from the filesystem, say a .jpg or
.png,
> >and display it in a different orientation? e.g. 20 degrees to the right?
>
> At 17:18 21/02/2001 -0500, Dale Frohman wrote:
> >Does anyone know of a way to resize images as t
Hi, I'm trying to disable phplib, and I have a .htaccess file consisting of the line
php_value auto_prepend_file none
And now I'm getting a 500 internal server error. Can anybody shed some light
on what I'm doing wrong?
Cheers,
Gfunk
On 2/21/01 10:14 AM this was written:
> Speaking of hosting companies, has anyone had experience with a company
> called www.nomonthlyfees.com?
You can see by the "Data Center" Information:
--
The NoMonthlyFees.com NOC located in Baltimore, Maryland is OnNet with
GlobalCenter (GC), Qwest Commun
From: "Paul Warner" <[EMAIL PROTECTED]>
> Simon-
>
> Thanks for the tip...I trued using the htmlspecialchars() which allowed
the
> remainder of the form to display properly, but left no value in the
> textarea. Then I noticed a difference in the method I was using compared
to
> yours - I'm still
Previously on this list, there have been questions about the Warning: page
has expired problem. When you submit a form, then press the back button, you
get this message and have to press refresh before the page will redisplay.
I have discovered that if you use the following header command, the p
Simon-
Thanks for the tip...I trued using the htmlspecialchars() which allowed the
remainder of the form to display properly, but left no value in the
textarea. Then I noticed a difference in the method I was using compared to
yours - I'm still learning the ways of PHP so it will take me a while
From: "Paul Warner" <[EMAIL PROTECTED]>
> I seem to be stuck on a very simple (to me) issue. I am trying to build a
> database of links for a site. A user inputs an HTML link into a text box
> which is stored in a SQL db. This works fine. I need to display this
data
> on pages, and retrieving
On Thu, 22 Feb 2001 08:24, Brian White wrote:
> That's the point - why do I have to have 'name="myArray[]"'. Why
> do I have to specify the '[]'s at all?
>
> Brian
>
> At 13:44 21/02/2001 -0800, jason cox wrote:
> >You don't have to specify them as "PHP arrays". You
> >can do something like:
> >
Mensaje citado por: Jack Davis <[EMAIL PROTECTED]>:
> We have designed a web based email program that we have
> recently found a problem with...If you open up two email
> accounts in two different browser windows, the first window
> opened takes on the session that the second window is in.
> It a
I seem to be stuck on a very simple (to me) issue. I am trying to build a
database of links for a site. A user inputs an HTML link into a text box
which is stored in a SQL db. This works fine. I need to display this data
on pages, and retrieving it into the page displays fine as well. The
pro
On Wednesday 21 February 2001 20:54, Jeff Oien wrote:
> I would agree. I've had clients hosted on pair for quite a while.
> They are still using PHP 3 however.
'almost complete control of the server' includes the ability to compile your
own PHP and use it to run the place :) of course, this doesn
$PHP_SELF
echo $PHP_SELF;
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Dan Watt"" <[EMAIL PROTECTED]> wrote in message
970j62$6j0$[EMAIL PROTECTED]">news:970j62$6j0$[EMAIL PROTECTED]...
> As a beginner to PHP4, I wrote a simpl
Wasn't 3.23 just declared stable like a couple weeks ago?
> -Original Message-
> From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 1:50 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] a good hosting experience
>
>
> The last time I us
Does anyone know of a way to resize images as they are being uploaded?
Would you write these images to a mysql database or straight to a file on
the server? The pictures will be small < 100k
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Addressed to: Michael Zornek <[EMAIL PROTECTED]>
Michael Zornek <[EMAIL PROTECTED]>
"'Php-General (E-Mail)" <[EMAIL PROTECTED]>
** Reply to note from Michael Zornek <[EMAIL PROTECTED]> Wed, 21 Feb 2001
12:15:32 -0500
>
> At 5:54 PM +0100 2/21/01, Sebastian Stadtlich w
Brandon Orther wrote:
>
> Hello,
>
> I am trying to get .phtml to work for php files. How would I do this?
If you have Apache, then following line in httpd.conf should help:
AddType application/x-httpd-php .php .php3 .phtml
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http://www.ph
jmoore Wed Feb 21 16:24:19 2001 EDT
Modified files:
/php4/ext/standard array.c crypt.c php_rand.h rand.c
Log:
Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand.
Index: php4/ext/standard/array.c
diff -u php4/ext/standard/arr
What does it mean when I get the line 'posix_getpwnam(username) failed with
"Error number not set" in /xx.php3 on line ##' printed? It doesn't return
anything anymore.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [E
rjs Wed Feb 21 15:30:20 2001 EDT
Modified files:
/php4/ext/pdf pdf.c
Log:
When using pdf_get_buffer() and doing a correct cleanup by calling pdf_delete()
this always resulted in a coredump (after everything was finished, so only
visible in the logfil
ssb Wed Feb 21 10:23:53 2001 EDT
Modified files:
/php4/ext/odbc config.m4
Log:
* dbmaker fix, shared support
Index: php4/ext/odbc/config.m4
diff -u php4/ext/odbc/config.m4:1.35 php4/ext/odbc/config.m4:1.36
--- php4/ext/odbc/config.m4:1.35Thu
Hmmm, well I guess everyone has different experiences.
We've been with them (Vservers) for 5 years now and
never had a single problem with downtime...
> -Original Message-
> From: Gary [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, February 21, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subje
Ok, I'm new to sessions and have a few questions...
Here is my plan. I'm running a news type web site where subscribers
have different privileges on what they can view and download. The
privileges are stored in a mySQL DB. My plan is to make users login
(thereby starting a session with all the
> My problem is:
> I wanna know the names of the variables that my actual page
> recives from the last page (using the POST method).
while( list( $formVarName, $formVarValue = each( $HTTP_POST_VARS )) {
echo "$formVarName = $formVarValue\n";
}
Chris
I believe it's still --enable-ftp.
Jason
--- Brandon Orther <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I am trying to enable ftp can someone please remind
> me what the command is?
>
> Thank you,
>
>
> Brandon Orther
> WebIntellects Design/Development
On Thu, 22 Feb 2001 04:20, Zenith wrote:
> Hello everbody, if a have HTML document lik this:
>
>
>
>
>
> How can know whether the user is pressed on the "action1" or "action2"
> image button??
http://au.php.net:81/FAQ.php#7.13 covers the topic nicely.
--
David Robley
We're running 3.23.32, soon upgrading to .33 due to some security problems
with .32 (either tonight or tomorrow), and running the latest release of PHP
4. Naturally, since I work for Granicus, I'm biased... but I think we're
one of the better PHP hosts out there as far as services go. Our primar
That returns the PHP file. I am including the PHP file via Server Side
Includes. I want a way to detect what file it was included from.
""Chris Lee"" <[EMAIL PROTECTED]> wrote in message
970nbs$1ah$[EMAIL PROTECTED]">news:970nbs$1ah$[EMAIL PROTECTED]...
> $PHP_SELF
>
> echo $PHP_SELF;
>
>
> --
>
Hi,
Is there any way to take an image from the filesystem, say a .jpg or .png,
and display it in a different orientation? e.g. 20 degrees to the right?
best regards,
jaxon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-m
The last time I used these guys I didn't like them because the
software they were running was way out of date. I can deal with an
old version of php, but mysql needs to be current because there's too
many things that old versions can't do.
Right now I'm looking for a cheap virtual host that runs
Three quite related posts all in rapid sucesssion
At 17:48 21/02/2001 -0500, Jaxon wrote:
>Is there any way to take an image from the filesystem, say a .jpg or .png,
>and display it in a different orientation? e.g. 20 degrees to the right?
At 17:18 21/02/2001 -0500, Dale Frohman wrote:
>Does an
What OS and glibc version? There are problems with the set-up in RH7.
Michael
Sam Goin wrote:
> Hi,
>
> I am running PHP4.04pl1, pdflib3.03, jpeg6b, tiff3.5.5, apache1.3.17.
>
> Some of the pdf functions work, but others don't, such as pdf_new().
>
> Does anybody know what the problem is? I h
look at
http://www.php.net/manual/en/function.error-log.php
you can tell php to send an error msg to the systems default logger (ie.
syslog)
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""Zenith"" <[EMAIL PROTECTED]> wrote in
Hi,
I am trying to do a simple encryption on a credit card number to store in a mysql text
field.
I also have to de-crypt the number after exporting to an access db.
I tried to use xor encryption, but it seems to only work half the time, the other
half, I can't seem to de-crypt the # properly, s
Wow, my server is being upgraded today. I did all that for nothing.
How do I undo what I just did? I checked this morning and PHP3
was still in use on my server. That's why I tried to install PHP4.
Jeff Oien
> Don't reference the absolute path to php4.cgi in your .htaccess it has to be
> relative
I have a database of numbers:
TOTAL HITS: 1000
PAGE 1: 500
PAGE 2: 250
PAGE 3: 250
How can I query these numbers and display back a percentage number? For
instance with the numbers above:
PAGE 1: 50%
PAGE 2: 25%
PAGE 3: 25%
Or is their a process by which to store numbers for easily getting thi
hehehehe...exact same hostill try that out tonight...as a side note have
you been experiencing some problems lately with responsiveness from the
server...i dont know if u r on the same one as me (ZEUS) but I was just
curious...ive noticed some "issues" as of later..
When You Compensate For A
On Wed, 21 Feb 2001 11:36:02 -0800, Jerry Lake ([EMAIL PROTECTED])
wrote:
>I have a field in my MySQL DB that is "DATE"
>
>on the form that populates this field, various
>people will by typing in dates in various formats
>
>how to I convert say 2/21/01 or 02-21-2001 etc...
>to 2001-02-21(MySQL For
Hello,
I am trying to enable ftp can someone please remind me what the command is?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-994-6364
www.webintellects.com
Why do you have to specify multi-value fields in HTML
forms specifically as PHP arrays?
It seems incompatible with other CGI languages, and
could make it difficlt to chop and change CGI engines in
the background.
At 19:08 21/02/2001 +0200, Pavel Jartsev wrote:
>If you create your fields like thi
I have done it this way...
$menu = array();
$count = $db->num_rows();
for($i = 0; $db->next_record(); $i++)
{
$menu[$i]["name"] = $db->f("name");
$menu[$i]["url"] = $db->f("topic_id");
}
OK, so is there a better way of achei
or...
that forces the comparison to be compared as a string. this only has to be
done sometimes, usually php is quite good at determining what you want.
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
"Jason Murray" <[EMAIL PROT
Hi,
Am I missing something How is it that I can read php code en
htmls files but I can't read php3 files?
I check that mod_php3.c is load with /usr/local/apache/bin/httpd -l
I add the following lines:
AddType application/x-httpd-php3 .php3
AddType applic
On Tue, Feb 20, 2001 at 04:10:08PM -0800, Brandon Orther wrote:
> I am looking for an Image Library that can blur text. Does anyone know of
> an image library that can work with php to make blured text?
It's not a very versatile (Can't define the extent to which a blur is done),
but php_imlib
shane Wed Feb 21 12:50:49 2001 EDT
Modified files:
/php4/main main.c
Log:
zend_compile_file returns a NULL on error, check for that before
calling destroy_op_array unless we like crashes :-)
Index: php4/main/main.c
diff -u php4/main/main.c:1.350 php4
assuming you are using Apache...
add
AddType application/x-httpd-php .phtml
to your httpd.conf file
-Original Message-
From: Brandon Orther [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 21, 2001 11:14 AM
To: PHP User Group
Subject: [PHP] Making .phtml an extension
Hello,
I a
I have several images all over my site but when I call an image by a
php3 file I get this error:
ImageCreateFromGif: No GIF support in this PHP build in
Any ideas...
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
As a beginner to PHP4, I wrote a simple logging program (since my server
does not have the best logging functionality) to track where users go on my
website. The way I am implementing it is by including it as a inside another include file, the footer to all
of my pages
so, it works out like this:
hi,
with
?>
readfile(""); ?>
")
as well.
sascha
--
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 PROTECTED]
I have a field in my MySQL DB that is "DATE"
on the form that populates this field, various
people will by typing in dates in various formats
how to I convert say 2/21/01 or 02-21-2001 etc...
to 2001-02-21(MySQL Format)
Jerry Lake- [EMAIL PROTECTED]
Web Designer
Europa Communication
Addressed to: "Kenneth R Zink II" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Kenneth R Zink II" <[EMAIL PROTECTED]> Wed, 21 Feb 2001 11:42:28
-0600
>
> --=_NextPart_000_00AC_01C09BFB.5E254010
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-T
Hello,
I am trying to finish up a script with instructions on how to add my banner
add script to someone's .phtml file. I need to print in
the html page that has instructions for the user. Anyway when I try to do
that it just runs as a script... does anyone know how I can get over this?
Thank
On Thursday 22 February 2001 00:12, Brandon Orther wrote:
> Hello,
>
> I am trying to finish up a script with instructions on how to add my banner
> add script to someone's .phtml file. I need to print
use :
echo '';
the single quotes ensure that php does not evaluate the contents of the
stri
I'm working on a test envyroment, so I can't give you my URL because I can't pass
through the firewall, the real site is http://www.bb.com.mx.
With both files I see the same, it's kind of long
Thanks a lot
Extensions
Extensions
Additional Information
PHP cor
On Wed, Feb 21, 2001 at 01:34:10PM -0500, Mike wrote:
> $keys = array_keys($HTTP_POST_VARS);
> for($x = 2; $x < count($keys); $x++)
> {
> $updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',";
}
$updateString = ereg_replace(",$", "", $updateString);
That should take care of
1 - 100 of 201 matches
Mail list logo