Re: [PHP] Using Table prefixes

2013-06-10 Thread Tedd Sperling
On Jun 8, 2013, at 4:17 PM, Julian Wanke jswp...@gmx.at wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... What -- people have more than one client?!? My thoughts: A client is like a girlfriend -- if you

Re: [PHP] Using Table prefixes

2013-06-10 Thread Julian Wanke
Tell this the facebook, google or nsa data team ^^ Am 10.06.2013, 16:15 Uhr, schrieb Tedd Sperling tedd.sperl...@gmail.com: On Jun 8, 2013, at 4:17 PM, Julian Wanke jswp...@gmx.at wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the

Re: [PHP] Using Table prefixes

2013-06-10 Thread Tedd Sperling
Hi: I am sure they do not turn over a 1000 clients to a single person. Cheers, tedd _ tedd.sperl...@gmail.com http://sperling.com On Jun 10, 2013, at 2:11 PM, Julian Wanke jswp...@gmx.at wrote: Tell this the facebook, google or nsa data team ^^ Am 10.06.2013,

Re: [PHP] Using Table prefixes

2013-06-10 Thread Julian Wanke
There servers are so good configured, that they don't need much maintainance. Facebook has 1,11 Billion Accounts. If we divide this through 1000 members per data team member they need 1 Million data team mebers, each of them has a salary which I would say is about 2000$. That means they have

Re: [PHP] Using Table prefixes

2013-06-10 Thread Tamara Temple
Julian Wanke jswp...@gmx.at wrote: Facebook has 1,11 Billion Accounts. If we divide this through 1000 members per data team member they need 1 Million data team mebers, each of them has a salary which I would say is about 2000$. That means they have to pay 2 Billion US$ (!) per month to the

[PHP] Using Table prefixes

2013-06-08 Thread dealTek
Hi all, I can see the basic need for a table prefix in a case where you may use one mysql database for several projects at once so as to distinguish tables per project like... Project 1 mysales_contacts mysales_invoices etc and jobs_contacts jobs_invoices however I was told a long time

Re: [PHP] Using Table prefixes

2013-06-08 Thread Ashley Sheridan
dealTek deal...@gmail.com wrote: Hi all, I can see the basic need for a table prefix in a case where you may use one mysql database for several projects at once so as to distinguish tables per project like... Project 1 mysales_contacts mysales_invoices etc and jobs_contacts jobs_invoices

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tedd Sperling
On Jun 8, 2013, at 3:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: dealTek deal...@gmail.com wrote: I can see the basic need for a table prefix in a case where you may use one mysql database for several projects at once so as to distinguish tables per project like... -snip-

Re: [PHP] Using Table prefixes

2013-06-08 Thread Julian Wanke
A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... Am 08.06.2013, 21:46 Uhr, schrieb Tedd Sperling tedd.sperl...@gmail.com: On Jun 8, 2013, at 3:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: dealTek

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Tedd Sperling tedd.sperl...@gmail.com wrote: On Jun 8, 2013, at 3:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: dealTek deal...@gmail.com wrote: I can see the basic need for a table prefix in a case where you may use one mysql database for several projects at once so as to

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Julian Wanke jswp...@gmx.at wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... I believe what is being talked about is one DB per application install -- 'client' can be a way-overloaded term. Am

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:58 PM, Tamara Temple tamouse.li...@gmail.com wrote: Julian Wanke jswp...@gmx.at wrote: A database for each client? Isn't that over-powered? If you have 1000 clients, you would loose the overview over your databases... I believe what is being talked about

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:56 PM, Tamara Temple tamouse.li...@gmail.com wrote: Tedd Sperling tedd.sperl...@gmail.com wrote: On Jun 8, 2013, at 3:00 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: dealTek deal...@gmail.com wrote: I can see the basic need for a table prefix

[PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
Hi. I am currently working on a website which uses PHP as an integral programming language as part of it. I am trying to replicate the website’s contents from one ftp server to another but am encountering serious issues in doing so. I’ve spent two days trying to find out the reasons and now

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Ashley Sheridan
On Thu, 2012-08-23 at 18:42 +0100, Suraj Shah wrote: Hi. I am currently working on a website which uses PHP as an integral programming language as part of it. I am trying to replicate the website’s contents from one ftp server to another but am encountering serious issues in doing so.

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
Thanks for your reply Ashley. I’m getting the attached error message which I can’t seem to solve. If it’s just a matter of adding code to use for a library, would this be possible? How do I go about configuring it? Many thanks, Suraj On 23/08/2012 19:08, Ashley Sheridan

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 8:12 PM, Suraj Shah su...@aifa.net wrote: Thanks for your reply Ashley. I’m getting the attached error message which I can’t seem to solve. If it’s just a matter of adding code to use for a library, would this be possible? How do I go about configuring it? Many

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Lester Caine
Suraj Shah wrote: I am currently working on a website which uses PHP as an integral programming language as part of it. I am trying to replicate the website’s contents from one ftp server to another but am encountering serious issues in doing so. I’ve spent two days trying to find out the

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Ashley Sheridan
On Thu, 2012-08-23 at 19:12 +0100, Suraj Shah wrote: Thanks for your reply Ashley. I’m getting the attached error message which I can’t seem to solve. If it’s just a matter of adding code to use for a library, would this be possible? How do I go about configuring it? Many thanks, Suraj

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:11, Matijn Woudt tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 8:12 PM, Suraj Shah su...@aifa.net wrote: Thanks for your reply Ashley. I’m getting the attached error message which I can’t seem to solve. If it’s just a matter of adding code to use for a library, would

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 8:21 PM, Suraj Shah su...@aifa.net wrote: On 23/08/2012 19:11, Matijn Woudt tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 8:12 PM, Suraj Shah su...@aifa.net wrote: Thanks for your reply Ashley. I’m getting the attached error message which I can’t seem to

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:26, Matijn Woudt tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 8:21 PM, Suraj Shah su...@aifa.net wrote: On 23/08/2012 19:11, Matijn Woudt tijn...@gmail.com http://tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 8:12 PM, Suraj Shah su...@aifa.net

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a config.php file in the sub-directory of the old server. I’ve copied these over but not sure why it still doesn’t recognise it. I’ve amended the code to point to the new server as well. Suraj The old

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:33, Matijn Woudt tijn...@gmail.com wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a config.php file in the sub-directory of the old server. I’ve copied these over but not sure why it still doesn’t recognise it. I’ve amended

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Ashley Sheridan
On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a config.php file in the sub-directory of the old server. I’ve copied these over but not sure why it still doesn’t recognise it. I’ve amended

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 20:12, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a config.php file in the sub-directory of the old server. I’ve copied these

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:14 PM, Suraj Shah su...@aifa.net wrote: On 23/08/2012 20:12, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan a...@ashleysheridan.co.ukwrote: ** On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a config.php file in the sub-directory of the old server.

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 20:12, Matijn Woudt tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn. I’ll google it now and install it. There is a site.php as well as a

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:25 PM, Suraj Shah su...@aifa.net wrote: On 23/08/2012 20:12, Matijn Woudt tijn...@gmail.com wrote: On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: OK thanks Matijn.

Re: [PHP] using phar and compression

2012-08-09 Thread Hajo Locke
- Original Message - From: Alan Hoffmeister alanhoffmeis...@gmail.com To: Hajo Locke hajo.lo...@gmx.de Sent: Wednesday, August 08, 2012 1:32 PM Subject: Re: [PHP] using phar and compression Why don't you use Phar::compress() instead of Phar::convertToExecutable() and see what happens

[PHP] using phar and compression

2012-08-08 Thread Hajo Locke
Hello, i do some tests with phar. I have following script which is just adding some file and index.php is echoing hello; ?php $phar = new Phar('project.phar', 0, 'project.phar'); $phar-buildFromDirectory(dirname(__FILE__) . '/web'); $phar-setStub($phar-createDefaultStub('index.php'));

Re: [PHP] Using named Pipes between PHP and ZIP

2012-07-09 Thread Dennis Heck
Unfortunately it makes no difference if i use zip with 2 - or if I leave them ommited. The longer I guess about it, the more I think it might be a ZIP topic, namely how the stream to stdin needs to be like so zip will know the name of the file from it. Regards, Dennis -- PHP General

Re: [PHP] Using named Pipes between PHP and ZIP

2012-07-09 Thread Matijn Woudt
On Mon, Jul 9, 2012 at 7:19 PM, Dennis Heck n...@dennisheck.de wrote: Unfortunately it makes no difference if i use zip with 2 - or if I leave them ommited. The longer I guess about it, the more I think it might be a ZIP topic, namely how the stream to stdin needs to be like so zip will know

[PHP] Using named Pipes between PHP and ZIP

2012-07-08 Thread Dennis Heck
Hello everyone, I'm looking for a solution for the following: 1) collecting data from a simple html form and send them to a php script 2) take the data and place them in a php-generated excel sheet 3) zip the excel sheet and password protect the zip file (standard encription will be sufficent,

Re: [PHP] Using named Pipes between PHP and ZIP

2012-07-08 Thread tamouse mailing lists
≈On Sun, Jul 8, 2012 at 11:30 AM, Dennis Heck n...@dennisheck.de wrote: Hello everyone, I'm looking for a solution for the following: 1) collecting data from a simple html form and send them to a php script 2) take the data and place them in a php-generated excel sheet 3) zip the excel sheet

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-04 Thread ma...@behnke.biz
324...@mail.muni.cz hat am 1. Juni 2012 um 21:52 geschrieben: Hi, as I accidentally found out that PHP allows default argument values to occur not only at the end of parameter list: function ( Classname $a, Classname $b = null, Classname $c ) ... Unfortunately, documentation does not

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-03 Thread oliver gondža
On Sat, 02 Jun 2012 21:35:28 +0200, Matijn Woudt tijn...@gmail.com wrote: It does not state it works only at the end of the list, it states that it only makes sense to use it at the end of the argument list to be able to call the function with less arguments. In case you want to use it as

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-03 Thread Matijn Woudt
On Sun, Jun 3, 2012 at 4:48 PM, oliver gondža ogon...@gmail.com wrote: On Sat, 02 Jun 2012 21:35:28 +0200, Matijn Woudt tijn...@gmail.com wrote: It does not state it works only at the end of the list, it states that it only makes sense to use it at the end of the argument list to be able to

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-02 Thread Matijn Woudt
On Fri, Jun 1, 2012 at 9:52 PM, 324...@mail.muni.cz wrote: Hi, as I accidentally found out that PHP allows default argument values to occur not only at the end of parameter list: function ( Classname $a, Classname $b = null, Classname $c ) ... Unfortunately, documentation does not state

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-02 Thread oliver gondža
On Sat, 02 Jun 2012 17:13:55 +0200, Matijn Woudt tijn...@gmail.com wrote: Hi Oliver, I think the example at [1] demonstrates that it is possible, but it also notes that it is pretty useless. Why are you interested in this? - Matijn [1]

Re: [PHP] Using default argument values in the middle of the argument list

2012-06-02 Thread Matijn Woudt
On Sat, Jun 2, 2012 at 8:30 PM, oliver gondža ogon...@gmail.com wrote: On Sat, 02 Jun 2012 17:13:55 +0200, Matijn Woudt tijn...@gmail.com wrote: Hi Oliver, I think the example at [1] demonstrates that it is possible, but it also notes that it is pretty useless. Why are you interested in

[PHP] Using default argument values in the middle of the argument list

2012-06-01 Thread 324706
Hi, as I accidentally found out that PHP allows default argument values to occur not only at the end of parameter list: function ( Classname $a, Classname $b = null, Classname $c ) ... Unfortunately, documentation does not state what is supposed to happen in such situation. It appears $b

[PHP] Using a stream filter to do a search and replace on an XML file.

2012-03-19 Thread Richard Quadling
Hello. Just learning about stream filtering and have 2 questions I hope someone can give me some pointers on. 1 - Bucketing. In reading a bit about how this works, the data is passed in chunks through the filter - known as a bucket brigade. How does this work if, for example, the search

[PHP] Using SimpleXMLIterator with a Iterator Filter.

2011-11-15 Thread Richard Quadling
Hi. I can never seem to get the SPL right in my head. So, I hope someone can help. I have many XML streams that I can use SimpleXMLIterator on. Each streams is structured slightly differently. Some streams contain unused data and may or may not hold the data at the same level in the stream.

[PHP] using passthru or system() even and passing the $_FILES array

2011-09-28 Thread Anton Heuschen
Good day, I have a question and something that either does not work, or I have not gotten it to work the way I want to. I have a start page, which is a form, that takes 2 text fields and also a Attachment field. Then it calls the first page, which is supposed to spawn of a call to another page

Re: [PHP] using passthru or system() even and passing the $_FILES array

2011-09-28 Thread Jim Lucas
On 9/28/2011 12:07 AM, Anton Heuschen wrote: Good day, I have a question and something that either does not work, or I have not gotten it to work the way I want to. I have a start page, which is a form, that takes 2 text fields and also a Attachment field. Then it calls the first page,

Re: [PHP] using passthru or system() even and passing the $_FILES array

2011-09-28 Thread tamouse mailing lists
On Wed, Sep 28, 2011 at 10:52 AM, Jim Lucas li...@cmsws.com wrote: On 9/28/2011 12:07 AM, Anton Heuschen wrote: $command = '/usr/bin/php -f /var/www/details/Write.php '.$email.' '.$actionDate.' '.$files.' php.log'; system($command,$return); At this point I would suggest that you echo

[PHP] Using stand-alone PHP scripts with Drupal

2011-08-24 Thread Geoff Shang
Hi, I know this is probably more a Drupal question, but I'm guessing some here have probably had to deal with this. I've written some PHP code which works just fine on its own. Now someone wants to include it in their Drupal site, with the regular headers and footers for their site

Re: [PHP] Using stand-alone PHP scripts with Drupal

2011-08-24 Thread Florian Lemaitre
Le 24/08/2011 12:24, Geoff Shang a écrit : Hi, I know this is probably more a Drupal question, but I'm guessing some here have probably had to deal with this. I've written some PHP code which works just fine on its own. Now someone wants to include it in their Drupal site, with the regular

Re: [PHP] Using function prototypes in code

2011-08-10 Thread Tim Streater
On 10 Aug 2011 at 02:10, Frank Thynne frank.thy...@gmail.com wrote: In the interest of clarity and maintainability I would like to be able to write code that makes it clear what kind of arguments a function expects and what it returns. So add the appropriate comments to your functions.

Re: [PHP] Using function prototypes in code

2011-08-10 Thread David Harkness
On Tue, Aug 9, 2011 at 6:10 PM, Frank Thynne frank.thy...@gmail.com wrote: function integer int_func(string $s) { // does something like, say, converting five to 5 } As Stuart pointed out, type-hinting currently only works for classes and arrays. Scalar type-hinting is planned for the

Re: [PHP] Using function prototypes in code

2011-08-10 Thread Simon J Welsh
On 10/08/2011, at 1:10 PM, Frank Thynne wrote: To confuse me a bit further, I can't find a definitive list of the basic type names. For example, is it integer or int? Both. http://php.net/manual/en/language.types.type-juggling.php#language.types.typecasting --- Simon Welsh Admin of

[PHP] Using function prototypes in code

2011-08-09 Thread Frank Thynne
In the interest of clarity and maintainability I would like to be able to write code that makes it clear what kind of arguments a function expects and what it returns. This is what I tried: function integer int_func(string $s) { // does something like, say, converting five to 5 } There are

Re: [PHP] Using function prototypes in code

2011-08-09 Thread Stuart Dallas
On 10 Aug 2011, at 02:10, Frank Thynne wrote: In the interest of clarity and maintainability I would like to be able to write code that makes it clear what kind of arguments a function expects and what it returns. This is what I tried: function integer int_func(string $s) { // does

[PHP] using pg_query in a function not working

2011-08-05 Thread Marc Fromm
I have to sql statements in functions to use in my code. Even though the echo statements show the sql is valid the sql does not seem to execute and I get the error, PHP Warning: pg_fetch_object() expects parameter 1 to be resource, boolean given in . . . line 154 . . . Line 154: while($val =

Re: [PHP] using pg_query in a function not working

2011-08-05 Thread Jim Lucas
On 8/5/2011 12:08 PM, Marc Fromm wrote: I have to sql statements in functions to use in my code. Even though the echo statements show the sql is valid the sql does not seem to execute and I get the error, PHP Warning: pg_fetch_object() expects parameter 1 to be resource, boolean given in

RE: [PHP] using pg_query in a function not working

2011-08-05 Thread Marc Fromm
Thanks! Sometimes I'm blind. -Original Message- From: Jim Lucas [mailto:li...@cmsws.com] Sent: Friday, August 05, 2011 1:01 PM To: Marc Fromm Cc: php-general@lists.php.net Subject: Re: [PHP] using pg_query in a function not working On 8/5/2011 12:08 PM, Marc Fromm wrote: I have

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Richard Quadling
On 10 July 2011 11:38, Negin Nickparsa nickpa...@gmail.com wrote: I want to make a batch file and then exec it in php You say Batch file. Are you using Windows? If so, try double quotes. That is the norm for windows. And you can either use a space or change it to %20 in the URL. Make sure

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Negin Nickparsa
I'm in opensuse I tried wget url for another site it is working there(without -O) for example I can have this: wget http://library.linode.com/assets/695-wget-example.txt and it is working it will be downloaded on /root but I'm so confused about snort rules that why I can't download them I also

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Stuart Dallas
On Mon, Jul 11, 2011 at 8:57 AM, Negin Nickparsa nickpa...@gmail.comwrote: I logined in there and I used my oinkcode I tried to download just one rule I mean *.rules It worked I can download one by one but not the group of them maybe their files are corrupted see here that I downloaded:

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Negin Nickparsa
Sorry that I disssturbed you I appologize you,ok I will solve my problem in another mailing list my application is in php I simplified using snort by writing an application but in the updating part of files I wanted to automatically download the files which user will have nothing to do in shell

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Stuart Dallas
On Mon, Jul 11, 2011 at 9:10 AM, Negin Nickparsa nickpa...@gmail.comwrote: Sorry that I disssturbed you I appologize you,ok I will solve my problem in another mailing list I'm not disturbed (well, maybe a little :D), just pointing out that since your issue is to do with Snort and not PHP you

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Stuart Dallas
On Mon, Jul 11, 2011 at 8:31 AM, Negin Nickparsa nickpa...@gmail.comwrote: I'm in opensuse I tried wget url for another site it is working there(without -O) for example I can have this: wget http://library.linode.com/assets/695-wget-example.txt and it is working it will be downloaded on

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Negin Nickparsa
I logined in there and I used my oinkcode I tried to download just one rule I mean *.rules It worked I can download one by one but not the group of them maybe their files are corrupted see here that I downloaded: wget http://cvs.snort.org/viewcvs.cgi/snort/rules/dos.rules --12:09:32--

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Negin Nickparsa
I mean it was my own oinkcode I was a registered user

Re: [PHP] using wget in shell for download(snort)

2011-07-11 Thread Negin Nickparsa
I appreciate your attention,thank you very much I have some problems like interdict in my country access that I can't access the whole sites like this one I have VPN that I use in my home but not in another locations like here. I'll try it in another situation BTW thank you very much Stuart

[PHP] using wget in shell for download(snort)

2011-07-10 Thread Negin Nickparsa
I want to make a batch file and then exec it in php I have a problem in batch file wget have been installed in Yast I want to download a RuleFile from snort.org I used this on shell: $ wget http://www.snort.org/reg-rules/snortrules-snapshot-2900.tar.gz/c0e9480af637e53c7aae823a40a131edc1343db5\-O

Re: [PHP] using wget in shell for download(snort)

2011-07-10 Thread Tamara Temple
On Jul 10, 2011, at 5:38 AM, Negin Nickparsa wrote: I want to make a batch file and then exec it in php I have a problem in batch file wget have been installed in Yast I want to download a RuleFile from snort.org I used this on shell: $ wget

Re: [PHP] using wget in shell for download(snort)

2011-07-10 Thread Geoff Shang
On Sun, 10 Jul 2011, Tamara Temple wrote: On Jul 10, 2011, at 5:38 AM, Negin Nickparsa wrote: I want to make a batch file and then exec it in php I have a problem in batch file wget have been installed in Yast I want to download a RuleFile from snort.org I used this on shell: $ wget

Re: [PHP] using wget in shell for download(snort)

2011-07-10 Thread Torsten Rosenberger
Hello Try wget 'url' BR -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Re: [PHP] using XHTML FRAMESET with Zend Layout on Zend_App (MVC)

2011-05-04 Thread Bjoern Bartels
hello Dare! it seems you got something wrong there... the .phtml files are not meant to be called directly. for the frames' src-attributes you'll have to provide a full URI calling another controller's/module's action to output the frame content. YT BB [ Björn Bartels

[PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
Assume you have a hosting account with PHP5 support, but no SQLite support. Yes, supposedly SQLite support is standard for PHP5, but there's no law that keeps someone from compiling PHP5 without SQLite support. So assuming that's the case, given that SQLite is a pretty simple product, is it

RE: [PHP] Using SQLite without hosting support

2011-05-03 Thread admin
:36 PM To: php-general@lists.php.net Subject: [PHP] Using SQLite without hosting support Assume you have a hosting account with PHP5 support, but no SQLite support. Yes, supposedly SQLite support is standard for PHP5, but there's no law that keeps someone from compiling PHP5 without SQLite support

Re: [PHP] Using SQLite without hosting support

2011-05-03 Thread Paul M Foster
On Tue, May 03, 2011 at 02:14:17PM -0400, ad...@buskirkgraphics.com wrote: -Original Message- From: Paul M Foster [mailto:pa...@quillandmouse.com] Sent: Tuesday, May 03, 2011 12:36 PM To: php-general@lists.php.net Subject: [PHP] Using SQLite without hosting support Assume you

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-15 Thread tedd
At 4:32 PM -0500 2/14/11, Paul M Foster wrote: Understood. It sounded like you were saying you could only get back POST or GET values from a page, which isn't true. The form itself, yes, can only have one or the other method attribute. What it sounded like was: What others have not

[PHP] Re: PHP -- using without installing

2011-02-15 Thread Michelle Konzack
Hello Steve Staples, Am 2011-02-14 12:32:51, hacktest Du folgendes herunter: Is there such a thing? or will I have to have a pre-req of php and php-cgi must be installed on linux disclaimer? If you are a OVER-GEEK, youc can compile the php and php-cli 100% static, which I have done some

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-14 Thread tedd
At 11:58 PM -0500 2/13/11, Paul M Foster wrote: On Sun, Feb 13, 2011 at 02:25:45PM -0500, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-14 Thread tedd
At 10:31 PM -0500 2/13/11, Robert Cummings wrote: On 11-02-13 02:25 PM, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME

[PHP] PHP -- using without installing

2011-02-14 Thread Steve Staples
Hi! I've been developing this stand alone application, found the webserver that I am going to use (it is written in php) and all is good... on windows. I can get the php.exe and php-cgi.exe running no issue on windows without installing them... even tested on 3 machines (developed on Vista, sent

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Paul M Foster
On Mon, Feb 14, 2011 at 12:32:51PM -0500, Steve Staples wrote: Hi! I've been developing this stand alone application, found the webserver that I am going to use (it is written in php) and all is good... on windows. I can get the php.exe and php-cgi.exe running no issue on windows

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-14 Thread Paul M Foster
On Mon, Feb 14, 2011 at 12:30:56PM -0500, tedd wrote: At 11:58 PM -0500 2/13/11, Paul M Foster wrote: On Sun, Feb 13, 2011 at 02:25:45PM -0500, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Steve Staples
On Mon, 2011-02-14 at 16:10 -0500, Paul M Foster wrote: On Mon, Feb 14, 2011 at 12:32:51PM -0500, Steve Staples wrote: Hi! I've been developing this stand alone application, found the webserver that I am going to use (it is written in php) and all is good... on windows. I can

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Richard Quadling
On 14 February 2011 21:50, Steve Staples sstap...@mnsi.net wrote: On Mon, 2011-02-14 at 16:10 -0500, Paul M Foster wrote: On Mon, Feb 14, 2011 at 12:32:51PM -0500, Steve Staples wrote: Hi! I've been developing this stand alone application, found the webserver that I am going to use (it

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-13 Thread tedd
At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME variables in GET and POST variable sets and that conflict resolution is done by

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-13 Thread Robert Cummings
On 11-02-13 02:25 PM, tedd wrote: At 10:53 AM +0530 2/12/11, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME variables in GET and POST variable sets and that

Re: [PHP] using BOTH GET and POST in the same page.

2011-02-12 Thread Jim Lucas
On 2/11/2011 9:23 PM, Ashim Kapoor wrote: Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME variables in GET and POST variable sets and that conflict resolution is done by variable_order

[PHP] using BOTH GET and POST in the same page.

2011-02-11 Thread Ashim Kapoor
Dear All, I am reading PHP5 and MySQL Bible. Chapter 7 of the book says that PHP can use GET and POST in the SAME page! Also it says that we can use the SAME variables in GET and POST variable sets and that conflict resolution is done by variable_order option in php.ini Can some one write a small

Re: [PHP] Using fopen or SQL to check image

2010-06-26 Thread Karl Cifius
Thanks Ashley and Peter for your suggestions, I've definitely learned some new stuff here. Best, Karl On 25 jun 2010, at 21.07, Peter Lind peter.e.l...@gmail.com wrote: On 25 June 2010 21:02, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 21:01 +0200, Peter Lind

[PHP] Using fopen or SQL to check image

2010-06-25 Thread Karl Cifius
Hi, I'm making a Facebook application that can generate images to user's albums. To publish a story a thumbnail of this image is stored on my server. Since this server currently is very limited I want to be able to clean these thumbnails pretty often. To not get broken links in older

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Ashley Sheridan
On Fri, 2010-06-25 at 19:31 +0200, Karl Cifius wrote: Hi, I'm making a Facebook application that can generate images to user's albums. To publish a story a thumbnail of this image is stored on my server. Since this server currently is very limited I want to be able to clean these

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Peter Lind
On 25 June 2010 19:35, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 19:31 +0200, Karl Cifius wrote: Hi, I'm making a Facebook application that can generate images to user's albums. To publish a story a thumbnail of this image is stored on my server. Since this

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Ashley Sheridan
On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: On 25 June 2010 19:35, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 19:31 +0200, Karl Cifius wrote: Hi, I'm making a Facebook application that can generate images to user's albums. To publish a story a

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Peter Lind
On 25 June 2010 20:59, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: On 25 June 2010 19:35, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 19:31 +0200, Karl Cifius wrote: Hi, I'm making a Facebook

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Ashley Sheridan
On Fri, 2010-06-25 at 21:01 +0200, Peter Lind wrote: On 25 June 2010 20:59, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: On 25 June 2010 19:35, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 19:31 +0200,

Re: [PHP] Using fopen or SQL to check image

2010-06-25 Thread Peter Lind
On 25 June 2010 21:02, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 21:01 +0200, Peter Lind wrote: On 25 June 2010 20:59, Ashley Sheridan a...@ashleysheridan.co.uk wrote: On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: On 25 June 2010 19:35, Ashley

Re: [PHP] Using if(isset()) with $_GET and switch and default

2010-05-22 Thread MuFei
Yes, I got it now. Thanks Daniel Thanks everyone! On Sat, May 22, 2010 at 12:08 AM, Daniel P. Brown daniel.br...@parasane.net wrote: On Fri, May 21, 2010 at 17:02, MuFei mufe...@gmail.com wrote: Hi Ashley, Your way works also great, But I have some question thought: When I only use the first

[PHP] Using if(isset()) with $_GET and switch and default

2010-05-21 Thread MuFei
Hi, I'm still new to PHP and everyday I learn something new. Today I was trying to make some script using the switch statement but I have some issue that I don't know how to get around it. It's a simple test script that contain only one file, it has some questions that I want only one question

Re: [PHP] Using if(isset()) with $_GET and switch and default

2010-05-21 Thread Adam Richardson
On Fri, May 21, 2010 at 3:24 PM, MuFei mufe...@gmail.com wrote: Hi, I'm still new to PHP and everyday I learn something new. Today I was trying to make some script using the switch statement but I have some issue that I don't know how to get around it. It's a simple test script that contain

Re: [PHP] Using if(isset()) with $_GET and switch and default

2010-05-21 Thread Ashley Sheridan
On Fri, 2010-05-21 at 16:18 -0400, Adam Richardson wrote: On Fri, May 21, 2010 at 3:24 PM, MuFei mufe...@gmail.com wrote: Hi, I'm still new to PHP and everyday I learn something new. Today I was trying to make some script using the switch statement but I have some issue that I don't

  1   2   3   4   5   6   7   8   9   10   >