Thank you very much Arve.
Ivo
"Arve Bersvendsen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ivo Stoykov wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
>
> > Hello again
> >
> > earlier today I asked about detecting whether javascript is
> > enabled
"Jon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Nevermind, I found some code at last which actually works :
>
> $txt = preg_replace("/(\015\012)|(\015)|(\012)/","",$txt);
>
rather than using a regular expression, try:
$txt = strtr($txt, array("\r\n" =>
Set this:
magic_quotes_gpc=0
in your php.ini
or use stripslashes on all your data.
-Jason Garber
IonZOft.com
At 02:58 AM 1/30/2002 +, Jon wrote:
>Okay, I'm trying to read in a form with " and ' in it. The problem is that
>PHP automatically changes these to \" and \' without asking :( If I
* Ben Clumeck ([EMAIL PROTECTED]) [Jan 30. 2002 01:05]:
> Does anyone know of any conflicts or problems? I am installing it
> and went to the conf file and changed the setting to localhost.
> But it says that there is an Error 1067. Any help would be greatly
> appreciated.
Go into your Apache in
On Tue, 2002-01-29 at 07:25, Aric Caley wrote:
> Why, oh WHY doesnt this work.
No panic, it's just a typo. :)
> I get the error:
>
> Fatal error: Call to a member function on a non-object in
> c:\home\digerati\www\classtest.php3 on line 23
>
> If I try to make any assignments, anywhere,
dunno if this'll help, but try changing these two lines
$this->$obj = new test1;
$test = new test2;
to these
$this->$obj = &new test1;
$test = &new test2;
see if that helps - other than that - anyone else?
-Original Message-
From: Aric Caley [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
Why, oh WHY doesnt this work.
I get the error:
Fatal error: Call to a member function on a non-object in
c:\home\digerati\www\classtest.php3 on line 23
If I try to make any assignments, anywhere, it dies. What the HELL is
going on? Obviously I must be missing something really obvious, I
Does anyone know of any conflicts or problems? I am installing it and went
to the conf file and changed the setting to localhost. But it says that
there is an Error 1067. Any help would be greatly appreciated.
Thanks,
Ben
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-
Dear Adam,
Are you using 'realm' authentication setup?
with regards
Sukumar .S
On Tue, 29 Jan 2002, Adam wrote:
> Date: Tue, 29 Jan 2002 14:47:42 -0600
> From: Adam <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: [PHP] Help! (How are sessions intended to work?)
>
> My Setup Specs
>
Hello,
Boaz Yahav wrote:
>
> For a Win32 based solution check out : http://www.infacta.com/
>
> I'm extremely happy with this software, what it can do and the price.
This looks like a spammer tool that was not meant to use with live
databases of Web sites.
Is it able to automatically extract
Using JavaScript to show an OK/Cancel confirmation window
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1364
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Lerp [mailto:[EMAIL PROTECTED]]
Sen
That regex is equivilent to: "/(\r\n)|(\r)|(\n)/",
you don't need to use the numeric values.
> -Original Message-
> From: Jon [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 29, 2002 11:22 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Swapping for \n... ?
>
>
> Nevermind, I found
For a Win32 based solution check out : http://www.infacta.com/
I'm extremely happy with this software, what it can do and the price.
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Mostafa Al-Mallawani [mailt
Why not simply look the ISBN up in one of the big online shops and take
the data from there?
Amazon? B&N?
It all depends on what you will do with the data I guess...
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
Nevermind, I found some code at last which actually works :
$txt = preg_replace("/(\015\012)|(\015)|(\012)/","",$txt);
"Jon" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I'm processing a form but all the functions I've found on the web only
seem
> to add th
Class to send a file as an attachment with the php mail() function.
http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1583
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.
-Original Message-
From: Rafael Perazzo B Mota [ma
On this page at php.net http://www.php.net/manual/en/function.nl2br.php#
You will find a function by [EMAIL PROTECTED] which is a great
implimentation of replacing the /n in a line. I would suggest you take a look.
Gerard
At 03:19 PM 1/30/2002 +1100, Jason Murray wrote:
> > Isn't there a
On Tue, 2002-01-29 at 20:19, Douglas Maclaine-cross wrote:
> Or an even simpler str_replace("\n", "", $sourcestring);
Which will also be much faster than the ereg_replace(), to boot.
Cheers,
Torben
> -Original Message-
> From: Jason Murray [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday,
> Isn't there a function br2nl() and it's relative nl2br() ??
There's nl2br, but I don't believe there's one that goes the other way.
J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
Or an even simpler str_replace("\n", "", $sourcestring);
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 15:14
To: 'Jon'; [EMAIL PROTECTED]
Subject: RE: [PHP] Swapping for \n... ?
> I'm processing a form but all the functions I've foun
Isn't there a function br2nl() and it's relative nl2br() ??
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 3:14 PM
To: 'Jon'; [EMAIL PROTECTED]
Subject: RE: [PHP] Swapping for \n... ?
> I'm processing a form but all the functions I've
> I'm processing a form but all the functions I've found on the
> web only seem to add the after the \n. I need to remove the
> \n altogether - anyone know how I can kill the \n and put a
> in it's place?
Sounds like you want a simple ereg_replace("\n", "", $sourcestring);
Jason
--
PHP Ge
I'm processing a form but all the functions I've found on the web only seem
to add the after the \n. I need to remove the \n altogether - anyone
know how I can kill the \n and put a in it's place?
Cheers,
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMA
Through email - Y?
-Original Message-
From: jtjohnston [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:23 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Martin: [PHP] How? :)
Martin,
Are you guys getting yours by email or monitoring a newsgroup reader?
John
Works wonderfully:)
Martin,
Are you guys getting yours by email or monitoring a newsgroup reader?
John
Works wonderfully:)
http://DELETETHISccl.flsh.usherb.ca/bookmarks/DELETETHIS
Martin Towell wrote:
> --
> $news = mysql_query("select * from book
On Wednesday 30 January 2002 05:32, will hives wrote:
Please do not use HTML mail, thanks!
> I have produced an admin area which allows users to add, edit and delete
> stories plus images. Everything has gone great, thanks to all of you who
> answered previous postings.
>
> Just stuck on the ver
$news = mysql_query("select * from bookmarks ORDER by TNum,AU asc");
$old_TNum = "";
while ($mydata = mysql_fetch_object($news))
{
$new_TNum = $mydata->TNum;
if ($new_TNum != $old_TNum) #when TNum occurs the first time, echo it once
only.
{
$old_TNum = $new_TNum;
$body .= "".$temp.":
there's a directive in the php.ini file, something like "magic_quotes" or
something (too lazy to look...), set that to 0 (zero) or use stripslashes()
(this might have an underscore in the name, again too lazy to check) on the
vars
Martin
-Original Message-
From: Jon [mailto:[EMAIL PROTEC
Couldn't do it fast than that :o) !
Thanks,
J
Martin Towell wrote:
> --
> $news = mysql_query("select * from bookmarks ORDER by TNum,AU asc");
> $old_TNum = "";
> while ($mydata = mysql_fetch_object($news))
> {
> if (
strtoupper($string)
Voila ! =)
Frederic Trudeau
[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet -> http://www.cam.org
"My God ! It's full of stars"
On Wed, 30 Jan 2002, Philip J. Newman wrote:
> Is there anyway that I can change a string with lettle letters to
strtoupper()
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 30, 2002 2:12 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Change Text to CAPS.
Is there anyway that I can change a string with lettle letters to caps?
Philip J. Newman
Philip's Domain
Okay, I'm trying to read in a form with " and ' in it. The problem is that
PHP automatically changes these to \" and \' without asking :( If I read in
a file with " or ' in, it's fine and outputting to the screen is no problem.
It's only when I read in from a form that a problem appears. All I wan
Is there anyway that I can change a string with lettle letters to caps?
Philip J. Newman
Philip's Domain - Internet Project.
http://www.philipsdomain.com/
[EMAIL PROTECTED]
Phone: +64 25 6144012
--
$news = mysql_query("select * from bookmarks ORDER by TNum,AU asc");
$old_TNum = "";
while ($mydata = mysql_fetch_object($news))
{
if ($old_TNum != $mydata->TNum) #when TNum occurs the first time, echo
it once only.
Let's say I have two fields TNum and AU.
TNum is a BritishAmericanCanadian
AU name of an author. I want to sort them as follows.
British
Shakespeare
American
Joyce
Samuels
Twain
Canadian
Majors
If you recompile that will no effect any of the data in your DB if that is what
you mean?
-=>Adam<=-
Quoting "Uma Shankari T." <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> Already i am having so many details in my mysql database.If i do this it
> won't affect the previous one..
>
>
> -Uma
Hello,
Already i am having so many details in my mysql database.If i do this it
won't affect the previous one..
-Uma
--
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 admi
./configure --with-mysql...
which is build-in with PHP 4.0.* I think.
Frederic Trudeau
[A]dvanced [S]upport [A]gent
Colocation/Customer Support Agent
CAM Internet -> http://www.cam.org
"My God ! It's full of stars"
On Wed, 30 Jan 2002, Uma Shankari T. wrote:
>
>
> Hello,
>
> How do i
./configure --with-mysql ... other things to configure in ... This will use
PHP's built in mysql support that is all you should need.
then do a make, make install blah...
-=>Adam<=-
Quoting "Uma Shankari T." <[EMAIL PROTECTED]>:
>
>
> Hello,
>
> How do i recompile with mysql support
>
Hello,
How do i recompile with mysql support
-Uma
--
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]
There are many Auth packages already writen. If you need a sample peice of code
E-mail me I use a small script that I wrote that does MySQL and Oracle, system
level auth if this will help you out I will E-mail you the scrip and schema let
me know.
-=>Adam<=-
Quoting Matthew Darcy <[EMAIL PROT
If this is a Sorce install you may need to recompile with MySQL support.
-=>Adam<=-
Quoting "Uma Shankari T." <[EMAIL PROTECTED]>:
>
> Hello ,
>
> I am trying to connect mysql using php script like this
>
> $link= mysql_connect('$servername','$username','$password');
>
> but it is givin
you must make sure that the version of PHP that is being used was built with
mysql support and/or that the drivers are being loaded for mysql.
Jim Lucas
- Original Message -
From: "Uma Shankari T." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, January 29, 2002 6:24 PM
Subjec
On Tue, 29 Jan 2002 12:11:02 +0800, you wrote:
>On Tuesday 29 January 2002 06:36, Floyd Baker wrote:
>
>> Yes I have a c:\tmp directory and I see the session being created in
>> it. And the page_view value of 1 after the first increment. The
>> editor wants to reload each time I hit the submit
Hello ,
I am trying to connect mysql using php script like this
$link= mysql_connect('$servername','$username','$password');
but it is giving Fatal error call to undefined function mysql_connect()
I have checked wheather php is installed properly by using this
phpinfo();
Everything is o
How can I send a simple file as attachment using the mail function ?
Can anyone give me a simple example ?
Thanks
Rafael Perazzo
_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com
--
PHP General Mailin
From: "Steve Edberg" <[EMAIL PROTECTED]>
> Perhaps the Library of Congress??
>
> http://www.loc.gov/z3950/
>
> You could hack the web interface, but it would be more efficient
to
> query the database directly using the Z.39.50 stateful protocol:
see
>
> http://lcweb.loc.gov/z3950/gateway.html#abo
yes, there is a way out, you can use readfile().
capture the output using ob_*() functions and then parse/eval that string
listed here are the functions you'll need.
http://www.php.net/manual/en/function.readfile.php
http://www.php.net/manual/en/function.ob-start.php
http://www.php.net/manual/en/
In article <007601c1a91f$ea9ecac0$6401a8c0@kevin>,
[EMAIL PROTECTED] (Kevin Stone) wrote:
> I don't know why I didn't think of this ahead of time but in order to
> produce the HTML-based ePostcard email I have to get the evaluated
> template into a string.
>
> I can fopen() the template file an
Good point, but I actually reccomend newbies subscribe to bugtraq. It really
opened my eyes to the world of cross-site scripting. Now I not only know how,
but do, write secure code.
If I saw a warning about a script either here or on bugtraq, I would
immediatly patch it- or at least shut down
I agree, but it may be usefull to tell those newbies that when you
execute a command from PHP that will get some parameters from an external
source (like a form or a get variable) ALWAYS use the
escapeshellcmd()
function to prevent users from executing arbitrary commands.
bvr.
>There's such a
Definitely use session! :)
My two bits worth
Rick
"If you're going to be able to look back on something and laugh about it,
you might as well laugh about it now." - Marie Osmond
> From: "Matthew Darcy" <[EMAIL PROTECTED]>
> Reply-To: <[EMAIL PROTECTED]>
> Date: Wed, 30 Jan 2002 01:27:42 -
Hi,
I am looking at getting users to input their details to be stored in mysql,
I would then like them to have to login to get access to certain functions
when they come back.
Does anyone have a good idea on how to do this,
is the best / only way to do this sessions ?
This must be quite secure
> I'm think I'm going to start forwarding all the bugtraq
> alerts for PHP scripts to this list. Any objections?
Yes, if the author of the script isn't on the list it's useless
unless someone wants to patch their script themselves. And if
they're the kind of person who's inclined to do that, the
I'm think I'm going to start forwarding all the bugtraq alerts for PHP
scripts to this list. Any objections?
-- Forwarded Message --
Subject: PhpSmsSend remote execute commands bug
Date: Tue, 29 Jan 2002 18:57:51 + (GMT)
From: Indra Kusuma <[EMAIL PROTECTED]>
To: <[EMAIL
To correct the time, try this:
";
$time = $time + (7*60*60);
echo "adjusted time = ".date("Y/m/d H:i:s",$time)."";
?>
--
Gaylen
[EMAIL PROTECTED]
Home http://www.gaylenandmargie.com/
PHP KISGB v3.22 Guest Book http://www.gaylenandmargie.com/phpwebsite/
"Torkil Johnsen" <[EMAIL PROTECTED]> wrote
Perhaps the Library of Congress??
http://www.loc.gov/z3950/
You could hack the web interface, but it would be more efficient to
query the database directly using the Z.39.50 stateful protocol: see
http://lcweb.loc.gov/z3950/gateway.html#about
and
http://www.niso.org/sta
Ok first I will answer you last question.. use
gmdate (http://www.php.net/manual/en/function.gmdate.php)
instead of
date (http://www.php.net/manual/en/function.date.php)
And then for your MySQL output use
SELECT DATE_FORMAT(fieldName, '%d.%m.%y at %H:%i:%s') AS newDate
You can view documentati
At 01:22 AM 1/30/2002 +0530, Kunal Jhunjhunwala wrote:
>Hey Mike,
>I am looking for PHP sockets.. hence the php mailing list :P I hvent found
>any decent resource on it.. orielly article is good for complete beginers..
>but i was looking for something more detailed... any books anyone can
>recomme
It is much easier to use the mysql DATE_FORMAT() function to format your
dates when retrieving directly from the data base. You do not have to
convert to a UNIX time stamp and all that other stuff.
Your select statement should look something like:
$date_format_long="%d:%m:%y at %T";
$qu
Hello...
I have a field in my mysql database containing date&time on the format
-MM-DD HH:MM:SS (24-hour format)
Now. I want to output this as follows: DD.MM.YY at HH:MM:SS
Currently I do this by this function:
function convert_datetime($in){
$return = substr($in,8,2) . "." . substr
Actually, I found a simpler way:
$vars = str_replace("/","&",$PATH_INFO);
parse_str($vars);
But thanks for your help...
Christopher William Wesley wrote:
> $myPairs = explode( "/", $PATH_INFO );
> while( list( $key, $val ) = each( $myPairs ) ){
> if( !empty( $val ) ){
> $my
I'm using templates to create an interface for a new ePostcard script.
The templates are HTML with embedded PHP tags in the likely positions
(ie. font, text, bgcolor, etc..). The script include()'s the chosen
template file and evaluates the variables stored in the active session
for display in th
On Tue, 2002-01-29 at 06:53, Stefan Rusterholz wrote:
> Is there a place especially meant to make feature-requests to the
> php-development team?
>
> TIA
> stefan rusterholz
http://bugs.php.net
Select 'Feature/Change Request' as the bug type.
Cheers,
Torben
--
Torben Wilson <[EMAIL PROTEC
Hi,
Can anyone point me to some good examples of how to add images using PHP 4 (from
within a browser) to a MySQL database running on MacOSX, which is already configured &
working, then display the images by selecting their name or category etc, again within
the browser. I also need to restric
$myPairs = explode( "/", $PATH_INFO );
while( list( $key, $val ) = each( $myPairs ) ){
if( !empty( $val ) ){
$myVar = explode( "=", $val );
${$myVar[0]} = $myVar[1];
}
}
For you example URI, "index.php/option=contact/step=view"
you would then have $
I'm having a little problem with my sessions on a website I'm programming
for. After a user logs in, if that user follows a link, the variable
information is being passed correctly, but when they hit "Back", Internet
Explorer gives a "Warning This Page Has Expired" error. Hitting refresh
does fi
For the archives:
I found a fix for my problem. I want to be perfectly clear what my
configuration is so that if anyone has this god-foresaken problem they
can fix it.
OS: Red Hat Linux 7.2
MTA: courier-mta
IMAP: courier-imap
I installed the UW c-client library and compiled it with "make lrh"
I am trying to write software that will allow me to pass variables to a php
script like:
index.php/option=contact/step=view
When I do this, I get the varibal PATH_INFO which contains
"/option=contact/step=view". Now, what I want is to have the following:
$option = "contact"
$step = "view"
I
Hmmm,
I'm using exactly this:
http://www.domain.com/images/image1.gif";;
} else {
$requestImage = "http://www.domain2.com/image2.gif";;
}
header ("Content-Type: image/gif");
header ("Content-Length: ". filesize($requestImage));
header ("Content-Disposition: inline; filename=" . $requestI
Ok, I have PHP 4.1.1 on RH7.2 and I'm running courier-mta and
courier-imap. I downloaded the UW c-client library and did the "make
lrh". I then do the following configure:
./configure --disable-debug -enable-pic -disable-rpath
--enable-inline-optimization --with-apxs=/usr/sbin/apxs --with-bz2
--
Dear PHP Users,
I was wanting some input on your ideas. I want to be able to encrypt
data and then store it into a database and then decrypt the information
and display it when I need the data. I have played around with a few
things from the PHP website but have problems with a few things.
Does
Maybe I'm having a brain fart, please set me straight:
I want to use session_id($myval) to use a roll-my-own MD5 session id (SID).
I don't obviously want to assign the session_id() if the session is already
established.
Given that session_id() must come before session_start() how do yo
1. Create a mysql database with the names. You would have to enter all the
names and addresses into the database.
2. Create a PHP program which would read the names from the database. The
names would go into a variable.
3. Using a template letter in the PHP program, insert the names (from t
I have produced an admin area which allows users to add, edit and delete
stories plus images. Everything has gone great, thanks to all of you who
answered previous postings.
Just stuck on the very last point...editing...the script below updates the
name and email fine, but uploading a new image i
Hi,
I am working on a projects for book cataloging. What I want to do is to input
all the books isbn to a mysql table, either by hand or by scanning it, and
then let php go through those data and add more info such as tittle, author,
publisher, etc.
Now, the real question is, does anyone know
Try using this:
location:foo2.php?text=urlencode($text)
Regards,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus Argentina S.A.
__
Visit us On Line at www.equiplus.com
Email addresses:
Operations: [EMAIL PROTECTED]
Consulting: [EMAIL PROTECTED]
Technical: [EMAIL
On Wednesday 30 January 2002 04:45, Simos Varelakis wrote:
> Hi to everyone
>
> I try to pass a varaible ($text) which contains text from (with
> Header"location:foo2.php?text=$text") from one page foo1.php to foo2.php
> and display it to another textarea object in foo2.php
>
> the problem is t
My Setup Specs
--
PHP 4.1.1, MySQL 3.23.36, & Apache 1.3.19 with mod_auth_mysql on OpenBSD
3.0 (OS).
Issue
-
Scenerio: User provides user_id and password. user_id and password are
checked against the database (MySQL). If authentication is true the a
session is started based o
Hi to everyone
I try to pass a varaible ($text) which contains text from (with
Header"location:foo2.php?text=$text") from one page foo1.php to foo2.php
and display it to another textarea object in foo2.php
the problem is that i lose all the contents since the first tab or CR
prsseed in the so
On Wednesday 30 January 2002 03:10, Jeff Lewis wrote:
> Is it possible to measure the amount of RAM or CPU power used to process a
> particular file written in PHP? Can the values be grabbed and displayed
> with PHP?
There's a function getrusage(). Not sure whether that'll do what you want.
Ivo Stoykov wrote in [EMAIL PROTECTED]:">news:[EMAIL PROTECTED]:
> Hello again
>
> earlier today I asked about detecting whether javascript is
> enabled on the visitor's browser (bellow are the question and
> answeres received).
jsImg = new Image()
jsImg.src = "js-yes.gif";
Yo
check into libcurl and the php/curl integration. You are certainly able to
process the response headers in curl.
> Hello,
>
> Alexandre Ferreira Novello wrote:
>>
>> Hello guys,
>>
>> I asked that before, but I will explain my problem with more details.
>>
>> How can I retrieve the
Hello,
Rodrigo Peres wrote:
>
> Hi list,
>
> I'm new to the xml world, and I need to create a page with data retrieved
> from my database using PHP. The process is the same of create an html page??
> I mean I can use echo to output the xml tags and values?? Since this page
> will be dinamically
Hello,
Rodrigo Peres wrote:
>
> Hi list,
>
> I'm new to the xml world, and I need to create a page with data retrieved
> from my database using PHP. The process is the same of create an html page??
> I mean I can use echo to output the xml tags and values?? Since this page
> will be dinamically
Hello,
Alexandre Ferreira Novello wrote:
>
> Hello guys,
>
> I asked that before, but I will explain my problem with more details.
>
> How can I retrieve the HTTP Response Headers using iPlanet or an
> independent SAPI function?
>
> Does these variables could come in any $HTTP_*_VARS or $_*?
Hi,
I've got two bits of code below that work fine, but I would like to combine
them if possible. The $check variable that is there is there now would
normally be passed from a form. Since the items in the '$Company = array()'
part would be passed into that section - how can this be done?
**
yes you can by using MYSQL to store the names, PHP to generate the letters
(or you can store letter template in database as well), and PHP's mail()
function will take you home.
-Original Message-
From: Ben Clumeck [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 29, 2002 1:43 PM
To: [EMA
Hey Mike,
I am looking for PHP sockets.. hence the php mailing list :P I hvent found
any decent resource on it.. orielly article is good for complete beginers..
but i was looking for something more detailed... any books anyone can
recommend would do too.. but i would prefer source to study :)
Rega
I would like to send an e-mail (the same e-mail) to 1,000 different people.
I want each persons name to be in the "To:" field. Is there a way to
customize it to where it can say Dear (having a different persons name
corresponding to an e-mail address) so that it looks customized.
Thanks,
Be
Are you referring to PHP sockets or C sockets? PHP sockets are an
implementation of C sockets (which is why most of the actiones needed are
the same in PHP but are somewhat simplified).
If you mean PHP sockets, you can try taking a look at WhoisPro, a
Whois/NICNAME script I wrote to understand h
More than one way to skin a cat :) The question obviously is whether or not
you need to read this data back or if it will be static, unread data. You
can use several forms here, including the one below. However, you can use
for, while and foreach loops to handle it:
/* for (...) method */
$fp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Zach Curtis blurted
> Is there a limit to the number of key=value pairs that can be stored in an
> array? Or is this more a function of RAM limits?
AFAIK it would just be a resources issue.
Are you just curious, or.?
- --
Nick
Obviously RAM will come into play in this but there is a system-dependent
limit. I forget which type it uses (int, double, long, etc) to determine
this limit, but math in computers is always finite, as there will always be
a maximum limit, depending on how many bits your system is capable of
hand
hey..
does anyone know of any good resources for using sockets? which will also
explain using sockets to connect to various protocols? like ftp, httpd,
mysql etc? Also, somewhere one can read on writing a connection deamon...
Thanks!
Regards,
Kunal Jhunjhunwala
--
PHP General Mailing List (http
RAM is less then max 32 bit number anyway.
Ivo
"Zach Curtis" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a limit to the number of key=value pairs that can be stored in an
> array? Or is this more a function of RAM limits?
>
> Thanks.
>
>
> Zach Cu
I don't remember if the DirectoryIndex directive is usable inside VHosts, it
might just be global. But yes, to use it add the following line:
DirectoryIndex filename1 filename2 filename3
Add as many as you want, and use any names you want. Recommended order
would be something along the lines o
Scott -
You can just write it as a pipe-delimited file, write it
to the file, and then read it back in. Use implode and explode:
$company = array("Item 1", "Item 2", "Item 3", "Item 4");
#-
#
# Output array
#
$output_string = implode("|", $company)
Is there a limit to the number of key=value pairs that can be stored in an
array? Or is this more a function of RAM limits?
Thanks.
Zach Curtis
POPULUS
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTE
Jason put a little snip from the man that he found that works just
fine on my pages.
It looks like you increment or change the variable directly in the
session register instead of doing it on the page.
That sounds suspiciously like what you were trying to tell me. :-)
What do you think...
1 - 100 of 157 matches
Mail list logo