php-windows Digest 27 Jul 2007 01:50:49 -0000 Issue 3293

Topics (messages 28245 through 28253):

photo gallery plugin
        28245 by: Mark Abrams
        28246 by: tg-php.gryffyndevelopment.com

fileperms - windows setting 777 on a file - possible?
        28247 by: Stephen Ford
        28248 by: Stut

Reading CD TOC and Generating freedb disc IDs
        28249 by: Chuck Anderson

loadXML() strangeness
        28250 by: Bill Bolte
        28251 by: Bill Bolte

Error: illegal character I need help
        28252 by: Stephen
        28253 by: Jeff White

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---
Does anyone have a recommendation on a photo gallery plug in that works with 
php and mySQL.  I have a car club and want to allow members to load their 
cars pics and specs to the site.

TAI
Mark 

--- End Message ---
--- Begin Message ---
Gallery2 and Coppermine are two big PHP photo gallery apps.

http://gallery.menalto.com/

http://coppermine-gallery.net/index.php

= = = Original message = = =

Does anyone have a recommendation on a photo gallery plug in that works with 
php and mySQL.  I have a car club and want to allow members to load their 
cars pics and specs to the site.

TAI
Mark 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


___________________________________________________________
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

--- End Message ---
--- Begin Message ---
I'm trying to run an install script for some software that I bought and the
install script checks that some file permission settings are correctly set.
In this case they must be set to "777". I have not been able to run the
script successfully and my hosting company has said that it cannot be
successfully run on their site because "our php running in windows always
returns 666 for a file instead of the required 777.  Directories return the
required 777 permissions."

Does this sound credible? Are there settings that they could change to make
this work?

Thanks in advance.

--- End Message ---
--- Begin Message ---
Stephen Ford wrote:
I'm trying to run an install script for some software that I bought and the
install script checks that some file permission settings are correctly set.
In this case they must be set to "777". I have not been able to run the
script successfully and my hosting company has said that it cannot be
successfully run on their site because "our php running in windows always
returns 666 for a file instead of the required 777.  Directories return the
required 777 permissions."

Does this sound credible? Are there settings that they could change to make
this work?

Posting a question twice because the first one didn't get any responses is not likely to make you any friends.

You bought this software? Seems to me that your best bet would be to ask the company you bought it from. This list is not here to provide free support for commercial software.

-Stut

--
http://stut.net/

--- End Message ---
--- Begin Message ---
I have Googled this one to death and am getting nowhere.

What I ultimately want to do is access the freedb.org CDDB database.  In
order to do that, you must generate a disc ID for lookup.  The disc ID
is based on information in the CD's TOC.  Freedb.org lists the algorithm
for generating the disc ID in a readily available document, but my first
problem is to get the data in the CD's TOC.  Does anyone know how to do
that?

Freedb.org also says that there are disc ID generators on it's
download.miscellaneous page, but there are none there.

Has anyone here implemented any of this - from reading a CD's TOC, to
generating disc IDs, and then accessing freedb.org?

--
*****************************
Chuck Anderson • Boulder, CO
http://www.CycleTourist.com
*****************************

--- End Message ---
--- Begin Message ---
Maybe it's just me, but this isn't behaving as I think it should.
loadXML() is supposed to return T/F, depending on if it's succeeded or
not. and should throw a false if the XML isn't well-formed. however,
that's not what I'm seeing here. during some testing, the XML I'm trying
to load is blank (except for maybe a return), but it seems to be
returning true and trying to parse it. basically, all I'm doing is:
 
if($dom->loadXML($fxml) == true){...}

and it appears that the code inside the if is running (I'm writing a
file out of the XML that's being parsed and it's showing up - although
it's empty). here's the warning that's being sent to the page:

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Start
tag expected, '<' not found in Entity, line: 2 in
C:\www\op.dev\public_html\assets\inc\parser.php on line 278

Guess I could always check for a beginning <, but I assumed that
loadXML() would do this? what's the scoop here?

Bill

--- End Message ---
--- Begin Message ---
Well, I stumbled across this, and it seems to have helped. I put this
right before the if:

$dom->validateOnParse=true;

And now I get a false. It's still throwing the warning (which is strange
to me), but that can be handled... 

-----Original Message-----
From: Bill Bolte [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 3:17 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] loadXML() strangeness

Maybe it's just me, but this isn't behaving as I think it should.
loadXML() is supposed to return T/F, depending on if it's succeeded or
not. and should throw a false if the XML isn't well-formed. however,
that's not what I'm seeing here. during some testing, the XML I'm trying
to load is blank (except for maybe a return), but it seems to be
returning true and trying to parse it. basically, all I'm doing is:
 
if($dom->loadXML($fxml) == true){...}

and it appears that the code inside the if is running (I'm writing a
file out of the XML that's being parsed and it's showing up - although
it's empty). here's the warning that's being sent to the page:

Warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Start
tag expected, '<' not found in Entity, line: 2 in
C:\www\op.dev\public_html\assets\inc\parser.php on line 278

Guess I could always check for a beginning <, but I assumed that
loadXML() would do this? what's the scoop here?

Bill

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--- End Message ---
--- Begin Message ---
I am trying to get a sample code that I got from the internet to work on my 
website. Every time that I check the error logs I get tis message:

Error: illegal character
Source File: http://192.168.0.102/wle_form.php?run=&;
Line: 969, Column: 55
Source Code:
       if(document.AuthChangesForm.elements[i].type == \"checkbox"\ && 
document.AuthChangesForm.elements[i].name == SwitchName )

Can anyone help me with this. I hope it is the only thing that is stopping 
this program from running.

-Stephen- 

--- End Message ---
--- Begin Message ---
Hello Stephen,

 

At first glance, in your message I noticed that the second backslash (
\"checkbox"\ ) is after the double quote. The backslash should be before the
double quote for proper escaping in JavaScript. That could be your problem
possibly.

 

-----Original Message-----
From: Stephen [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 26, 2007 8:24 PM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Error: illegal character I need help

 

I am trying to get a sample code that I got from the internet to work on my 

website. Every time that I check the error logs I get tis message:

 

Error: illegal character

Source File: http://192.168.0.102/wle_form.php?run=&;

Line: 969, Column: 55

Source Code:

       if(document.AuthChangesForm.elements[i].type == \"checkbox"\ && 

document.AuthChangesForm.elements[i].name == SwitchName )

 

Can anyone help me with this. I hope it is the only thing that is stopping 

this program from running.

 

-Stephen- 

 

-- 

PHP Windows Mailing List (http://www.php.net/)

To unsubscribe, visit: http://www.php.net/unsub.php


--- End Message ---

Reply via email to