php-general Digest 24 Mar 2008 13:38:16 - Issue 5365
Topics (messages 272020 through 272031):
Re: De-Duplicate A Query Result List
272020 by: Greg Bowser
ob_start: Capturing STDOUT and STDERR
272021 by: Greg Sims
272022 by: Casey
272023 by: Jonesy
Date math
php-general Digest 25 Mar 2008 02:28:05 - Issue 5366
Topics (messages 272032 through 272059):
Re: Date math
272032 by: Jim Lucas
272059 by: Bill Guion
Re: This beats me (variable not being passed through pages)
272033 by: Jim Lucas
Re: Including files for templates
Hi,
I have a ASP.NET / C# page calling a webmail Linux server:
WebRequest request =
WebRequest.Create(http://192.168.1.4/horde/imp/index.php?username=gamito;);
(etc...)
It seems to work as in my Linux Apache logs, i get:
(...) GET /horde/imp/index.php?username=gamito HTTP/1.1 200 223
File
i am using apache server and presently when i try accessing any folders of
my website i am able to browse the files ex = www.website.com/images which
is a serious security risk as i am building a forum website using php and
mysql.
in the root directory i have created a .htaccess file and whenever
Sudhakar schrieb:
i am using apache server and presently when i try accessing any folders of
my website i am able to browse the files ex = www.website.com/images which
is a serious security risk as i am building a forum website using php and
mysql.
in the root directory i have created a
i am using apache server and presently when i try accessing any folders of
my website i am able to browse the files ex = www.website.com/images which
is a serious security risk as i am building a forum website using php and
mysql.
Assuming your images are for public consumption and that that
I am very aware most of you do not use a stored procedure in mysql.
However with my latest C++ programming I have created a few that make life a
dream.
The issue I am having. When I call the stored procedure I would like the end of
the procedure to call or invoke a php script.
I have read
Ron Piggott wrote:
I have this math equation this list helped me generate a few weeks ago.
The purpose is to calculate how many days have passed between 2 dates.
Right now my output ($difference) is 93.958333 days.
I am finding this a little weird. Does anyone see anything wrong with
Mário Gamito wrote:
Hi,
I have a ASP.NET / C# page calling a webmail Linux server:
WebRequest request =
WebRequest.Create(http://192.168.1.4/horde/imp/index.php?username=gamito;);
(etc...)
It seems to work as in my Linux Apache logs, i get:
(...) GET /horde/imp/index.php?username=gamito
On Mar 23, 2008, at 12:10 PM, Daniel Brown wrote:
On Sun, Mar 23, 2008 at 6:32 AM, Terry Burns-Dyson
[EMAIL PROTECTED] wrote:
[snip!]
$pageTitle is in the template, it's replaced, $pageContent is in the
template, it's replaced. But any variables within the
page_to_display are
simply output
On Sun, Mar 23, 2008 at 7:32 AM, Terry Burns-Dyson
[EMAIL PROTECTED] wrote:
I'm trying to write a template system, my template is the HTML layout, and
my content is fetched from another source. However I don't quite understand
how to output the template so that all the variables are parsed by
On Mon, Mar 24, 2008 at 7:08 AM, Sudhakar [EMAIL PROTECTED] wrote:
i am using apache server and presently when i try accessing any folders of
my website i am able to browse the files ex = www.website.com/images which
is a serious security risk as i am building a forum website using php and
Hello All,
I am having an array structure as displayed below, The title is the
key and value is the simplexmlelementobject.
[Advanced Virtualization Technologies in Workstation 6-20080320 1604]
= SimpleXMLElement Object
(
[recordingID] = 932467
[hostWebExID] =
On Mon, Mar 24, 2008 at 12:50 PM, VamVan [EMAIL PROTECTED] wrote:
Hello All,
I am having an array structure as displayed below, The title is the
key and value is the simplexmlelementobject.
[Advanced Virtualization Technologies in Workstation 6-20080320 1604]
= SimpleXMLElement Object
I cannot do that. because Simple xml element retrieves everything in
UTF8. I need to decode it to latin1 for comparison with another array.
My query still remains the same.
On Mon, Mar 24, 2008 at 9:56 AM, Eric Butera [EMAIL PROTECTED] wrote:
On Mon, Mar 24, 2008 at 12:50 PM, VamVan [EMAIL
At 10:00 AM -0700 3/24/08, VamVan wrote:
I cannot do that. because Simple xml element retrieves everything in
UTF8. I need to decode it to latin1 for comparison with another array.
Unless there is something here that I don't understand, there is no
decoding UTF-8 to Latin1
Latin1 is a
Well anyways please let me handle the problems with decoding. I just
want to know if there is a way that I could traverse through all the
elements of the simplexmlobject and still keep the same structure of
the array. What I mean is
[Advanced Virtualization Technologies in Workstation 6-20080320
Hi Everyone,
Attempting to get this query:
SELECT customerName, loginName, email, adminLevel FROM current WHERE
customerBusiness=$business ORDER BY adminLevel
to work.
So far it doesn't like me... It pops up saying that Unknown column
'Raoset' in 'where clause'
Here is what I get if I
Okay... so as happens to me more times then I care to admit... as soon
as I sent it I simply added: .WHERE
customerBusiness='$business'. and it works just fine... Sorry for
the noise!
On Mar 24, 2008, at 1:47 PM, Jason Pruim wrote:
Hi Everyone,
Attempting to get this query:
Not a PHP question. but could someone point me in the direction of how to
download/display only a portion of a PDF, much like google books does? For
example, if you have a 200 page pdf, but the user wishes to see the portion
that is on page 150. rather than downloading the entire PDF, only
At 10:23 AM -0700 3/24/08, VamVan wrote:
Well anyways please let me handle the problems with decoding.mail.com wrote:
At 10:00 AM -0700 3/24/08, VamVan wrote:
I cannot do that. because Simple xml element retrieves everything in
UTF8. I need to decode it to latin1 for comparison with
On Mon, Mar 24, 2008 at 1:47 PM, Jason Pruim [EMAIL PROTECTED] wrote:
Hi Everyone,
Attempting to get this query:
SELECT customerName, loginName, email, adminLevel FROM current WHERE
customerBusiness=$business ORDER BY adminLevel
to work.
So far it doesn't like me... It pops up saying
Take a look at array_walk(), array_walk_recursive(), array_map() in the PHP
manual.
On Mon, Mar 24, 2008 at 2:04 PM, tedd [EMAIL PROTECTED] wrote:
At 10:23 AM -0700 3/24/08, VamVan wrote:
Well anyways please let me handle the problems with decoding.mail.com
wrote:
At 10:00 AM -0700
That top post was totally not I... It was my roommate playing with my
computer *nods*.
On Mar 24, 2008, at 2:23 PM, Daniel Brown wrote:
On Mon, Mar 24, 2008 at 1:47 PM, Jason Pruim [EMAIL PROTECTED]
wrote:
Hi Everyone,
Attempting to get this query:
SELECT customerName, loginName, email, adminLevel FROM current WHERE
customerBusiness=$business ORDER BY adminLevel
to work.
So
On Mon, Mar 24, 2008 at 2:29 PM, Jason Pruim [EMAIL PROTECTED] wrote:
It's already been escaped, $business is pulled out of the database
after they log in. :)
I don't care, Prune.
(I still get a kick out of knowing that. Who was it, Jochem or
Zoltan who said that? ;-P)
NEVER
John Pillion wrote:
Not a PHP question. but could someone point me in the direction of how to
download/display only a portion of a PDF, much like google books does? For
example, if you have a 200 page pdf, but the user wishes to see the portion
that is on page 150. rather than downloading the
Beware: round() apparently has changed its behavior from PHP 4. For
certain special numbers that seem to be multiples of 100,000, the return
value is in exponential format, rather than the usual decimal format. Some
of these special values are 120, 140, 230, which are returned
as
On Mon, Mar 24, 2008 at 2:40 PM, Daniel Brown [EMAIL PROTECTED] wrote:
On Mon, Mar 24, 2008 at 2:29 PM, Jason Pruim [EMAIL PROTECTED] wrote:
It's already been escaped, $business is pulled out of the database
after they log in. :)
I don't care, Prune.
(I still get a kick out
I have a project the someone else wrote and that I can't get to work.
It uses a rather large library of classes that are not apparently getting
loaded by the provided __autoload() function.
I'm not very well versed in PHP and one of the first things I did was see if
in fact the __autoload
[EMAIL PROTECTED] wrote:
Beware: round() apparently has changed its behavior from PHP 4.
This is actually a change in the behavior of the float type, not the
round function. Replace your round() with a cast to float and you'll see
the exact same result.
--
Jeremy Privett
C.E.O. C.S.A.
Omega
Jeremy Privett wrote:
[EMAIL PROTECTED] wrote:
Beware: round() apparently has changed its behavior from PHP 4.
This is actually a change in the behavior of the float type, not the
round function. Replace your round() with a cast to float and you'll
see the exact same result.
Also, as a
On Mon, 24 Mar 2008 13:10:17 -0600, [EMAIL PROTECTED] wrote:
Beware: round() apparently has changed its behavior from PHP 4. For
certain special numbers that seem to be multiples of 100,000, the return
value is in exponential format, rather than the usual decimal format.
Some
of these special
I'm not sure that it can be done. I've never heard of anyone doing it
before. Why don't you just call the PHP script from your C++ program after
you call the stored proc?
- Dan
[EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I am very aware most of you do not use a stored
At 12:17 AM -0400 3/24/08, Ron Piggott wrote:
I have this math equation this list helped me generate a few weeks ago.
The purpose is to calculate how many days have passed between 2 dates.
Right now my output ($difference) is 93.958333 days.
I am finding this a little weird. Does
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would need to connect to the server.
please advice.
thanks.
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
i would
Jonathan Mast wrote:
I have a project the someone else wrote and that I can't get to work.
It uses a rather large library of classes that are not apparently getting
loaded by the provided __autoload() function.
I'm not very well versed in PHP and one of the first things I did was see if
in
Casey wrote:
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
apart from the ip address, username and password are there any other details
On Mon, Mar 24, 2008 at 8:09 PM, Mark Weaver [EMAIL PROTECTED] wrote:
Casey wrote:
On Mon, Mar 24, 2008 at 7:28 PM, Sudhakar [EMAIL PROTECTED] wrote:
i need to connect to the linux server using an editor. can anyone suggest
which would be an ideal linux editor to connect to the server.
40 matches
Mail list logo