"Erwin" <[EMAIL PROTECTED]> wrote in message
news:20021104153413.19848.qmail@;pb1.pair.com...
> Shaun wrote:
> > Hi,
> >
> > I tried some advice you gave , i tried to destroy the session cookie
> > wiht setcookie(session_name()); and setcookie(session_name(),-3600);
> > but the cookie is still the
I'd just like to see if I can get some feedback from PHP pros to see if
anyone is doing anything like this.
I've got a request to build a two part form, I was thinking it would be
a page built with frames, when the top portion is filled out, the
selections there would determine what page would
"Erwin" <[EMAIL PROTECTED]> wrote in message
news:20021104153413.19848.qmail@;pb1.pair.com...
> Shaun wrote:
> > Hi,
> >
> > I tried some advice you gave , i tried to destroy the session cookie
> > wiht setcookie(session_name()); and setcookie(session_name(),-3600);
> > but the cookie is still the
On Wed, Oct 30, 2002 at 09:28:00AM -0500, GC wrote:
> Hi, using php_ldapadd, I get this error in ldap.log:
>
> Oct 30 09:23:43 Lunar slapd[10714]: conn=202 op=1 RESULT tag=105 err=65
> text=object class 'posixAccount' requires attribute 'uidNumber'
>
> How do I get the next available uid number f
I use the following function for my check boxes in forms in PHP.
Putting your form element creation into functions or even classes makes life
so much easier when you have to validate / change code.
you'll be glad you did it
Cheers
Brendon
function fncwriteformcheckbox($strname, $strid, $strv
Hello
I need help with
A project that I'm doing for a fantasy football league..
Where I'm doing auto add/delete of players of a roster
With maintaing a salary cap of $40.000.00
I have done the mysql database.. I just need help with
Code and forms
I want to use check boxes to do the add and d
If you have hundred thousand elements for example if you rob up for some
country select within tierce code-
I thinks doing like the following is better
echo "
a
b
...
zz
$value
" ;
And I don't care if it could have 2 same value in the select case...
And if there aren't many
For something like this, instead of doing all the HTML, I would set up
and array, and then loop through the array to output the HTML...
for ( $i = 0; $qual_array[$i]; $i++ ) {
if ( $_POST['qual'] == $qual_array[$i] ) {
echo ( "" .
$qual_array[$i] . "\n" );
} else {
echo ( "" . $qual_arr
Hi, as a beginner I find the way you declare variables through HTML-forms quite
straightforward. But the reverse, to put the same variables back into a form field is
not so obvious for selection lists and checkboxes. Would for instance this be the best
way:
>A
On Tuesday 05 November 2002 05:15, Steve Fatula wrote:
> What you describe is what SHOULD happen and does on that web site, that
> does NOT happen on my web site, with the exact same code I posted in the
> original message.
Presumably the test website and your website are on different servers -- t
Hi Ben,
I am not sure to understand exactly what do you want to do.
But I am going to try to answer you about something,
First, If you need to create your own ftp software using php, check out ftp library
(http://www.faqs.org/rfcs/rfc959.html)
there are several function about it, and you can allo
The @ symbol supresses error messages.
Alex wrote:
this day ,I read somebody else's program in php,found that in that one's
page ,with such as "if (!($recordnum=@pg_numrows($rs))){
echo 'ÃüÁî´¦ÀíÍê±Ï£¡'; " using,I don't know how the @ refer
to.somebody help me?thanks.
--
PHP Genera
this day ,I read somebody else's program in php,found that in that one's
page ,with such as "if (!($recordnum=@pg_numrows($rs))){
echo 'ÃüÁî´¦ÀíÍê±Ï£¡'; " using,I don't know how the @ refer
to.somebody help me?thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
PHPmac (http://www.phpmac.com/) has some excellent articles on the
subject. If all else fails, you can also grab a pre-compiled binary at
http://www.entropy.ch/software/macosx/php/.
On Mon Nov 4, 2002 5:12:38 PM, Kristopher Yates wrote:
Hello,
I'm trying to compile PHP4.2.3 for Mac OSX 10.2
On Mon, 4 Nov 2002 11:59:20 +0200, you wrote:
>Ok, this works.
>
>Just one more thing,
>
>How can I get the return in the same case as it was originally?
Use backreferences to capture what matched and use that in the replace
string. Example:
$1",
$str);
echo $str;
echo "";
$str = "Is this als
Hello, I'm trying again to ask you that question because I was not
understand.
I have a unix server hosting service, my hosting service allow me to create
web_server. Those are create for my client who have to upload differents
things. So when people are connecting to my ftp (example on IE...) th
You can "hide" URLs by fetching them with one of your own PHP scripts:
http://user:password@;www.site.com/");
?>
I think it might be at least better than frames. :-)
Chris
silver wrote:
you could use this URL syntax:
http://user:password@;www.site.com to automatically log your user in to the
Anyone ever used PHP instead of Hooks in radiator, or even if it could
be done...
I have no idea just thought I would give it ago
Before u tell me to goto ask on the radiator list I have I just thought
I would get some comments from the PHP community.
---
This type of question should be addressed to [EMAIL PROTECTED]
I am forwarding it there.
Also, please correct your reply-to address.
Chris
Luke wrote:
Hello,
On my website, I have a php form which submits the global Ip address of the
computer its on to a specific email address, I want it to a
hi - I'm not quite sure if this will help you, but lets give it a try:
you could use this URL syntax:
http://user:password@;www.site.com to automatically log your user in to the
htaccess protected area. the bad thing about it is that user / password show
up in the URL, but you could hide this inf
Your pseudocode is incomplete, because you do not show us where you call
this mysterious function that "validates using $PHPSESSID."
Also, if that is really all your switch consists of, you're not really
gaining anything over using a simple if construct:
if ($action == "msword")
{
word_head
$result = eregi_replace("($search)","\\0",$result) ;
I use it, and I work fine for me.
- Original Message -
From: "David Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 7:27 PM
Subject: [PHP] Battling with highlighting search criteria
> Hi there,
>
> To those of you that helped me with this problem I have spent time
> eliminating lines of code.. the problem was in the following line:
> if ($_SESSION["first_name"])
>
> the line should be like this
> if (ISSET($_SESSION["first_name"]))
The change that would induce this error is likely
It depends on where the textfile are going to be store
If you store them into unauthorized directory that php does not have the
right (or permission) to write in, I think it cannot be done, but if you put
down the file into allowed directory, why not?
to make column into your text file I think \t
Ok! I think I will try a little more to get it work with php first, but it
is a good idea you have here.
Thanks! : )
Raymond
"Joel Boonstra" <[EMAIL PROTECTED]> wrote in message
news:Pine.LNX.4.44.0211041703230.11800-10@;amos.gf.gospelcom.net...
> Hi Raymond,
>
> > I have made a website with
Hello,
I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone
else had this problem (see below)?
./configure --with-apxs=/usr/sbin/apxs
make
ld: multiple definitions of symbol _virtual_stat
TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
in sectio
n (__TE
Hello,
I'm trying to compile PHP4.2.3 for Mac OSX 10.2 (Jaguar). Has anyone
else had this problem (see below)?
#./configure --with-apxs=/usr/sbin/apxs
#make
ld: multiple definitions of symbol _virtual_stat
TSRM/.libs/libtsrm.al(tsrm_virtual_cwd.lo) definition of _virtual_stat
in sectio
n (__T
Why don't you cope with opendir / readdir () and array_rand ()
I tried it and I look ok-
But, I wonder if there are noble another way to do it?
- Original Message -
From: "ROBERT MCPEAK" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 8:40 AM
Subject: [PHP] r
Me :-)
I wonder if you can post me these scripts
- Original Message -
From: "Clint Tredway" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 05, 2002 8:46 AM
Subject: [PHP] PHP/Flash
> I have a small example of using Flash/PHP if anyone wants it..
>
> Clint
>
>
>
Dump the files in the directory into an array, then randomly select on
from that.
ROBERT MCPEAK wrote:
Could someone suggest some php for randomly selecting a file from a directory and then displaying the contents of the file?
Thanks in advance!
--
PHP General Mailing List (http://www.php.
Hi Raymond,
> I have made a website with a webshop and the orders are written down in
> txtfiles and a faxserver is scanning a directory for txtfiles and sends them
> as faxes.
>
> So I am trying to write the txtfile like I should have written the order in
> a table. Or you can say I am trying to
Manual -> FTP Functions
Cyclone Médias wrote:
hi everyone.
Who knows about to create a upload function to a ftp...
I have a server with many Web_Users, I know that we can create a command
that make a upload field on each folder of the ftp... Is is a .upload file
or a php script?
Please help!
hi everyone.
Who knows about to create a upload function to a ftp...
I have a server with many Web_Users, I know that we can create a command
that make a upload field on each folder of the ftp... Is is a .upload file
or a php script?
Please help!
Thanks!
--
PHP General Mailing List (http://
I have a small example of using Flash/PHP if anyone wants it..
Clint
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could someone suggest some php for randomly selecting a file from a directory and then
displaying the contents of the file?
Thanks in advance!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Since I just finished a pretty major source overhaul of the cryptopp-php
extension, I figured I should make a little announcement, as this is
oh-so-exciting news.
Recently, Wei Dai released Crypto++ 5.0, which was pretty much a complete
re-write of the public domain Crypto++ cryptography suite
I have a site that uses PHP/MySQL authentication for one section and
Apache/HTTP authentication for another. Eventually I would like to use only
PHP and MySQL for authenticating users, but in the meantime, I have to use
both.
First, users will log in to the main section of the site and I will
To those of you that helped me with this problem I have spent time
eliminating lines of code.. the problem was in the following line:
if ($_SESSION["first_name"])
the line should be like this
if (ISSET($_SESSION["first_name"]))
Seems like ISSET made a difference in eliminating warning: Cannot add
What you describe is what SHOULD happen and does on that web site, that
does NOT happen on my web site, with the exact same code I posted in the
original message.
So, the question remains, what would cause the SID to be blank every
other click?
Yes, I have also used Netscape on Linux to connec
On Mon, 4 Nov 2002, 1LT John W. Holmes wrote:
>Do you have file uploads enabled in php.ini?
No, sorry. I changed that and all worked fine.
I wonder why that is not mentioned on the section
of uploads of the PHP documentation.
Thanks a lot.
---sram
>---John Holmes...
>
>- Original Message
> Just wondering if there is a maximum size to the sql that can be passed as
a
> mysql_query, either from mysql itself or from the php side of things?
>
> I ask only cause I have a limiting clause on my select and I have no idea
how
> big it will grow and I would prefer to write it in such a way th
Do you have file uploads enabled in php.ini?
---John Holmes...
- Original Message -
From: "Salvador Ramirez" <[EMAIL PROTECTED]>
To: "1LT John W. Holmes" <[EMAIL PROTECTED]>
Cc: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 4:04 PM
Subject: Re: [PHP] $_FILES
> On Mon
Hi there,
Just wondering if there is a maximum size to the sql that can be passed as a
mysql_query, either from mysql itself or from the php side of things?
I ask only cause I have a limiting clause on my select and I have no idea how
big it will grow and I would prefer to write it in such a wa
On Mon, 4 Nov 2002, 1LT John W. Holmes wrote:
>How about just
>
>print_r($_FILES);
>
>Does that return anything?
It just return the same as before, i.e. "Array ( )"
---sram
>---John Holmes...
>
>- Original Message -
>From: "Salvador Ramirez" <[EMAIL PROTECTED]>
>To: "PHP General" <[EM
How about just
print_r($_FILES);
Does that return anything?
---John Holmes...
- Original Message -
From: "Salvador Ramirez" <[EMAIL PROTECTED]>
To: "PHP General" <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 3:50 PM
Subject: [PHP] $_FILES
> Hi,
>
> I hope somebody could hel
Hi,
I hope somebody could help me with a problem I have with the $_FILES
variable.
I'm trying to make a PHP script which could have access to an uploaded
remote file. The piece of HTML is:
and the ll.php script is:
", $_F
On 11/4/02 6:54 AM, "Martin Thoma" <[EMAIL PROTECTED]> tapped the keys:
> Hello!
>
> Our SMTP-Server has changed to authentification. Now we cannot send
> mails anymore using mail(). How can I set the password in mail?
The built in mail command cannot handle authentication. There is a class on
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
http://pear.php.net/bcompiler ?
~Paul
On Monday 04 November 2002 08:09 am, Alexander Kuznetsov wrote:
> Hello Martin,
>
> Monday, November 04, 2002, 2:53:48 PM, you wrote:
>
> MT> Hello!
>
> MT> Is there a way to run a php-script on a pc/windows-compu
> But why? Why is PHP echoing out something it should
> not be echoing? The validation doesn't fail so as such,
> the text should never be sent to stdout (the browser).
> Or am I misunderstanding something?
Ok, I figured out what my problem was and I'd very much
appreciate if someone who was int
Hi guys,
I have very weird problem.
I have installed the PHP version 4.2.3 on the LINUX virtual server of my web
project.
Previously I had the PHP version 4.0.6.
The error I get is very weird.
When I insert a record with the phpMyAdmin, the first 4 characters of each
field don't get saved.
Same
Stephen,
after your line:
>$query = "SELECT * FROM orders WHERE orderid = '$orderid'";
you should add:
mysql_query($query);
in your code line you've just set your variable--you haven't asked mysql to
do anything.
Hope this helps.
Hugh
- Original Message -
From: "Steve Jackson" <[EMAIL
look at smarty (smarty.php.net) as it does templates, and i am
accomplishing 'themes' on a current project by just changing the
template directory.
-js
Marek Kilimajer wrote:
> My way: take a theme that most suits your needs and change it
>
> Kevin Myrick wrote:
>
>> Ok, like I stated in my la
Ok, so I've a script that outputs HTML. If a particular
argument is passed to that script, it sends the following
header commands before it echoes out any HTML:
header( "Content-Disposition: inline; filename=policy.doc" );
header( "Content-type: application/msword" );
so that it opens up and di
Hi!
I have made a website with a webshop and the orders are written down in
txtfiles and a faxserver is scanning a directory for txtfiles and sends them
as faxes.
So I am trying to write the txtfile like I should have written the order in
a table. Or you can say I am trying to make some columns i
Hi there,
I recently upgraded from PHP version 4.0-ish to 4.2.3 on my Linux/Apache
machine. AFAIK, Apache is setup correctly (it serves HTML) and PHP
works, but only from the command line. If I type "php -q php.php >
test.html" the output of phpinfo() is stored in test.html. When I try
and look at
Hello experts,
I am hoping to build a website to host a sizeable document and add
functionality to allow readers to submit comments and general feedback. The
main document is currently stored as a series of XML pages and I have
succeeded in publishing these documents in HTML with Apache Cocoon.
> (isset($_POST["Submit"])) is this the way to check a submission image
to
> see
> if it's been set?
Nope. Try the manual:
IMAGE SUBMIT variable names
When submitting a form, it is possible to use an image instead of the
standard submit button with a tag like:
When the user clicks somewhere
Hi,
I'm having some problems with session on version 4.3.0.
On 4.1.1 it was working perfectly. Here are the sources
of login.php and logout.php:
login.php
session_start();
$GLOBALS["SID"] = "PHPSESSID=".session_id();
$GLOBALS["var1"] = $HTTP_SESSION_VARS["var1"];
logout.php
session_start();
(isset($_POST["Submit"])) is this the way to check a submission image to see
if it's been set?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Really quick answer:
1. consider storing them OFF the server as soon as possible... having
minimal (if any) numbers stored on the live (net connected server) will:
a) make the server a less desireable hack
b) result in less risk in case of a hack
c) be more responsible to your customers
2. instal
There are AES_Encrypt/Decrypt and DES_Encrypt/Decrypt functions in MySQL.
Quote from Manual:
AES_ENCRYPT() and AES_DECRYPT() were added in version 4.0.2, and can be
considered the most cryptographically secure encryption functions currently
available in MySQL.
http://www.mysql.com/doc/en/Miscella
Rule no. 1 => Never save the cc-numbers in an online database.
Regards,
Sumarlidi E. Dadason
SED - Graphic Design
_
Tel: 896-0376, 461-5501
E-mail: [EMAIL PROTECTED]
website: www.sed.is
-Original Message-
From: adrian [EMAIL PROTECTED]
[mailto:adrian.murph
Sorry forgot to say we do have a secure server.
- Original Message -
From: "adrian [EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 04, 2002 4:37 PM
Subject: [PHP] storing cc details in mysql
Hi,
I know this is an old chestnut and i am going thru arch
Hi,
I know this is an old chestnut and i am going thru archives
and googling as well.
anyhoo, my small company recently decided that live cc processing was too expensive
for our needs (this has to do with us being based in ireland where there is a problem
with the banks -they only deal with one
Shaun wrote:
> Hi,
>
> I tried some advice you gave , i tried to destroy the session cookie
> wiht setcookie(session_name()); and setcookie(session_name(),-3600);
> but the cookie is still there . Instead , there are now 2 cookies
> with the same name , the one has the session id , the other has no
My way: take a theme that most suits your needs and change it
Kevin Myrick wrote:
Ok, like I stated in my last message, I am using
PHPWebsite as my portal system.
However, I would like to learn how to do custom
themes, because like sooo many aspiring web
designers/programmers, I got an imaginat
Hello List -
I am having a problem with fsockopen since my ISP upgraded their linux
server. The same function works just fine on another linux server and PHP
version (using a different ISP).
This fsockopen function previously worked as expected, returning within the
specified timeout (2 sec) i
That is true. Didn't think about it like that.
Thanks for your input..
rolf vreijdenberger wrote:
but what if you decide later you want more objects or globals in your
function??
your parameter list could get quit long!
--
Rolf Vreijdenberger
De Pannekoek en De Kale
W: www.depannekoekendekale.
Hi,
I tried some advice you gave , i tried to destroy the session cookie wiht
setcookie(session_name()); and setcookie(session_name(),-3600); but the
cookie is still there . Instead , there are now 2 cookies with the same name
, the one has the session id , the other has no contents! HOW CAN I DEL
/etc/aliases
foo: "|/path/to/script.php"
script.php
Quoting Chris Kay <[EMAIL PROTECTED]>:
>
> Could you not put a .forward to a php script?
>
> Correct me if I am wrong or even point me in the right direction
> Cause I am thinking of doing this soon.
>
> Regards
> Chris Kay
>
>
Hello Martin,
Monday, November 04, 2002, 2:53:48 PM, you wrote:
MT> Hello!
MT> Is there a way to run a php-script on a pc/windows-computer which hasn't
MT> php-installed? I thought of somekind of compiler which creates an .exe,
MT> which embeds the script and the php-environment.
MT> Martin
On
Hello!
Is there a way to run a php-script on a pc/windows-computer which hasn't
php-installed? I thought of somekind of compiler which creates an .exe,
which embeds the script and the php-environment.
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Thanx, I will try this.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Could you not put a .forward to a php script?
Correct me if I am wrong or even point me in the right direction
Cause I am thinking of doing this soon.
Regards
Chris Kay
> -Original Message-
> From: Timothy Hitchens (HiTCHO) [mailto:phplists@;hitcho.com.au]
> Sent: Monday, 4 Nov
I don't use cookies when I use sessions.. Saves hassles
Regards
Chris Kay
> -Original Message-
> From: Erwin [mailto:erwin@;isiz.com]
> Sent: Monday, 4 November 2002 6:50 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Re: Session cookies
>
>
> > When the user logs in , i create a
Craig wrote:
> I have a database table that holds the values of IDs in the format
> 1,2,3,4,5,67,x,x,x,x,x,x
>
> I am using a dynamic select list menu that displays a list of items
> from a 2nd table with the values set to their unique ids
> eg
> item 1
> item2
> item 3
> item 4
> item 5
>
> i am t
I have a database table that holds the values of IDs in the format
1,2,3,4,5,67,x,x,x,x,x,x
I am using a dynamic select list menu that displays a list of items from a
2nd table with the values set to their unique ids
eg
item 1
item2
item 3
item 4
item 5
i am trying to use an array search that wil
Has anybody an equivalent for java saxon:output in a php library ?
The port I would make follow :
Thanks for your help .
Pierre Vaudrey
email [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.p
Hello,
On 11/04/2002 09:54 AM, Martin Thoma wrote:
Hello!
Our SMTP-Server has changed to authentification. Now we cannot send
mails anymore using mail(). How can I set the password in mail?
Not with mail(). You may want to try this class that comes with a
wrapper function named smtp_mail() th
Hi Erwin,
Great thanx, my brain is cleared . Well, a little more...
Where would I be able to find more info about regexp's?
TIA
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +2711 444-7256
e-mail: [EMAIL PROTECTED]
web: www.BarloworldOptimus.com
-O
Hello!
Our SMTP-Server has changed to authentification. Now we cannot send
mails anymore using mail(). How can I set the password in mail?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Works for me, tr putting some echo mysql_error on your page
Darren McPhee wrote:
I have spent the last 3 days trying to figure this out. And will probably
give up very soon. I have written 2 programs (which are very common PHP
programs) that A) Allows me to upload image files into a MYSQL data
If you are running in safe mode, setting time limit has no effect
Eduardo M. Bragatto wrote:
I've send an e-mail with a doubt related with the
"maximum_execution_time" variable but it has no answers, so, I'm
submiting it again...
I'm using a single php script to send files named upload.
I just had a look in the manual at the reg exp functions, and this was in
the user notes:
eregi_replace($search, "\\0", $text);
so, try:
$result = eregi_replace($search, "\\0", $result);
Justin
on 04/11/02 7:59 PM, David Russell ([EMAIL PROTECTED]) wrote:
> Ok, this works.
>
> Just one mor
With a more detailed regexp... unfortunately, I don't know enough about
them.
Justin
on 04/11/02 7:59 PM, David Russell ([EMAIL PROTECTED]) wrote:
> Ok, this works.
>
> Just one more thing,
>
> How can I get the return in the same case as it was originally?
>
> Ie if I have $string = "Forwar
> How can I get the return in the same case as it was originally?
>
> Ie if I have $string = "Forward" , and $search = "for", I want
> Forward, not forward.
Read my reply to your previous reply ;-))
But...some more explanation:
$result = preg_replace( '/(' . $search . ')/i', "\$1", $result );
T
>> Try the following one:
>>
>> $result = "This is a test, isn't it?";
>> $search = "is";
>>
>> $result = preg_replace( '/(' . $search . ')/i', "> class=\"highlight\">\$1", $result );
>>
>>
>> Grtz Erwin
David Russell wrote:
> Hi Erwin,
>
> Yep, this does exactly what str_replace does.
No, it doe
Sorry, my mistake...
This is what happens when you have 2 machines - one production and one
development. You get confused between the two
Just one more thing,
How can I get the return in the same case as it was originally?
Ie if I have $string = "Forward" , and $search = "for", I want
Forward,
Ok, this works.
Just one more thing,
How can I get the return in the same case as it was originally?
Ie if I have $string = "Forward" , and $search = "for", I want
Forward, not forward.
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +2711 444-725
Hi Erwin,
Yep, this does exactly what str_replace does.
How can I make the whole thing case insensitive:
$result= "This Is A Test, Isn't It?"
$search= "IS"
It will include the 'is' in 'This', and also the 'Is' and the 'is' in
'isn't'.
cheers
David Russell
IT Support Manager
Barloworld Optimu
On Monday 04 November 2002 16:42, Steve Jackson wrote:
> I want to display an address from my database based on an orderid. Where
> am I going wrong? I am still unsure how Php interacts with mySQL but am
> I right in assuming it should be an array?
>
> My code...
>
> function get_shipping_address($
Hello,
Who know how to use those functions:OCISaveLob, OCILoadLob, OCISaveFile?
Where can I find documentation and sample about this general purpose: 'lob
object manipulation with oracle"
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub
David Russell wrote:
> Hey there
>
> I told you my brain was feeling fuzzy :)
>
> This works great. Only one problem... I would like it to be case
> insensitive... Any way?
>
> I assume that it would be a ereg/preg replace, but I have no clue with
> regexp at all.
Try the following one:
$result =
how are you doing it for only the FIRST???
Anyhoo, a simple string replace should do it... I'd do this:
$result = str_replace($search,"{$search}",$result);
Justin
on 04/11/02 6:27 PM, David Russell ([EMAIL PROTECTED]) wrote:
> Hi there,
>
> My brain has just gone very fuzzy...
>
> I have a
Hey there
I told you my brain was feeling fuzzy :)
This works great. Only one problem... I would like it to be case
insensitive... Any way?
I assume that it would be a ereg/preg replace, but I have no clue with
regexp at all.
Anyone who could help??
David Russell
IT Support Manager
Barloworld
> Who can tell me where I can get the cracked Zend Encoder 3.0 ?
By the way write do [EMAIL PROTECTED] for cracked Windows XP ;-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> On 2 Nov 2002 03:26:36 -
> [EMAIL PROTECTED] wrote:
>
> > Hi! This is the ezmlm program. I'm managing the
> > [EMAIL PROTECTED] mailing list.
> >
> > I'm working for my owner, who can be reached
> > at [EMAIL PROTECTED]
> >
> > To
hello,
Check the PHP-DB archives you'll find a code for the upload, and this one
for viewing image :
Hope this will help
Hatem
"Darren McPhee" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> I have spent the last 3 days trying to figure this out. And will probably
> g
> I have a search string ($search) and a result ($result). I need to
> highlight every occurance of $search in $result.
>
> I know that it means that I need to change (for example)
>
> $result = "This is a test, isn't it?"
> $search = "is"
>
> Into
>
> $result = "this class="highlight">is a te
Steve Jackson wrote:
> I want to display an address from my database based on an orderid.
> Where am I going wrong? I am still unsure how Php interacts with
> mySQL but am I right in assuming it should be an array?
>
> My code...
>
> function get_shipping_address($address_array)
> {
> $conn = db_co
1 - 100 of 103 matches
Mail list logo