Mike, :)
Could you show me how, or an example. This is why I went searching for one. I haven't
the slighest where to start, but am willing to learn. I have toyed with $which_one,
but it does not recurse sub-directories.
Thanks,
John
> John, since you're looking to modify this script and not buil
John, since you're looking to modify this script and not build your own or
search for another, here's some tips on how one might go about doing this.
1) set $which_one to the directory you want to search.
2) create a recursive funtion (many on php.net) to get all subdirectories
under it and build
I found this script. I would like to modify it so it searches in not just the current
directory, but also any other subdirectories.
There are maybe better scripts out there, but I like this one for its simplicity. Can
anyone lend a hand please?
John
"," ", $bleh);
if (str
Yes sounds like you have not read the installation guide.
Mark Mark wrote:
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work. Then, I install the php installer and and copied the windows binary files. I followed the instruction to run as a module and I even uni
Oh crap, variable scope:-((
thanks again.
-Ryan
On 2/2/2004 4:17:40 AM, [EMAIL PROTECTED] wrote:
> Ryan A wrote:
>
> > I am getting everything except the 3 variables($admin,$site,$lic), heres
> my
> > function:
> >
> > ***
> > include_once('PRO-Config.php');
> > echo $admin; /
On Sunday 01 February 2004 11:06, Ryan A wrote:
> Am going nuts with this, and the manual for user functions is not very
> helpful either:
> http://se2.php.net/manual/en/functions.php#functions.user-defined
manual > Variables > Variable scope
--
Jason Wong -> Gremlins Associates -> www.gremlins
try setting them global as they are outside the function
global $admin,$site,$lic
etc ..
-Original Message-
From: Ryan A [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 01, 2004 2:07 PM
To: [EMAIL PROTECTED]
Subject: [PHP] 3 variables not passing to function!!!
Hey,
Am going nuts
Ryan A wrote:
I am getting everything except the 3 variables($admin,$site,$lic), heres my
function:
***
include_once('PRO-Config.php');
echo $admin; // This was a test to see if I am getting the value from the
include..I am.
function sendEmail()
{
[snip]
Admin: $admin
Site: $site
Hey,
Am going nuts with this, and the manual for user functions is not very
helpful either:
http://se2.php.net/manual/en/functions.php#functions.user-defined
What i am doing is really simple, am trying to mail myself 3 variables from
a "include" file.
I am getting everything except the 3 variables
[EMAIL PROTECTED] wrote:
is there in PHP a function that create a new directory on server
This is a serious case of needing to RTFM. www.php.net/mkdir
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Stephen Craton wrote:
Well, what point is a mailing list if you have to go onto a website to reply
to something? That'd be more or less a forum...
Why would you have to go onto a site to reply when using a mailing list
manager? Hell, a lot of hosting providers set you up with Majordomo
when you
Hey,
Thanks, it worked!
-Ryan
On 2/1/2004 1:13:32 AM, Stuart ([EMAIL PROTECTED]) wrote:
> Ryan A wrote:
> > $somecontent = strtoupper(md5($type));
>
> compared to...
>
> > if(strcmp($contents,md5("1"))==0)
>
> Comparing uppercase to lowercase (md5 generates a lowercase string).
> Either remove
Looking for suggestions/thoughts/comments about mail list/outbound
email/"newsletters". I just bought some software to help my wife's clients
send outbound email campaigns (opt-in/opt-out) not spam. There have been
several issues right off the hop. Can anyone think of components that can
be used
Well, what point is a mailing list if you have to go onto a website to reply
to something? That'd be more or less a forum...
Thanks,
Stephen Craton
http://www.melchior.us
- -Original Message-
- From: DvDmanDT [mailto:[EMAIL PROTECTED]
- Sent: Saturday, January 31, 2004 8:30 PM
- To: [EMA
Ofcorse it can be done... Wouldn't be worth it though, and it would be
slooow as f I think...
... I really don't think it would be worth it accutually...
--
// DvDmanDT
MSN: dvdmandt¤hotmail.com
Mail: dvdmandt¤telia.com
"Stephen Craton" <[EMAIL PROTECTED]> skrev i meddelandet
news:[EMAIL PROTECT
But Stephen, there are all sorts of mailing list managers why reinvent
the wheel?
NO doubt it could be done, whether it's worth doing is another question.
Miles
At 07:42 PM 1/31/2004 -0500, Stephen Craton wrote:
Alright, I'm just looking for two answers: If it can be done and how? I
don't
I am running Apache 1.3.29 and PHP 4.3.3. I installed apache first and got it to work.
Then, I install the php installer and and copied the windows binary files. I followed
the instruction to run as a module and I even uninstalled the php files and tried to
run PHP as just a CGI binary, both met
Alright, I'm just looking for two answers: If it can be done and how? I
don't want code though, that's up to me to figure out.
I'm about make a script, somewhat like a mailing list, where users can
contact each other through a web based system or by email. My question is,
can I get PHP to someh
Matt Hedges wrote:
Can someone help me with the following? Preferably someone other than the
wise ass below?
Of course...
thanks
matt
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Matt Hedges wrote:
Hello,
I have a page where users can enter in information about
t
Ryan A wrote:
$somecontent = strtoupper(md5($type));
compared to...
if(strcmp($contents,md5("1"))==0)
Comparing uppercase to lowercase (md5 generates a lowercase string).
Either remove the strtoupper when first generated, strtoupper the md5
result in the comparison or use strcasecmp instead of s
Matt Hedges wrote:
Can someone help me with the following? Preferably someone other than the
wise ass below?
Certainly.
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Matt Hedges wrote:
Hello,
I have a page where users can enter in information about
themselves... I
Can someone help me with the following? Preferably someone other than the
wise ass below?
thanks
matt
"Burhan Khalid" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Matt Hedges wrote:
> > Hello,
> >
> > I have a page where users can enter in information about
> > themselves... I
>> I used microtime() to differentiate them, but in retrospect it should
>> have been a no-brainer to use the database primary id to help
>> differentiate these, since the DB already did all the heavy lifting
>> involved in ensuring uniqueness.
>
>Even though it seems incredibly unlikely, isn't is
Hi -
I posted this last week. It got one promising response, then fell by the wayside.
I'm trying
this again:
I'm running across a strange situation in which a script I'm running on a hosting
company's server
as a web page (no shell access available) is dying inside imap_fetchstructure w
Alex King wrote:
(on MikeRoweSoft.com)...
In case you didn't know, Mike isn't an only child. He has a brother and a
sister, and his brother's name is Mac. Mac is 24, but when he was 19, he
started a media consulting company. Guess who he recieved a letter from.
Actually, Macromedia was very nice
Hi,
Just fooling around with fwrite and fread when i seem to have hit a wall.
Basically, what i am trying to do is, make an md5 hash of a number, write
that number to a file.
A bit later read the hash from that file and compare it to a number, if its
1, then print 1 , if 2 print 2...
I have tried 2
(on MikeRoweSoft.com)...
In case you didn't know, Mike isn't an only child. He has a brother and a
sister, and his brother's name is Mac. Mac is 24, but when he was 19, he
started a media consulting company. Guess who he recieved a letter from.
Actually, Macromedia was very nice about it.
Really,
Hi Ashley,
I think you didn't told Apache to parse PHP. You have to add the following lines
into the httpd.conf:
| LoadFile "C:/www/apache/bin/php4ts.dll"
| LoadModule php4_module "C:/www/apache/bin/php4apache2.dll"
| AddType application/x-httpd-php .php .php4 .php3 .phtml
(without "|", replace
Hi friends of PHP,
I am new to PHP and just created a code. I tried it out on a php enabled
site and it worked, oh joy!
I then installed apache 2.0.48. All was good.
I then downloaded and installed php 4.3.4.exe, the auto install version. I
chose apache in the bullet menu thing but when it instal
Matt Hedges wrote:
> Hello,
>
> I have a page where users can enter in information about
> themselves... I want it to maintain its format instead of all
> running together, that is, when they enter a space the space is
> maintained via MySQL and displayed in their webpage (instead of
> having to
Hello all,
I'm trying start a perl script from PHP but I'm not getting success.
This script is calling the Inline-octave module (see below an example) to
do some numeric calculus.
The script is started but it doesn't finish. I think that the process is
being killed when the Inline-octave module is
php-general Digest 31 Jan 2004 20:07:11 - Issue 2563
Topics (messages 176448 through 176468):
Re: Turck MMcache - still continuing or dead?
176448 by: Binay
176449 by: Jason Wong
176452 by: Adrian Teasdale
176453 by: Raditha Dissanayake
176455 by: Bina
Hey,
Nice solution, I think i'll use it.
Thanks.
-Ryan
On 1/31/2004 8:56:02 PM, [EMAIL PROTECTED] wrote:
> Ryan A wrote:
> > Hey all,
> > I needed to make a simple upload script so users could upload their
> > images but had a small extra requirment, after searching google,
> > hotscripts and all
On Sat, 2004-01-31 at 12:57, Michal Migurski wrote:
> >> users uploading two identically named files at the same time (not all
> >> /that/ unlikely), and you are using a database table to track
> >
> >Really? You don't think it's that uncommon? Please give an example as I
> >can't think of any. Not
Hello,
I have a page where users can enter in information about themselves... I
want it to maintain its format instead of all running together, that is,
when they enter a space the space is maintained via MySQL and displayed in
their webpage (instead of having to ask them to type )
is this p
Hello,
On 01/30/2004 05:31 PM, Kristopher Spencer-Yates wrote:
Normally I wouldn't do this but the cURL list seems to be in severe
hibernation, ie. no activity. I'm in a bit of a jam w/ this and so here
goes
How do I get cURL to pass headers properly? It is ignoring my -H
headers and sen
>> users uploading two identically named files at the same time (not all
>> /that/ unlikely), and you are using a database table to track
>
>Really? You don't think it's that uncommon? Please give an example as I
>can't think of any. Not like that's saying much. :)
I'd say that any time you have a
If you have an array like this (change the url to href):
$menu = array (
'link1' => array(
'url' => 'foo',
'title' => 'bar'
'style' => 'dolor'
),
'link2' => array(
'url' => 'foo',
't
On Fri, 2004-01-30 at 22:48, Shawn McKenzie wrote:
> You would need to give an example of what you mean by change dynamically,
> because if you can't predict the key indexes then how can you know which
> ones to use in your anchor tag?
say this:
$menu = array (
'link1' => array(
[EMAIL PROTECTED] wrote:
Hi all,
is there in PHP a function that create a new directory on server?
Regards,
Frank
www.automationsoft.biz
Wow, who would have thought that one could find the answer to a php
question in the php manual...
http://us2.php.net/manual/en/function.mkdir.php
--
By-Tor.
I'm jumping in kinda late, and I have been using it on two small production
site, and countless small projects. While I do not use the full array of
its features, even the base features make it a great product. Never had any
problems
-Original Message-
From: Binay [mailto:[EMAIL PROTECTE
Yes when I checked out the manual page for eval() it did occur to me that it
did open up significant potential for abuse. As it happens I am passing
user supplied values into these variables, but I validate all my input
anyway to prevent people from modifying my queries etc.. I have observed
that
[EMAIL PROTECTED] wrote:
> Hi all,
> is there in PHP a function that create a new directory on server?
> Regards,
> Frank
> www.automationsoft.biz
Don't send your messages high priority. They are not high-priority.
--
Burhan Khalid
phplist[at]meidomus[dot]com
--
PHP General Mailing List (http:
[EMAIL PROTECTED] wrote:
is there in PHP a function that create a new directory on server?
RTFM - http://php.net/mkdir
--
Stuart
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi all,
is there in PHP a function that create a new directory on server?
Regards,
Frank
www.automationsoft.biz
Thanks alottt
Finally have decided to go with MMcache only.
Thanks all for clearing my doubts once again
Binay
- Original Message -
From: "Adrian Teasdale" <[EMAIL PROTECTED]>
To: "'Binay'" <[EMAIL PROTECTED]>; "'Raditha Dissanayake'"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Hello
This is a PHP list not an activex list.
Radwan Aladdin wrote:
Hi all..
I have in my database the fields :"CourseTitle, Language1, Language2, Language3, Language4, Language5, Language6...Etc.."
Now what I want to make is : By using an ActiveX Control I want to retrive the values for these f
Hi
True that there are countless thousands of projets at sourceforge that
can be called dead. But these are mostly projects that never had many
downloads even at the peak. or the platforms they ran on are no longer
popular etc. Thankfully the same cannot be said of MMCache.
Adrian Teasdale w
> Hi Adrian
>
> I looked at the discussion goin on located at sourceforge.
> But then i m still not able to make up my mind whether to use
> it or not in my production server. What do u suggest? Is
> there any problem with the current version of MMcache? Please
> suggest me.
>
> Thanks
> Bin
On Saturday 31 January 2004 11:48, Shawn McKenzie wrote:
> You would need to give an example of what you mean by change dynamically,
> because if you can't predict the key indexes then how can you know which
> ones to use in your anchor tag?
foreach ($arr as $key => $value) {
echo "Key: $k
On Saturday 31 January 2004 13:10, Robert Sossomon wrote:
> Yuck!!
Indeed. Please trim your posts!
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
---
On Saturday 31 January 2004 13:57, Binay wrote:
> So u mean i can go ahead with MMcache??
Why not? There's nothing to stop you. The code still works, even though
development has been (hopefully) temporarily suspended.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Softw
Hi Adrian
I looked at the discussion goin on located at sourceforge. But then i m
still not able to make up my mind whether to use it or not in my production
server. What do u suggest? Is there any problem with the current version of
MMcache? Please suggest me.
Thanks
Binay
- Original Message
Hi all..
I have in my database the fields :"CourseTitle, Language1, Language2, Language3,
Language4, Language5, Language6...Etc.."
Now what I want to make is : By using an ActiveX Control I want to retrive the values
for these fields from the database.. so for example there are many rows there(
That's not strictly true. Open source projects do sometimes die if
nobody steps up to bat when the original developer decides not to
continue it - SourceForge has many projects like this. In this
particular instance mmCache is not dead (yet). The original developer
has moved to work with Zend and
55 matches
Mail list logo