Nevermind. I don't know what I was thinking. You're using !=, so go
back to using || instead of the &&. I goofed. See if that fixes the
problem now. Continue using the $_SERVER globals, though.
gohaku wrote:
Hi Ben,
I change the if statement to:
if ( ($_SERVER['PHP_AUTH_USER'] != "user") &&
> WTF?
> Who gives a rats ass about this?
>
> Nearly everyone on this list has php related commerical products but
> nobody advertises it here or announces it when they make or update
> their products unless its very closely related to php (and usually
> free), your product does not fall in either
Check out moreover.com. They used to have free RSS feeds, and I think
you can still get to them on their site somewhere... you just have to
dig through everything.
[EMAIL PROTECTED] wrote:
Hi
I'm looking for recommendations for places I might look for free news
feeds to incorporate into our c
Hi
I'm looking for recommendations for places I might look for free news feeds
to incorporate into our companies website. Specifically I'm looking for
feeds related to the pharmaceutical and medical industries.
Thanks,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
WTF?
Who gives a rats ass about this?
Nearly everyone on this list has php related commerical products but nobody
advertises it here or announces it when they make or update their products
unless its very closely related to php (and usually free), your product does
not fall in either category, so
Webyog has released SQLyog 3.71 & SQLyog Job Agent (
SJA ) v2.0
Some of the major features added in SQLyog 3.71 are -
-- SQLyog Notification Services - This new feature
allows delivery of formatted resultset(s) over email
at scheduled intervals.
-- SQLyog Database Synchronization Tool now suppor
Yahoo probably has register_globals turned off, and rightly so. Try
$_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] instead, but I
would rather go with && instead of ||.
Take a look at http://www.php.net/features.http-auth for more info.
Gohaku wrote:
Hi all,
I'm trying to implement "HTTP
My advice to you is to post this to the internals@ list. They will then
let you know whether you should report it at http://bugs.php.net and so
forth.
Michael wrote:
HI,
I installed PHP 5 RC3 this morning and am having some mixed results.
Specifically, every so often, I will refresh a page tha
Hi all,
I'm trying to implement "HTTP User Authentication" for some files but
not directories.
Below is the following script I am using to test "HTTP User
Authentication":
if ($PHP_AUTH_USER != "user" || $PHP_AUTH_PW != "pass")
{
// visitor has not yet given details, or their
// name and pas
Hi, Bond, James Bond,
Remove --with-gettext from ./configure and try to configure it again.
When I first started compiling PHP on Fedora Core 2 (fairly similar to
Red Hat 9), I just included about every configuration option, and then I
removed (one by one) each option that caused configure to fa
you could use the following in the search field:
Patch memory limit site:news.php.net
This will tell google to search news.php.net for any reference of "Patch" "memory"
"limit"
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 10, 2004 12:18 AM
To: [
Hi,
I am trying to call a procedure in Oracle 9i but I just can't get it to
work...
My procedure has 5 IN values and return 1 REF CURSOR called :p_cursor
When I run my script I just keep getting this error:
Warning: OCIFetchInto: ORA-08103: object no longer exists in
E:\Intranet\test.php on lin
HI,
I installed PHP 5 RC3 this morning and am having some mixed results.
Specifically, every so often, I will refresh a page that loaded fine and
fast the first (second, third, etc...) time around, and then for no
obvious reason the script will eat up all my CPU cycles and time out (I
have it s
I guess a better question would be, what is the "best practices" way of
showing a "Please wait..." page while a server operation is performed
(which could take 5 or 45 seconds), then make the page display the
resulting data (via reload, or slow-load, or whatever)? Would love to
find an article
> When Expedia.com is searching for flights, it displays a page with a
> little animated GIF progress bar, then display the results.
>
> How do they do that? How does the page sit idle until the query is
> finished, and then sends a new page with the results? I was thinking
> that they might use HT
Red Wingate wrote:
the magic constant __FILE__ will give you the absolut filesystem
location of the file it is called. Eg:
/home/www/tests/foo.php ->
will print: '/home/www/tests/foo.php';
to retrieve the path only you could do:
/home/www/tests/foo.php ->
I think could be easier with dirname(__
Hi,
Thursday, June 10, 2004, 2:28:06 AM, you wrote:
DC> anyone know why my parser is not reading just the internal part of this tag?
DC> Is the cdata in the correct format?
DC> PALACIO]]>
DC> --
DC> Diana Castillo
DC> Global Reservas, S.L.
DC> C/Granvia 22 dcdo 4-dch
You may want to look at Mambo Opensource Server
http://www.mamboserver.com/
Tim.
Ryan A wrote:
Hi,
A while back I started a thread for "lasso" as a client wanted a site
translated to english, still in talks with that client and he is willing to
let me do it in pure PHP instead as I dont know lasso
Scott Fletcher wrote:
I'm wondering if it is possible to use Google search to search in hte
news.php.net's past posting by using the keyword. If so, then how can it be
done? Example of keywords. Etc..
Thanks,
FletchSOD
Although this isn't google, you can search the lists (and many others)
thro
Hi,
I am using Red Hat 9 i386 environment. I am having trouble compiling PHP
with GD library.
I have compiled GD library, libpng, libjpeg on this machine.When I try to
execute the following command to compile PHP, I get the following output
with error.:
./configure --enable-track-vars --enable
the magic constant __FILE__ will give you the absolut filesystem
location of the file it is called. Eg:
/home/www/tests/foo.php ->
will print: '/home/www/tests/foo.php';
to retrieve the path only you could do:
/home/www/tests/foo.php ->
will print: '/home/www/tests/';
hope this helps :-)
Dennis
Allmost, after having a quick look at the source i tell you they
do it like that:
... loading stuff here ...
page loading here
done?
JS: document.getElementByid('loading').display='none';
take a look for yourself :-)
James Harrell wrote:
Hi Rene,
Here's a thought- make your anim
The Access Privelege and User Account links from here should help
tremendously:
http://dev.mysql.com/doc/mysql/en/Post-installation.html
http://dev.mysql.com/doc/mysql/en/GRANT.html
Scott Fletcher wrote:
Hi!
When I use the mysql_connect(), it was connected successfully. The next
step I need
Some old piece of source i found in my libs:
function sql_dump_result ( $result ) {
$line = '';
$head = '';
while ( $temp = mysql_fetch_assoc( $result ) ){
if ( empty ( $head ) ) {
$keys = array_keys($temp);
$head =
''.implode('',$keys).'';
}
$line .= ''.implode(''
Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is emty (it's not
set to anything) ???
in my redhat 9 it did mork, but when I moved to Fedora Core 2 it's not
working...
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undef
Thanks for the affirmation, Marek. That leaves two of us on the same
page :-)
Now, where can we find absolute resolution that this is indeed the
internal workings? Not that I don't trust my judgement, your judgement,
or our extensive testing, but have you ever come across any definitive
docu
There is an example in the User Contributed Notes on the
odbc_result_all() function page.
Scott Fletcher wrote:
I noticed there is no MySQL equivalent for odbc_result_all(), so it meant I
had to make a user-defined function from scratch. That part, I haven't been
able to do very well. Does anyo
Oh- and don't forget to restart apache after your changes.
james
>-Original Message-
>From: James Harrell [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, June 09, 2004 5:44 PM
>To: Mike Zornek; [EMAIL PROTECTED]
>Subject: RE: [PHP] Can I set a different include path per Apache Virtual
>host?
Hi Mike,
I'm not certain if it can be configured in a VirtualHost block,
though I know it can be configured in a Directory block (which
is equally as useful).
The problem I see below is you're using the wrong declaration;
instead of php_value, use php_admin_value, ie:
php_admin_value include_pat
I noticed there is no MySQL equivalent for odbc_result_all(), so it meant I
had to make a user-defined function from scratch. That part, I haven't been
able to do very well. Does anyone have a good code or whip up one that
would work.
Thanks...
FletchSOD
--
PHP General Mailing List (http://www
Can I set a different PHP include path per Apache Virtual host?
I am trying this:
ServerAdmin [EMAIL PROTECTED]
DocumentRoot /Library/WebServer/Websites/stage/content
ServerName stage.asmpweb.org
ErrorLog /Library/WebServer/Websites/stage/logs/error_log
CustomLog /Library/Web
Hi
Why do I get an error if the $_SESSION['user_status'] is emty (it's not
set to anything) ???
in my redhat 9 it did mork, but when I moved to Fedora Core 2 it's not
working...
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index: user_status
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Michael Jonsson wrote:
> > Hi
> >
> > Why do I get an error if the $_SESSION['user_status'] is NULL ???
> >
> >
> > Script##
> > session_start();
> > echo $_SESSION['user_status'];
> >
> >
> > #error##
> > N
> No, it's a commercial product.
>
> James
Ok, thanks, will look into it if I dont find a free/ cheap solution.
Cheers,
-Ryan.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/9/2004 9:54:20 PM, Aaron Wolski ([EMAIL PROTECTED]) wrote:
> > Hey James,
> > If its not open source...is it at least free?
> > Thanks,
> > -Ryan
>
> Not sure why this matters?
>
> If his product can do the job what does it matter if it costs money or
> not? Even if it does cost money... you
No, it's not set to NULL it's just emty...
.M
Torsten Roehr wrote:
"Michael Jonsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Not
Michael Jonsson wrote:
Hi
Why do I get an error if the $_SESSION['user_status'] is NULL ???
Script##
session_start();
echo $_SESSION['user_status'];
#error##
Notice: Undefined index: user_status in
/var/www/itmdata/include/include.php on line 13
Regards
Micke
That's not an error
"Michael Jonsson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> No, it's not set to NULL it just emty...
Empty means:
$_SESSION['user_status'] = '';
or
$_SESSION['user_status'] = 0;
Not setting it does NOT mean it's empty.
Torsten
>
> .M
>
>
> Torsten Roehr wrote:
> > "Michael
> How would I do that in the PHP block?
Please always answer to the list.
Just echo out the JS statement:
echo '