I'm having a prowith determing a time interval. I need to find out how many
seconds, minutes, days have passed since a cpecific date (1.1.1980.), but when I
pass that dade to a time stamp , I get 1983.315529200. How am I suposed to
handle the year (1983.) o there is smething else ? I think the
Hi Ramsus and Renze,
I would like to implement sending an e-mail through SMTP server.
Here my SMTP server needs authentication.
How to pass the username and password to SMTP server??
Thanks in advance.
Regards
-Balaji
Jason thanks! your information about those 512 bytes is VERY useful
but just a lil' too late, i already came up with a solution using a
conditional URL rewrite rule in my apache, along with a "
ForceType .." which helps me invoke my php script, if anyone is
interested i can send out the details, i
thanks daniel,
but how do i add it to the cron job for daily execution ?
regards
carry
On Thursday, September 06, 2001 at 10:51:00 PM, Daniel Rezny wrote:
> Hello Carry,
>
> Thursday, September 06, 2001, 5:05:53 PM, you wrote:
>
> CI> hello,
>
>
>
> CI> can anybody su
hey, I have a large file and I want to keep the last x row of it. I
figured out how to navigate to the point where I want to extract the
data, but I cant figure out how to extact from the file current $fp and
write out the data to another file.
Think of it like this, when the file gets to be x
Hello,
we're using our MySQL database quite extensively from our PHP scripts,
but sometimes everything stops working and it says "Too many connections".
Is there a problem with MySQL support from within PHP? Doesn't it close
its connections with the database when the script stops executing?
Is the
ok! I've been trying to figure this out, and I'm completely stumped! I've started from
scratch with a test script, here is my code:
Testing";
print $PHPSESSID;
print "\$sess_name is: $sess_name\$sess_auth is: $sess_auth";
if ($go) {
print "Go was initiated";
$sess_name = "BillyBob";
};
if (ses
Been up for four f**g hours too late trying to find something
wrong with my code, lately finding out, that there apparently is nothing
wrong with it (in this particular case). I wish for verification.
As a developement box I run a W2K, newest Apache and PHP 4.0.whatnot.
Had this problem o
I use the following code to order the results of the query by the variable $order.
$result = mysql_query("SELECT
articles.title,vote.votes,vote.total,articles.date,staff.firstname,articles.content,articles.id
FROM staff,articles,vote WHERE articles.authorid = staff.id AND articles.id =
vote.it
Here is what Im attempting
$size = filesize("chat/chat.txt"); // get size of file
if (filesize("chat/chat.txt") > 500) { // if over x bytes chop it down
$fp = fopen("./chat/chat.txt", "r+"); // open a fp
$count = 0; // setup a count
while (!
> I am positive.
> /etc/rc.d/init.d/httpd stop
> /etc/rc.d/init.d/httpd start
> I have never touched the apache installation. I am currently under the
> impression that compiling
> with --with-config-file-path=/etc/httpd/conf/php.ini has screwed up the
> install. That is unless someone has any o
>Is php.ini readable?
>
>Any messages in your Apache error log?
No messages in the apache error logs.
>Are you 100% sure you really killed Apache and restarted?... I've
>had cases
>where I managed to install the new Apache in a different location,
>and ended
>up with two different sets of http
You know what, I think Im explaining myself wrong. The word truncate in
itself means I believe to cut at the bottom. This isn't what I need.
Basically, its a chat script and all the newer messages are at the
bottom, and when the file reaches x bytes I want to 'cut off the head'
of the file by x
Make sure you do not have an older version of gd on your system before
trying to compile gd a new version. This will save you hours of
frustration.
/dkm
- Original Message -
From: "Sebastian Wenleder" <[EMAIL PROTECTED]>
To: "Joseph Bannon" <[EMAIL PROTECTED]>; "PHP (E-mail)"
<[EMAIL P
i have a form where a user inputs a home service type and this results in a list of
that value, eg a user inputs 'plumber' and a list of plumbers is displayed.
if a user accidentally types plumbar no results are displayed.
is there anyway of making php/mysql recognise the first three letters or
> Take a look at this picture...
>
> http://www.sayimhot.com/images/mycurrentscore.jpg
>
> ... now take a look at it while text is added to it...
>
> http://www.sayimhot.com/myscore.php
>
> What happens to the picture quality? How can it be improved? (code below)
You mean the font quality? Th
> "Neil" == Neil Zanella <[EMAIL PROTECTED]> writes:
Neil> Hello,
Neil> I have noticed that PHP can be used to define constants but
Neil> not parametrized macros, a feature is is currently lacking.
Neil> It is possible to use arrays instead with the only
Neil> disadvantag
scenario...
i am trying to open a file from i function that is called automatically
because it is registered with register_shutdown_function().
for some reason i am unable to call fopen(). i am assuming that my script
causes a fatal error and i cannot see the output because with apache, one is
Take a look at this picture...
http://www.sayimhot.com/images/mycurrentscore.jpg
... now take a look at it while text is added to it...
http://www.sayimhot.com/myscore.php
What happens to the picture quality? How can it be improved? (code below)
Thanks,
Joseph
Hello,
Sorry, i posted this to my local newsfeed a while ago but i don't think it
is propogating properly, however i apologise if this appears twice.
---
i've been using private functions like the code below a little, and just
discovered that if you call the outside function more than once you
Sure, I know that very well, but that has nothing to do with what we are
discussing here.
-Rasmus
On Fri, 7 Sep 2001, Jason Bell wrote:
> IE has "Friendly Error Messages" so on a normal 404 response, IE would show
> it's own error message, and not the one from the server. The Documented way
> a
Simplest way is to do this
$string = "my string";
$string=urlencode(str_replace(" ","+",$string));
ie use str_replace to manually replace spaces with +, urlencode then won't
do anything further to it
- Original Message -
From: "Brandon Orther" <[EMAIL PROTECTED]>
To: "PHP User Group" <[
I just realized that on the server I am trying to run this on, URLEncode
is working like rawurlencode. Does anyone have any idea why this might
be happening?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
[EMAIL PROTECTED]
800-9
On Vie 07 Sep 2001 19:01, [EMAIL PROTECTED] wrote:
> you know how, if you make a field a primary key and have it auto
> increment... then if you delete an entry and add a new one it makes the
> field 2 instead of 1... i know thats explained bad but do you know what i
> mean? is there a way to make
you know how, if you make a field a primary key and have it auto increment... then if
you delete an entry and add a new one it makes the field 2 instead of 1... i know
thats explained bad but do you know what i mean? is there a way to make it go back to
1 as if there were never any fields enter
IE has "Friendly Error Messages" so on a normal 404 response, IE would show
it's own error message, and not the one from the server. The Documented way
around this is to ensure that your 404 document is larger than 512 bytes.
http://www.zdnet.com/products/stories/reviews/0,4161,2779295-3,00.html
What do you mean MSIE does not support 404 ErrorDocument? That is a
server-side function. It has absolutely nothing to do with the browser.
Try going to: http://php.net/strlen
That is an ErrorDocument 404 thing that kicks in and takes you to the
right place in the PHP documentation. And believ
Sterling, your example looks doable, Ill report back when Im done with
these other functions. Thanks
Sterling Hughes wrote:
> On Fri, 7 Sep 2001, Gerard Samuel wrote:
>
>
>>Can a file be truncated from the beginning, and by x amount of lines??
>>Thanks
>>
>>
> Truncated from the beginnin
Explorer does support 404 documents. You just have to make sure the
document is bigger than 512 bytes.
- Original Message -
From: "Enrique Vadillo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 2:36 PM
Subject: Re: [PHP] Re: run a s
On Fri, 7 Sep 2001, Michael Kimsal wrote:
> I'm trying this specifically with the cybercash module. When I just do
> ./configure --with-cybercash=/path/to/mck, it works (well, it gets thru
> configure
> and make anyway).
>
> ./configure --with-cybercash=/path/to/mck,shared and
> ./configure --wi
Hello,
I am working on a script and using urlencode but not getting the results
I want. Does anyone know how to convert the spaces of a sting of text
in "+" instead of %20?
Thanks
On Fri, 7 Sep 2001, Gerard Samuel wrote:
> Can a file be truncated from the beginning, and by x amount of lines??
> Thanks
>
Truncated from the beginning? Do you mean truncate the file by X
lines, starting from the first position in the file, well, yeah:
Please note the above
I'm trying this specifically with the cybercash module. When I just do
./configure --with-cybercash=/path/to/mck, it works (well, it gets thru
configure
and make anyway).
./configure --with-cybercash=/path/to/mck,shared and
./configure --with-cybercash=shared,/path/to/mck
both don't work. I
MSIE does not support 404 ErrorDocument, that only works fine
with Netscape. Rewriting URLs is nasty when you have to mix
it with php script writing, this could be so much simpler with
a php script.
I know it's a tough question, anyone dares to beat the problem?
Enrique-
>From: Philip Hallstrom
> Which is more resource attentive however (Random question, not necessarily
> pertaining to this)?
>
> Making MySQL do extra work or PHP do some extra work?
Generally it would be more efficient to have MySQL do it as part of its
SELECT. But there could be cases where it would be more efficient
Software:
Apache/1.3.19 (Unix) PHP/4.0.4pl1 mod_ssl/2.8.2 OpenSSL/0.9.6
and PHP is built as a loadable module for Apache.
HEAD requests to PHP pages that have calls to ob_start() and
ob_end_flush() do not work properly.
index.php - *without* ob_start() / ob_end_flush()
Can a file be truncated from the beginning, and by x amount of lines??
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]
Actually, the difference in speed between generating a random number in
either MySQL
or PHP is pretty much negligable. If you can have MySQL return just a
single row,
however, instead of an entire set of rows then there will be a notable
difference =)
Sheridan Saint-Michel
Website Administrator
Hello Sean,
Thursday, September 06, 2001, 1:46:28 PM, you wrote:
SCM> My experience is the same. Here in Spain everybody uses Microsoft
SCM> products. W95, W98, NT everywhere, and now 2000. There a lot of MCSE
SCM> around and very little Linux/PHP experts. Yes there are a lot of people
SCM> tha
What's wrong with rewriting urls? The other alternative is to make sure
that none of the urls you are accessing actually exist and then setup an
ErrorDocument handler which calls the php script of your choice... which
can then do whatever you want...
-philip
On Fri, 7 Sep 2001, Enrique Vadillo
Which is more resource attentive however (Random question, not necessarily
pertaining to this)?
Making MySQL do extra work or PHP do some extra work?
- k
- Original Message -
From: "King, Justin" <[EMAIL PROTECTED]>
To: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent:
Anyone ever use Featurehosting.com? They seem ridiculously cheap. I was
wondering if they're too good to be true or if they're the real deal. Look
at small to medium traffic stes, no amazon.com's here.
Matt "TrollBoy" Wiseman
Webmaster: Shoggoth.net
Site Designer: phpslash.org
The oldest and s
That was a fine idea Doug, but what if we push the subject and
go a little further?
I am thinking now that i'd like to make it possible that for
ANY http request received by my Apache i'd like to have a php
script executed first, i.e.:
http://domain.com/
http://domain.com/anydir/anyfile
for any
On Sat, 8 Sep 2001, sagar wrote:
> thanX sterling,
>
> i've changed it to socket_open() but the problem
> still exists.
>
Sorry, meant socket_create() -- for a list of the new names, open up
php4/ext/sockets/sockets.c and take a look at the function entry.
-Sterling
> /sagar
>
> -
thanX sterling,
i've changed it to socket_open() but the problem
still exists.
/sagar
- Original Message -
From: Sterling Hughes <[EMAIL PROTECTED]>
To: sagar <[EMAIL PROTECTED]>
Cc: php <[EMAIL PROTECTED]>
Sent: Saturday, September 08, 2001 1:54 AM
Subject: Re: [PHP] socket error
>
On Fri, 7 Sep 2001, King, Justin wrote:
> The easiest way I can think of would be to get a random number based on
> the size of an array. If you're querying your database and filling an
> array with all images, just use the database's random routine instead.
> (I.E. "SELECT quote,author from ran
On Sat, 8 Sep 2001, sagar wrote:
> line10 -> if (($sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
> echo "socket() failed: reason: " . strerror($sock) . "\n";
> }
>
> i'm getting an error saying
> Fatal error: Call to undefined function: socket() in c:\program file
line10 -> if (($sock = socket(AF_INET, SOCK_STREAM, 0)) < 0) {
echo "socket() failed: reason: " . strerror($sock) . "\n";
}
i'm getting an error saying
Fatal error: Call to undefined function: socket() in c:\program files\apache
group\apache\htdocs\test\sock.php o
But that would make sense rasmus... and I don't like to make sense =)...
if its an array filled from a database, randomizing on the database
level would still be better though.
--Justin King, School District of Superior Web Coordinator
(www.superior.k12.wi.us)
-Original Message-
From: R
I'd say the easiest way would be to use array_rand()
See http://php.net/array_rand
-Rasmus
On Fri, 7 Sep 2001, King, Justin wrote:
> The easiest way I can think of would be to get a random number based on
> the size of an array. If you're querying your database and filling an
> array with all
I'm actually doing the same thing for my district. We've developed a
code system much like html, only not. Sounds stupid but it works. I
mostly ripped off UBB code. For example:
[b]bold[/b], [i]italics[/i]
Then we give the people using it an instruction sheet. Since [ and ]
don't require a sh
The easiest way I can think of would be to get a random number based on
the size of an array. If you're querying your database and filling an
array with all images, just use the database's random routine instead.
(I.E. "SELECT quote,author from randomQuote ORDER by RAND() LIMIT 1" in
mysql)
If t
Have you contacted Mercury yet? Try them or try the linux.redhat.misc
newsgroup.
--
Gaylen
"Caleb Carvalho" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hello all,
>
> i am trying to install Loadrunner for in linux,
>
> am not sure where is my LD_LIBRARY_P
"Jeremy Morano" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> Hi everone...
> I'm having a little problem. The code below pops up a password dialog box
> where the user types in a username and a password to be able to proceed.
> However, if the user does no
Hi All-
I am developing a web interface for a school that will allow them to mange the
entire site, from users to the actual display elements. The trick has
been, they
must not have to know HTML to do the administration.
The question: does anyone have some links or examples of this kind of
s
Example if you do know the number of items in the array:
/* Begin */
$choice = rand(1, 6);
echo $array[$choice];
/* End */
That will randomly pick something from 1-6 in the array.
If you do not know the number of things in the array (say it is off a form
or something):
/* Begin */
$numinarray
You can make "go" the name of your PHP script, then put this in your Apache
config:
ForceType application/x-httpd-php
Now in your "go" script, you have it do whatever you wanted it to do, then
use an include to load the "getit" script.
Here's an except from my equivalent of your 'go' scri
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> So I should chuck it on all mysql functions? Done. Don't ya just love
> search and replacing a whole directory of scripts :-) Still works fine
> too - bonus!
er...
I should have noted - if you are
create a random number from 0 to count($array) and use that as the index
jack
-Original Message-
From: Joseph Bannon [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 3:08 PM
To: PHP (E-mail)
Subject: [PHP] randomly picking a variable from an array
How do you randomly picking
So I should chuck it on all mysql functions? Done. Don't ya just love
search and replacing a whole directory of scripts :-) Still works fine
too - bonus!
- seb
-Original Message-
From: Hugh Bothwell [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 20:32
To: [EMAIL PROTECTED]
Subject
"Seb Frost" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Could someone give me an example of the sort of error handling you put in
> your php scripts? Cheers. Should I be preceding every command with @?
> Anything where this would be harmful? Just looking
Nope, i'm not talking about a directory containing exclusively
PHP scripts, in that case i would've prepended a php script
to the directory and we're done, but no, i am talking about
access to a directory containing files of any kind. see?
Thanks for the help anyway, any better suggestions?
Enri
How do you randomly picking a variable from an array with PHP?
Thanks,
Joseph
PS. Thanks to those who helped me with GD. If you go to my site, you'll see
the new counter I created at the top of the page.
http://www.collegesucks.com
--
PHP General Mailing List (http://www.p
If you're talking over a million messages, I think you need a solution that
is designed specifically for handling mail. I would suggest looking into
qmail (www.qmail.org) to replace sendmail on the server in question. qmail
is much more efficient than sendmail in handling large amounts of mail, a
Could someone give me an example of the sort of error handling you put in
your php scripts? Cheers. Should I be preceding every command with @?
Anything where this would be harmful? Just looking for some pointers really
:-)
- seb
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-v
You could always add an include() for every page under the /go directory.
Simplest way that I can think of.
- Original Message -
From: "Enrique Vadillo" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 07, 2001 12:09 PM
Subject: [PHP] execute a script on access to a
Hi,
I would like to know how i can force a PHP script to be
executed everytime a certain directory is accessed, for
example in http://domain.com/go/getit the presence of the
/go/ directory would force a PHP script to be executed
prior to any operation.
Do i need to play with rewriting urls in Ap
On Fri, 7 Sep 2001 13:28:16 +0200 impersonator of
[EMAIL PROTECTED] (\ Tais M. Hansen) planted &I saw in
php.general:
>Hi Martin,
>
>Take a look at the Apache mod_rewrite docs.
>
>http://httpd.apache.org/docs-2.0/mod/mod_rewrite.html
>
>
>I added this to my httpd.conf:
>
Or if you don't have acce
On Fri, 7 Sep 2001 09:39:37 +0200 impersonator of [EMAIL PROTECTED] (*
R&Ze:) planted &I saw in php.general:
>
>From: ~~~i LeoNid ~~ <[EMAIL PROTECTED]>
>Date: Thu, Sep 06, 2001 at 05:30:44PM +
>Message-ID: <3b97b222.78196206@localhost>
>Subject: Re: [PHP] For the RegExps gurus!
>
>> You can
Oops!!!
I didn't read your question fully.
I think you CAN do what you want, if you can get some kind of cookie or
and/or session variable to work to record when the user got to your page.
You leave your logic as is, except that when you get a valid
user you check to see if they have been on th
Thanks for your comments. The advice to just learn the code is both wise
and simple. To complicate matters, I did download a trial version of
Ultra Dev, installed PhAkt, found a JDBC driver that would work through
my Mac to connect to a MySQL database, only to learn that the webhosting
company
Jeremy,
I don't think it's possible to do what you want, and I have tried finding
a way.
With your "header " you are requestion an http authentication which means
the browser has to store the username and password and send them with EVERY page.
Those are the rules.
The only way to tell the b
> for an example I send the variable $user='user 1', and in the url there
> appears user=user+1 (which I think is correct) but when I read the
variable
> in the php page it displays user+1 (doesn´t it has to return to user
'1'?).
urlencodes counterpart is "urldecode"
you need to decode each varia
Thanks Jack,
preg_replace with an s modifier works a treat.
I'm still curious as to how to get ereg_replace to work as well. Everything
I read about regex/Posix Regular Expressions, seems to suggest that a ?
should also work with ereg_replace!
George
Jack Dempsey wrote:
>
> look into the s
Install a version of GD with GIF support.
> No, its not listed. What do I need to do?
>
> J
>
>
>
> -Original Message-
>
> phpinfo() also lists which image types your GD supports. Does it list
> GIF? Later versions do not have GIF support.
>
> -Rasmus
>
>
--
PHP General Mailing List
No, its not listed. What do I need to do?
J
-Original Message-
phpinfo() also lists which image types your GD supports. Does it list
GIF? Later versions do not have GIF support.
-Rasmus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
Fo
There is no parse error in this code. Check the line before that one.
And see stristr(), strcasecmp() and strtolower() for ways to do case
independant comparisons.
-Rasmus
On Fri, 7 Sep 2001, Nikola Veber wrote:
> Hi !
>
> Can anyone tell me why this line returns the parse error
>
> if (strstr
> ImageGif: No GIF support in this PHP build in counter.php
>
> I get this error message when I try to run this code...
>
> Header("Content-Type: image/gif");
> $im = ImageCreate(500, 75);
> $red = ImageColorAllocate($im, 255, 0, 0);
> ImageFill($im, 100, 100, $red);
> ImageGIF($im);
>
> I install
ImageGif: No GIF support in this PHP build in counter.php
I get this error message when I try to run this code...
Header("Content-Type: image/gif");
$im = ImageCreate(500, 75);
$red = ImageColorAllocate($im, 255, 0, 0);
ImageFill($im, 100, 100, $red);
ImageGIF($im);
I installed GD. When I us
Hi !
Can anyone tell me why this line returns the parse error
if (strstr($name, "firstname") or strstr($ime, "lastname")){
}
With this line I'd like to determine if string $name , which contains both first and
last name, has earlier defined first and last name, with no difference of the
order
look into the s modifier...it makes a dot match a newline as well, where
normally it wouldn't
jack
-Original Message-
From: George Whiffen [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 1:09 PM
To: [EMAIL PROTECTED]
Subject: [PHP] ereg_replace - How do I stop it being "g
i've got a command-line php script that i've been using to deliver large
amounts of e-mail. originally it relied on mail() to deliver the
messages but i could easily overload sendmail and bring the box (redhat
7.1) to a crawl. so i am now using the various network functions to
speak smtp dir
Hi,
I've got a problem with regular expression syntax with ereg_replace:
ereg_replace(':start:(.*):end:','this is \\1',':start: first :end: middle :start: last
:end:');
returns - this is first :end: middle :start: last
but I want - this is first middle this is last
The problem seems t
Run this function:
phpinfo ([int what])
Check the manual for further details.
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
Phone: (+354) 4615501
Mobile: (+354) 8960376
Fax: (+354) 4615503
E-mail: [EMAIL PROTEC
Hi,
I need to know wich is the best way to send variables through an URL,that if
the variables are of the string type, and what if the variable has spaces
like $string='this is a test'.
I have read about the use of urlencode(), but I have a strange behaviour
using this function, sometimes it work
LC_* are predefined constants, so:
setlocale(LC_ALL, "LT");
- Original Message -
From: Veniamin Goldin <[EMAIL PROTECTED]>
To: php <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 11:37 AM
Subject: [PHP] Locale Month Name
> Hello !
>
> Please help me,
>
> How to get Month name accor
What is FreeType?
J
-Original Message-
From: Sebastian Wenleder [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 07, 2001 10:36 AM
To: Joseph Bannon; PHP (E-mail)
Subject: Re: [PHP] GD
At 10:06 Uhr -0500 07.09.2001, Joseph Bannon wrote:
>I just installed PHP 4.0.6.
>
>1) Do I have to
Hi everone...
I'm having a little problem. The code below pops up a password dialog box
where the user types in a username and a password to be able to proceed.
However, if the user does not close the browser and goes back to the link,
which they pops up the diolog box again and they don't have t
with phpinfo it just says GD 1.6 or above. This is on a webhoster. How do
I find out what version they're actually running? I tried asking but
they're useless...
- seb
-Original Message-
From: Sebastian Wenleder [mailto:[EMAIL PROTECTED]]
Sent: 07 September 2001 16:36
To: Joseph Banno
Hello,
I have noticed that PHP can be used to define constants but
not parametrized macros, a feature is is currently lacking.
It is possible to use arrays instead with the only
disadvantage that array values can be reassigned.
I guess this is not a real concern. Does anyone
know if parameterize
At 10:06 Uhr -0500 07.09.2001, Joseph Bannon wrote:
>I just installed PHP 4.0.6.
>
>1) Do I have to down load GD (graphics library) and install it sperately or
>is it in 4.0.6 already?
>2) Do I have to run anything special during configuration?
>3) Do I have to completely re-install PHP and Apache
Thanks for that helpful email george, it's something I've been looking at as
well.
In a situation I'm tackling now I've rewritten the core part of the access
such that it is dependant upon data recieved from the server, rather than
the server being dependant upon data from access. So far it appea
Robert,
Well, I bet you're getting tired of this thread! So just a few closing
remarks:
a) Nested Loops - Yup, they're not so common that we can't just fudge
about with a bit of embedded html.
b) Luggage - I may yet agree with you about the advantages of two neatly
packed bags!
c) An awkward
Tom,
Every man and his dog seems to have an Access database they want to view
on the web.
What I usually do for them is :
a) Tell them to save the data from Access as a text file, comma separated. (It's
a standard Access option).
b) Give them a web page where they can upload it, (From the cust
I just installed PHP 4.0.6.
1) Do I have to down load GD (graphics library) and install it sperately or
is it in 4.0.6 already?
2) Do I have to run anything special during configuration?
3) Do I have to completely re-install PHP and Apache?
Thanks,
Joseph
--
PHP General Mailing List (http://
This really doesn't work well to say the least... I've had endless problems
with it, and basically just using headers there is no great way to to it.
The best solution I found is to use the mod_rewrite module in apache to map
a url onto the script.
- Original Message -
From: "Franklin va
"Balaji Ankem" <[EMAIL PROTECTED]> wrote in message
01bc01c137e0$280b0f60$[EMAIL PROTECTED]">news:01bc01c137e0$280b0f60$[EMAIL PROTECTED]...
> Hi friends,
> I would like to implement sending an e-mail through SMTP server.
>
> Here my SMTP server needs authentication.
>
> How to pass the usern
"Theodore Brinkman" <[EMAIL PROTECTED]> wrote in
message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I wrote a small script to generate an image file containing a version
number
> for use in some web apps we are coding at work. The problem is, that with
> an up-to-date version of IE, the imag
Adam Plocher wrote:
> First of all, is there anyway I could have my script take a full size image
> and crop out a chunk of it to be used as a thumbnail - or just simply shrink
> the image down to be used as a thumbnail?
ImageCopyResized, requires GD.
> Also, is there anyway to convert misc ima
> On Thu, Sep 06, 2001 at 11:04:09PM -0500, Peter Hutnick wrote:
>> http://www.php.net/manual/en/function.similar-text.php states that the
>> third argument should be a reference. PHP 4.0.6 complains "Warning:
>> Call-time pass-by-reference has been deprecated - argument passed by
>> value;" etc.
1 - 100 of 165 matches
Mail list logo