Re: [PHP] Using Table prefixes

2013-06-10 Thread Tamara Temple
Julian Wanke 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 data > team

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 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 wrote: > Tell this the facebook, google or nsa data team ^^ > > Am 10.06.2013, 16:15 Uhr, schri

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 : On Jun 8, 2013, at 4:17 PM, Julian Wanke 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 -- p

Re: [PHP] Using Table prefixes

2013-06-10 Thread Tedd Sperling
On Jun 8, 2013, at 4:17 PM, Julian Wanke 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 have too many

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:56 PM, Tamara Temple wrote: > Tedd Sperling wrote: >> On Jun 8, 2013, at 3:00 PM, Ashley Sheridan >> wrote: >> dealTek 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

Re: [PHP] Using Table prefixes

2013-06-08 Thread Bastien
Bastien Koert On 2013-06-08, at 5:58 PM, Tamara Temple wrote: > Julian Wanke 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 inst

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Julian Wanke 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 08.06.2013, 21:46 U

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tamara Temple
Tedd Sperling wrote: > On Jun 8, 2013, at 3:00 PM, Ashley Sheridan wrote: > dealTek 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 : On Jun 8, 2013, at 3:00 PM, Ashley Sheridan wrote: dealTek wrote: I can see the basic need for a table pr

Re: [PHP] Using Table prefixes

2013-06-08 Thread Tedd Sperling
On Jun 8, 2013, at 3:00 PM, Ashley Sheridan wrote: dealTek 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- >> however I was told a long time ago

Re: [PHP] Using Table prefixes

2013-06-08 Thread Ashley Sheridan
dealTek 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 >

