php-general Digest 15 Apr 2005 17:59:02 - Issue 3399
Topics (messages 213127 through 213152):
Re: Any experience with multi-language PHP sites?
213127 by: Kim Madsen
general
213128 by: Balwant Singh
php and linux shell script
213129 by: Balwant Singh
213141
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 14, 2005 4:26 PM
KM Look in the archives, it´s less than 2 weeks since this was
KM discussed (again :-)
If you're referring to the subject Multilingual Web application - how
to? (the only
hi and greetings from India to all of you...
my name is balwant, i m from Noida, India.
hope there are many from India... through this email, i request all
of you, who are from India to send me your contact details like email,
address and phone numbers so that we can be in touch whenever
hello,
1) first of all i would like to inform you that i have made a PHP script which
also have some amount of
linux shell script in it for converting emails from EVOLUTION to MOZILA
THUNDERBIRD just by executing
this script. if anybody need it, do let me know, i will send the same.
2) i am
I'm working on a website for a musical outfit where different levels of
access are required depending on the specific section.
Writers will have access to a section of the site where they can listen to
an entire album (for review).
Radio personnel will have access to a section of the site where
On Friday 15 April 2005 10:37, R. Van Tassel wrote:
I'm working on a website for a musical outfit where different levels of
access are required depending on the specific section.
Writers will have access to a section of the site where they can listen to
an entire album (for review).
Radio
Eugene, your reply-to address is set
-Original Message-
From: Mark Rees
Sent: 15 April 2005 09:08
To: 'Eugene Voznesensky'
Subject: RE: [PHP] Reverse plural forms to singular for search
That sounds like a nightmare! Assuming you are talking about English,
you might be able to make some
I need to know the difference between two numbers...
eg:
$a = 7;
$b = 27;
somefunction($a, $b)
// outputs 20
$a = 10;
$b = 12;
somefunction($a, $b)
// outputs 2
etc...
does that exist?
On Friday 15 April 2005 13:35, [EMAIL PROTECTED] wrote:
I need to know the difference between two numbers...
eg:
$a = 7;
$b = 27;
somefunction($a, $b)
// outputs 20
$a = 10;
$b = 12;
somefunction($a, $b)
// outputs 2
function difference ($a, $b) {
return (max($a, $b) -
Christian Calloway wrote:
Hey all,
trying to dynamically size cell widths; what I need is a formula to measure
pixels per character for an arbitrary font (in this case 10pt verdana). A
simple function f(x) = strlen(x) * SOMECONSTANT just doesn't seem to cut it,
as returned widths are to small
I noticed you never had a reply for this, its probably because this is
non standard, or totally not heard of. What I would do, (even though I
have yet to try this), is run php standard as a module in apache, but
then run the tomcat connector jk or jk2 into apache, so it will run
seamlessly.
Hi!
I have another little question hehe :D, i have a page with a form where
the user insert data and can click in a new,edit or delete button. I've
make that when a button is clicked the page refresh and in the head of
the page i have conditions like this: if ($_POSt[buttonNew]!=) {
insert
Hi all,
I have a problem getting the data from a post request. I have tried
$_POST and $HTTP_RAW_POST_DATA and they appear to be completely empty.
the always_populate_raw_post_data directive is set to on.
Below is the incoming data as captured by ethereal:
POST /cyprus/reply.php
Solved getallheaders() worked.
Kyriacos Sakkas wrote:
Hi all,
I have a problem getting the data from a post request. I have tried
$_POST and $HTTP_RAW_POST_DATA and they appear to be completely empty.
the always_populate_raw_post_data directive is set to on.
Below is the incoming
I don't think you'll find anything in PHP as simple as the shell
script version of dialog, but you may be able to bang something
together like that using ncurses.
Probably handier if your time is more important than the machines, to
just use the shell version using one of the Program Executions
I just ordered a CueCat from eBay to play with reading Barcodes. Of
course we'll use a Symbol or some other reader when we implement this
in production, but I thought this would be a start. There are several
classes at phpclasses.org
On Fri, 15 Apr 2005 14:08:36 +0200, Mario de Frutos Dieguez
[EMAIL PROTECTED] wrote:
My question is, how can i unset $_POST[buttonNew] or leave it empty
because when the user refresh the page make insert commans again because
the $_POST[buttonNew] arent empty.
The browser sends $_POST, you
Your best bet is to check that the data has not already been inserted
rather than try to fiddle with the post:
Don't know what db you are using but something like
IF NOT EXISTS (SELECT X FROM Y WHERE Z=1)
INSERT INTO Y VALUES X
Cheers
Mark
-Original Message-
From: Nieko Maatjes
Hello,
I'm having trouble installing php.4.3.11 ub Solaris8:
./configure
and it is this promt infinitely:
checking host system type...sparc-sun-solaris2.8
I see in on ather window the following processes:
25263 pts/10 S 0:00 /bin/sh ./configure
25323 pts/10 S 0:00 /bin/sh ./build/shtool
well this might help, you can see the referrer page from which the
current one was accessed. this is javascript though but it might help
depending on your situation.
cheers
Angelo Zanetti
Z Logic
[c] +27 72 441 3355
[t] +27 21 464 1363
[f] +27 21 464 1371
www.zlogic.co.za
Mario de Frutos
Thanks Jason,
I'll pass along any info I come across. I can generate barcodes easily
enough. I guess I'll wait until I get the CueCat and see what troubles
I run into. Our suppliers seem willing to cooperate in terms of
putting whatever barcode we tell them to.
Thanks,
Mike
--
PHP General
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Friday, April 15, 2005 3:35 AM said:
$a = 7;
$b = 27;
somefunction($a, $b)
// outputs 20
etc...
does that exist?
function difference($a, $b)
{
return abs($a-$b);
}
Chris.
--
PHP General Mailing List (http://www.php.net/)
To
On Friday 15 April 2005 19:01, Chris W. Parker wrote:
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Friday, April 15, 2005 3:35 AM said:
$a = 7;
$b = 27;
somefunction($a, $b)
// outputs 20
etc...
does that exist?
function difference($a, $b)
{
return abs($a-$b);
}
Does anyone know of any PHP classes for processing the Amazon or eBay
XML feeds?
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Anyone know if it's possible to use Magpie (or similar) using MySQL for
the caching instead of text files? I couldn't find anything in their
docs.
- Brian
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi list:
I'm receive a theme class call Computers Graphics in wich my and my friends
programming making use of OpenGL library. Few day ago I have a brilliiant or an
stupid idea to narrate to my teacher if I can make my final course project with
PHP. They tell me that is possible always I use
I got it figured out finally!
It is so stupid with what the issue was...
My image was being created exactly as it should have been - and the
code was fine. Now where my issue was: I had a line of code in there
that was to prevent people from calling the script directly (had to be
referred
Brian Dunning wrote:
Does anyone know of any PHP classes for processing the Amazon or eBay XML
feeds?
There are two PEAR classes which handle both of these things, Services_Ebay
and Services_Amazon.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hi!
I use a page to authorize a user and based on certain criterias (user
group etc) include a file in another directory (named private)...
Everything is working fine but the problem is anyone goign directly to
private/includefile.php can run the script without authorising themselves...
Is it
All,
I have a form which submits technical requests. It worked fine on an
old linux box using Mysql 3 series but recently we switched to windows
2003 server SP1 using Mysql 4.1.10. It was doing this before the
service pack. I get the form values and then insert them into a table.
Sometimes it
directly to private/includefile.php can run the script
without authorising themselves...
Is it possible to set folder permission such that files
inside it cant be open directly but could be included?
Can you just give read permissions -only- to the user that PHP runs as and
not these
Frank Miller wrote:
All,
I have a form which submits technical requests. It worked fine on an
old linux box using Mysql 3 series but recently we switched to windows
2003 server SP1 using Mysql 4.1.10. It was doing this before the
service pack. I get the form values and then insert them into a
Dasmeet Singh wrote:
Hi!
I use a page to authorize a user and based on certain criterias (user
group etc) include a file in another directory (named private)...
Everything is working fine but the problem is anyone goign directly to
private/includefile.php can run the script without authorising
J J wrote:
I have a case where video files (mov, flv, etc) have
been stored in a MySQL database as blobs.
I'm loading them into a flash video player and
everything works fine except it takes longer it seems
and it doesn't allow streaming the actual video.
If I load the same videos with a direct
There is a PHPNuke (web portal application) module that will allow you
to open an Amazon Store on your website.
NukeAmazon http://www.PrecioGasolina.com/
I'm still looking for an eBay feed, I think the barrier there is that I
heard eBay charges some big bucks to be able to access the interface.
Hi
Whilst you are searching the net, you might also want to search for 'sql
injection'. This is no joke!
Please use the mysql_escape_string on each variable you get from the user
side.
In your example
$Email = mysql_escape_string($_POST['Email']);
$Phonenumber =
I use a page to authorize a user and based on certain criterias (user group
etc) include a file in another directory (named private)... Everything is
working fine but the problem is anyone goign directly to
private/includefile.php can run the script without authorising themselves...
Is it
On Fri, 15 Apr 2005, Frank Miller wrote:
All,
I have a form which submits technical requests. It worked fine on an
old linux box using Mysql 3 series but recently we switched to windows
2003 server SP1 using Mysql 4.1.10. It was doing this before the
service pack. I get the form values and then
On Friday 15 April 2005 08:52, Balwant Singh wrote:
2) i am also exploring possibilities of using linux dialog boxes (used in
shell scripting) with PHP. has anybody tried it, may please advise me how
to call dialog boxes through PHP in CLI. also please share with me if u
have information on
Hello, PHP gurus,
As a PHP newbie, I am trying to create a PHP page that generates
and force dowload a file depending on user's input. Attached is the
code.
I give 's' to 'submit' and double checked that the value is
correctly retried and the control flow is right.
It works well if I
Hi, Here is the code
?php
$filenm = '/var/tmp/';
$s = 1;
$q =2;
switch( $_POST[submit] )
{
case 's':
$filenm .= 's.tab';
//create $filenm
break;
case 'q':
$filenm .= 'q.tab';
//create $filenm
break;
}
/*
echo file name = {$filenm}br\n;
echo base name = ,
Hey,
On our profiles page we are allowing the person to pick their own font color
and background image,
the font color is picked by a DHTML popup and displays swatches of color,
when the user picks the color she wants
its html RRGGBB value is automatically inserted...
Heres the problemthe
I want to write an application that's almost like a webmail, but not
quite. It must receive emails from several mailing lists, store them in
a database, allow making annotations, provide some kind of accounts with
passwords, etc. It's quite specialized, it cannot be used as a webmail
proper, nor a
Hello,
on 04/15/2005 01:56 PM Brian Dunning said the following:
Does anyone know of any PHP classes for processing the Amazon or eBay
XML feeds?
Here you may find classes to provide API to acess Web servers of many
sites including Amazon and eBay.
http://www.phpclasses.org/browse/class/33.html
Hello,
on 04/15/2005 11:17 PM Florin Andrei said the following:
I want to write an application that's almost like a webmail, but not
quite. It must receive emails from several mailing lists, store them in
a database, allow making annotations, provide some kind of accounts with
passwords, etc. It's
On 16 Apr 2005 Ryan A wrote:
eg: if they pick white I need the heading to be black and vice
versa...any way to do this?
Well it depends what you mean by opposite, but as a starting approach
I would try simply complementing the bits in the RGB value:
$opposite_color = $original_color
Here is a little code that shows the web-safe colors and their
opposites using the algorithm I described in the previous message:
html
head
title Web-safe color 'opposites'
/head
body
?php
# Display color opposites for web colors
$weblist = array('00', '33', '66', '99', 'CC',
We have two kinds of arrays in PHP:
$array[name] = George
$array[0] = George
How can I determine (with a function returning true/false for example) which
type of array I am working with?
--
NSK (Nikolaos S. Karastathis)
Personal Homepage at http://nsk.wikinerds.org/
Owner of
48 matches
Mail list logo