tedd wrote:
Hi gang:
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So, whenever I refere
Hi gang:
I have a question regarding php and security. My apologies beforehand if this
is common knowledge to everyone except me.
I have a php application sitting at root level on one of my servers who's sole
function is to send me an email whenever it's run. So, whenever I reference
this app,
At 6:26 PM -0500 5/31/06, Richard Lynch wrote:
>On Wed, May 31, 2006 3:56 am, Ross wrote:
>> I have pdfs saved as BLOBs
>
>We've been through this a zillion time, so search the archives for the
>pros and cons.
>
>> Is there a file size limit in kb for Blobs and what is it?
>
>I believe it depends o
On Wed, May 31, 2006 3:56 am, Ross wrote:
> I have pdfs saved as BLOBs
We've been through this a zillion time, so search the archives for the
pros and cons.
> Is there a file size limit in kb for Blobs and what is it?
I believe it depends on compile-time settings, but this is really a
MySQL ques
On Wed, May 31, 2006 9:19 am, Merlin wrote:
> I am reading a remote plain text file from another server via the file
> command:
>
> $str = file ("http:/x");
> This is a feed so there is no other way then reading it remote.
>
> Now this reading takes up between 0.5 and 1.0 s which is far to slow
On Wed, May 31, 2006 1:36 pm, Brad Bonkoski wrote:
> PHP is a server side scripting language, so the information would not
> be
> sent to the browser( aka client) until the server side script has
> completed its execution.
This is just plain incorrect.
While buffering within various pieces of sof
On Wed, May 31, 2006 1:29 pm, cajbecu wrote:
> for ($i=0; $i < 10; $i++) {
> $output = "ccc2";
> print "";
> echo $output;
> print "";
> ob_flush();
> flush();
>
> sleep(1);
> }
>
> I want to show on the browser, "ccc2" (example) every
Jochem Maas wrote:
also take a look here:
http://www.wiki.cc/php/RecursiveDirectoryIterator
yes it's meant to be used, yes you can use it in production BUT your
a little on the bleeding edge (not very many people using it full on) AND
the whole of SPL is still a little in flex (as is php5->php6
your not supposed to do anything ;-)
but you can if you like :-) ...
D. Dante Lorenso wrote:
> I was about to write code to recursively list the contents of a
> directory when I remembered seeing an object in SPL that would do it for
> me:
>
>
> http://us3.php.net/manual/en/function.recursivedire
New beta release of Sparse, my framework for writing MySQL-based
programs without any code. This release includes search capability and
completely removes all external dependencies (also allowing for Sparse
tags to be embedded in regular tags).
Try it out!
http://sparse-php.sourceforge
Brad Bonkoski wrote:
cajbecu wrote:
Hello,
for ($i=0; $i < 10; $i++) {
$output = "ccc2";
print "";
echo $output;
print "";
ob_flush();
flush();
sleep(1);
}
I want to show on the browser, "ccc2" (example) every 1 second, but it
shows al
I was about to write code to recursively list the contents of a
directory when I remembered seeing an object in SPL that would do it for me:
http://us3.php.net/manual/en/function.recursivedirectoryiterator-next.php
But there is no documentation on this object, and although I have it in
PH
Yep, I see that now. I really need to take a break - been at this way to
long.
Thanks to all.
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]
Sent: May 31, 2006 3:02 PM
To: Beauford
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session variables and words with space
Not sure why I would get a parse error, but that did correct the problem. I
just completely missed the single quote. I never even clue'd in when I
looked at the source of the page.
Sometimes another pair of eyes does the trick. Maybe it's time for a break.
Thanks
>> I'm surprised you're not get
Niagara Falls
replace with
Niagara Falls (note the quotes)
because you will post only "Niagara" instead "Niagara Falls"
cheers,
On 5/31/06, Beauford <[EMAIL PROTECTED]> wrote:
Thanks - Done that though. It shows the way it should be.
Example: Niagara Falls
-Original Message-
From
Beauford wrote:
Thanks - Done that though. It shows the way it should be.
Example: Niagara Falls
which of course is wrong and explains perfectly why you are getting
the results you are getting...
it *should* display:
Niagra Falls
(View source is a powerful tool!)
-Brad
-Orig
Thanks - Done that though. It shows the way it should be.
Example: Niagara Falls
-Original Message-
From: Brad Bonkoski [mailto:[EMAIL PROTECTED]
Sent: May 31, 2006 2:28 PM
To: Beauford
Cc: php-general@lists.php.net
Subject: Re: [PHP] Session variables and words with spaces
Perhaps y
cajbecu wrote:
Hello,
for ($i=0; $i < 10; $i++) {
$output = "ccc2";
print "";
echo $output;
print "";
ob_flush();
flush();
sleep(1);
}
I want to show on the browser, "ccc2" (example) every 1 second, but it
shows all the text when the fo
Hello,
for ($i=0; $i < 10; $i++) {
$output = "ccc2";
print "";
echo $output;
print "";
ob_flush();
flush();
sleep(1);
}
I want to show on the browser, "ccc2" (example) every 1 second, but it
shows all the text when the for stops... any idee
Beauford wrote:
Hi,
I have a form in which a drop down field is populated from a MySQL database.
I am also using sessions.
The problem is this. After I submit the form the session variable only shows
the part of the input before the space.
Example: if I choose Niagra Falls from the drop down l
Perhaps you should load up your initial form and then use the "view
source" option in your browser as this will probably give you insight
into your problems...
-Brad
Beauford wrote:
Hi,
I have a form in which a drop down field is populated from a MySQL database.
I am also using sessions.
Th
Hi,
I have a form in which a drop down field is populated from a MySQL database.
I am also using sessions.
The problem is this. After I submit the form the session variable only shows
the part of the input before the space.
Example: if I choose Niagra Falls from the drop down list, then I only s
James Nunnerley wrote:
Hi Folks,
Should be a nice easy one - if running PHP5, how do I add more than one
exec_dir into the list? i.e. what is the separator?
I have never used the directive but I imagine it hasn't changed between
php4 and php5 ...
and I would hazard a guess that the dir s
As I believe someone else said, file_get_contents() is the perfered way.
Bare in mind however that reading off a network will probably be slow
compared to other operations.
This of course depends on the speed of your network, and the complexity of
the other operations.
Hi Folks,
Should be a nice easy one - if running PHP5, how do I add more than one
exec_dir into the list? i.e. what is the separator?
Cheers
Nunners
On 5/31/06, Merlin <[EMAIL PROTECTED]> wrote:
Hi there,
I am reading a remote plain text file from another server via the file
command:
$str = file ("http:/x");
This is a feed so there is no other way then reading it remote.
Now this reading takes up between 0.5 and 1.0 s which is far to s
Merlin wrote:
Hi there,
I am reading a remote plain text file from another server via the file
command:
$str = file ("http:/x");
This is a feed so there is no other way then reading it remote.
Now this reading takes up between 0.5 and 1.0 s which is far to slow.
The whole other proce
Hi there,
I am reading a remote plain text file from another server via the file
command:
$str = file ("http:/x");
This is a feed so there is no other way then reading it remote.
Now this reading takes up between 0.5 and 1.0 s which is far to slow.
The whole other process on the site tak
Hey,
> Might be quicker for you to ask on a mysql mailing
> list :)
Yep, am waiting for the confirmation email...
> I tried a couple of different things looking at the
> mysql page
>
(http://dev.mysql.com/doc/refman/4.1/en/date-and-time-functions.html)
>
> but couldn't come up with a prope
Ross wrote:
I have pdfs saved as BLOBs I create the links dynamically but only some of
the PDFs display an error message 'error opening this files...this file
cannot be repaired..."
Is there a file size limit in kb for Blobs and what is it?
What size of file can a LONG BLOB accomodate?
If it
On 5/31/06, chris smith <[EMAIL PROTECTED]> wrote:
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
> 2. Have you tried simply saving $_POST['userfile'] to a file?
>
> $save = $_POST['userfile'];
> $f=fopen($out,'a');
> copy($save, $out);
Files don't go into $_POST - they
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
Thanks for your replies.
1. Did you put the enctype="multipart/form-data" into the FORM tag?
Ans: I do not have a form! I'm using a gateway utility to upload files
From documentation of Mbuni MMS gateway:
post-url
Response content is obt
On 5/31/06, Barry <[EMAIL PROTECTED]> wrote:
Merlin schrieb:
> Hi there,
>
> I am trying to parse a plain text which contains variables. The string
> looks like this:
>
> P=1
> U=test
> T=ok
> P=2
> U=test2
> T=anything
>
> How could I create arrays out of this. To be able to access the values
>
Merlin schrieb:
Hi there,
I am trying to parse a plain text which contains variables. The string
looks like this:
P=1
U=test
T=ok
P=2
U=test2
T=anything
How could I create arrays out of this. To be able to access the values
like this:
echo $P[1];
parse_str does not work here and I could n
Hi there,
I am trying to parse a plain text which contains variables. The string
looks like this:
P=1
U=test
T=ok
P=2
U=test2
T=anything
How could I create arrays out of this. To be able to access the values
like this:
echo $P[1];
parse_str does not work here and I could not find another f
A quick google search tells you that LONGBLOB can contain string with
a maximum length of 4294967295 characters, which translates into
4gb+/-
Maybe a MEDIUMBLOB (16777215 characters) would already do the trick,
no? It supports as much as 16mb +/-
On 5/31/06, Chris <[EMAIL PROTECTED]> wrote:
Thanks for your replies.
1. Did you put the enctype="multipart/form-data" into the FORM tag?
Ans: I do not have a form! I'm using a gateway utility to upload files
From documentation of Mbuni MMS gateway:
post-url
Response content is obtained as result of sending a HTTP POST request to the
pr
Ross wrote:
I have pdfs saved as BLOBs I create the links dynamically but only some of
the PDFs display an error message 'error opening this files...this file
cannot be repaired..."
Is there a file size limit in kb for Blobs and what is it?
What size of file can a LONG BLOB accomodate?
Who
I have pdfs saved as BLOBs I create the links dynamically but only some of
the PDFs display an error message 'error opening this files...this file
cannot be repaired..."
Is there a file size limit in kb for Blobs and what is it?
What size of file can a LONG BLOB accomodate?
If it is not this a
On 5/31/06, kartikay malhotra <[EMAIL PROTECTED]> wrote:
However, with Mbuni MMS Gateway (which provides HTTP POST), the above
condition in if loop isn't satisfied. I think $_FILES isn't working. However
the following code works:
0*/ )
{
$f=fopen($out,'a');
echo "HEL";
cop
40 matches
Mail list logo