Hi,
i use fpassthru() to "stream" video files in my webserver. I worked fine
for weeks but yesterday, after updating the webserver, i get the error
"Allowed memory size of 268435456 bytes exhausted (tried to allocate
1729609729 bytes) in ."
Now PHP version is 5.2.11.
Any ideas?
Thanks
This means that buffered video exceeded your memory limitof 260MB set in
your php.ini. Consider increasing it to higher value, if your computer has
say 1GB or more of RAM.
Kind regards
On Sat, Dec 12, 2009 at 11:33 AM, A. Mannini wrote:
> Hi,
>
> i use fpassthru() to "stream" video files in my
Hi all,
I was willing to match two certificates using hash fn but the problem
is when I fetch the certificate from apache its in pem format and when
I fetch the cert from LDAP its in der so only this one needs
to be converted to .pem format which I m doing but its showing me two
diff. hashes.
When
i
On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijukye
wrote:
> This means that buffered video exceeded your memory limitof 260MB set in
> your php.ini. Consider increasing it to higher value, if your computer has
> say 1GB or more of RAM.
>
> Kind regards
>
>
> On Sat, Dec 12, 2009 at 11:33 AM,
I forgot to mention that you will need to restart your web server after
after making that change. Like I mentioned earlier, the script streaming the
video is trying to access more memory than the accessible 260MB, by any php
script on that server
On Sat, Dec 12, 2009 at 12:51 PM, Vincent Tumwijuky
On Sat, 2009-12-12 at 05:02 +, Alex Davies wrote:
> Hi All,
>
> I apologise if this is a newbie post; i'm new to transparent graphics
> (PNGs in my case).
>
> I have a transparent PNG on disk, which I want PHP to load into memory
> and add some text to ("watermarking", I guess). This seems t
Suppose you have the following array:
*
*
which is used to generate the following "Select":
*
Tehran
Isfahan
Tabriz
*
You can check whether the submitted value is valid or not, using the
following code:
*if ($_SERVER['REQUEST_METHOD'] == "POST") {
if (!in_array($_POST['city'], $cit
This is exactly what I mean.
Documentation should never leave room to interpretation.
At least, this is what I think.
Roberto Aloi
On 11 Dec 2009, at 22:36, Ashley Sheridan
wrote:
On Fri, 2009-12-11 at 22:14 +, Roberto wrote:
Hi Joseph,
I'm perfectly fine with the concepts of absolu
On Sat, 2009-12-12 at 11:49 +, Roberto Aloi wrote:
> This is exactly what I mean.
> Documentation should never leave room to interpretation.
> At least, this is what I think.
>
> Roberto Aloi
>
> On 11 Dec 2009, at 22:36, Ashley Sheridan
> wrote:
>
> > On Fri, 2009-12-11 at 22:14 +,
Hi friends.
What ajax library do you suggest for php developers?
Can i use gwt with php, or It is compatible only with java web applications?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
salam ;)
JQuery is good one.
--
Shahrzad Khorrami
On Sat, 2009-12-12 at 15:34 +0330, shahrzad khorrami wrote:
> salam ;)
>
> JQuery is good one.
>
>
>
JQuery is good for client-side, did you want something for the server?
Thanks,
Ash
http://www.ashleysheridan.co.uk
Thanks for your replies. Which one is better for GUI building? I'm looking
for a ajax library that is comfortable for client side applications. I think
php is plenty comfortable For server side issues, so I can't see any reason
to toil in experiencing new technologies.
On Sat, Dec 12, 2009 at 3:37
I've always been a big fan of prototype which does AJAX plus a whole lot more.
Take care,
Floyd
On Dec 12, 2009, at 7:00 AM, Ali Asghar Toraby Parizy wrote:
> Hi friends.
> What ajax library do you suggest for php developers?
> Can i use gwt with php, or It is compatible only with java web appli
Vincent Tumwijukye ha scritto:
This means that buffered video exceeded your memory limitof 260MB set in
your php.ini. Consider increasing it to higher value, if your computer has
say 1GB or more of RAM.
Kind regards
Dear Vicent,
i know what the error message is saying but...before upgrading
Hi Ash,
Thanks for your suggestion. Unfortunately,that did not help but i've found a
post via Google which gave a simple (and slightly counter-intuitive)
solution - replace
imagecopymerge($img2, $img, $yoffset, 5, 0, 0, imagesx($img), imagesy($img),
100);
with
imagecopy($img2, $img, $yoffset, 5,
It's also a security flaw... php should be chrooted to the webroot! Or
it should be chrooted to the users home directory. Especially on windows
systems where security is not so strict.
My 2 cents,
Carl.
Roberto wrote:
> Hi Joseph,
>
> I'm perfectly fine with the concepts of absolute/relative path
At 3:04 PM -0700 12/11/09, Ben Miller wrote:
That's exactly why I need something that will put all the needed
files directly onto the flash drive - to take that responsibility
away from the user. Pulling the data from the DB and creating the
folder structure is easy with PHP - just not sure ho
Two words: Java Applet.. That's the stuff that Facebook and other social
sites do stuff like this, Although I've only seen it for upload.
One thing perhaps you can do is have the applet command the browser to
save the page as a complete web page onto the flash drive.
it's cross platform and cross
On Sat, 2009-12-12 at 09:42 -0500, Carl Furst wrote:
> It's also a security flaw... php should be chrooted to the webroot! Or
> it should be chrooted to the users home directory. Especially on windows
> systems where security is not so strict.
>
> My 2 cents,
> Carl.
>
> Roberto wrote:
> > Hi Jo
At 1:53 PM -0600 12/11/09, Kelly Jones wrote:
-snip-
Is this a new idea, or have people done this before?
Not a new idea, nor one that is useful -- no offense meant.
I can prevent form hacking by simply checking and scrubbing incoming
data without resorting to encryption.
Security techniqu
2009/12/11 Ashley Sheridan
>
> On Fri, 2009-12-11 at 15:44 +, Richard Quadling wrote:
>
> 2009/12/11 kranthi :
> > How can i change the temporary upload directory?
> > var_dump(ini_get('upload_tmp_dir')); gives me (and that is set in
> > php.ini)
> > string '/var/www/cgi-bin' (length=16)
At 5:02 AM + 12/12/09, Alex Davies wrote:
-snip-
Suggestions appreciated, i'm lost!
Many thanks,
Alex
Watermark?
Try this:
http://webbytedd.com/b/watermark/
The code is there and the dog is actual size.
Cheers,
tedd
--
---
http://sperling.com http://ancientstones.com http://ea
2009/12/12 Floyd Resler :
> I've always been a big fan of prototype which does AJAX plus a whole lot more.
>
> Take care,
> Floyd
>
> On Dec 12, 2009, at 7:00 AM, Ali Asghar Toraby Parizy wrote:
>
>> Hi friends.
>> What ajax library do you suggest for php developers?
>> Can i use gwt with php, or I
Depends on the configuration. If I have a bunch of web sites and they
are all using files created, written and executed by the apache user,
when the apache process sudo execs the php from a specific web root I
want it to stay in that root. I don't want it to be able to write files
to another w
What is a good beginners programming book for PHP? I like "dead trees"
more than reading stuff on my screen, so I am looking for a book.
Thanks!
Bob
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Dec 13, 2009 at 12:27 AM, Robert H wrote:
> What is a good beginners programming book for PHP? I like "dead trees" more
> than reading stuff on my screen, so I am looking for a book.
>
There are plenty of books in amazon.com
Order one and start reading.
--
A K M Mokaddim
My talks, http:/
On Sun, 2009-12-13 at 01:42 +0700, shiplu wrote:
> On Sun, Dec 13, 2009 at 12:27 AM, Robert H wrote:
> > What is a good beginners programming book for PHP? I like "dead trees" more
> > than reading stuff on my screen, so I am looking for a book.
> >
>
> There are plenty of books in amazon.com
>
Hi Rene,
The only thing which is a hurdle is that your system/computer is not
allowing external connections. There seems to be nothing else wrong.
I strongly suggest check your system firewall, any central server settings
through which your system gets internet access, any antivirus s/w installed
Programming php from Eric
Bastien
Sent from my iPod
On Dec 12, 2009, at 12:27 PM, Robert H wrote:
What is a good beginners programming book for PHP? I like "dead
trees" more than reading stuff on my screen, so I am looking for a
book.
Thanks!
Bob
--
PHP General Mailing List (http://w
On Sat, Dec 12, 2009 at 9:27 AM, Robert H wrote:
> What is a good beginners programming book for PHP? I like "dead trees" more
> than reading stuff on my screen, so I am looking for a book.
O'Reilly is good for getting the facts. You could start with Programming PHP:
http://oreilly.com/catal
The thing is, the file_get_contents() fails the same way on local URLs -- that
is, web sites hosted on the same machine. Or even using the machine's own IP
address.
On 2009-12-13, at 4:00 AM, Gaurav Kumar wrote:
> Hi Rene,
>
> The only thing which is a hurdle is that your system/computer is no
Well I would recommend jQuery for client-side ajax.
But if you're looking for an integrated solution for php on the server-side,
then you might want to check out Raxan for PHP - http://raxanpdi.com
Best regards,
__
Raymond Irving
Raxan for PHP - PHP/Ajax made simple
___
33 matches
Mail list logo