[PHP] Re: Realm Based Authentication Problem with webhost ( Yahoo domain )

2004-06-09 Thread Ben Ramsey
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") &&

Re: [PHP] Webyog releases SQLyog 3.71 & SJA 2.0

2004-06-09 Thread daniel
> 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

[PHP] Re: Free news feeds

2004-06-09 Thread Ben Ramsey
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

[PHP] Free news feeds

2004-06-09 Thread csnm
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

Re: [PHP] Webyog releases SQLyog 3.71 & SJA 2.0

2004-06-09 Thread Ryan A
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

[PHP] Webyog releases SQLyog 3.71 & SJA 2.0

2004-06-09 Thread Karam Chand
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

[PHP] Re: Realm Based Authentication Problem with webhost ( Yahoo domain )

2004-06-09 Thread Ben Ramsey
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

[PHP] Re: PHP5 RC3 Runnay Processes

2004-06-09 Thread Ben Ramsey
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

[PHP] Realm Based Authentication Problem with webhost ( Yahoo domain )

2004-06-09 Thread gohaku
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

[PHP] Re: PHP 4.3.5 on Red Hat Linux 9

2004-06-09 Thread Ben Ramsey
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

[PHP] RE: . [PHP] Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Cody Phanekham
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: [

[PHP] FW: PHP - Calling a Oracle 9i procedure

2004-06-09 Thread Joshua Skagemo
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

[PHP] PHP5 RC3 Runnay Processes

2004-06-09 Thread Michael
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

Re: [PHP] Expedia.com

2004-06-09 Thread René Fournier
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

Re: [PHP] Expedia.com

2004-06-09 Thread Michal Migurski
> 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

Re: [PHP] Re: file knowing its own directory

2004-06-09 Thread Jordi Canals
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(__

Re: [PHP] <![CDATA[HOTEL AC MALAGA PALACIO]]>

2004-06-09 Thread Tom Rogers
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

Re: [PHP] Simple cms type system

2004-06-09 Thread Tim Brier
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

[PHP] Re: Possible to Google search the news.php.net past post with keywords???

2004-06-09 Thread Chris Martin
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

[PHP] PHP 4.3.5 on Red Hat Linux 9

2004-06-09 Thread James Bond
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

[PHP] Re: file knowing its own directory

2004-06-09 Thread Red Wingate
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

Re: [PHP] Expedia.com

2004-06-09 Thread Red Wingate
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

[PHP] Re: mysql_select_db returned access denied error...

2004-06-09 Thread coopster
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

[PHP] Re: MySQL equivalent for odbc_result_all()???????

2004-06-09 Thread Red Wingate
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(''

[PHP] Re: Undefined index ????

2004-06-09 Thread Justin Patrin
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

Re: [PHP] Session Garbage Collection (session.gc_maxlifetime)

2004-06-09 Thread coopster
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

[PHP] Re: MySQL equivalent for odbc_result_all()???????

2004-06-09 Thread coopster
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

RE: [PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread James Harrell
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?

RE: [PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread James Harrell
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

[PHP] MySQL equivalent for odbc_result_all()???????

2004-06-09 Thread Scott Fletcher
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

[PHP] Can I set a different include path per Apache Virtual host?

2004-06-09 Thread Mike Zornek
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

[PHP] Undefined index ????

2004-06-09 Thread Michael Jonsson
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

Re: [PHP] Undefined index ???

2004-06-09 Thread Torsten Roehr
"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

RE: [PHP] Simple cms type system

2004-06-09 Thread Ryan A
> 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

RE: [PHP] Simple cms type system

2004-06-09 Thread Ryan A
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

[PHP] Re: Undefined index ???

2004-06-09 Thread Michael Jonsson
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

Re: [PHP] Undefined index ???

2004-06-09 Thread John Nichel
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

[PHP] Re: Undefined index ???

2004-06-09 Thread Torsten Roehr
"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

[PHP] Re: Refresh a frame?

2004-06-09 Thread Torsten Roehr
> How would I do that in the PHP block? Please always answer to the list. Just echo out the JS statement: echo '