Someone jump in here and correct me if I'm wrong, but by the time you
get around to executing the second query, LAST_INSERT_ID() from MySQL
isn't necessarily going to be the desired value, because another record
may well have been inserted in that time?
On 24 Jan 2001 18:25:27 +0900, Maxim Malets
On Fri, 26 Jan 2001 13:37:42 -0500, Shane McBride
([EMAIL PROTECTED]) wrote:
>I have a script that pulls in the following file via: require
>'common.inc'
>
>The problem occurs when it hits the $UNIX_PATH variable. At least I
>think that's where it creates a problem. If I comment it out it
>works f
> the websites for my company use odbc_connect. Because we sometime
> move the website from unix to windows and back. So, it is more
> reliable that way.
If you're using the odbc functions, then what's the purpose of FreeTDS?
---
Mark Roedel| "A wise man once tol
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
rtual host that runs mysql
3.23.30 or higher, does anybody know one?
thanks,
- Mark
On Wed, 21 Feb 2001 09:35:22 -0800, Julie Meloni
([EMAIL PROTECTED]) wrote:
>As a follow-up to the "Terrible Hosting Experience" posts, here's a
>"Good Hosting Experience" post.
ost that somebody knows for sure is running a current
version of mysql.
thanks,
- Mark
--
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]
On Thu, 22 Feb 2001 17:41:43 -0500, ..s.c.o.t.t.. [gts]
([EMAIL PROTECTED]) wrote:
>mysql executes the queries in the order it recieves
>them, (so if your program's logic executes a select
>before an update, you'll never see results from the
>update in your select... at least not normally :)
well
Does anyone have examples of using DTD's with the xml_parse functions?
Regards
Mark
--
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]
Is it possible to specify an alternate SMTP host for use with imap_mail? Is
this what the rpath parameter is for? If so, what would the syntax be.
Thanks
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
On Sat, 24 Feb 2001 17:51:07 +0100, Christian Reiniger
([EMAIL PROTECTED]) wrote:
>On Saturday 24 February 2001 17:18, PHPBeginner.com wrote:
>> in my preceding email I've written:
>>
>> if($var!='')
>>
>> will fix your all your worries without an intervention of a
strings
>> function.
>
>Except t
On Mon, 26 Feb 2001 11:57:04 -0800, Brandon Orther
([EMAIL PROTECTED]) wrote:
>Hello,
>
>Is there a way to remove the first numbers of a string? Here is an
>example:
>
>$string1 = "12 this is number twelve";
>when done: " this is number twelve";
>
>$sting1 = "123 this is number one twenty three"
very important is to not let the
partition that tmp is on get too full.
- Mark
--
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]
On Wed, 28 Feb 2001 12:33:55 -0800, Dallas K. ([EMAIL PROTECTED])
wrote:
>I am looking for somthing that will parse a multidimentional array
>of any
>size, and return a key / value listing for debugging
>
>Example:
>
>if I have an array such as...
>
>$arr[name] = dallas
>$arr[address][city] =
On Wed, 28 Feb 2001 20:54:07 +0200 (EET), Dragos Roua
([EMAIL PROTECTED]) wrote:
>Hello,
>
>If you'll take a look at Brainbench.com you'll see a PHP4 cert exam
>there. As
>brainbench plan to become a paid service, their certifications may
>start worth
>something sometime.
The brainbench exam is t
for free ... tomorrow they start charging $20 or so for each
>exam
>
>
>-Original Message-
>From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, February 28, 2001 2:14 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Cc: [EMAIL PROTECTED]
>Subject: Re
counted Oracle
cost model for an identical HA envioronment.
Mark C.
--
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]
On Fri, 02 Mar 2001 13:49:17 -0600, Michael David
([EMAIL PROTECTED]) wrote:
>Jeff:
>
>You're talking about sessions, for the most part.
I might be wrong but I think he's talking about setcookie(), for
which the docs are here:
http://www.php.net/manual/en/function.setcookie.php
meaning that the
using.
MySQL, for example, has a date_format() function that you can use in
your query to specify what information you'd like displayed from a
date/time field, and how you'd like it presented.
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Pro
Is anyone working on integrating libical (
http://softwarestudio.org/libical/index.html ) with php. This library
seems to be in much more active development than libmcal and in active
use by software developers.
-Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e
On Fri, 9 Mar 2001 09:12:46 -0600, Chris Lee
([EMAIL PROTECTED]) wrote:
>using client side form verification is a bad idea anyhow, just write
>a simple php verify.
Imagine waiting 10 minutes for a 5 MB file to upload on a form just
to get an error message that says 'please go back and fill out yo
t processors.
what makes you think that this company is less likely to go under
than a company like cybercash? this isn't a flame, I'm looking for
info.
thanks,
- Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-
every once in a
while.
The failover system sounds like a good idea if you don't mind signing
on with 2 payment processors, but otherwise it seems like all you're
doing is adding an extra layer where things can go wrong.
I'm leaning towards verisign/payflow pro. has anyone had trouble
On Wed, 14 Mar 2001 12:12:22 -0800, Dennis Gearon ([EMAIL PROTECTED])
wrote:
>I'd like to see mysql_fetch_field() return as the last value in the
>object, the allowable values for an enum field as an array. Could I
>get
>a cc as well as a listserver group answer from the PHP guys as to
>whether th
editplus can do this.
On Wed, 14 Mar 2001 13:49:04 -0900 (AKST), chris
([EMAIL PROTECTED]) wrote:
>Do any of these editors support server mappings allowing one to
>auomatically preview files through a server? I find this invaluable
>in
>HomeSite (which is also VERY stable for me using Win2K) and
isual Basic 3
and Databases" pretty embarrassing but i've helped several people with it ;)
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except from vending machines.
-Original Message-
From: Justin French [ma
;
$str .= "blabla\n";
$str .= "\n";
Is there something i'm missing here? I'm sure this is an oversimplified
example, but what is it you're actually trying to accomplish?
---
Mark Roedel | "I know the answer! The answer lies within
s failed.
How about just
foreach ($arrayname as $arrayval) {
do stuff with $arrayval
}
Or, if it's also important for you to know that you're dealing with the
value of "var1"...
foreach ($arrayname as $arraykey=>$arrayval) {
.
However
You can also control the PHP settings for each copy of the site by using
php configuration directives in the relevant sections of your
httpd.conf.
---
Mark Roedel | "I know the answer! The answer lies within the
Systems Programmer| heart of all mankind! The answe
On Thu, 15 Mar 2001 19:59:50 +0200, Marian Vasile
([EMAIL PROTECTED]) wrote:
>I have 3 situations and I need an answer about what is faster...
>
>1. A PHP script that it's executed 10 times in a second, and have to
>update
>a a MySQL table.
>1. A PERL script that it's executed 10 times in a second
nitely not one
of them.
>Marian Vasile
>IT Manager
>Schnecker van Wyk & Pearson
>www.investments.ro
>
>-Original Message-
>From: Mark Maggelet [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 15, 2001 9:11 PM
>To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
>Subjec
f doing it.
- Mark
On Thu, 15 Mar 2001 15:33:50 -0500 (EST), Dale Frohman
([EMAIL PROTECTED]) wrote:
>I have a web interface that will submit entries into a mysql db.
>These
>entries are things to do at certain times, an organizer. Is there a
>way
>for php to intelligently keep track of
Personally I'd perform a query into MySQL and get what _it_ thinks the
values should be ... before doing anything else. It allows generality in
your error checking code.
Look at mysql_list_fields() et al.
mark C.
- Original Message -
From: "phpman" <[EMAIL PROTE
On Sun, 18 Mar 2001 20:36:15 -0500, Gary ([EMAIL PROTECTED]) wrote:
>Is there a way to dynamically change a variable name? For example:
>I want to change the variable name $DWG to
>$DWG1
>$DWG2
>$DWG3
>with a for loop. Is there a way to do this?
you could try:
for($i=1;$i<=3;$i++){
${"DW
would work under Linux just as well) by installing the
FreeTDS libraries (available from freetds.org), and then configuring PHP
"--with-sybase"
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is already f
for php4:
AddType application/x-httpd-php .html
for php3:
AddType application/x-httpd-php3 .html
On Tue, 20 Mar 2001 10:12:56 -0800, Rick VanNorman
([EMAIL PROTECTED]) wrote:
>On 3/20/2001 at 12:29 PM Jack Dempsey wrote:
>
>>You can tell apache to have the php interpreter parse files with an
>>h
On Tue, 20 Mar 2001 21:27:14 -0800, Ed Lazor ([EMAIL PROTECTED])
wrote:
>Hi =)
>
>I'd like to setup a banner exchange with some friends. Some of them
>don't
>have PHP access, so I'm trying to come up with something that will
>work for
>everyone. I checked one site that's running a banner exchang
check the projects page on php.net for an extension called php_imlib.
On Tue, 17 Apr 2001 01:28:02 +0200, Richard ([EMAIL PROTECTED])
wrote:
>Nah... It's up to the browser. 8-bit text cannot be given any
>effects using
>PHP.
>
>- Richard
>
>"Brandon Orther" <[EMAIL PROTECTED]> wrote in message
>[
On Mon, 16 Apr 2001 20:00:27 -0700, Dddogbruce \(@home.com\)
([EMAIL PROTECTED]) wrote:
>Whistler's cool!
Yeah, and a php job at a ski resort?! Hmm, that's way too good to be
true.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
On Tue, 17 Apr 2001 15:59:37 +1000, Peter Houchin
([EMAIL PROTECTED]) wrote:
>can any one see a problem with this loop?
>
> $db = include"connect.inc";
>$foo = "SELECT * FROM 6pci WHERE card='$card' ORDER BY card";
>
> $result = mysql_query($foo,$db);
>
>
>while ( ($myrow = mysql_fetch_array($res
bers first.
>
>To list them, you just need to loop through the result set echoing
>the
>phone number.
That works for mysql. He probably just wants to kill the duplicates,
so there's an easier way: add a unique index to the phone_number
field.
alter ignore table $table add unique (ph
Google doesn't choke at all on dynamic pages. pages get ranked by
keywords appearing on the page and even more importantly, the link
text of links on other pages pointing to the page that's being
indexed.
in other words, if a lot of sites link to your page like so:
google choke
then a search for
On Tue, 17 Apr 2001 12:34:27 -0700, Colin Putney
([EMAIL PROTECTED]) wrote:
>On Tuesday, April 17, 2001, at 12:19 PM, Mark Maggelet wrote:
>
>> That works for mysql. He probably just wants to kill the
>>duplicates,
>> so there's an easier way: add a unique index
On Tue, 17 Apr 2001 15:55:38 -0500, Boget, Chris
([EMAIL PROTECTED]) wrote:
>Ok, I found out what the problem was. I'm still curious
>why the problem is occuring.
>
>> if( $tmpArray[errorNumber] & $typesToDisplay ) { // line to
>>comment out
you're using the bitwise & when you want the logical
On Tue, 17 Apr 2001 16:06:47 -0500, Boget, Chris
([EMAIL PROTECTED]) wrote:
>> >Ok, I found out what the problem was. I'm still curious
>> >why the problem is occuring.
>> >> if( $tmpArray[errorNumber] & $typesToDisplay ) {
>> you're using the bitwise & when you want the logical &&
>
>No, I actua
think that I installed PHP properly for XML support. Is there a way to
verify this?
Thanks,
Mark
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscri
Hi,
Is there any function exists which to open a specific file, then find a
specific word, if found, then replace that word with something else.
re: I know fopen is to open, read, and write to specific file, but not
finding and replacing..
Thank you
Mark
--
PHP General Mailing List
Hi,
I would like to know how to make different link in different color on
one page.
etc. www.domain1.com in blue color
www.domain2.com in red color
www.domain3.com in orange color
Thank you for your help
Mark
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
I am having a problem in link variables in netscape. etc.
www.domain.com?xx=1&xxx=2&xxxx=mark lo&xxxee=polol
if the above link contains space, then everyting is faded after the space,
how to over come this problem in netscape. In IE5, it is okay to have space
in li
maybe it's something in auto_prepend_file or auto_append_file. do
phpinfo() to check.
On Thu, 26 Apr 2001 09:36:56 +0930, Joseph Blythe
([EMAIL PROTECTED]) wrote:
>Hey all,
>
>I keep getting this error message on a couple of pages from a site I
>am
>currently working on, the strange thing about
instead of server time? I hate using javascript for this
but I don't see much choice.
thanks,
- Mark
--
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]
On Thu, 26 Apr 2001 01:48:13 +0200, Thomas Booms
([EMAIL PROTECTED]) wrote:
>Hi all,
>
>I'm using on my new machine (SuSE 7.0) PHP4. In one PHP4-Script I
use
>the mail-Function. But my /var/log/mail (qmail) does not give any
>entry
>for this mail.
>
>Is there a bug?
>
>In PHP3 it was all running g
On Thu, 26 Apr 2001 09:54:04 +0930, Joseph Blythe
([EMAIL PROTECTED]) wrote:
>Chris Fry wrote:
>
>> Have a look at php.ini in /usr/local/lib
>>
>> It looks like your prepend file is browser.php - just comment that
>>line out.
>
>Those lines in the php.ini are blank
>
>; automatically add files bef
his though. I guess I'm asking if someone out
there has had this problem and found a good way around it.
thanks,
- Mark
>HTH,
>DanO
>
>
>"Mark Maggelet" <[EMAIL PROTECTED]> wrote in message
>[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>I have a cookie
expiry time) and add
>the
>server's expiry timestamp to the value of the cookie. Then when you
>get
>that cookie sent to you, check it against your server's time and
>make the
>decision on whether to accept the cookie or not based on that.
>
>That way you are i
Hi,
I have turned on safe mode in PHP4. Now, I would like to exec
something in home directory. What syntax should I use ??
etc. safe_mode_exec_dir= /home --->
Thank you so much
mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
permission is set to read and write only for mysql user and group. I would
like to know is there any other method to measure the databases then post it
on the web.
Thank you
Mark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
owscap.ini file.
I'd start by making sure that you actually have a browscap.ini, and that
your copy of PHP is configured properly to be able to locate it.
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next week.
Systems Programmer / WebMaster || My schedule is a
gt;
> 1) Insert the HTML page (...HTML code) in the database ?
>
>or
>
> 2) Insert a URL in the database field, that points to the
> HTML page?
>
> why?
Will you ever want to do database-ish things with the contents of the
page? (Allow somebody to search for words o
On Mon, 30 Apr 2001 13:56:20 -0500, Joe Stump ([EMAIL PROTECTED])
wrote:
>I have a quick question regarding timezones ...
>
>On the local side a record is inserted into the DB by someone in
>Michigan, while
>the server rests in CA. Thus a three hour difference. The local
>mktime() will
>create a t
rence in hours between them and pst*3600
>2.) we have users ALL OVER the world - is there a place to find all
>of the timezones at?
good luck, there's tons and some of them are wacky or don't honor
daylight saving time.
>
>--Joe
>
>On Mon, Apr 30, 2001 at 12:11:55PM
> -Original Message-
> From: John Monfort [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 30, 2001 5:08 PM
> To: Mark Roedel
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] Best Practice-HTML In Database
>
>
> Yes, I will need to provide searching capabi
use some combination of the commands presented at
http://www.php.net/manual/en/ref.filesystem.php
If you're just wanting something quick and simple, you might find the
file() function particularly useful.
---
Mark Roedel ([EMAIL PROTECTED]) || "There cannot be a crisis next
e FROM table ORDER BY rand() LIMIT
>1".
i guess you'd just go ' order by rand()*weighting'
- Mark
>And have a column like "weighting" where values between 1 and 100
>are held -
>The larger values making it more likely that they're going to get
>
ot;$key not set\n";
$key="bb";
if (isset($ary[$key]))
print "$key set\n";
else
print "$key not set\n";
$key="cc";
if (isset($ary[$key]))
print "$key set\n";
else
print "$key not set\n"
returns
aa set
bb set
cc not set
Mark C.
--
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'm new to PHP (which will be obvious in just a minute).
In Perl I can assign dynamic keys ad infinitum to an array such as:
$sku{$id}{$line}{$price} = 99;
But the syntax is escaping me for the same function in PHP.
As I was trying to debug my thinking, I ran the following little test and am
c
en't ever seen file() work that way. Are you sure this isn't a
simple case of the web browser collapsing whitespace when displaying an
HTML page? (Hint: "view source" is your friend when you're wanting to
see exactly what the output of your script was.)
---
Mark R
?
Examples please, I am a complete novice at PHP :)
Many thanks - Mark Williams
--
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]
:
for i in `/bin/ls *html |sed 's/.html//g'`; do mv $i.html $i.php;
done
for the second part you might want to try putting it in your
auto_prepend_file.
- Mark
>
>Ryan Christensen
>OlyPen Technical Support
>[EMAIL PROTECTED]
>360.457.3000
>800
On Wed, 9 May 2001 15:49:51 -0500, Joseph Bannon
([EMAIL PROTECTED]) wrote:
>> you need to point to the apache-source install
>> ie: ./configure --with-apache=../apache-1.3.19
>
>
>But what if I have apache already installed? I have a Cobalt Raq3
>with
>apache already installed.
you need to recom
On Wed, 9 May 2001 18:08:45 -0700, Dexter ([EMAIL PROTECTED]) wrote:
>Hi PHP sters,
>
>Looking for a function like Perls index function to get the first
>occurrence of a string within another.
>
>Thanks
>
>Dexter
http://www.php.net/manual/en/function.strpos.php
--
PHP General Mailing List (htt
Considering Websphere/EJB was mentioned ...
Where's the BEA Weblogics review
--
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]
On Wed, 9 May 2001 20:19:34 -0400, Mike ([EMAIL PROTECTED]) wrote:
>As a devoted php programmer I was surprised how bad PC MAG blasted
>php this
>month.It sound as if it doesnt scale very well(Ive never had more
>than a few
>people on my site at once).Any comments???
seeing as how zdnet is owned
Reading the MySQL manual on the UPDATE statement (my, what a concept -
actually looking at a manual, especially when you have no clue ...) would
show you that your statement is invalid and why. Something about using a
"set column-name=data" rather than an invalid "values()"
On Fri, 11 May 2001 17:28:25 -0500, WebMaster
([EMAIL PROTECTED]) wrote:
>I did :( went character by character and could find not extra
spaces.
>
>At 06:16 PM 5/11/01 -0400, Michael Kimsal wrote:
>>Check for extraneous spaces in your script.
>>
>>Tim Schulte wrote:
>>
>> > Hi there -
>> >
>> >
o hold
pieces of the returned data.
That is, given the following code:
$result = mysql_query('select * from table');
$mydata = mysql_fetch_array($mydata);
mysql_free_result($result);
$result should be cleared out. $mydata, however, should be retained.
Does that m
> -Original Message-
> From: Sandeep Hundal [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 14, 2001 9:13 AM
> To: Mark Roedel; Sandeep Hundal; [EMAIL PROTECTED]
> Subject: RE: [PHP] my query results won't clear!! :(
>
>
> damn, yeah thats my problem. how
On Mon, 14 May 2001 23:29:03 -0800, Christopher Ostmo
([EMAIL PROTECTED]) wrote:
>Tyrone Mills pressed the little lettered thingies in this order...
>
>> How about using something like puTTY or SecureCRT?
>>
>
>Just a side note. I also like SecureCRT, but it isn't "free" (which
>was
>the original
a great big
HTML tag that it doesn't recognize.
Difficult to offer much in the way of troubleshooting advice without
knowing at least what web server software you're using, but I'd
certainly start by double-checking your configuration to make sure that
you have, in fact, set it up to h
reset($array);
while(list($key,$value)=each($array)){
$array[strtoupper($key)]=$value;
unset $array[$key];
}
On Tue, 15 May 2001 16:19:41 -0400, Altunergil, Oktay
([EMAIL PROTECTED]) wrote:
>Yes. But I want to change the name of the key, not the value. Plus I
>want to
>be able to
oot somewhere then
redirect the user there (eg: write it to mysite.com/pdf/pdf-123435456.pdf)
or make a link saying your file is ready here. I found this to be the most
reliable method.
mn
Mark Nold
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
Senior Consultant
Change is inevitable, except fro
>The sercuity of java is better and the network controlling features
>is better too .
>
>The loading time of servlet is faster since the server just need to
>run the servlet one times
You probably mean that it needs to load the jvm one time, the servlet
gets run with every request (unless you cac
ot;$mailto";
$title ="$subject";
$mess = "$message";
mail($mail, $title, $mess, "From: [EMAIL PROTECTED]\nReply-To:
[EMAIL PROTECTED]\nContent-Type: text/html; charset=iso-8859-1");
Thanks!
--
Mark Wouters
eXpanded Media
Web Designer
--
PHP General Mailing List
Hi,
I've another question.. is it possible to send attachements with mail()
??
Thanks,
--
Mark Wouters
eXpanded Media
Web Designer
Parijsstraat 74, B-3000 Leuven - Louvain
Tel: +32 (16) 31.10.12
Fax: +32 (16) 31.10.19
E-mail: [EMAIL PROTECTED]
URL: http://www.expandedmedia.be
--
Nobody knows if it's possible to send attachements with mail()??
Thanks,
--
Mark Wouters
eXpanded Media
Web Designer
Parijsstraat 74, B-3000 Leuven - Louvain
Tel: +32 (16) 31.10.12
Fax: +32 (16) 31.10.19
E-mail: [EMAIL PROTECTED]
URL: http://www.expandedmedia.be
--
PHP General Mailing
On Sun, 20 May 2001 22:03:05 -0300, Carlos Fernando Scheidecker
Antunes ([EMAIL PROTECTED]) wrote:
>Hello All,
>
>I need to output a string that must always be 17 characters even if
>the inside value is not.
>
>Supose a have the HELLO word that is a 5 character string and I need
>to output "HELLO
ing $test gives the same result.)
I can use stripslashes lose the escape char, but should this be necessary?
I'm using v4.0.4pl1
--
Mark Rogers
Lose the -news in the email address if replying direct
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTE
but it can be a
hassle.
Out of curiousity, what are the security implications? Presumably a failure
to validate input properly leading to unintended actions, but I can't think
of any examples to help me decide whether to turn this off.
Thanks for the quick response.
--
Mark Rogers
th the fixes. Saves me remembering to
change PHP.INI on other machines, if nothing else.
Thanks for the help.
--
Mark Rogers
--
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]
On Mon, 21 May 2001 13:55:12 +0100, py ([EMAIL PROTECTED]) wrote:
>> Hi,
>>
>> I am designing a system for my company to get employee resumes via
>>the
>Web,
>> rather than paper. All resumes now go into a mySQL DB, which can
be
>> searched by HR (at least that's the theory :)
>
>[I would do it li
On Tue, 22 May 2001 10:44:42 -0700, Jason Caldwell
([EMAIL PROTECTED]) wrote:
>I'm trying to figure out how to "say" with a Regular Expression how
>to check
>for the following characters in a phone number:
>
>( ) -
>
>with a length between 1 and 20 --
>
>I've tried the following and it doesn't see
> -Original Message-
> From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, December 26, 2001 11:16 PM
> To: Ben Clumeck
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Mailling Lists
>
>
> I'm really unable to discuss the mailing-list topic because I
> have nil expertise
>
a little, they
really don't help a lot.
Mark C.
--
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]
$expected_result = $i;
break;
}
}
Thanks in advance for any suggestions.
Mark
--
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]
arge number
of PHP class libraries from different places. The only one I've ever used is
a CC validation one ...
mark C.
--
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]
) a remote file, all the parser has access to is the
*results* of the remote file request.
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer| at himself, for he shall never cease
LeTourneau University | to be entertained."
Longview, Tex
From: "Michael Kimsal" <[EMAIL PROTECTED]>
> Philip J. Newman wrote:
>
> > Don't know is this is a Mysql problem or PHP, but I have a table with
100 records in it. One of the field names is $iName.
> >
> > When listing all the records I want only the 1st Uneak value to be
displayed.
> >
> > For
out notice. Be warned
and use this function at your own risk."
It looks as if the function has, in fact, been renamed to
socket_strerror() for versions of PHP >= 4.1.0, although the same
warning apparently applies.
---
Mark Roedel | "You know, Hobbes, some days even
Systems
ature-requests to the
> php-development team?
The bug-tracking database at http://bugs.php.net/ lets you specify a
report type of "Feature/Change Request"...
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer| at himself, for he sha
ionality won't be
enabled on every server, often for security reasons.
I'm not sure how much of an issue it really needs to be, though. Are
you running into people who are surprised that your programs won't work
on their server? (Could this mean that you need to take a look at how
cl
install, I still end up with my previous version
of the PHP binary. A 'make clean' (and, sometimes, an 'rm
/usr/local/apache/libexec/libphp4.so') followed by another make/make
install is usually enough to set this straight.
---
Mark Roedel | "Blessed is he who has
601 - 700 of 1525 matches
Mail list logo