RE: [PHP] question

2002-09-04 Thread Steve Bradwell
Maybe try somthing like this, write a function containing all your like statements. function likeStatements( ){ //write your statements in this function if they are always the same. } //then have an if structure like the following that calls that function in a while loop. if ( isset($a) && !i

RE: [PHP] question

2002-09-04 Thread Richard Black
Can you provide a bit more info??? Maybe a real life example of what you're trying to accomplish??? Richy == Richard Black Senior Developer, DataVisibility Ltd - http://www.datavisibility.com Tel: 0141 951 3481 Email: [EMAIL PROTECTED] -Original Mess

[PHP] question

2002-09-04 Thread dorevh
I have a php question. I would like to enter a "while" loop, but: I want it to be like this: when $a has a value, while $a... when $b has a value, while $b... (same statements as with $a) when $a has a value, and $b has a value, while $a and $b this is based on a search system in which the user

RE: [PHP] Help with inserting Flash into MySQL database

2002-09-04 Thread Mike Krisher
Right, but you need to insert your code block in a way that it is executed and then returns the name of a swf to load. Right now you are loading the client side object/embed tags that then calls another PHP file that returns the name or value of your SWF. You need to combine the two files and retu

Re: [PHP] fun with register_globals

2002-09-04 Thread Adam Williams
use $_GET[id] in the place of $id for each instance. Like if you had $new = $id + 1 change it to $new = $_GET[id] + 1 and such... Adam On Wed, 4 Sep 2002, Kelly Meeks wrote: > Hi folks, > > I might be late to the game with these questions, but I've just been bit by t

[PHP] fun with register_globals

2002-09-04 Thread Kelly Meeks
Hi folks, I might be late to the game with these questions, but I've just been bit by the register_globals=off situation. I'm trying to figure out the scope of what I need to change to accomodate register_globals=off, and I need some help. Looking around php.net, for example: 'If register_gl

Re: [PHP] Re: Apache 2.0

2002-09-04 Thread Lars Hecking
> Add the following to the bottom of your httpd.conf > > > SetOutputFilter PHP > SetInputFilter PHP > No luck. error_log: [Wed Sep 04 15:01:44 2002] [notice] Apache/2.0.40 (Unix) mod_ssl/2.0.40 OpenSSL/0.9.6g PHP/4.3.0-dev configured -- resuming normal operations access_log: 10

[PHP] Re: Apache 2.0

2002-09-04 Thread Erwin
Lars Hecking wrote: > Hi all, > > I'm setting up a test server with Apache 2.0.40 and php. I > downloaded the latest php4 snapshot, compiled and installed it (a > real PITA, but I managed), added > > LoadModule php4_module modules/libphp4.so > > and > > AddType application/x-httpd-php .php >

Re: [PHP] Please help with fresh fish.

2002-09-04 Thread Anh
Hello Rene, Thanks a lots. >You already found the best PHP forum there is ;-) I believe so :-) Anh "René moonen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Anh wrote: > > >Hello everyone, > > > >I would like to study PHP but do not have any experience

Re: [PHP] XML vs Everything Else

2002-09-04 Thread Geoff Hankerson
Rodrigo Dominguez wrote: >I'm writting an application, a control panel for a web site, and it will be >great if I can separe data from presentation, I know that I have to work >with XML and XSL but I didn't understand how it works. > >Can you give me a simple example? > >Let guess that a client r

Re: [PHP] News Feeds....

2002-09-04 Thread Stas Maximov
Try www.moreover.com HTH Stas - Original Message - From: "Brian McGarvie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 1:52 PM Subject: [PHP] News Feeds > Hi > > I'd like to get some news from any reputable news site, bbc.co.uk... > yahoo.co.u

Re: [PHP] Re: PHP / Bulk Email

2002-09-04 Thread Manuel Lemos
On 09/04/2002 07:52 AM, Dl Neil wrote: >>I ran a test recently sending emails to a list of clients (1000 or so) >>from a PHP / MySQL powered system. >>When sending via Sendmail this was VERY slow, taking several minutes to >>complete. >>When I switched over to Qmail the whole process takes only 10

