I re-arranged the order of IF execution all together. Email Validation
First then Form Validation.
Thanx Martin and Miguel for your responses. Finally going to bed, have to
be up in 3 hours.
Thank You
<><><><><><><><><><><><><><><><>
Daniel Negrón
Lotus Notes Administrator / Developer
KB
Hi All,
Here is a link to an easy to use session program. Has all the code needed
I think. This is what I have been using to get used to sessions and all.
http://www.trios.org/php/sessions/
Hope this helps soneone,
Chris
_
Send
I'm using SuSE 8.0 and i need a free GUI to use with DBG.
yours Philipp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I would like to know how can I compress the output of PHP through Zlib.
Thanking in advance,
Nuno Lopes
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have a problem trying to install Fishcart on my win98 system.(Also a
ActivePerl problem)
Has anyone succeed this?
PS Sorry for non-topic. I had no answer from the "fishchart" list.
Makis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi
I'm looking for a php function that will return the position of the pointer
in a mysql recordset.
I found mysql_data_seek, but this appears to only move the pointer, I need
to get the equivalent row number for the pointer position before moving it,
then return to the same position.
Can anyon
You're insetting the variables within the chout() function only This has no
effect on
the local copies as they are not in scope here. You have successfully
destroyed the
session so when you refresh they are unset.
What I do with sessions is keep them all within a session array so you can
then des
Right...
Back to the old bombshell of which webserver...
I have'nt seen any reports which say what is better...
Here is my issue:
The webserver I am setting up will potentially host 4 or 5 sites...
How does IIS fair against Apache with servring multiple sites? each site will be
like... http:
Hello,
I'm not to sure about the servers. I use Windows XP Pro and I'm coding and
stuff offline to learn more about php, lasso and mysql. I've been doing this
awile now but I've had problems with various php/mysql scripts. I usually
get scripts from hotscripts.com and have prolly about 100 di
I am getting the values out from an image with iptcparse, but som
charachters like æ and å (norwegian)
Doesnt work.
I get "F¾rder instead of "Færder"
And
"Stende" instead of "Stående".
Could i do anything about this to get i right ??
Could it have somehting to do with it that the images a
On Fri, Jun 14, 2002 at 08:58:29AM +0100, Webmaster do Aborla.net wrote:
> I would like to know how can I compress the output of PHP through Zlib.
You mean like:
http://www.php.net/manual/en/function.ob-gzhandler.php
--
Daniel Tryba
--
PHP General Mailing List (http://www.php.net/)
To uns
That one does not accept '+'. In fact, that was the 1st time I ever saw
such a character in an e-mail address. I did not check the RFC, but if it is
valid, just add the '+' char to the reg. exp. like this:
function mailCheck($strEMailAddress)
{
return eregi("^[_a-z0-9+-]+(\.[_a-z0-9+-]+)*@[a-z0
Also... IF Apache... what version?
> -Original Message-
> From: Brian McGarvie
> Sent: 14 June 2002 9:14 AM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] SSL Support for PHP
>
>
> Right...
>
> Back to the old bombshell of which webserver...
>
> I have'nt seen any re
On Friday, June 14, 2002, 9:13:59 AM, Brian McGarvie wrote:
> How does IIS fair against Apache with servring multiple sites? each site will be
>like... http://customername.ourdomain.co.uk
Both are capable of serving multiple sites without any issues that I am aware
of.
> Also - more an IIS/Apac
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi everyone,
I'm using get_object_vars() to unset all of the object vars in a
function like this:
function destroy_properties($obj) {
if($properties=get_object_vars($obj)) {
foreach($properties as $key => $val) {
Thanks,
but the idea is another user only to start and shutdown the server.
Any ideas ?
Thanks,
Rosen
Bruce Karstedt <[EMAIL PROTECTED]> wrote in message
00ea01c21339$e7856d60$4773d73f@c3">news:00ea01c21339$e7856d60$4773d73f@c3...
> This is a bad idea from a security standpoint. If your server
Thanks Chris for your immediate response.Yes we got the error page not found
when we cross 7.5 MB.
How to increase the time out time.Whether we have to edit the httpd.conf or
php.ini file to increase the
time out time.
Any help is appreciated.
thanks in advance,
SenthilVelavan.P
- Original Me
On Friday, June 14, 2002, 11:51:22 AM, SenthilVelavan wrote:
> How to increase the time out time.Whether we have to edit the httpd.conf or
> php.ini file to increase the
> time out time.
Per script: http://www.php.net/set_time_limit
In PHP.ini: http://www.php.net/manual/en/configuration.php#ini.m
Hi John,
Sorry about the delayed mail. Anyway, I kept at it, and debugged every line
with no success. Finally, I rewote it, and it worked??
[Sigh . . . one of those days :>]
Thanks again for all your help.
Regards,
Andre
On Thursday 13 June 2002 11:28 pm, you wrote:
> Step through your cod
Maguma Studio for PHP Light will do the job.
Neil
Daniel Negron/KBE wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated 11th June 2002
>
Hello folks,
When i tried to install php.My make command stops with the following error
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use
Hi all,
I'm busy building a site which uses OOP.
Several classes are used to constuct different sections of the final page to be
displayed.
The overall class is called class.basepage.php
This is the page which outputs HTML and calls other classes to construct other parts
of the page.
Now I h
Basically then there is no real reason for Apache over IIS on win2k server?
I am the admin of the Webservers, but the overall network manager would like to keep
it MS-centric just because all the rest is.
With our leased line we aqquired 16 ips, so in the IIS config I would just use that IP
an
On Friday, June 14, 2002, 11:07:24 AM, Brian McGarvie wrote:
> Basically then there is no real reason for Apache over IIS on win2k server?
Not now Apache 2 is here. Apache 1.x has always been considered by the Apache
group as beta code and therefore not suitable for use in a production
environmen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then Wilbert Enserink declared
> I hope you understand my problem and have some tips for me. Below is some code
>snippets I'm using:
Actually it's a little tricky to understand ;-)
Have you considered output buffering?
- --
Nick Wilson
Hi.
You probably want to use Windows 2000 Server instead; after all, Windows XP
is
more or less targeted against workstations and home use (as of yet). It may
need some tweaking to be suitable for server-use. Consider the complexity of
all DCOM+ components that coexist and rely on various service
Hi all,
Nick: thx for the tip, it removed the error, and might further be a good
idea: except:
do you know if I can declare session variables and use them in between the
output buffer statements
like this: (i tried it but it doesn't seem to work)??
greetings Wilbert
include ("class.basepage.p
If you want to do it right, don' t output anything, obviously. Instead of
using ECHO, assign all output to a variable within your class. Then, at the
end of the processing, after everything is done, echo out that variable
(which will contain the entire page). Then you can set cookies, sessions,
wh
Chris Kay wrote:
>>The query does not error out it just does not give any records, and I
>
> Know
>
> What part of "The query does not error out" do you not understand.
>
> Why are there so many people willing to say what is wrong with a code but when it
>comes to
> A solution that go silent.
I am currently trying to implement XML Parsing on a site using the XML News
Feed of another site. The site puts two versions of the news in its file
though:
-
Tsunami 2265 Date, Demo
http://www.shacknews.com/onearticle.x/20959
-
Tsunami 2265 Date, Demo
http://www.shacknews.com/onear
Hi,
Does anyone have a PHP method of passing variables from a form to another page without
using "sessions" or encoding within the URL?
I remember someone mentioning a class but I lost the reference. My site uses PHP
4.0.1Pl1
Thanks,
Don
I have a form, and if someone doesnt fill in a field it returns and asks them to
filling in the
missing field. I have made it so that the person doesnt lose everything, currently
they will lose
radio button information or checkbox information. Can someone tell me how to best
keep it so the
ch
Dear sir,
I have two questions :
1- Is there a function in php that refreshes my page ?
2- Is there a function that lets me open a new window ?
On Friday 14 June 2002 22:16, Don wrote:
> Hi,
>
> Does anyone have a PHP method of passing variables from a form to another
> page without using "sessions" or encoding within the URL?
>
> I remember someone mentioning a class but I lost the reference. My site
> uses PHP 4.0.1Pl1
Use POST.
--
J
Quick answer:
the same for radio boxes.
Dan McCullough wrote:
>I have a form, and if someone doesnt fill in a field it returns and asks them to
>filling in the
>missing field. I have made it so that the person doesnt lose everything, currently
>they will lose
>radio button information or c
1. use META TAGS to refresh the page
2. use javascript to open a new window
- Original Message -
From: "Hotmail" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 10:36 AM
Subject: [PHP] getting help on php
Dear sir,
I have two questions :
1- Is there a function
On Friday 14 June 2002 22:36, Hotmail wrote:
> 1- Is there a function in php that refreshes my page ?
Short answer, no. Longer answer depends on what you want to do and what you
mean by 'refresh page'.
> 2- Is there a function that lets me open a new window ?
No, that's a client-side operation
I am just surprised that noone mentioned HTML-Kit among all the editors
suggested. I think it is fine and it even gives you a quick preview in
browser window for HTML. It gives you PHP among various other options
colouring the code differently and you can just highlight code to surround
it with
Hi
Images under 1 kb uploads and shows fine. Images larger than this is
inserted into database, with correct file size, but does not show when
calling a php file get_image.php as a image.
Below is from my database, the image with id 33 does not show, the image
with id 34 do show. When having the
Hi
Images under 1 kb uploads and shows fine. Images larger than this is
inserted into database, with correct file size, but does not show when
calling a php file get_image.php as a image.
Below is from my database, the image with id 33 does not show, the image
with id 34 do show. When having the
Hi list,
I have a project that was develop in a partnership, now this partners
doesn't so partners anymore :-/
My question is there's a way to create a protection that I can trace if the
software was installed in other servers?? I mean not hide the code, but put
an important include of the projec
Can it be true that PHP does not implement the beginning and end of word
syntax of regular expressions?
In builing a bad word filter, I find this...
$outstring = eregi_replace("badword$","goodword",$stringtocheck);
will find an occurance of the 'badword' at the end of the string and
replace
URL??
:)
*
* Cal Evans
* Techno-Mage
* http://www.calevans.com
*
- Original Message -
From: "Adrian Greeman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 8:18 AM
Subject: [PHP] Editor
> I am just surprised that noone mentioned HTML-Kit among all the editor
hi, i have been banging my head against the wall for hours trying to
figure the expression out to perform the following:
covert this:
[::word1 \" word2 \" word3::]
to:
".word1 " word2 " word3."
i would definitely appreciate any help given on this.
thanks beforehand.
lance
--
PHP General Ma
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
* and then W. Enserink declared
> Nick: thx for the tip, it removed the error, and might further be a good
> idea: except:
> do you know if I can declare session variables and use them in between the
> output buffer statements
> like this: (i tri
Google??
http://www.google.com/search?hl=en&ie=UTF8&oe=UTF8&q=HTML-Kit
---John Holmes...
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Adrian Greeman" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 11:38 AM
Subject: Re: [PHP] Editor
> URL??
> :)
> *
You have your answer, just use this:
$outstring = eregi_replace("badword","goodword",$stringtocheck);
It'll replace it whether it's at the beginning or end of a string, embedded
in a word, or by itself. Isn't that what you want?
Actually, it'd be better and faster to just use str_replace() inst
Kind of. You can have it include() or fopen() something from another server
and do whatever.
But you have to realize that the code is still open on their page, so they
can bypass or just comment out whatever you are trying to do.
Search the archives, too. Wasn't there a huge discussion on this a
Plain and simple...you have four options: COOKIE, GET, POST, SESSION.
So, load all of your data into a cookie or load it into hidden elements in a
form and submit it somewhere...
Okay?
---John Holmes...
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECT
On Fri, Jun 14, 2002 at 11:35:04PM +1000, Necro wrote:
> I am currently trying to implement XML Parsing on a site using the XML News
> Feed of another site. The site puts two versions of the news in its file
> though:
>
> -
> Tsunami 2265 Date, Demo
> http://www.shacknews.com/onearticle.x/20
Hi
I'm about to start a project which involves building a 'website on a CD'.
There will be similar areas and layouts, just containing different data,
within the site pages. The pages will be a HTML framework containing Flash
and QuickTime files etc.
I've worked with Fast Templates and liked the
Does Dreamweaver MX have good PHP support?
Thanks,
-Ed
This message is intended for the sole use of the individual and entity to
whom it is addressed, and may contain information that is privileged,
confidential and e
Could you restate this question? Sorry, I don't understand what you're
asking.
> -Original Message-
> but the idea is another user only to start and shutdown the server.
This message is intended for the sole u
I'm trying to evaluate form submissions. When I return a form submission cause of a
missing field
I want the radio and checkboxes to reflect what the client submitted. So if somone
forgets to
fill in their address, but has done everything else fine, I dont want them to have to
refill out
the
Hi,
I want to make server on Linux Red Hat 7.2 to shutdown from WEB interface.
A'll not have any access to this server. Server will not be connected to
Internet - it's local for organization. I want one men from them only to
turn on computer and to shutdown server via WEB interface without any
adm
> So how would I in PHP say if $var == "value1" then this radio
> button is checked? And how do I do
> it and keeping the code compact?
>
This message is intended for the sole use of the individual and entity to
w
I am trying to exec a perl script from my php code.
Here is what I have:
exec("perlpath/perlscript.pl $var", $array)
The perl script runs fine as I am piping the results to a txt file also...so
I know that the script is running fine. I am printing the result of the
perl script to STDOUT which
On Fri, 14 Jun 2002, 1LT John W. Holmes wrote:
>-You have your answer, just use this:
>-
>-$outstring = eregi_replace("badword","goodword",$stringtocheck);
>-
>-It'll replace it whether it's at the beginning or end of a string, embedded
>-in a word, or by itself. Isn't that what you want?
>-
Not
How necessary is this? Don't connections close automatically after the
page finishes executing?
What are the general rules for closing connections and freeing query
results?
David McInnis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Saturday 15 June 2002 00:57, Batch wrote:
> I am trying to exec a perl script from my php code.
>
> Here is what I have:
>
> exec("perlpath/perlscript.pl $var", $array)
Using exec() like this would put the exit code of your perl script into $array
-- which isn't what you want. Use shell_exec(
> How necessary is this?
Very.
> Don't connections close automatically after the page finishes executing?
Correct. All variables are released and all connections are closed
automatically by PHP upon script completion.
> What are the general rules for closing connections and freeing query
>
Hey Zac:
On Fri, Jun 14, 2002 at 08:59:02AM +0100, Zac Hillier wrote:
>
> I'm looking for a php function that will return the position of the pointer
> in a mysql recordset.
I don't think there is one. You could use a counter variable as you're
looping through each row to keep track of where
Hi Nick:
On Fri, Jun 14, 2002 at 12:02:45PM +0200, Nick Wilson wrote:
>
> function destroy_properties($obj) {
> if($properties=get_object_vars($obj)) {
> foreach($properties as $key => $val) {
> unset($key);
Try this: unset($obj->$key);
> pro
Lance:
On Fri, Jun 14, 2002 at 11:41:34PM +0800, Lance wrote:
>
> [::word1 \" word2 \" word3::]
> to:
> ".word1 " word2 " word3."
While I don't know if this is really what you need, it does do exactly
what you want to do in your example:
$Replace['\\'] = '';
$Replace['::'] = '.';
Yes, download it and see. Gives you a GUI to program recordsets from the
database, and drag and drop for results. Other PHP stuff along with
highlighting built in. If it didn't cost so much, I'd recommend it.
---John Holmes...
> -Original Message-
> From: Lazor, Ed [mailto:[EMAIL PROTECT
Use it in your code; it'd be a good programming habit to get into.
--John Holmes...
> -Original Message-
> From: David McInnis [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 12:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] closing mysql connections
>
> How necessary is this?
Hello
> Does Dreamweaver MX have good PHP support?
Their initial support (PHP_MySQL as known as a server model) is quite nice.
However, we have released PHAkt 2 MX (still free and GPL and kicking)
, with a lot of goodies included:
PHAkt 2 beta improvements over the PHP_MySQL Serv
Keep track of it yourself as you loop through the data. Maybe if you
explained what you need "overall" then we could suggest a method...
---John Holmes...
> -Original Message-
> From: Zac Hillier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 3:59 AM
> To: [EMAIL PROTECTED]
> S
I wanted to return to a specific page in a small web app I am writing, which
is based on a variable for each individual record. I just tried
header("Location: customer.php?" . $btn . ""); exit;
and although syntactically correct it did not work. I am going to try a
couple of other things but I w
oops, never mind, I think I see the problem...a missing "btn="
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 12:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Header URL question
I wanted to return to a specific page in a small web app I am wr
Hi there,
To work on some scripts, I have install PHP 4.02 on a IIS 5.1 server.
(on my own XP machine)
I have setuped PHP following install.txt procedure.
When I try to run my scripts they works fine exept for the variables results
that are not displayed.
I have upload this script on my web site
It also has support for snippits, or a code library that you can add, edit
or delete. Saves alot of time in re-using code. I definately recommend it,
not only for that reason for but for the code debugging options available.
HTH
Jas
"John Holmes" <[EMAIL PROTECTED]> wrote in message
002101c213c
Could you include some of your code?
> -Original Message-
> When I try to run my scripts they works fine exept for the
> variables results
> that are not displayed.
This message is intended for the sole use of
Thanks everyone. I'll check it out.
> > > much.
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.
So how do I affect the local copies of the variables. The global() doesn't
seem to work. Should I take everything out of the function and just use if
statements?
-Original Message-
From: Tim Ward [mailto:[EMAIL PROTECTED]]
Sent: Friday, June 14, 2002 3:46 AM
To: [EMAIL PROTECTED]; Tim War
Here is an example of the test script.
sample.php
Nota : The variable are passed throught a Flash form.
In this case, if the script is uploaded on my web site the result is :
Name Test works as a Web developper in Montreal. He/She can be contacted at
: My Web Site.
But on my own machine the
make sure global variables are enabled in your php.ini
> -Original Message-
> From: J0s [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 11:52 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Variable Result is not displayed
>
>
> Here is an example of the test script.
>
> samp
Hello,
I'm having a hard time getting expat to parse parameter entities and I'm
wondering if any one tried this before (general entities work fine)
sample xml:
%common_entities;
]>
.
-
as the name su
Thanks a lot!
Ok this programm began to be interesting.
I will try to stop to be a Newbie.
: ))
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> make sure global variables are enabled in your php.ini
>
> > -Original Message-
> > From: J0s [ma
Hi,
Don't know if this is possible but is there a way to create a single variable (in my
case, a two dimensional array) that is global to my site? This is regardless of which
page is initially loaded BUT I need to have it empty first time in.
I am trying to implement a 'stack' feature where I
I've been doing the following sending personalized mail to 600+ recipients,
so far without any signs of discomfort anywhere:
set_time_limit($total_rows * 1); // up the script timeout 1 second per
email
BTW, I use qmail; not sendmail. As I've never used sendmail, I don't know
if this is part of
I don't think this is possible to setup a global way you're thinking, but I
do believe that you can still accomplish the effect you're looking for.
First of all, exactly what kind of information will you be storing in the
array? You say it needs to be empty the 'first time in'. Does that mean
pe
> > -Original Message-
> > From: Justin French [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, June 12, 2002 6:45 AM
> > To: php
> > Subject: [PHP] bulk mail()
> >
> >
> > Hi all,
> >
> > I've got a mailing on a website, with email address' / names / etc in a
> > MySQL table.
> >
> > I th
Cookies
Session variables
- Original Message -
From: "Don" <[EMAIL PROTECTED]>
To: "php list" <[EMAIL PROTECTED]>
Sent: Friday, June 14, 2002 2:08 PM
Subject: [PHP] Question about global variables
Hi,
Don't know if this is possible but is there a way to create a single varia
You can run PHP as a module / extension for apache or let Apache load and
run the php.exe program for each php file.
Loading and running the program in quick succession strains the system
somewht but the extension is always loaded and is just used when needed -
much faster and efficient.
"Phil S
Dear PHP Users,
I have a client who currently has a website setup with iChat which
is several years old and we are currently having problems with it. I need
to find a PHP Chat program that will be very easy and simple. I just
wanted to see if anyone here has used a program and really likes
it an
Hi All,
Does any one know how to make mail() function to send mail to 'CC' and 'BCC'
address. I have tried to keep 'CC' and BCC' in header, but it is not
working. Mail function is sending the message to 'To' address but not to
'CC' and 'BCC'.
I am using WinNT, IIS and PHP 4.0.6.
Here is the par
So I'm trying to install PHP on win98 with Apache2.
I got these nice instructions from...
http://www.webmasterbase.com/article.php?pid=30&aid=525
After I make the following addition to my httpd.conf file, I get an
error when I try to start Apache again...
ADDITION TO HTTPD.CONF:
LoadModule
You missed a step in copying DLLs. I don't remember which one, but it's the
dll files found in
c:\php
> -Original Message-
> From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 2:01 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] PHP Installation Win98/Apache e
Hi All,
I am trying to figure out how to use ucwords here :
if (submit)
$db = mysql_connect($dbhost,$dbuname,$dbpass);
mysql_select_db($dbname,$db);
ucwords($sql) < Is this correct ?
$sql = "INSERT INTO $prefix";
$sql .= "(first, last, email, com
Looks like it, but you're missing the semi-colon at the end of the line.
> -Original Message-
> From: Daniel Negron/KBE [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 14, 2002 2:06 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] ucwords() usage QUICKIE
>
>
> Hi All,
>
> I am trying t
DNK> I am trying to figure out how to use ucwords here :
DNK> if (submit)
DNK> $db = mysql_connect($dbhost,$dbuname,$dbpass);
DNK> mysql_select_db($dbname,$db);
DNK> ucwords($sql) < Is this correct ?
DNK> $sql = "INSERT INTO $prefix";
DNK> $sql .=
You pass a string to the function and it returns a string with each word
starting with an uppercase.
$string = "hello world";
$new_string = ucwords($string);
echo $new_string; // Displays 'Hello World'
---John Holmes...
- Original Message -
From: "Daniel Negron/KBE" <[EMAIL PROTECTED]
Take a look at http://www.php.net/manual/en/function.mail.php#AEN39855 for
ways of doing complex mails.. You can indeed do CC's and BCC's you just add
them in the header area. Study the example, it works beautifully and will
do everything you stated.
Plus there are classes out there that will al
Okay, I was running php 4.1.2 on freebsd 4.5 with the build
args --with-mysql --enable-track-vars and --with-apxs... I started
implimenting session code. When my code wouldnt work I looked on the boards
and found that there was a bug with that version, so i wiped out php and
upgraded to php 4.2.1.
This is an ls -la from /tmp
[rick@wacky /tmp]$ ls -la
total 58
drwxrwxrwt3 root wheel 512 Jun 14 14:20 .
drwxr-xr-x 22 root wheel1024 Jun 13 16:39 ..
drwxr-xr-x2 root wheel 512 Apr 29 14:43 .webmin
-rw-rw-rw-1 root wheel 46193 Jun 11 14:
PHP Editors List...
http://www.itworks.demon.co.uk/phpeditors.htm
Check out http://www.php.net
The links section is handy at times...
Chris
_
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--
PHP Genera
John, Dan & All,
Thanks for your response, perhaps if I tell you more of the story then it'll
make more sense. I'm afraid I seem to have an ability for asking cryptic
questions.
Below is the code I'm using, it is meant to check for a list of between 10
and 50 words in a table then return the key
So you just want to insert a bunch of words into the table if they aren't
there already? Why not make the column unique and just insert them. Ignore
the warnings about duplicates...
---John Holmes...
- Original Message -
From: "Zac Hillier" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; "A
Does anyone have a good function for parsing a search string into SQL? I
know it will depend on the name of the field and table I'm searching
through. Anything close will be helpful. An example search string would
be:
beer AND pizza NOT anchovies
and the resulting search string would be
sele
1 - 100 of 141 matches
Mail list logo