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
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
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
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
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
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
> 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
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
>
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
> 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.
>
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
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 - 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
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
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
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
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?
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
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
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
101 - 135 of 135 matches
Mail list logo