Hi all,
I am looking for a PHP-Nuke/Slashdot -type of php-based application, which
can run on an Interbase database. On drawback I currently have with the
others is that it does not seem to have a listserv type of interface, with
subscription/unsubscription requests/archives/digests/etc.
Does any
assumption would be that there should be a class out
there somewhere that handles it well.
Thanks
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
smime.p7s
Description: application/pkcs7
Hi all,
I have a multiple select called Consultants[] In one page.
On the target page, how would I reference it? Would it be:
$_POST['Consultants'][0]
$_POST['Consultants'][1]
Etc
Or something else?
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel:
tually saves the attachment into a
database.
How would I re-do this?
What I would preferably do is have the script AddAttachment for each
$_FILES[] there might be. If I need to change it from an array type
($userfile[]) in the calling script, I can easily do this.
Can someone help me?
Thanks
ref="blah" onmouseover="blah">" with ""
What would be a good preg_replace string for this?
Preg_replace('/(<A)/i', ',
but drop everything else.
I will be googling on this too, but a reply from this group is always
quicker
Thanks
David Russell
Hi Ernest,
I stand corrected. (I tend to standardise on double quotes where
possible, and rarely use singles)
Thanks for correcting me on this.
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +2711 444-7256
e-mail: [EMAIL PROTECTED]
web
I assume that you do have a sesion_start() on the second (Target) page
It needs to be present on each page using your session.
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
need to put it into quotes (as I have above)
For newer versions of PHP, you would also want register globals off, and
thus you would probably want to use $_GET['action'] as I have above. If
you are using OLD PHP, then use HTTP_GET_VARS instead.
David Russell
IT Support Manager
Barloworld
entity, but how can I do both of these?
Thanks for any advice.
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
smime.p7s
Description: application/pkcs7-signature
Like this:
http://fqdn.domain.com/path/path/page.php?var1=value1&var2=value2&;...
Page.php can then reference $var1 and $var2 if register globals is on
(bad idea) or $_GET['var1'] and $_GET['var2']
hth
David Russell
IT Support Manager
Barloworld Optimus (Pty)
Could you post some code?
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
-Original Message-
From: pig pig [mailto:pigpig8080@;yahoo.com.sg]
Sent: 12 November 2002 03:52 PM
To
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.BarloworldOptimu
uot;, I want
Forward, not forward.
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
-Original Message-
From: David Russell [mailto:DavidR@;BarloworldOptimus.com]
Sent: 04 Novem
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-
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'
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
;is"
Into
$result = "this is a test, is'nt
it"
Now I can easily see how to change the FIRST occurrence of the word, but
how can I change every occurance?
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711 444-7250
Fax: +271
Been there, done that. Didn't help...
I was told (off list) that it is because php4.2.3 is compiled with
Apache 1.3.24. is this possible?
It is definitely Apache 1.3.27 (404 error message returned the version
number), but php is not reporting as such.
Thanks again
David Russell
IT Su
?
Thanks
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
smime.p7s
Description: application/pkcs7-signature
4.2.3 work properly with Apache 2.0.43? In a production
server?
2. Are there features in Apache 2.0 that would be beneficial?
3. What is the learning curve line from moving to installing,
configuring and running Apache 1.3 to 2.0?
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
--Original Message-----
> From: David Russell [mailto:DavidR@;BarloworldOptimus.com]
> Sent: 30 October 2002 14:32
>
> I am having problems unsetting Session Variables - where I know it
> should work.
>
> I have a form. It contains both links with GET variables, and also a
> PO
available later in other scripts)
What can I do?
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
smime.p7s
Description: application/pkcs7-signature
bal array, and start
narrowing down the problem.
One caveat - I currently have no internet access (e-mail only). Could
people please e-mail me information especially if they want to include
links to relevant websites.
Thanks
David Russell
IT Support Manager
Barloworld Optimus (Pty) Ltd
Tel: +2711
this not work? I refresh the page. I am using PHP 4.2.2.
Register Globals - Off, Track Vars - on. Any ideas why the session
variables refuse to be unset?
Thanks
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
smime.p7s
Description: application/pkcs7-signature
Hi all,
I am finally spending some time converting a million and one functions
into a class - this is for a software issue tracking system.
I have:
class issue {
var
var
...
function issue() { //default constructor
//initialise all variables to defaults, and start getting the
Hi all
(easy one - I think)
I need to replace all instances of multiple spaces in a string with a
single space.
I tries the following:
$ArticleText = str_replace(' ', ' ', $ArticleText);
but if I have four spaces, I am left with two - this is wrong...
I am sure that I am really looking fo
Hi all
I have just had a request about editing Word Documents...
I have an intranet, which provides access to, amongst others, Word
Documents about policies, etc. What the guys are looking for is a way to
do the following:
1. Show a list of files available for editing
2. If a file is clicked,
Hi all
How would I get recent stock prices in a page? I obviously need to get
this from some source.
I am looking for local (South African) and international share prices
for a portal-type system. What I will probably do (for the sake of
speed) is have a cron job periodically fetch the releva
experience with DB Absteraction suites. If so, I
need one that supports InterBase/Firebird and also supports MySQL. I
would like to know what they are like in terms of ease of learning the
generic things, etc, etc.
Thanks in advance
David Russell
--
PHP General Mailing List (http
Hi there,
Each time I look at code from websites/etc, I notice a different set of
headers that get sent to the browser. Amongst others, there are:
location :
content-type :
content-disposition : attachment
Is there anywhere where I can find a standard set of headers available to
me? I had
Hi all,
Another bug bites the dust...
Thank you so much for your responses...
As for the DB/filesystem issue, we need to be able to easily replicate this
at some time to another server as the system may easily become a
distributed intranet system. We made the decision to use a database as th
Hi all,
I have a database. It receives from my users files - which could be word
documents, Adobe PDF files, text docs, anything...
I store these in a BLOB field of the database.
On a certain page, I include a link to these files which have been saved
into the blob. The link is Document.
Now
32 matches
Mail list logo