On Sun, 12 Jan 2003 [EMAIL PROTECTED] wrote:
> I want to count characters without space "character".
> $char="hello world"
> so the result should be 10.
> Can anybody help me?
$char="hello world";
$temp=str_replace(" ", "", $char);
echo strlen($temp);
should give you 10.
RDB
>
>
>
--
Hi,
I think this has been asked here before and I've looked around the archive but
didn't find anything. So I ask again.
Does anyone know if there's a utility/script/program in php that will allow
one to parse and/or import iCAL calendar format to database, such as mySQL or
PostGreSQL?
Thanks
:
http://java.sun.com/j2me/).
The way it sends the name and value parameter for HTTP POST method is by
output stream, so I need to read in in php using input stream.
Any help on this would be greatly appreciated.
Thanks.
Reuben D. Budiardja
*** This is the code for /devel/php_post.php ****
>
> ----- Original Message -
> From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, February 06, 2003 1:27 PM
> Subject: [PHP] Reading input stream of incoming r
On Thursday 06 February 2003 05:22 pm, Chris Shiflett wrote:
> --- "Reuben D. Budiardja" <[EMAIL PROTECTED]>
>
> wrote:
> > I browse the archive and found the following code to
> > simulate a POST request using socket connection. This
> > will send
On Friday 07 February 2003 05:56 pm, Mike D wrote:
> Hello all,
>
> I have the following set in my php.ini file:
>
>
> ; UNIX: "/path1:/path2"
> include_path = ".:/usr/local/php/scripts"
> ;
>
> I placed a file in this directory containing a function, and I when I
> call the functions name i get a
On Tuesday 11 February 2003 02:11 pm, Jason Wong wrote:
> On Wednesday 12 February 2003 02:54, Christopher Ditty wrote:
> > Hello all. I have a customer that purchased on of my scripts and
> > attempted
> > to install it on their server. This script, among other things, FTPs a
> > text file
> > f
On Tuesday 11 February 2003 02:19 pm, Scott Fletcher wrote:
> Someone send me an email to take a look at this
> URLhttp://www.php.net/manual/fi/ref.imap.php .
>
> The send mail on Unix is too basic, not like MS-Exchange... I need things
> like file attachment, Bcc, cc, etc
All of those
On Wednesday 12 February 2003 10:14 am, Greg Luce wrote:
> Could anyone recommend a fast track for learning php for an experienced
> ColdFusion developer? I'm working my way through the tutorials on
> php.net and free2code.net, but they seem pretty kindergarten. Any
> advice?
I think with your exp
Hello,
I have a file that the content always change every second or so. I want to
display this to the web. Is this possible to do using PHP? If yes how?
I can have the content displayed to the web only update every 5 seconds or so,
for example. Will this put the server into heavy load?
If PHP i
On Monday 03 March 2003 09:29 am, Simon wrote:
> Hi,
>
> i have one big Oracle database, 20GB. Is it better to comunicate
> directly to Oracle with PHP, or to export data to MySQL. How secure is
> PHP & Oracle, can they communicate well?
I don't see why you would want to export data to MySQL first
Hello,
First let me say that I am not sure if this is PHP problem or Oracle.
I have a class that contains API for using postgresql, mysql, or oracle
database so switching database should be "in theory" just changing an
argument for me.
To make this sort, let just say that the return of a SELE
On Saturday 05 July 2003 11:47 am, Michael Whiting wrote:
> Sorry - here's the HTML source. Don't laugh :)
>
>
> if ($view1 = true):
That statement will always evaluate to true. You may need
if($view1 == true)
notice the double equal sign
> if ($view1 = false):
Same here
RDB
--
PHP Ge
anyone give me pointer what's going on here and how to fix it?
In case this matters, the Oracle 9i DB server is also in the same box. Somehow
it has it's own Apache, but I don't use that.
Thanks for any help.
RDB
--
Reuben D. Budiardja
--
PHP General Mailing List (http://w
On Wednesday 16 July 2003 09:46 am, John Manko wrote:
> Ok, before you go responding with percentages, I should note this.
>
> consider this:
> Image1 : 100x100 (Ratio = 1:1)
> Image2 : 100x200 (Ratio = 1:2)
>
> Space available for display : 75x75
>
> now, i can say "width=75% height=75%", but t
Hi all,
Suppose I have a long string like
$myStr = "$string1:$string2:$string3";
I can obviously explode them using ":" as the separator. But what if
$string1 contains the character ":" by itself?
I was thinking, first I am gonna put an escaping character, so I can do
something like:
$string1
On Friday 18 July 2003 02:42 pm, Chris Shiflett wrote:
> --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> > Suppose I have a long string like
> > $myStr = "$string1:$string2:$string3";
> >
> > I can obviously explode them using "
On Friday 18 July 2003 03:01 pm, you wrote:
> > On Friday 18 July 2003 02:42 pm, Chris Shiflett wrote:
> > > --- "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote:
> > > > Suppose I have a long string like
> > > > $myStr = "$string1:$str
do I know
which "_" is my doing? Because in my case, it's faily conceivable that "_"
will get used.
RDB
> Chris
> - Original Message -
> From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent
On Friday 18 July 2003 03:43 pm, CPT John W. Holmes wrote:
> From: "Reuben D. Budiardja" <[EMAIL PROTECTED]>
>
> > This is a hypothetical situation. The real situation is that I am trying
>
> to
>
> > have a protocol for data sent by client using Flas
ve to use some mail class that will handle attachments, but
that's is available somewhere in the net, or from PEAR I assume. So the
problem only how to capture the dynamically generated image.
Thanks for any help.
Reuben D. Budiardja
--
-
On Tuesday 22 July 2003 01:43 pm, David Nicholson wrote:
> Hello,
>
> This is a reply to an e-mail that you wrote on Tue, 22 Jul 2003 at
> 18:37, lines prefixed by '>' were originally written by you.
>
> > But how can I instead capture the output of the include to
>
> variable
>
> > and mail
> > it
Hi all,
My guess is I miss something really dumb, but here is my problem. I want to
use ereg to find some pattern, but it doesn't seems to work. The same pattern
uses with ereg_replace, works fine and replaced the pattern. Here is my code,
and the output:
// OUTPUT :
String is: This is a %AN
Hi all,
If I have the following string:
$str = "This is a %ANS[1] test, and %ANS[2] test, and %ANS[10], test"
and want to use
ereg($pattern, $str, $regs);
what is the $pattern should be so that in $regs I have
$regs[1] == "%ANS[1]";
$regs[2] == "%ANS[2]";
$regs[3] == "%ANS[10]";
...
In fact,
On Tuesday 05 August 2003 05:20 pm, Scott Fletcher wrote:
> Hi!
>
> How do I get the php function exec() to spit out the data from the Unix
> Shell Environment onto the webpage? I mean, I can create a script in bash
> shell environment using the terminal on the Unix machine and it would spit
>
On Tuesday 05 August 2003 05:13 pm, Derrick Fogle wrote:
> Thoughts on frequent switching in and out of PHP mode:
>
> ?>Switch out, static HTML
> ?>Switch out, more static HTML
>
> I've found that I prefer programming this way, for the most part,
> putting most of the heavy PHP programming at the
On Tuesday 05 August 2003 05:21 pm, Jim Lucas wrote:
> This method has been my personal choice for the past 3-4 yrs in coding,
>
> I have not found any problems with it thus far.
>
> But I am gradually switching all my code over to a seperate template style
> design as where I have all my values in
On Wednesday 26 March 2003 09:16 am, shaun wrote:
> Hi,
>
> is it possible to have a checkbox that if it is specified to be checked
> when the page is being formulated then it cannot be unchecked?
When you write the page, if the checkbox is checked initially, write also a
javascript to prevent it
On Wednesday 26 March 2003 01:43 pm, CPT John W. Holmes wrote:
> > is it possible to have a checkbox that if it is specified to be checked
> > when the page is being formulated then it cannot be unchecked?
>
> No. No... No.
>
> If you already know you don't want it to be unchecked, then don't show
On Wednesday 26 March 2003 02:11 pm, CPT John W. Holmes wrote:
> >On Wednesday 26 March 2003 01:43 pm, CPT John W. Holmes wrote:
> > > > is it possible to have a checkbox that if it is specified to be
> checked
> > > > when the page is being formulated then it cannot be unchecked?
> > >
> > > No. N
Hello,
I have a script that creates image using the gd library that is bundled with
the latest php-4.0.3 on Redhat Linux / Apache as apache mod. Everything works
fine when I use png:
header("Content-type: image/png");
$im = imagecreate(500,500);
...[script]...
imagepng($im)
Then when I try to
'--with-pgsql'
'--with-mysql' '--disable-debug' '--prefix=/usr/local/apache/php'
'--with-config-file-path=/usr/local/apache/lib'
'--with-apxs=/usr/local/apache/bin/apxs' '--with-gd' '--with-zlib'
Thanks.
RDB
> On
will try to re-compile then. Thanks a lot.
RDB
> On Thu, 27 Mar 2003, Reuben D. Budiardja wrote:
> > On Thursday 27 March 2003 10:42 pm, Rasmus Lerdorf wrote:
> > > Well, check the error. Get rid of the header() call and just look at
> > > the output.
> >
>
Hello,
I compiled and installed from source php-4.3.1 with the bundled GD. I enabled
it during configure using --with-gd, and double check that using phpinfo. The
bundled GD says it's 2.0. But when I tried using
imagejpeg()
i got:
Fatal error: Call to undefined function: imagejpeg() in /usr/loc
Is it compatible? Can I use oci8 functions to access oracle 9i? What are the
drawbacks?
Thanks.
RDB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sunday 29 June 2003 05:07 pm, Sparky Kopetzky wrote:
> OK, I see that I have to use $_POST['user_name'] or can I just use the
> variable passed back $user_name which would be a heck of a lot simpler??
If you have register_globals set to "on" in php.ini, then yes, you can use
$user_name. Otherw
On Monday 30 June 2003 09:30 am, Stevie Peele wrote:
> What is the difference between "else if" and "elseif"?
none
-RDB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Monday 30 June 2003 09:41 am, Tularis wrote:
> Stevie Peele wrote:
> > What is the difference between "else if" and "elseif"?
> >
> >
> > Thanks
> >
> > _
> > STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> > http://join.
Hello,
I tried to find this on the website but didn't find it. So, is there any known
backward incompatibilities with PHP 4? If yes, anyone knows where we can find
the list?
or PHP 4 code will mainly just work with PHP 5 ?
Thanks.
RDB
--
-
/"\ A
.conf:
Cannot load /usr/local/apache/libexec/libphp4.so into server:
/usr/local/apache/libexec/libphp4.so: invalid ELF header
/usr/local/apache/bin/apachectl start: httpd could not be started
Any help on this would be greatly appreciated. Thanks in advance.
Reuben D. Budiardja
--
PHP General
You can use the one or the combination of:
date();
mktime();
strtotime();
eg:
echo date("l", strtotime("22 July 2003"));
Check the php online doc for explanation of each function.
Rdb
On Tue, 2002-07-23 at 20:24, Cirkit Braker wrote:
> Is there any way to get the day of the week given a date.
On Tue, 2002-07-23 at 21:35, David Robley wrote:
> In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] says...
> >
> > I tried to upgrade from PHP 4.2.1 to 4.2.2 due to the security bug
> > announce in the web site. When I do make install, it stopped with
> > errors. The following are the last f
I did that already, deleting the php-4.2.2 and start with un-tar the
download. Many times. But still no luck.
Thanks.
Rdb
> Ian
>
> On Wednesday 24 July 2002 14:13, Reuben D. Budiardja wrote:
> > On Tue, 2002-07-23 at 21:35, David Robley wrote:
> > > In article <[E
Hi, Thanks for the reply, but somehow I got it to work yesterday.
Someone else in this list pointed out the same problem and file a bug
report. They say it's fixed in CVS.
http://bugs.php.net/?id=18522&edit=2
Reuben D. Budiardja
On Wed, 2002-07-24 at 19:49, David Robley wrote:
>
nvent the wheel. If anyone knows about this,
please let me know. I appreciate the help.
Thanks in advance.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
found anything so far. I might just start doing it myself.
But Thanks for the reply.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
this.
Hope this helps.
Reuben D. Budiardja
On Mon, 2002-07-29 at 10:59, lallous wrote:
> You can save the answers in sessions or cookies and then insert them all in
> one bunch.
>
> Elias,
> "Tyler Durdin" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROT
On Friday 02 August 2002 10:02 am, lallous wrote:
> I have this:
> //file1.php
> include('../libs/lib1.php');
> ?>
> now lib1.php:
> include ('helper.php');
> ?>
> If i run file1.php ->includes lib1.php -> fails to include helper.php ! !
> how can i solve that?
We need more information that thi
On Friday 02 August 2002 10:41 am, lallous wrote:
> I mean this:
>
> i have this tree:
>
> ./libs/*.php
> ./user/file1.php
>
> now i'm in ./user/ directory
> i run file1.php
> it includes ../libs/lib1.php which in turn will include helper.php
> (./users/helper.php) <-- will fail!
>
> how can i pro
wondering if php can access the
database, just like the way it does with MySQL, for example.
I am not really familiar with M$ stuff, since I usually use MySQL or Oracle.
But I have a client who insist to use M$ Access.
Thanks for any respond.
Reuben D. Budiardja
--
PHP General Mailing List (http
use
echo with single quote instead of double quote. I have to escape all the
single quote, since the HTML code is also intermix between HTML and
javascript, which has single and double quotes.
How do I best solve this problem? Thanks a lot for any response.
Reuben D. Budiardja
--
PHP General Mai
ith "
>
> EndOfHTML;
>
> This will print out all html. and dont care about special signs.
>
> goodluck.
> Martin
>
> "Reuben D. Budiardja" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi all,
>
Bassically what you wanna do is to delete all the variables you set up when
the user log in. So, if you gave the session ID when a user log in, delete
if from the database when user log out.
Reuben D. B
At 03:52 PM 2/27/01 -0600, Jacky@lilst wrote:
>Jack
>[EMAIL PROTECTED]
>"There is nothing
Javascript (js) is client side and PHP is server side. So what you can do
to call the php function is by re-submitting the page, with somekind of a
flag from the js to call the php function.
You write the php parts like:
if($flag)
callTheFunctions(args);
Reuben D. B
At 04:28 PM 3/1/01 +000
''s".
function format_mysql_string($string)
{
$string = StripSlashes($string);
$string = ereg_replace("'", "''", $string);
return $string;
}
Reuben D. Budiardja
At 09:19 PM 3/12/01 -0600, Kenneth R Zink II wrote:
>My MySQL inser
You can use the built in number_format function.
Check out:
http://www.php.net/manual/en/function.number-format.php
Reuben D. Budiardja
Web Database Application Programmer / Analyst
Devcorps, ITS
Goshen College, IN 46526
At 10:40 AM 3/19/01 -0700, Karl J. Stubsjoen wrote:
>Hello,
>
>H
variable or method a private,
I would really like to know. Thanks for any comments.
Reuben D. Budiardja
Web Database Application Programmer / Analyst
Devcorps, ITS
Goshen College, IN 46526
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
:
I want so that after submiting these forms, somehow, in the bla.php I=20
have
$HTTP_POST_VARS["foo"] = "yahoo"
$HTTP_GET_VARS["bar"] = "yehaa"
at one time. Is this possible at all?
Thanks in advance for any reply.
Reuben D. Budiardja
--
PHP Gener
.
How do I pass the array to the javascript function? If someone could help
me, I would really appreciate it.
Thanks in advance.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Use number_format() function.
See http://www.php.net/manual/en/function.number-format.php for detail.
Reuben D. B
At 11:22 AM 5/9/01 -0700, Gerry wrote:
>Could you suggest a function for displaying decimal zeros.
>
>For example I have this:
>$num = "2.00";
>$num2 = "3.00";
>$result = $num + $nu
I remember that a somewhat similar issues was discussed here sometime ago.
Check the list archives ( I think the subject was "Progress Bar").
Hope that will give you some ideas also.
Reuben D. B
At 12:32 PM 5/9/01 -0500, Jacky wrote:
>Hi all
>Does any one know how to do the progession bar to m
only use to Oracle, and tried to find it in mysql.com, but has not
yet succed. And I'm a bit under time pressure.
Thanks for any help in advance.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-ma
appreciated.
Thanks.
Reuben D. Budiardja
--
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]
that will
be greatly appreciated.
Thanks.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
rfile] => Array ( [name] => timecard.png [type] => image/png
[tmp_name] => none [size] => 0 ) )
You see that [tmp_name] is none (whatever that means), and size is zero.
why is that?
The webserver and the browser is on local LAN, and there is no firewall.
Thanks for any help.
Reube
#x27;t find the file at /home/web/.
Thanks for your help.
Reuben D. Budiardja
On Wednesday 13 February 2002 09:31 pm, Lars Torben Wilson wrote:
> On Wed, 2002-02-13 at 18:26, Reuben D Budiardja wrote:
> > Thanks. I follow the manual. I changed my php.ini:
> > upload_tmp_dir =
On Wednesday 13 February 2002 09:57 pm, you wrote:
> On Wed, 2002-02-13 at 18:53, Reuben D Budiardja wrote:
> > print_r $HTTP_POST_FILE gives me:
> >
> > Array ( [userfile] => Array ( [name] => timecard.png [type] => image/png
> > [tmp_name] => /home/web/ph
Aha Yes, it works fine now. Again, thanks a lot.
Rdb
On Thursday 14 February 2002 12:18 am, you wrote:
> On Wed, 2002-02-13 at 19:18, Reuben D Budiardja wrote:
> > Yes, I have. I follow the example exactly from
> > http://www.php.net/manual/en/features.file-upload.php.
>
So I am wondering if anyone has a function that is fully compatible with
str_replace for php > 4.0.5, but case-insensitive (something like
stri_replace). I don't really want to reinvent the wheel here.
Thanks in advance.
Reuben D. Budiardja
--
PHP General Mailing List (http://
ost labourious to change them
to reg exp.
There should be something simpler and more elegant to do this.
Thanks.
Rdb
J
>
> Reuben D Budiardja wrote:
> >
> > The feature that I use in str_replace is to put the 'search' and
> > 'replace' argument as an a
Hi,
Is there any easy & efficient way to re-number the array index? for example,
if I have an array with only something like:
$arr[1] = "t"
$arr[4] = "e"
$arr[7] = "s"
I would like the index to be re-numbered so that I can have
$arr[0] = "t"
$arr[1] = "e"
$arr[2] = "s"
This is useful sometime
Hi,
I have problem with array function that return an array and preserved the key
of the array argument. Take example of array_diff:
I have 2 arrays that has index 0,1,2, ... as the key, and use it as the
argument, say $arrA, and $arrB,
$arrC = array_diff($arrA, $arrB);
since the key are pres
velopers, and I want to make some methods/functions private,
for security reason.
Thanks for any help.
Reuben D. Budiardja
--
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 ad
s a php variable.
I don't if this can work for your problem. But the idea basically is
download everything first from server side, and display what is necessary
from client side. That way you minimizing the reload/refresh, which take
painfully long time for some of the clients.
Hope that hel
only a certain file/page can call that pseudo-private method, by
checking which page call that method.
Please let me know if you find any further information on this. Thanks in
advance
Reuben D. Budiardja
At 06:26 PM 3/28/01 +0100, Peter Van Dijck wrote:
>say you include a function in a p
n the array, do:
$make = array('Make','12','keyword','1:30','select', $temp_option ,'text');
Hope that helps.
Reuben D. Budiardja
At 06:35 PM 3/31/01 -0600, Kenneth R Zink II wrote:
>I'm trying to figure out how to do a WHILE in
p://hotwired.lycos.com/webmonkey/ (it's been a long
time).
Hope that helps.
Reuben D. Budiardja
>--
>
>* R&zE:
>
>***
>** Renze Munnik
>**
>** E: [EMAIL PROTECTED]
>** M: +31 6 218 111 43
>***
>
>--
&
e any mirror site of
www.php.net so that I can continue my work, that would be really-really great.
Thanks a lot
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
12 Apr 2001, Reuben D Budiardja wrote:
>
> > Hi All,
> > I'm in the middle of crisis. I need to meet the deadline tomorrow, and
> > tonight the www.php.net seems to be down.
> > Anyone know any mirror site of www.php.net?
> > I need function referen
Hello,
I have one-dimensional array with a very a lot elements (say, about 300).
What is the best way to pass it through URL? do I use something like implode
the whole thing and then pass it, or do I use something like serialize, or
any other way?
Thanks for any reply.
Reuben D. Budiarjda
I have a multi-dimensional array. I want to trim every values so that none of
them have trailing space.
What is the most efficient way to do that ?
I don't necessaryly know the dimension of the array ahead of time, so the
function need to be able to handle it recursively.
Thanks
Reu
Someone told me that there is another php compiler, called APC. Check it out
here:
http://apc.communityconnect.com/
I haven't got a chance to try it yet, so if you'll let me know the result I'd
be happy to hear about. You can e-mail me off list about that.
Hope that helps.
Reub
Thanks
Reuben D. Budiardja
--
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]
title and author, that would be great.
Thanks.
Reuben D. Budiardja
--
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]
It seems that I cannot include secure pages, something like
include (https://www.bla.com/)
will fail. Any way to get around this? or is this intentional?
Thanks
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
TED]\n
etc.
echo your header in to see it if you miss any new line, etc.
Reuben D. Budiardja
On Wednesday 11 July 2001 12:15 pm, Marcus James Christian wrote:
> Hello,
>
> Ok I've got a script going to a Bcc but can't seem to get it to work
> when it's lik
Great, I'd like to steal it too then :). I just check php.net, but
couldn't find it.
In what section would you put it?
Thanks.
Reuben D. Budiardja
On Tuesday 10 July 2001 05:34 pm, Rasmus Lerdorf wrote:
> > Have any of you seen those calendar applications that let you program
Hmm, I tried it, and my excel 2k could not read it either. I even change the
echo to fwrite, and delete all the headers. What did you do to your source
code? just copy it or did you modify it?
Could you possibly send it to me off list?
Thanks
Reuben D. Budiardja
On Friday 13 July 2001 01:36
ny help on this will be appreciated. Thanks in advance.
Reuben D. Budiardja
--
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]
ec, system, passthru returns the value 2, which I don't know what it means.
Any help on this will be appreciated. Thanks in advance.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTEC
an only guess what you mean here, but I think that's a good point. Maybe
the play program wouldn't work withough a controlling tty. Do you know how
to check, or any work around?
Thanks.
Reuben D. Budiardja
--
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]
// read-only access
> echo "Bind result is ".$r."";
>
> echo "Searching for (sn=S*) ...";
> // Search surname entry
> $sr=ldap_search($ds,"o=My Company, c=US", "sn=S*");
> echo
Hello,
How do I get the filename or script name if I run it in php comamnd line? For
example, if I run this
bash$ php test.php
I want to get something inside test.php that tells me the filename is
test.php, but *without* the actual path.
Thanks
Reuben D. Budiardja
--
PHP General Mailing
Seems that $PHP_SELF is not defined when it's run from the command line.
Reuben D. Budiardja
On Tuesday 17 July 2001 10:29 am, Jason Bell wrote:
> $PHP_SELF returns the filename with the full path. from there, you can use
> split to split the string wherever a / occurs, then call co
and the filename is test.php3 . __FILE__ will give my my_api.inc instead. I
need it because my_api.inc do all sort of authenticating, session, etc.
Any solutions?
Thanks.
Reuben D. Budiardja
On Tuesday 17 July 2001 10:52 am, Boget, Chris wrote:
> > Seems that $PHP_SELF is not defined when it&
line 3
Warning: Supplied argument is not a valid Oracle-Connection resource
in ora_test.php on line 5
Warning: Supplied argument is not a valid Oracle-Cursor resource in
ora_test.php on line 7
Any help on this would be greatly appreciated.
Thanks.
Reuben D. Budiardja
--
PHP General Mailing List
part of the bigger
project to make our apps can be run from command line, and we already have
tons of apps that currently running from web. Doing that for every single
apps would be a pain. But apparently since there is no other way, at least at
this point, it will have do for some apps.
Thank
not a valid Oracle-Cursor resource in
ora_test.php on line 7
Any help on this would be greatly appreciated.
Thanks.
Reuben D. Budiardja
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact th
Take a look at the function array_merge
http://www.php.net/array_merge
Reuben D. B
On Friday 17 August 2001 08:46 am, you wrote:
> say I have
> $array1 = array("name"=>NULL,"thread"=>NULL,"id"=>NULL);
> $array2 = array("0"=>"fred","1"=>"3","2"=>"");
>
> I want $array1 to have the values of a
On Wednesday 07 July 2004 12:05, Keith Greene wrote:
> on the contrary:
> sql = mysql_query("select * from users where name='".$name."'");
>
> will simply look for a user with a name of "Jim; delete from users;" and
> return no results found.
But I can also enter:
jim'; delete from users
You nee
1 - 100 of 114 matches
Mail list logo