> Doesn't the command return 1 or 0 in success or failure?
Not 1 or 0. It returns 0 or some other value. Almost the same,
but not quite.
> You may not have a result
> Probably wrong but something like
> if (mysql_query($query)) {
> } else {
> }
> or you could die out mysql_query($query) or d
trying to get Apache to compile with this keeps failing, complaining about
"alloc.h" it seems. I notice that apache calls it "ap_alloc.h" now, but the
only reference in mod_auth _mysql is in:
apMakefile.tmpl: $(INCDIR)/alloc.h $(INCDIR)/buff.h \
but changing that doesn't fix the problem...
this
set_value(&$variable,$value)
{
$variable=value;
}
"Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the declaration
of [runtime function name](). If you would like to enable call-time
pass-by-referen
I am using the apache_lookup_uri function and I am having a problem.
I have PHP4 as an Apache module.
If I give the command:
$link = "http://www.mysite.com/";
$lookup_results = apache_lookup_uri($link);
And I output:
echo $lookup_results->uri;
echo $lookup_results->status;
I get:
/http:/
Ok, i have a text file with lines that looks like this:
14```value```value2`value3
This would be fine, except...there are sometimes more than in other
columns, so id like it to be
14``value``value2``value3
So I can explode() it into a mysql database. Can anyone offer a regexp for
this
Hello,
For some reason I am now having real difficulties removing and parsing some XML
files. I think that if I can just strip out the that I should be able
to parse the XML (.CDF) file. This should do it:
$pagetext = eregi_replace('','',$pagetext);
I've attached the whole CDF file at
On Fri, 30 Mar 2001 14:34, Mike Gifford wrote:
> Hello,
>
> For some reason I am now having real difficulties removing and parsing
> some XML files. I think that if I can just strip out the that
> I should be able to parse the XML (.CDF) file. This should do it:
> $pagetext = eregi_replac
Here is the scenario:
I want to let my users download their history of transactions from a mysql
database. I have that part working...they click a link a csv file is
created for them to download. now here is my question.
Is there a way to have the file delete after they have downloaded it? Al
adaniel Thu Mar 29 21:30:58 2001 EDT
Modified files:
/php4/pear/HTML Table.php
Log:
minor change to toHtml
Index: php4/pear/HTML/Table.php
diff -u php4/pear/HTML/Table.php:1.5 php4/pear/HTML/Table.php:1.6
--- php4/pear/HTML/Table.php:1.5Fri Mar 23 2
I'm not sure of the exact term, but what I want todo is run a function
in a loop so that it doesn't wait for the function to finish and goes
ahead and executes the next in loop.
For example:
5; $i++) {
run_this();
}
?>
run_this may contain some long mathematical computations that takes a
whi
Philip Olson wrote:
> This place :
>http://www.ultraedit.com/downloads/additional.html
>
> Has very weak PHP representation.
I know, that's why I started working on a new wordfile.txt, based upon
one of theirs.
> Want to round up some ideas and upgrade this section as a hole?
Hm, why m
adaniel Thu Mar 29 21:32:21 2001 EDT
Modified files:
/php4/pear/HTML Common.php
Log:
added a few methods to manipulate attributes
Index: php4/pear/HTML/Common.php
diff -u php4/pear/HTML/Common.php:1.7 php4/pear/HTML/Common.php:1.8
--- php4/pear/HTML/Common.
I am using Apache 1.3.19 for Win32 and PHP 4.04 as a module. I would like to
retrieve, as a variable, the user name loged in the W2000 domain. Running
PHPINFO() function e it does not display USERNAME variable so I do not know
how to accomplish this task
Thanks
--
PHP General Mailing Lis
I like it because is a very fast developement environement.
Ultradev = Dreamweaver + database and scripting capabilities (ASP,JSP,CFLM)
and now with this extension PHP (which uses Adodb
http://php.weblogs.com/ADODB)
Ovidiu
> -Original Message-
> From: Yasuo Ohgaki [mailto:[EMAIL PROTECT
Hi All There
I am new to this mailing list
I had virtual domain hosted on my server with No. of users
With control panel of mine,I want to add Quota feature to my panel
By which users can check for there quota Through web for the amount of
space they are using
I am a baby for php so please h
Hello
What causes this error message is there a place to read a bit more about
session module?
Failed to initialize session module
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To c
I had this same problem and it constantly broke our whole site.
So I tried a different approach and this has been working great:
Instead of
Consider:
It works flawlessly, always, and maintains your session.
Because my site ( a shopping cart/store ) is so dependent on sessions, I
stopped us
On Fri, 30 Mar 2001 15:10, Randy Johnson wrote:
> Here is the scenario:
>
> I want to let my users download their history of transactions from a
> mysql database. I have that part working...they click a link a csv
> file is created for them to download. now here is my question.
>
> Is there a wa
On Thu, Mar 29, 2001 at 09:54:27PM -, Ulf Wendel wrote:
> uwThu Mar 29 13:54:27 2001 EDT
>
> Added files:
> /php4/pearIT[X].xml
are u sure that [] are valid characters on all filesystens?
tc
--
PHP CVS Mailing List (http://www.php.net/)
I need a method to compile my php files to give them to a customer.
The main problem is that this customer have an account on a shared hosting
service and (I think) he can't install a compiler or something new on that
server.
Is it possible to encrypt my files ?
Plz HELP ASAP
Yours,
Marian
php-general Digest 30 Mar 2001 07:32:53 - Issue 597
Topics (messages 46141 through 46237):
sessions broken when redirected?
46141 by: elists.elliston.net
46142 by: Jon Rosenberg
46144 by: KPortsmout.aol.com
46235 by: Derek Sivers
Pattern Replacing
46
romolo Thu Mar 29 23:36:22 2001 EDT
Modified files: (Branch: PHP_4_0_5)
/php4/ext/pgsql pgsql.c
Log:
pg_close was not closing the connection, making impossible to reopen it. Pls insert
in 4.0.5
Index: php4/ext/pgsql/pgsql.c
diff -u php4/ext/pgsql/pgs
It's a lame way, but it works,
I sure hope that someone can tell me how to do it in pure regexp.
like how can i 'search for next occurence' in ereg or any regexp() in PHP
-
";
echo "matched: $match\n";
}
?>
-
""David Balatero"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
Hi all,
i need to use an array in a session variable.
On a page i fill the Sessionvar :
$HTTP_SESSION_VARS["xy"] []=$whatever
(The var is registered with session_register("xy"))
I mean that the entry would made at the end of the array, is it not so?
But evrey time i proove the entries wi
Hello,
We have a shopping cart developed in php and when the cart goes to SSL
the images do not show up in Netscape, only IE. The only way around this
is for me to copy all images into the ssl directory. This is very
inefficient. I know there is a way to have php read the files in SSL.
Any
Pass by reference itself is not deprecated, just call-time
pass-by-reference.
I believe this means your calling line of code being prevented from
specifying that it should be invoked as pass-by-reference.
So,
function NormalPassByRefence(&$prmValue)
{
$prmValue ++;
}
$n
201 - 226 of 226 matches
Mail list logo