> i could roll my own, and for now will just use a str_replace after
ucwords,
> but would it be possible to add an optional parameter to ucwords which
would
> be an array of words to skip? i would think this would be useful to
> many.
that sounds like a good idea to me.
--
PHP General Ma
Hi,
I wrote a php script to create a dynamic graph (image/jpeg). On my
development system the image appears on my website it gives Image/Jpeg
support not compiled.
Below are the config settings:
My system:
Configure Command ^@ './configure' '--prefix=/usr'
^@'--with-config
Hi all,
Is there any tips you can point me at on spawning off an Expect script with
agruments. Here is a sample of the command I want to be spawned.
/usr/local/bin/expect /location/of/script.exp arg1 "Arg Number 2"
I would also like it to be able to report the output of the expect script
back
put \n at the end
- Original Message -
From: "Big5ive" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 11:36 PM
Subject: [PHP] Writing newlines in files
> Hi!
>
> $FTP_FILE="d:\programme\serv-u\ServUDaemon.ini";
> $fp = fopen("$FTP_FILE", "a");
>
$data="\n\n
Does no one have a clue on this one? I'm really in need of leads here.
Thanks,
Wes
>
> Hey all,
>
> Two related questions. If I remember correctly this has been beaten to death
> before on the list, but here I am having issues with it, and ending up at
> somewhat of a loss still.
>
> I've bu
I have reinstalled but still cannot work.
How i compile:
./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs \
--with-ldap=/home/jeffrey/download/directory/install --with-oci8=/home/oracl
e
Apache server stop and started.
Im using redhat 7. Oracle 8i installed as programmer, apache_1
and to whoever asked this a few weeks ago, yes i'm getting this too, and yes
its annoying..any possibility of deleting it from the list?
-Original Message-
From: Mail Delivery System
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 23, 2001 11:17 PM
To: [EMAIL PROTECTED]
Subject: Un
i could roll my own, and for now will just use a str_replace after ucwords,
but would it be possible to add an optional parameter to ucwords which would
be an array of words to skip? i would think this would be useful to
many.
any thoughts?
--
PHP General Mailing List (http://www.php.net/)
At 07:00 23/9/2001 -0700, Alawi Albaity wrote:
>hi
>
>how can I remove duplicted values (Data) in my array ?
my bad... I didn't check the manual... there's a function that does exactly
that:
http://www.php.net/manual/en/function.array-unique.php
sorry... :)
_
. Chr
At 07:00 23/9/2001 -0700, you wrote:
>hi
>
>how can I remove duplicted values (Data) in my array ?
there are several solutions to this problem, you can:
1 - use the function array_count_values() to find all the values that occur
more then once and then loop trough the result array and removing
http://phpclasses.upperdesign.com/browse.html/file/766
Try that class.
- k
- Original Message -
From: "Tom Malone" <[EMAIL PROTECTED]>
To: "PHP Users" <[EMAIL PROTECTED]>
Sent: Sunday, September 23, 2001 10:07 PM
Subject: [PHP] IMAP - create user?
> Is there a way to create a new us
Is there a way to create a new user with an email address on my mail server
(for a web mail app i'm writing) using an IMAP or some other PHP function?
Tom Malone
Web Designer
http://www.tom-malone.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
Hi.
I need help to insert blob fiedls into interbase with php.
Thank You.
ICQ: 109374340
--
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
looks pretty straightforward with php's caveat to be careful to use octal...
chmod ("/somedir/somefile", 0755); // octal; correct value of mode
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
<[EMAIL PROTECTED]> wrote in me
im definitely not a guru, but perhaps this might help
http://www.php.net/manual/en/html/function.chmod.html
http://www.php.net/manual/en/html/function.chown.html
those are the doc pages on usage of similar process for setting permissions
(i believe)
GL
--
--
Maybe I wasn't clear in my previous message:
What I want to do is: when you fill the form, record it
to a file without 666 permitions. I mean: I don't want
to have the file "opened" to everybody. In Perl it was
possible (because it uses directly "system" user, which
is similar to "root"), I wa
OMG, never mindim an idiot.
clear as day a i had left in the middle of an echo statement after
doy!
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Matt Greer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">n
nope, no go...still getting extra lines after taking out all instances of \n
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Ah, ok, di
Ah, ok, didnt know about the faus pax re: attachments. Lo siento!
Anyway, Ill give that a try, thx. ill post back yay or nay.
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Matt Greer" <[EMAIL PROTECTED]> wrote in message
On Sunday 23 September 2001 17:01, rico wrote:
> The problem is in the final formatting in arrayprocr.php. I notice that
> whenever a new is added to the final table, it gets pushed further
> down the page, almost as if a has been added for each new ...but
> there is not.
>
I cant look at your
oops, forgot to add the files in
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Attached are the files in question. They are used in
Attached are the files in question. They are used in order as such:
arraymaker.php -> add more keys:elements via addtoarray.php ->
arraymaker.php -> arrayprocr.php
the code works.
The problem is in the final formatting in arrayprocr.php. I notice that
whenever a new is added to the final tabl
Thank you :) Yeah someone mentioned using phpinfo() to figure out what I
wanted and it worked beautifully and $REQUEST_URI was indeed the one I
needed. Thank you!
Rick
> On Sunday 23 September 2001 20:46, Richard Baskett wrote:
>> I don't think I said it clear enough :) Sorry abou that. This
I'm getting this error message when accessing phpinfo.php ( ) in my root dir ...
Warning: Failed opening '/var/www/html/phpinfo.php' for inclusion
(include_path='/var/www/html/includes/') in Unknown on line 0
I think it's something to do with the include_path or maybe doc_root in
php.ini, but
Sveiki, php-general,
I want to get all doamins, that end with ru, lv, ch or lt. Is there
any possibility to do that?
2001.09.23, sekmadienis
Marius Pertravèius
iCQ: #125733984
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubsc
On Sunday 23 September 2001 20:46, Richard Baskett wrote:
> I don't think I said it clear enough :) Sorry abou that. This is what
> I did:
>
> echo "Page with error: $HTTP_REFERER";
> echo "Error Link: $PHP_SELF";
> ?>
Try $REQUEST_URI
--
Christian Reiniger
LGDC Webmaster (http://lgdc.sunsit
Your change to the setting would have to happen *before* the session_start()
and if php.ini is set to always do sessions, you can't get in before that.
You may be able to use http://php.net/setcookie to provide a time-limit for
the session id cookie so that it won't expire when the browser closes
No, but you can use a more general 'for' or 'while' loop and set up any
constraints your heart desires:
$start = time();
$limit = 10; # 10 second time-out
while ($start + $limit <= time() && list($key, $value) = each($whatever)){
}
--
WARNING [EMAIL PROTECTED] address is an endangered species --
> $FTP_FILE="d:\programme\serv-u\ServUDaemon.ini";
This needs \\ where you have \ to escape the \ -- If you altered your path
to be, say:
d:\new\test\reset.ini
You'd have control characters in your filename...
> $fp = fopen("$FTP_FILE", "a");
>
$data="\n\n[USER=$username|1]\nPassword=$pw\nHomeDi
You'll have to routinely copy /etc/passwd into your own directory or
something.
The whole *POINT* of safe mode is to block actions like that...
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artis
Check httpd.conf to see what, if anything, is in there that might be set to
alter Apache's server variables.
If phpinfo() aren't showing them, it's probably Apache isn't sending them.
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like
You may be able to compile on another FreeBSD box and upload to your "cgi"
directory and http://php.net/exec it
--
WARNING [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: h
The code below works on every server that I have tried it on, till now.
On this server it will create the file name but will not write to it. If
you create a file and upload it, it will erase everything but not write.
Any Ideas why?
TIA
Gary
--
PHP General Mailing List (ht
There is no "magic" way for the cookies to transfer from server to server --
Cookies were specifically designed *NOT* to be transferrable, for consumer
privacy reasons.
You'll need to pass the cookie back and forth from your server to theirs "by
hand"
--
WARNING [EMAIL PROTECTED] address is an e
Read up on gettext
On Sun, 23 Sep 2001, Gaylen Fraley wrote:
> What is the most accepted method for translating an application from one
> language to another? Is it done by a table that does a search and replace,
> i.e. one-to-one translation? Or does one actually translate the code
> verbatim
What is the most accepted method for translating an application from one
language to another? Is it done by a table that does a search and replace,
i.e. one-to-one translation? Or does one actually translate the code
verbatim? Is there a white paper somewhere?
Thanks,
--
Gaylen
[EMAIL PROTECT
wait no, arraymaker.php displays the additional table rows correctly after
adding rows with addtoarray.php, but then once submitted, arrayprocr.php
displays new additional white space before beginning the table, yet w/ no
HTML 's or 's added.
so the question still stands.
--
never mind hehe
--
-
Click here for Free Video!!
http://www.gohip.com/free_video/
"Rico" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I have an intermediate process that allows you to add table rows wi
I have an intermediate process that allows you to add table rows with input
fields; and while this works, for some reason, it is adding extra white
space before the table, even though the generated html does not show
additional 's or 's.
whats going on?
attached are the files in question.
TIA
On 23-Sep-2001 Heidi Belal wrote:
> Hi All,
> this may be a bit off topic, but i need/advise on
> where and how i can register a site in the top search
> engines. I know there are all these sites where you
> can do it but do you have recommendations?
> My other question is, why do we have to pa
On 23-Sep-2001 sagar N Chand wrote:
> hi all,
>
> is there any way to get the total disk space used under a directory
> including its subdirectories and all the contents.
>
> /sagar
>
$duse=`du -sk /usr/foo`;
echo $duse, '';
Regards,
--
Don Read [EMAIL
Get A Permanent, Life-Time OffLine
Ad for Only $29.95
Less Than The Cost of a One-Day, One-Time Classified Ad in Your Local Newspaper.
See Vintage Cars by clicking on the
thumbnail sketches at this site.
http://rustyrose.com/primelinx/home1.htm
--
To b
Sometimes I find it easier to build web tables inside fireworks, but I also
need to embed PHP code into the table (ie. to display the date, logged in
user, etc). Well, this is a pain because fireworks overwrites the entire PHP
file every time I make a change to it. If there's no PHP to embed I jus
On 23-Sep-2001 Jeff Bristow wrote:
> I am trying to write a php script that will work around a http
> authentication that I do have access to. I am trying to do this so that a
> form process in my control panel can automatically have information sent to
> it from a form that a user will fill out.
I don't think I said it clear enough :) Sorry abou that. This is what I
did:
";
echo "Error Link: $PHP_SELF";
?>
This definitely did not work. $HTTP_REFERER did not output anything and if
I understand correctly this just gives me the page that has the link that
was clicked on.
$PHP_SELF I wa
So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 19:08:20 +0100 :
> Is there any possibility to write to files as "httpd"
> or "system" (which can write to files even with "000"
> permitions)?
With 000 permissions? Is "system" an alias for root? If not, then it's
not possible.
But normally the
So sprach »sagar N Chand« am 2001-09-23 um 22:51:49 +0530 :
> is there any way to get the total disk space used under a directory
> including its subdirectories and all the contents.
Either execute du, or sum up the sizes of all the files manually in PHP.
Alexander Skwar
--
How to quote: http
Try removing the typecast to (int)...
$usage = `du -sk`;
See if that works. If not, then either your backtick operators aren't
working (is safe mode on?) or du isn't being executed (not in the PATH
environment variable?).
-Original Message-
From: Scott Poarch [mailto:[EMAIL PROTECTE
I've a web-site developed in Perl and, now, I'm
converting it to PHP.
I've a private directory in my site where I store the
counter data (number of visitors, since when, last
date) and other information like name, e-mail address,
etc. of people who fill a form into the site. In Perl
those fil
Why not just use the PHP function array_multisort ?
--
Gaylen
[EMAIL PROTECTED]
http://www.gaylenandmargie.com
PHP KISGB v1.2 Guestbook http://www.gaylenandmargie.com/publicscripts
"Tero Tielinen" <[EMAIL PROTECTED]> wrote in message
1103_1001260674@hunajapuristin">news:1103_1001260674@hunajapur
hi all,
is there any way to get the total disk space used under a directory
including its subdirectories and all the contents.
/sagar
Hello,
Just wondering if it's possible to have both standard PHP and PHP w/
EAPI (Apache + mod_ssl) share the same install dir (/usr/local/php/)?
Both are compiled as DSOs, if that matters.
I am running non-secure and secure Apache processes separately, hence
the two different PHP DSOs.
Thanks.
That's the request string of the W32Nimda worm, it has propagated very fast
in the Internet.
Info and tool for removing it are at:
http:[EMAIL PROTECTED]
If you are running under an IIS webserver, it could be the server itself
that could be infected and sending the request string to itself. Th
G'day folks,
After telling my client that they'd quite happily install anything on their
virtual host that was needed, the chosen hosting company has now renegged and
refuses to install ImageMagick. To make matters worse, they haven't given us
shell access so we can't compile up our own. And, a
Hello!
Firs of all, sorry about my bad english.
I have a broblem, which i've tried to solve about two days now.
I have an two-dimenssional array like this:
$array[0]["id"] = 2;
$array[1]["id"] = 3;
$array[2]["id"] = 4;
$array[3]["id"] = 5;
$array[4]["id"] = 6;
$array[5]["id"] = 7;
$array[6]["
Can you use and directives under directive??
>From the apache manual, and directive can be used under
virtualhost directives
It can control the uid and gid of the running httpd process, with different
uid and gid...
Right, you can try it.
"Adam Plocher" <[EMAIL PROTECTED]> ¼¶¼g©ó¶l¥ó
[EMAIL
Hi,
sorry if this is a dumb question (I think I've read the docs :)
I 've just set up Apache-2.0.26-dev with php-4.0.8-dev both from CVS,
and now when I try to access the server variables like:
or
I got "Undefined variable:" in the logs.
The same is for:
I played with php.ini with no eff
So sprach »Alawi Albaity« am 2001-09-23 um 07:00:22 -0700 :
> how can I remove duplicted values (Data) in my array ?
array_unique
Alexander Skwar
--
How to quote: http://learn.to/quote (german) http://quote.6x.to (english)
Homepage: http://www.digitalprojects.com | http://www.iso-to
>> While viewing my phpinfo() page, i got this:
>>
>> QUERY_STRING
>>
>>
>>
>>
hi
how can I remove duplicted values (Data) in my array ?
__
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger.
http://im.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
So sprach »Richard Baskett« am 2001-09-23 um 05:40:52 -0700 :
> I know how to get the web page that created the 404 error, but how do I get
> the link that created the 404 error? Is there a way of doing this? Im sure
Check the referer.
Alexander Skwar
--
How to quote: http://learn.to/quote
Hi!
$FTP_FILE="d:\programme\serv-u\ServUDaemon.ini";
$fp = fopen("$FTP_FILE", "a");
$data="\n\n[USER=$username|1]\nPassword=$pw\nHomeDir=d:\\nLoginMesFile=c:\wi
ndows\profiles\flo\my
documents\msg.txt\nDiskQuota=1|301443514202|24963514202\nAccess1=D:\-=Upload
s=-|RWLCP\nAccess2=D:\Moviez|RLP\nAcc
I know how to get the web page that created the 404 error, but how do I get
the link that created the 404 error? Is there a way of doing this? Im sure
there is and that's why I am coming to you wonderful people! :)
Rick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail
Hello,
I have question for safe mode. I can allow for some users file upload with
safe mode. In httpd.conf I have eg.:
ServerAdmin webmaster@somedomain
DocumentRoot /home/someuser/www
ServerName name
php_admin_value upload_tmp_dir /home/someuser/tmp
But this isn't working. Serv
On Sunday 23 September 2001 06:54, Jason G. wrote:
> Mark,
>
> PHP, at this point, does not support MultiDimension arrays. However,
> you can get around this by placing array's inside arrays.
>
> Thus:
>
> $myarray[0] = array("element00", "element01","element02");
> $myarray[1] = array("element10
On Saturday 22 September 2001 14:41, Alexis Antonakis wrote:
> I am developing a simple site, in PHP4, which has three frames on it.
>
> The first gives you the search options and the second two, the results.
>
> What I was wondering was, while the database is being searched, is it
> possible to
4.0.6, yes, douse this mean you have a possible solution -:)
At 06:54 A 23/09/01 , you wrote:
>SpamCop - Report spam:
>http://members.spamcop.net/mcgi?action=logreport&id=10282302
>
>I assume you mean PHP 4.06?
>
>--
>Billy Cravens
>
>-Original Message-
>From: Ben Edwards [mailto:[EMAIL P
Hello!
The sessions-functions works really fine. But I got one Problem: How can
I make the php-session last more then a browser-session? When the users
closes the browser, the php-session is lost, but I want to save it for
some days and the user should get the thame session, when he returns.
I h
Well, it's an intriquing idea, but I'm not getting any success out of it.
thanks for the suggestion. I'll keep plugging away.
--
Scott Poarch
http://www.globalhost.com
- - - - - - - - - - - -
> From: "Matthew Loff" <[EMAIL PROTECTED]>
> Organization: Willetts Systems
> Date: Sat, 22 Sep 2001 23
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 23 September 2001 16:46
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [PHP] Create Array?? More
>
>
> Ok,
>
> Thanks for the input, unfortunately it didn't help me solve my overall
>
So sprach »[EMAIL PROTECTED]« am 2001-09-23 um 02:09:17 -0400 :
> Hi,
>
> If I have a value $num = 32; based on this how can I create an Array of
> numbers 1 - 32, something like this...
>
> $num = "32";
$arr = array();
> for ($i = 1; $i <= $num; $i++)
$arr[] = $i;
Alexander Skwar
--
How to
71 matches
Mail list logo