[PHP] Re: PHP / Bulk Email

2002-09-04 Thread Manuel Lemos
Hello, On 09/04/2002 08:05 AM, Andrew Cowles wrote: > I ran a test recently sending emails to a list of clients (1000 or so) > from a PHP / MySQL powered system. > When sending via Sendmail this was VERY slow, taking several minutes to > complete. > When I switched over to Qmail the whole process

[PHP] News Feeds....

2002-09-04 Thread Brian McGarvie
Hi I'd like to get some news from any reputable news site, bbc.co.uk... yahoo.co.uk etc etc UK news would be best, if not then some hints to how to go about it would be much appreciated! TIA... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.n

[PHP] PHP and LDAP over SSL

2002-09-04 Thread Søren Henning Dalgaard
I'm new to both PHP, LDAP and SSL so I'm really asking for direction on where to start. I have an OpenLDAP server on a Linux box, and a Microsoft ISS on Windows 2000 with PHP-scripting. I have made a couple of PHP scripts that access the LDAP database for reading and writing. All works fine so fa

[PHP] Apache 2.0

2002-09-04 Thread Lars Hecking
Hi all, I'm setting up a test server with Apache 2.0.40 and php. I downloaded the latest php4 snapshot, compiled and installed it (a real PITA, but I managed), added LoadModule php4_module modules/libphp4.so and AddType application/x-httpd-php .php to httpd.conf, but my browser still d

[PHP] PHP and LDAP over SSL

2002-09-04 Thread Søren Henning Dalgaard
I'm new to both PHP, LDAP and SSL so I'm really asking for direction on where to start. I have an OpenLDAP server on a Linux box, and a Microsoft ISS on Windows 2000 with PHP-scripting. I have made a couple of PHP scripts that access the LDAP database for reading and writing. All works fine so fa

Re: [PHP] Remote file download and https

2002-09-04 Thread Justin French
There is a download script (commonly used for restricting downloads to members, etc) on Zend.com... if you can't find it (in tutorials or articles), let me know. It should give you a good understanding of the principals, and a decent head start on the code, as it did for me. I don't think there

Re: [PHP] Uploading file

