> I don't know the details of this request (like why., but as soon as I
> know I'll tell you) but can Apache live on one box with all PHP requests
> being handled on another box?
Yeah, but what you're likely to end up with is apache on one machine
just passing requests to and from apache-mod_php-y
> Hi,
>
> > I told him that support for PHP was compiled into Apache and that it
> > would be impractical. I asked if he wanted the DB on another box. I
> > asked if he wated the scripts on another box. I am quite sure that there
> > is no particular logic behind the request as I have not received
> > You'll have to learn to adjust then I guess. And do those 2k really
> > matter? Come on... Just get a good mailer that defaults to
> > "Reply-All"
> > (like, mutt, pine, pcpine)
>
> Some of us don't have the choice -- we work in a corporate or institutional
> environment where the decision
On Tue, 1 Jul 2003 [EMAIL PROTECTED] wrote:
>
> On Tue, 1 Jul 2003, Dore van Hoorn wrote:
>
> > This is not exactly what you've asked for, but perhaps you're able to use
> > it anyway. It is the PHP script I use to create a print-friendly page:
> > Everything between and
Hi All
I think I missed a bit to my Basic Auth issue which I hope to clarify here.
1) User successfully logins into my UNIX/Apache/Php site using my
MySql/SESSION/$_POST combo.
2) Now I need to send a username:password pair to a Windows box to allow
access to a Basic Auth protected resource on t
On Tue, 01 Jul 2003 22:38:38 -0700, John wrote:
>When using mod_rewrite, is there any way to post variables from a form the
>way you want to.
>
>eg
>a text box called first name
>another textbox called second name
>action being http://www.searcher.com/search
>
>and the result being
>http://www.se
Hi,
Can somebody say how can I get all vars and their values from a script.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Does anyone know of a PHP user group near Gurnee, IL. I found one in
Chicago, but its a little far to go and they meet in the middle of the day
on Sat.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lol we we just discussing this at work the printer functions are only for
windoze , there is jscript window.print() to bring up the printer dialog ,
a project i just did implemented htmldoc which outputted the formatted
content to pdf which was a more well formed format for printing rather than
fr
Take a look at safe_mode_gid, it tells PHP to do safe mode owner
checking using the group id rather than user id.
safe_mode_gid boolean
By default, Safe Mode does a UID compare check when opening files. If
you want to relax this to a GID compare, then turn on safe_mode_gid.
Whether to use UID
On Jul 2, 2003, "Mark Tehara" claimed that:
|Where should i start with the lodgic. I'm trying to list a group of items
|
|
|Left: item one, Right: Item 2
|
|
|This is repeated
|
|I can only seem to get them to go str8 down not left then right.
|
|
|Any Ideas?
|
|/ Mark
Perhaps you want an html t
PHP 4.3.2 has GD bundled with it, if you compile it from source do
--with-gd to use the bundled library. It sounds like you need to
install GD2, you can find it on freshmeat.net or probably find an RPM
for your distro somewhere.
If you have libjpeg and libpng I've had no problems using the bun
Dude, Can you not use something like
while
and then add a for ($i=1 to ... lodgic...
(o;
- Original Message -
From: "Mark Tehara" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Cc: "Philip J. Newman" <[EMAIL PROTECTED]>
Sent: Wednesday, July 02, 2003 3:56 PM
Subject: [PHP] Item
You could do it a couple different ways, if you just want to combine the
values the easiest way is:
$v_template = $_REQUEST['TemplateOne'] . $_REQUEST['TemplateTwo'];
If you want a space between the two values expand on this idea using:
$v_template = $_REQUEST['TemplateOne'] . ' ' . $_REQUEST['
Where should i start with the lodgic. I'm trying to list a group of items
Left: item one, Right: Item 2
This is repeated
I can only seem to get them to go str8 down not left then right.
Any Ideas?
/ Mark
On Tue, 1 Jul 2003 23:51:09 -0400
"Vincent Bouret" <[EMAIL PROTECTED]> wrote:
> I found this in the ChangeLog of PHP5: Removed the bundled MySQL client
> library. (Sterling)
>
> What does that mean? We can't access MySQL anymore from PHP?
>
Check this thread:
http://marc.theaimsgroup.com/?t=
Hi Mike,
based on what you're saying, I gather that if I were to choose to
use cookies, and if cookies were rejected by the user, PHP will default to
using sessions?
: quote :---
The only major flaw I've found with PHP's
session support is that it doesn't appear to be possible to forc
I found this in the ChangeLog of PHP5: Removed the bundled MySQL client
library. (Sterling)
What does that mean? We can't access MySQL anymore from PHP?
Vincent
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> I know this topic has been talked about a LOT but all the info
>I've managed to get from google is that there is no center / best option
>to choose between using sessions or cookies.
You're comparing apples and oranges -- cookies are one of the mechanisms
by which PHP implements sessions.
I have this php code (below), My form passes 2 values w/c is TemplateOne and
TemplateTwo I was wondering how could I make that in php to catch the value
as one only? I tried this and it didn't work. But if the value is just one
the case display it. Any ideas?
--
Thank you,
Miranda, Louie
--
PH
hi,
PHP dos have some printer_* functions. had a look? :-)
-shiva
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Dear all,
>
> I have research about library automation engine in my library.
> developing on PHP + MySQL
> We need to develop printer utility at some module to get pr
Hello,
I have developed a package which is exactly same what you explained here. It
is PHP-MySQL (Windows/Linux)combination. I have another older version which
was PHP-MSAccess (Windows). If you want I can give you logins for test
purposes.
This system is currently in use. I have to creat identic
Hello,
On 06/30/2003 07:30 PM, Sparky Kopetzky wrote:
I'm getting this error while sending email with mail():
Warning: mail(): SMTP server response: 550 5.7.1 <[EMAIL PROTECTED]>... Relaying denied in (path to my program)
How do I turn relaying on??
I think that means you need to authenticate. T
Hello
I hope someone can help me.
I use my local machine to develop and then upload to whatever site.
I have one site that does some image resizing, uses a call to imagecreatetruecolor.
Works fine on the host and used to work fine on my local machine. But now that I
come back to make some chan
Hello,
On 07/01/2003 07:41 PM, Ralph wrote:
I wrote class that contains a function that retrieves users shopping
cart items from database and then returns an array with qty, item number
, item name, etc.
So now whenever I want to retrieve the users cart I use the following:
$cart_contents = $cart
Hello,
On 07/02/2003 12:00 AM, Joel Louie M Miranda wrote:
Can someone give me a suggestion or a howto where could I get some idea on
how to do image verification? Like on yahoo.com signup where you need to
enter the text on the image to process your order.
This class does what you want:
Class: C
I've got a script whose configuration creates a storage directory owned
by the web server in which files get stored, also owned by the web
server. With safe_mode in effect, I'm getting errors like:
Warning: file_exists() [function.file-exists]: SAFE MODE Restriction in effect. The
script whos
> Can someone give me a suggestion or a howto where could I get some idea on
> how to do image verification? Like on yahoo.com signup where you need to
> enter the text on the image to process your order.
It's not a difficult process.. Basically, Design an image which has a
lot of noise in the bac
Hello,
Can someone give me a suggestion or a howto where could I get some idea on
how to do image verification? Like on yahoo.com signup where you need to
enter the text on the image to process your order.
--
Thanks,
Louie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
Hi All,
I know this topic has been talked about a LOT but all the info I've
managed to get from google is that there is no center / best option to
choose between using sessions or cookies.
Pros of Sessions
1. PHP does it all automatically
When using mod_rewrite, is there any way to post variables from a form the
way you want to.
eg
a text box called first name
another textbox called second name
action being http://www.searcher.com/search
and the result being
http://www.searcher/search/firstname/secondname
is this possible?? i do
How do I, in PHP, check if a submitted URL exists and doesnt return a 404
error. can i open it with fopen and somehow get the HTTP response or does it
require something else
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yea, that is what I'm going to do for a back up. After mucking with this for
a couple of days, I've about had it.
Jeff Harris wrote:
> On Jul 1, 2003, "Chris" claimed that:
>
> |I'm trying to create an form where the user can upload a datafile to the
> |server. The datafile will be txt or csv a
Hiya.
I'm looking for a tool that will allow online file management, with a UI
something like that of a traditional FTP client.
The ideal candidate would authenticate based on a MySQL table and would
be able to handle multiple users with unique base directories. I'd
rather not use an PHP-based
>>Can php share cookies with java servlets? Specifically, can php use
>>cookies written by a java servlet?
>
>I don't know about Java, but JavaScript can use php cookies and
>vice-versa.
A cookie is a cookie is a cookie, regardless of the originating technology
-- browsers should treat them all i
In a message dated 7/1/2003 3:56:28 PM Pacific Daylight Time, [EMAIL PROTECTED]
writes:
>Does anyone know of any built in functions or options for the US states?
>I want to make a drop down menu and some other things which have the 50
>states in it. Is there any shortcut for this with PHP, or do
On Tue, 1 Jul 2003 15:41:47 -0700, you wrote:
>What would the best way to rotate text 90 degrees? Using php's image
>generator? Some fancy HTML I don't know about? Or something else?
CSS
http://www.ssi-developer.net/css/vertical-text.shtml
But as to browser support *shrug*.
--
PHP Gen
I don't know about Java, but JavaScript can use php cookies and
vice-versa.
-Original Message-
From: Jiann-Ming Su [mailto:[EMAIL PROTECTED]
Sent: 1. júlí 2003 19:50
To: [EMAIL PROTECTED]
Subject: [PHP] Sharing Cookies with Java?
Can php share cookies with java servlets? Specifically, c
Actually, when I took another look at the manual, it says:
Starting with MySQL Version 4.0.4, you can also perform UPDATE
operations that cover multiple tables:
UPDATE items,month SET items.price=month.price
WHERE items.id=month.id;
So it is even newer than 4.0.1
-
You need to return $x out of the function.
So do this:
function hello() {
print 'hello ' . $name;
$x = 1;
return ($x);
}
etc
Then call it assigned to a variable:
$x = hello();
echo $x;
bye();
Kyle Babich wrote:
I think this is short example of my problem...
$name = 'k
> Does anyone know of any built in functions or options for the US states?
> I want to make a drop down menu and some other things which have the 50
> states in it. Is there any shortcut for this with PHP, or do I need to
> do it all manually in HTML? Please let me know. Thanks.
Here's one:
h
> Does anyone know of any built in functions or options for the US states?
> I want to make a drop down menu and some other things which have the 50
> states in it. Is there any shortcut for this with PHP, or do I need to
> do it all manually in HTML? Please let me know. Thanks.
>
> Matt
Hi M
I played around with this, but couldn't get this to work in my httpd.conf:
php_value disable_functions phpinfo
Not sure why.
I did discover, however, that the username and password will no show up in
phpinfo UNLESS phpinfo() is called from within the directory, in our example
that would be /var/w
I think this is short example of my problem...
Right now this returns: hello x != 1
What do I have to do to get bye() to return 'x = 1'? I tried declaring
the x = 1 in hello() global and I tried declaring it static.
On Tue, 01 Jul 2003 17:27:48 -0500, "Kyle Babich" <[EMAIL PROTECTED]>
said:
Thanks a lot. Ye, I am using Apache. So how can I set when
the session expires? I should just set the "session.gc_maxlifetime"
item in php.ini file or I should write my program?
thanks!!
- Original Message -
From: "Kris Yates" <[EMAIL PROTECTED]>
To: "sunwei" <[EMAIL PROTECTED]>
Sent:
Did you even read the docs on sessions?
http://us4.php.net/manual/en/function.session-destroy.php
http://us4.php.net/manual/en/function.session-unset.php
http://us4.php.net/manual/en/function.session-unregister.php
*sigh*
Please people, think and at least do the simplest of searching on the si
Does anyone know of any built in functions or options for the US states?
I want to make a drop down menu and some other things which have the 50
states in it. Is there any shortcut for this with PHP, or do I need to
do it all manually in HTML? Please let me know. Thanks.
Matt
> I wrote class that contains a function that retrieves users shopping
> cart items from database and then returns an array with qty, item number
> , item name, etc.
>
> So now whenever I want to retrieve the users cart I use the following:
>
> $cart_contents = $cart->get_cart_contents();
>
> I t
Only if your code is calling the database...if $cart_contents is set on
the page and you call the var $car_contents over and over then no...the
initialization of the var is the only time if it is called in
get_cart_contents()...
--
BigDog
On Tue, 2003-07-01 at 16:41, Ralph wrote:
> I wrote class
What would the best way to rotate text 90 degrees? Using php's image
generator? Some fancy HTML I don't know about? Or something else?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I wrote class that contains a function that retrieves users shopping
cart items from database and then returns an array with qty, item number
, item name, etc.
So now whenever I want to retrieve the users cart I use the following:
$cart_contents = $cart->get_cart_contents();
I then iterate throu
As of now i dont think that DOMXML functions support the validation of
dtds or schemas...I have been looking for the past couple of days and
did not find anything...
I have not verified the xml extension for it but i doubt that that
option is there either...
--
BigDog
On Tue, 2003-07-01 at 14:
Any php programmers out there have a little free time? I've been trying
to find the bug in my logging system forever and I've all but given up.
If anyone else wants to try their luck then...
http://babich.us/log/source/log.php.txt
http://babich.us/log/source/config.inc.php.txt
http://babich.us/l
|- Original Message -
|From: "Kyle Babich" <[EMAIL PROTECTED]>
|To: "PHP-General" <[EMAIL PROTECTED]>
|Sent: Tuesday, July 01, 2003 3:38 PM
|Subject: [PHP] .inc.php
|
|
|> When .inc.php files are included they are also executed whenever the
|> script is executed right?
|> --
|> Kyle
|>
On
On Jul 1, 2003, "Chris" claimed that:
|I'm trying to create an form where the user can upload a datafile to the
|server. The datafile will be txt or csv and contain multiple records. I
|would like the user to supply the field delimiter like (,) comma , (\t)
|tab or something else. The data records
it not because of extension .php
it is because of start and end tags
you can have a file .abc with php tags and it will work
I have it working on my server
Suhas
- Original Message -
From: "Kyle Babich" <[EMAIL PROTECTED]>
To: "PHP-General" <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 20
Problem was a fat-finger - meant 'bid' not 'bids'... Doh!!!
Sparky - Thanks again.
- Original Message -
From: "Shena Delian O'Brien" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 16:01
Subject: [PHP] Re: Nested mysql_query()'s
> Sparky Kopetzky wrote:
> > Hi!
Sparky Kopetzky wrote:
Hi!
I've got two nested queries where one looks up data based on values returned from the first.
$lot_query = "SELECT * FROM LOT WHERE lot_category_id=" . $lot_category .
" AND lot_close_time>" . time();
$lot_result = mysql_query($lot_query, $CONNECT_ID);
No need for another connect as long as selecting from same server as the same
user. Perhaps there are no bids for some of the lot_id's? Perhaps you do not
care that there are bids returned and want to shut mysql_num_rows up by
prepending the @ sign in front of it. Like @mysql_num_rows($bid_resul
Hi!
I've got two nested queries where one looks up data based on values returned from the
first.
$lot_query = "SELECT * FROM LOT WHERE lot_category_id=" . $lot_category .
" AND lot_close_time>" . time();
$lot_result = mysql_query($lot_query, $CONNECT_ID);
if ($lot_result)
And when functions are defined in *.inc.php they can be executed in the
main program?
(I just finished writing a logging system and php isn't giving me any
errors so I'm trying to figure out what is gong wrong.)
On 01 Jul 2003 17:43:16 -0400, "Yann Larrivee" <[EMAIL PROTECTED]> said:
> Yes beacaus
Yes beacause the real extension is .php
On Tue, 2003-07-01 at 17:38, Kyle Babich wrote:
> When .inc.php files are included they are also executed whenever the
> script is executed right?
> --
> Kyle
--
Yann Larrivee <[EMAIL PROTECTED]>
--
PHP General Mailing List (http://www.php.net/)
To unsu
When .inc.php files are included they are also executed whenever the
script is executed right?
--
Kyle
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
when the user close all the IE windows, should the session be destroyed autamatically?
it seems in my website, the session is not destroyed autamatically, so that other
people
open the IE and see that he can access the website without logging in. so what I
should do?
thanks a lot for any help
Theoretically, you should be able to do a multi-table update since MYSQL
3.23, like this:
UPDATE tablename, tablename2 SET tablename.field1 = 'yes' WHERE
tablename.userid = tablename2.userid;
I haven't tested it, though.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTE
http://is.php.net/manual/en/features.file-upload.php
There you can see how to use the $_FILES autoglobals ($HTTP_POST_FILES
in php versions prior 4.1.0) to get the size of the uploaded file in
bytes.
So, for example, you can do this before saving the uploaded file:
if($_FILES['userfile']['size']
Hi , i have been looking for php web application that uses the Gettext
extension to facilitate the translation.
However i did not really find any.
Anybody as good example of application that uses it and an explanation
why people don't use it other then the fact that you need the extension
to be
I'm trying to create an form where the user can upload a datafile to the
server. The datafile will be txt or csv and contain multiple records. I
would like the user to supply the field delimiter like (,) comma , (\t)
tab or something else. The data records are then parsed using fgetcsv.
The proble
Try :
Difference between two dates (i.e. between today and a date in future).
The program is based on php-timestamp, but in your browser you see the
usual dates(i.e.: dd.mm.)
http://examples.weberdev.com/get_example.php3?count=3240
Find the Difference between today's date and a future day.
h
I am parsing an xml string using the DOM package in php. Is there
anyway to validate the xml string against a schema or a dtd with DOM. I
know it is still experimental but I didn't know if something like that
existed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
On Tue, 01 Jul 2003 10:59:53 -0500, Kyle Babich wrote:
>How would I set the file pointer to the very end of the last line of the
>file?
Assuming you are trying to append to the file you can do the following
(open output append):
$fHandle = fopen( "file.txt", "a" );
or you can fopen the file i
Hello,
On 07/01/2003 02:27 AM, Gladk wrote:
Can anybody give me direct link for downloading Zend Optimizer.
I tried to do it a lot of times from the official site, but after
accepting agreement nothing happens
Maybe Zend site has some alergy to your browser or vice-versa. :-)
BTW, if you are
Can php share cookies with java servlets? Specifically, can php use cookies
written by a java servlet?
--
Jiann-Ming Su [EMAIL PROTECTED] 404-712-2603
Development Team Systems Administrator
General Libraries Systems Division
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Is this function still broken in php 4.3.0+?
The manual says it was broken in PHP 4.0.4.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I just went here...accepted and it began downloading..
http://www.zend.com/store/getfreefile.php?pid=13&zbid=550
-Original Message-
From: Gladk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 1:45 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Zend
Hi ALL!
Sorry I repeat the question,
It would probably be much easier to help you if you just stated exactly what data was
being fed to mail() when it fails (try to make a simple case). In fact, just
determining that might help you determine if the problem actually has anything to do
with mail(), or something else in the code.
J
-Original Message-
From: Michael A Smith [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 01, 2003 1:40 PM
To: Jay Blanchard
Subject: RE: [PHP] PHP5 - Bugs
I'm running on a RH9 box with Apache2. Going to pages that include the
PEAR::DB file throw DNS errors, but much simpler pages do not
- Original Message -
From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]>
To: "'Kevin Stone'" <[EMAIL PROTECTED]>; "PHP-General"
<[EMAIL PROTECTED]>
Sent: Tuesday, July 01, 2003 12:19 PM
Subject: RE: [PHP] Reg Ex to search for both Integer and Comma-spaced
Integer
> > -Original Message-
> -Original Message-
> From: Kevin Stone [mailto:[EMAIL PROTECTED]
> Sent: 01 July 2003 18:07
>
> $string = "Mark's average score was 544.";
> preg_match("/average score was ([0-9]+)/", $string, $matches);
> $score = $matches(1);
>
> $string = "Julie's average score was 10,443.";
> preg_m
On Wednesday 02 July 2003 01:07, Kevin Stone wrote:
You have started a new thread by taking an existing posting and replying to
it while you changed the subject.
That is bad, because it breaks threading. Whenever you reply to a message,
your mail client generates a "References:" header that tells
Hi,
I have this class for sending mail, which worked until PHP 4.2.3
Since 4.3.0 it stops functioning. No error message. The mail is simply
not send.
I've searched everywhere and found no explanation for this behaviour.
Any help would be appreciated.
Warm regards,
Mário Gamito
class html_mime_m
Humm from what i remember ( i saw a snap that did not work with dom
about last week).
In the help there was a not about dom5 i compiled with dom5 and it
worked for me.
But now in the latest snap dom5 option is gone. But compiling php with
dom support works well.
So try to compile --with-dom5 (if
Hi ALL!
Sorry I repeat the question, but novody answered..
Can anybody give me direct link for downloading Zend Optimizer.
I tried to do it a lot of times from the official site, but after
accepting agreement nothing happens.
Thanks
--
PHP General Mailing List (http://www.php.net/)
To uns
[snip]
Can't figure this out... whenever I try to use any mysql functions or
anything, I get problems. PHP throws a DNS error... what's up with that?
[/snip]
Hey,
Give us some more information and we might be able to start helping you.
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
Which platform are you running on?
Marco
On Tue, 2003-07-01 at 13:39, Michael A Smith wrote:
> Hey,
>
> Can't figure this out... whenever I try to use any mysql functions or
> anything, I get problems. PHP throws a DNS error... what's up with that?
>
> -Michael
--
Marco Tabini
President
Mar
Hey,
Can't figure this out... whenever I try to use any mysql functions or
anything, I get problems. PHP throws a DNS error... what's up with that?
-Michael
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Looks like your SMTP server needs for your to authenticate first.
-->Jonathan
I made a discovery today. I found a computer.
Wait a second, this is cool. It does what I want it to.
If it makes a mistake, it's because I screwed it up.
Not because it doesn't like me...
Or feels threatened by me...
If you installed libxml2 from source--rather than from RPM--chances are
that it's been installed in a folder other than the system library
directory (/usr/lib). It's probably in /usr/local/lib instead. So you
can do one of two things: either reconfigure libxml2 specifying
--prefix=/usr or reconfigu
Hello all!
I'm having problems getting the below working. I'm actually trying to
get a telnet socket connection working but I figured that getting it
to talk a web server would suite the same purpose to begin with.
Any ideas why it stops right after the comment "Getting welcome banner
stuff"?
T
If you didn't install the RPM of the libxml higher then 2.5.1, I
would assume there's a configure line like --with-libxml=/path or
something similar to that you have to specify where you installed it
when you compiled it.
On Tue, 2003-07-01 at 13:11, Mauricio Cuenca wrote:
> Hello,
>
> I've tri
Hello,
I've tried several times compiling PHP 5.0.0b1 on a Linux RedHat 8.0 using
this configure command:
./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5
And I get the following error:
configure: error: libxml2 version 2.5.1 or greater required.
Then, I downloaded an
oops - maybe i should have kept my big mouth shut!
ha.
anyway, it doesn't look like it's going to change.
>php_thread --end "php-general as REPLY TO"
Mark wrote:
But that would not solve the problem being discussed. None of the
webmail services that I've tried have a "reply-to-list" feature.
---
I'm a little confused by something. I need to build a reg-ex to scrape for
both plain integers and comma spaced integers in the same place in the same
string at the same time. For example..
$string = "Mark's average score was 544.";
preg_match("/average score was ([0-9]+)/", $string, $matches);
But that would not solve the problem being discussed. None of the
webmail services that I've tried have a "reply-to-list" feature.
--- Jim Lucas <[EMAIL PROTECTED]> wrote:
> You could signup with a company like yahoo.com or hotmail or
> bend.com and
> you could then have a web based email service.
$data = file('c:\blah.txt');
$lineyouwant = $data[(count($data)-1)];
Not necessarily most efficient, but it works.
> At 10:59 AM 7/1/2003 -0500, Kyle Babich wrote:
> >How would I set the file pointer to the very end of the last line of the
> >file?
> >
> >ex. ahkjhff
> >asdjfhlkajf
> >sdfhakslj
$data = file('c:\blah.txt');
$lineyouwant = $data[(count($data)-1)];
Not necessarily most efficient, but it works.
> At 10:59 AM 7/1/2003 -0500, Kyle Babich wrote:
> >How would I set the file pointer to the very end of the last line of the
> >file?
> >
> >ex. ahkjhff
> >asdjfhlkajf
> >sdfhakslj
Start by checking the file functions in the manual - there are some
interesting options for foen().
Miles
At 10:59 AM 7/1/2003 -0500, Kyle Babich wrote:
How would I set the file pointer to the very end of the last line of the
file?
ex. ahkjhff
asdjfhlkajf
sdfhaksljdh
kasjdhkjlfh
asdjfhklajs
askjdh
Sorry for the repost but it looks like weekends are not the best time to ask
questions.
Does anyone know of a way to see the exact request that Curl is sending
(other than just printing the variable that is posted)?
Daryl
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What does the html look like?
Mike
"Bob pilly" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I am using PHP Version 4.3.2-RC1
>
> Can someone please clarify the htmlentities() function
> for me? I have a variable called $notes2 that is
> pulled from a database that has a pound si
On Tuesday 01 July 2003 22:12, Adam Williams wrote:
> when I do that, nothing is written to news.txt, and I'm not sure why.
Well find out why!
> This is the entire script:
>
> if ($_POST['news'])
> {
> $fp = fopen( "news.txt", "w");
Add some error-checking to see whether fopen() was su
1 - 100 of 156 matches
Mail list logo