[PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I am thinking that you can not do this, but was wondering if there was something like that. Thanks, Karl

Re: [PHP] PHP Reference

2010-08-14 Thread Peter Lind
On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I am thinking that you can not do

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
That is what I thought. Thank you for confirming. Karl On Aug 14, 2010, at 1:54 AM, Peter Lind wrote: On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG:

Re: [PHP] PHP Reference

2010-08-14 Thread Andre Polykanine
Hello Karl, If I understood you properly, try this: ?SomeFunction();? -- With best regards from Ukraine, Andre Skype: Francophile Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion - Original message - From: Karl DeSaulniers k...@designdrumm.com To:

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
Thank you Andre. Yes, I had been doing it that way, but was just wondering if PHP had a reference like that of javascript with the colin : in it. Best, Karl On Aug 14, 2010, at 3:50 AM, Andre Polykanine wrote: Hello Karl, If I understood you properly, try this: ?SomeFunction();? -- With

Re: [PHP] PHP Reference

2010-08-14 Thread Ashley Sheridan
On Sat, 2010-08-14 at 01:57 -0500, Karl DeSaulniers wrote: That is what I thought. Thank you for confirming. Karl On Aug 14, 2010, at 1:54 AM, Peter Lind wrote: On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote: Hello all, I was wondering, can you

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
On Aug 14, 2010, at 5:19 AM, Ashley Sheridan wrote: On Sat, 2010-08-14 at 01:57 -0500, Karl DeSaulniers wrote: That is what I thought. Thank you for confirming. Karl On Aug 14, 2010, at 1:54 AM, Peter Lind wrote: On 14 August 2010 08:08, Karl DeSaulniers k...@designdrumm.com wrote:

Re: [PHP] PHP Reference

2010-08-14 Thread tedd
At 1:08 AM -0500 8/14/10, Karl DeSaulniers wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I am thinking that you can not do this, but was wondering if

Re: [PHP] It's Friday (a MySQL Question)

2010-08-14 Thread tedd
At 6:53 PM -0400 8/13/10, chris h wrote: Tedd I don't know if this will resolve your issue or not, but have you looked into using mysqldump? http://dev.mysql.com/doc/refman/5.1/en/mysqldump.htmlhttp://dev.mysql.com/doc/refman/5.1/en/mysqldump.html That's what I use for my backups. Chris.

Re: [PHP] It's Friday (a MySQL Question)

2010-08-14 Thread chris h
Well you certainly can not use this without the command line, however some hosts restrict you from the command line but still allow you to run commands via php's exec() function (Rackspace Sites is an example of this). pseudo code example: exec('mysqldump [options] --all-databases ... '); Of

[PHP] PHP upload hangs on Safari

2010-08-14 Thread Don Wieland
Hi, I have a page that has 9 form actions which upload individual files one at a time. On my own server, it runs fine and there are no hangs. But when I install on my clients server. I creased their upload_max_filesize to 100MB. Still I get random hanging. Is there any thing else that I

Re: [PHP] PHP upload hangs on Safari

2010-08-14 Thread Ashley Sheridan
On Sat, 2010-08-14 at 08:08 -0700, Don Wieland wrote: Hi, I have a page that has 9 form actions which upload individual files one at a time. On my own server, it runs fine and there are no hangs. But when I install on my clients server. I creased their upload_max_filesize to 100MB.

[PHP] Need to check pdf for xss

2010-08-14 Thread Sebastian Ewert
Hi, before I allow to upload images I read them and check for several html tags. If they exist I don't allow the upload. Is their any need to check pdf files, too? At the time I'm doing this, but the result is that many files are denied because of unallowed html tags. -- PHP General Mailing

Re: [PHP] Need to check pdf for xss

2010-08-14 Thread Peter Lind
On 14 August 2010 22:36, Sebastian Ewert seb2...@yahoo.de wrote: Hi, before I allow to upload images I read them and check for several html tags. If they exist I don't allow the upload. Is their any need to check pdf files, too? At the time I'm doing this, but the result is that many files

Re: [PHP] Need to check pdf for xss

2010-08-14 Thread Sebastian
Peter Lind wrote: On 14 August 2010 22:36, Sebastian Ewert seb2...@yahoo.de wrote: Hi, before I allow to upload images I read them and check for several html tags. If they exist I don't allow the upload. Is their any need to check pdf files, too? At the time I'm doing this, but the result is

Re: [PHP] Need to check pdf for xss

2010-08-14 Thread Peter Lind
I'm guessing you may have been referring to something like: http://kestas.kuliukas.com/JavaScriptImage/ - this actually does seem to be a valid threat to IE6 and would go undetected by the measures proposed. Checking an image for script tags seems to the only way to check if IE6 will render it as

Re: [PHP] PHP Reference

2010-08-14 Thread Karl DeSaulniers
Thanks tedd. On Aug 14, 2010, at 7:45 AM, tedd wrote: At 1:08 AM -0500 8/14/10, Karl DeSaulniers wrote: Hello all, I was wondering, can you reference php in a url string like you can javascript. EG: javascript:someFunction() Can you do something similar in php like php:someFunction() I

Re: [PHP] Need to check pdf for xss

2010-08-14 Thread Paul M Foster
On Sat, Aug 14, 2010 at 10:36:07PM +0200, Sebastian Ewert wrote: Hi, before I allow to upload images I read them and check for several html tags. If they exist I don't allow the upload. Is their any need to check pdf files, too? At the time I'm doing this, but the result is that many files