2002-09-04 Thread Justin French
There is a perfecting good working example of file uploads on php.net... never quite sure why people re-invent the wheel all the time. In the example (at http://www.php.net/manual/en/features.file-upload.php), they make a call to move_uploaded_file()... until you do that, and move it to where you

[PHP] socket_read

2002-09-04 Thread BB
I'm having a problem with socket read, it's only reading one character. This may not sound so bad, but when you think that while it's reading all those one characters, it cannot read anyone else's (it blocks). Can anyone explain, or have a better way of doing this? Code below: -- PHP Genera

[PHP] Re: SMS

2002-09-04 Thread nicos
Hi, This has nothing really to do with PHP, but, you can't excepted if you work for a company that got the right to do it. -- Nicos - CHAILLAN Nicolas [EMAIL PROTECTED] www.WorldAKT.com - Hébergement de sites Internet "Lejanson C. Go" <[EMAIL PROTECTED]> a écrit dans le message de news: [EM

[PHP] Re: Remote file download and https

2002-09-04 Thread lallous
Do you have SSL library installed? check that PHPINFO() i guess. You can also try to run curl() (if they have SSL support). Otherwise, It will be hard to implement SSL from pure PHP sockets functions. Elias "Radu Manole" <[EMAIL PROTECTED]> wrote in message 001401c25404$a52baae0$[EMAIL PROTEC

Re: [PHP] Re: Pass array in HTTP_POST_VARS question

2002-09-04 Thread Marek Kilimajer
Don't forget to use urlencode after serializing. David Robley wrote: >In article <[EMAIL PROTECTED]>, >[EMAIL PROTECTED] says... > > >>Is it possible to pass an array in a form post? If so, how do I reference >>the array on the next page? >> >>Thank You >>Paul >>php >> >> > >I believe you

[PHP] Remote file download and https

2002-09-04 Thread Radu Manole
Hi Guys, I'm trying to create a "transparent download" using a script (the script would run from my local machine) that will request a file from a remote server, that looks like this (https request): https://www.httpsserver.net/Pages/Download.asp?usr=test&pass=test&from=05/01 /02&to=09/03/02 This

Re: [PHP] Re: PHP / Bulk Email

2002-09-04 Thread DL Neil
> Hi Guys / gals, > > I ran a test recently sending emails to a list of clients (1000 or so) > from a PHP / MySQL powered system. > When sending via Sendmail this was VERY slow, taking several minutes to > complete. > When I switched over to Qmail the whole process takes only 10 or 15 > seconds. >

[PHP] Re: PHP / Bulk Email

2002-09-04 Thread Andrew Cowles
Hi Guys / gals, I ran a test recently sending emails to a list of clients (1000 or so) from a PHP / MySQL powered system. When sending via Sendmail this was VERY slow, taking several minutes to complete. When I switched over to Qmail the whole process takes only 10 or 15 seconds. Seems it's the M

[PHP] RE: Pass array in HTTP_POST_VARS question

2002-09-04 Thread Tim Ward
you just name the form elements as array elements, e.g. with explicit keys name='array[0]' name='array[1]' etc. or allowing php to assign the keys name='array[]' name='array[]' etc. then the array is an element of $HTTP_POST_VARS[] when the form is posted Tim Ward w

php-general Digest 4 Sep 2002 10:21:21 -0000 Issue 1565

2002-09-04 Thread php-general-digest-help
php-general Digest 4 Sep 2002 10:21:21 - Issue 1565 Topics (messages 115102 through 115151): Re: Refering to an object from within an array variable in another class 115102 by: Andy Warwick XML vs Everything Else 115103 by: Taylor York 115104 by: nicos.php.net

[PHP] Re: script mysql date picker

2002-09-04 Thread lallous
This script is not mine, but I modified it so that it can work with any form field... take a look at the sources: http://lgwm.org/ozone/calcall.htm Good luck. "Adi" <[EMAIL PROTECTED]> wrote in message 001701c253f3$5ce58820$9600a8c0@adi">news:001701c253f3$5ce58820$9600a8c0@adi... Hi, There are

Re: [PHP] Uploading file

2002-09-04 Thread skitum
i have the same problem. Where is the kind soul who can help us? Peace & Love skitum - Original Message - From: "Clemson Chan" <[EMAIL PROTECTED]> To: "Juan Pablo Aqueveque" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, September 04, 2002 12:25 AM Subject: RE: [PHP] Uploading

[PHP] script mysql date picker

2002-09-04 Thread adi
Hi, There are somewhere a script to manage mysql table in this way: -In table i have a date field(format -mm-dd). I tried "webmin", PHPMyEdit etc, for editing this field from web page, but field is displayed as textbox and i have to write manually date field. I want next to textfield a butto

RE: [PHP] how get a image?

2002-09-04 Thread Scott Houseman
Hi there Have a look at http://www.php.net/manual/en/features.file-upload.php It should explain all. Regards -Scott > -Original Message- > From: skitum [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 04, 2002 10:35 AM > To: [EMAIL PROTECTED] > Subject: [PHP] how get a image?

[PHP] how get a image?

2002-09-04 Thread skitum
Hi all, I have a input button like this: How can i get this image? I need to receive it as a attachment file or insert it into a MySQL database. Any Ideas? Thanks for help. Peace & Love skitum

[PHP] Re: Pass array in HTTP_POST_VARS question

2002-09-04 Thread Rodrigo Dominguez
If you are in a session you can register the array and it will be available on the next page, once you finish working with the array, just unregister the array. File1.php action= file2.php session_start(); session_register("foo"); var $foo = array(); File2.php session_start(); Work with $foo s

[PHP] Re: Pass array in HTTP_POST_VARS question

2002-09-04 Thread lallous
you can also join() the elements and pass as a single string, then explode() the elements back again. Elias "Paul Maine" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Is it possible to pass an array in a form post? If so, how do I reference > the array on the

<    1   2