[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 ago

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:25 PM, Suraj Shah wrote: > > > On 23/08/2012 20:12, "Matijn Woudt" wrote: > > > > On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan > wrote: > > > On Thu, 2012-08-23 at 20:33 +0200, Matijn Woudt wrote: > >> >> OK thanks Matijn. >> >> I’ll google it now and install it. >>

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 20:12, "Matijn Woudt" wrote: On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan 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 o

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:12 PM, Ashley Sheridan 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 cop

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 9:14 PM, Suraj Shah wrote: > > > > On 23/08/2012 20:12, "Ashley Sheridan" 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 su

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 20:12, "Ashley Sheridan" 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 over but not sure

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

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:33, "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 t

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 T

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:26, "Matijn Woudt" wrote: On Thu, Aug 23, 2012 at 8:21 PM, Suraj Shah wrote: On 23/08/2012 19:11, "Matijn Woudt" http://tijn...@gmail.com> > wrote: > On Thu, Aug 23, 2012 at 8:12 PM, Suraj Shah > wrote: >> Thanks for your reply Ashley. >> >> I’m

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 8:21 PM, Suraj Shah wrote: > > > > On 23/08/2012 19:11, "Matijn Woudt" wrote: > > > On Thu, Aug 23, 2012 at 8:12 PM, 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 m

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Suraj Shah
On 23/08/2012 19:11, "Matijn Woudt" wrote: > On Thu, Aug 23, 2012 at 8:12 PM, 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? >> H

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, >

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 rea

Re: [PHP] Using PEAR and PHP

2012-08-23 Thread Matijn Woudt
On Thu, Aug 23, 2012 at 8:12 PM, 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, > S

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" wrote: On Thu, 20

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 doin

[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 th

Re: [PHP] using phar and compression

2012-08-09 Thread Hajo Locke
Thanks, Hajo - Original Message - From: "Alan Hoffmeister" To: "Hajo Locke" 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

[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"; buildFromDirectory(dirname(__FILE__) . '/web'); $phar->setStub($phar->createDefaultStub('index.php')); $compressed = $phar->convertToExecutable(Phar::PHAR,Phar::GZ, '.phar

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 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 > the name of th

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 Mail

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 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 and password

[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, n

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

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 wrote: > On Sat, 02 Jun 2012 21:35:28 +0200, Matijn Woudt 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

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 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 suggested in [2], you c

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 wrote: > On Sat, 02 Jun 2012 17:13:55 +0200, Matijn Woudt 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 >> >>

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 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] http://www.php.net/manual/en/functions.arguments.php#example-153 Hi, T

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 no

[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 can

[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 string

[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. I

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 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 $command be

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 pa

[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 (I

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

[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 surround

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 http:

Re: [PHP] Using function prototypes in code

2011-08-10 Thread David Harkness
On Tue, Aug 9, 2011 at 6:10 PM, Frank Thynne 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 future, but for now yo

Re: [PHP] Using function prototypes in code

2011-08-10 Thread Tim Streater
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. So add the appropriate comments to your functions. > This is what I tried:

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) { > // do

[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 t

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: > >

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 giv

[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 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

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 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-- http://c

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 wrote: > 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

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 wrote: > 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 might get a bette

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 j

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 wrote: > 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:

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-10 Thread Richard Quadling
On 10 July 2011 11:38, Negin Nickparsa 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 the URL is corre

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 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 http://w

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 http://www.snort.org/reg-rules/snortrules-snapshot-

[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 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 ]

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 witho

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 su

[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 possib

[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

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 addressed

Re: [PHP] PHP -- using without installing

2011-02-14 Thread Richard Quadling
On 14 February 2011 21:50, Steve Staples 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 i

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. >

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

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 >

[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, sen

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 var

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

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

2011-02-13 Thread Paul M Foster
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 that we can use the SAME > >variables in GET an

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 confl

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 variable_

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 smal

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 wrote: On 25 June 2010 21:02, Ashley Sheridan wrote: On Fri, 2010-06-25 at 21:01 +0200, Peter Lind wrote: On 25 June 2010 20:59, Ashley Sheridan

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

2010-06-25 Thread Peter Lind
On 25 June 2010 21:02, Ashley Sheridan wrote: > > On Fri, 2010-06-25 at 21:01 +0200, Peter Lind wrote: > > On 25 June 2010 20:59, Ashley Sheridan wrote: > > > > On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: > > > > On 25 June 2010 19:35, Ashley Sheridan wrote: > > > On Fri, 2010-06-25 at

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 wrote: > > > > On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: > > > > On 25 June 2010 19:35, Ashley Sheridan wrote: > > > On Fri, 2010-06-25 at 19:31 +0200, Karl Cifius wrote: > > > > > >> Hi, > >

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

2010-06-25 Thread Peter Lind
On 25 June 2010 20:59, Ashley Sheridan wrote: > > On Fri, 2010-06-25 at 20:57 +0200, Peter Lind wrote: > > On 25 June 2010 19:35, Ashley Sheridan 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 u

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 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

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

2010-06-25 Thread Peter Lind
On 25 June 2010 19:35, Ashley Sheridan 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 server currently i

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 thes

[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 fac

[PHP] Using LDAPS with PHP / certificates

2010-06-11 Thread Jérémy ESCOLANO
Hi, I'm trying to contact an openLDAP from Apache server (on windows) using PHP using LDAPS Here is my sample code : $host="ldaps://srvLDAP"; $port="636"; $ds=ldap_connect($host,$port); ldap_set_option($ds,LDAP_OPT_PROTOCOL_VERSION,3); $r=ldap_bind($ds,"cn=a

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 wrote: > On Fri, May 21, 2010 at 17:02, MuFei wrote: >> Hi Ashley, >> Your way works also great, But I have some question thought: >> When I only use the first half of the code you suggested: >>

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

2010-05-21 Thread Daniel P. Brown
On Fri, May 21, 2010 at 17:02, MuFei wrote: > Hi Ashley, > Your way works also great, But I have some question thought: > When I only use the first half of the code you suggested: > $question = (isset($_GET['question'])); > then use the $question in the switch it works as I want it. > If I use the

  1   2   3   4   5   6   7   8   9   10   >