On Sun, May 8, 2005 9:22 pm, Murray @ PlanetThoughtful said:
> As others have suggested, using an ftp client application is one way to
> handle it, however, users being users, the feedback has been "Why do we
> need
> to upload the files via an ftp client, *then* go to the web application
> and
> a
I would like to use browscap.ini, I believe you can override the php.ini
file values with a php_value line in a .htaccess file.
Is this possible? Is so how?
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
thanks greg, will check them out.
Greg Donald wrote:
>On 5/6/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
>
>
>>I just want to find out from you which payment gateways you use and what
>>experiences good and bad have you had with them. I'm looking for a
>>reliable payment gateway to handle cre
Ryan A wrote:
Your looking at something like. For ages between 21 and 23
$Upper = date("m-d-Y", mktime(0,0,0,date("m"),date("d"),date("y")-22));
$Lower = date("m-d-Y", mktime(0,0,0,date("m"),date("d"),date("y")-23));
$sql = "SELECT field1,field2,field3 FROM `table_name` WHERE `age`
BETWEEN " . $Lo
Murray @ PlanetThoughtful wrote:
[ snipped ]
when u upload it name it dynamiccaly by appending date and time before
the file name
like this
2005050501010-filename.jpg
Hi, yes, I'm already doing this. Conflict of filename isn't my issue -- it's
whether or not the file should be uploaded at all, in
Thanks Richard.
That did the trick. Now to the DB fixing business...
-Will
"Richard Lynch" <[EMAIL PROTECTED]> kirjoitti
viestissä:[EMAIL PROTECTED]
> On Thu, May 5, 2005 10:42 pm, William Stokes said:
>> I made a mistake and stored date information to DB as varchar values
>> (dd.mm.yyy). When
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]
Sent: 08 May 2005 11:56
To: php-general@lists.php.net
Subject: [PHP] I'm having a blond moment with a while loop???
Hi guys,
I'm doing something dumb but I can't see it.
The basic premise is:
sql search of orders sort
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
-CLIENT1 MacOs X w/ Netscape (JS enabled)
-CLIENT2 Linux 2.6 w/ Netscape (JS enabled also)
In a web application, I need to open a JS window
within data came from MySql and process
Sorry - forgot to CC to list.
Personally I have a feeling that if you take out the :3306, your
script might just work.
I read somewhere that on unix, mysql used a unix socket whenever the
hostname was localhost. On unix localhost:something means that
something is a unix socket, when it would othe
> But I remember gz encoding works fine with IE 5. Shouldn't be a problem with
> 5.5.
Did you try downloading the same compressed page twice, and checking
the server logs, to see if it loaded from cache the second time
around?
>
> Cheers,
>
> Prathap
>
>
> -- Original Message ---
I just finished testing what you said. It comes from the cache during the
second time. But this happens with all the other pages too (the non-
compressed) not only the ones that were returned using ob_gzhandler.
It is the same phenomena with Opera 8 too.
Prathap
-- Original Message ---
Hello
Can I get the background color a swf file with php?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-Original Message-
From: Francesco Casalena [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 10:18
To: php-general@lists.php.net
Subject: [PHP] need manual reload on Mac client
Hi,
I've a strange problem on this scenario:
-SERVER MacOs X server w/
Apache's httpd2, MySql Max, PHP5
On 5/9/2005 9:47:50 AM, Burhan Khalid ([EMAIL PROTECTED]) wrote:
> Ryan A wrote:
>
> >
>
> > Your looking at something like. For ages between 21 and 23
>
> >
>
> > $Upper = date("m-d-Y", mktime(0,0,0,date("m"),date("d"),date("y")-22));
>
> > $Lower = date("m-d-Y", mktime(0,0,0,date("m"),date("d")
I am not sure
but maybe something like this is posible
$current_year = date(Y);
$qry = "SELECT * FROM
`table`
WHERE ($current_year-YEAR(birthday)) BETWEEN 25 AND 26"
"Matthew Weier O'Phinney" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>* Ryan A <[EMAIL PROTECTED]> :
>> Than
> -Original Message-
> From: Ryan A [mailto:[EMAIL PROTECTED]
> Sent: Monday, May 09, 2005 1:02 PM
> Luck and me? You dont know who you are talking to my friendI am
still
> on
> mysql 3.23 not even
> 4.1 !!!
TO_DAYS() works on 3.23 too ;-)
--
Med venlig hilsen / best regards
ComX N
I have a text variable that contains "$" symbols, that when I pass it out PHP
thinks that the "$" mean that a variable name comes right after.
I tried escaping the "$" put with no luck.
Is there something I can do?
--
09:21:28 up 37 days, 17:45, 1 user, load average: 2.54, 2.04, 1.50
-
Hi,
"CCavenue" is good.
Also try 2checkout.com, but i wont reccomenrd that
because their interface is not that good as
ccavenue's.
..Deeps..
--- Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> I just want to find out from you which payment
> gateways you use and what
> experiences goo
* [EMAIL PROTECTED] <[EMAIL PROTECTED]> :
> I am not sure
> but maybe something like this is posible
>
> $current_year = date(Y);
> $qry = "SELECT * FROM
> `table`
> WHERE ($current_year-YEAR(birthday)) BETWEEN 25 AND 26"
No -- because this incorrectly identifies somebody born on June 14 as 26
Hi,
Where are the dollar signs before seatnum, seat1 etc
in the if condition.
..Deeps..
--- Anasta <[EMAIL PROTECTED]> wrote:
> What am i doing wrong here, the output is always
> 'empty'
>
>
>
>
> $result = mysql_query("SELECT username FROM users
> WHERE seatnum='seat1'") or die(mysql_erro
Bottom line is that you can't do it reliably with PHP or anything on
the server. Different browsers will display content at different times.
I think Internet Explorer will only display something after it gets a
certain amount of information (i.e. 18k) or the entire page. I don't
think any brows
I would first look to the browser configuration and your html code. Are
you using meta tags in your web page like pragma nocache and page
expiration? If not, then it's really kind of up to the browser if it's
going to reload the entire page from the server. I know there have been
issues with In
Hello Martín,
Monday, May 9, 2005, 1:23:45 PM, you wrote:
MM> I have a text variable that contains "$" symbols, that when I pass it out
PHP
MM> thinks that the "$" mean that a variable name comes right after.
MM> I tried escaping the "$" put with no luck.
$string = "hello\$world";
Best regar
On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> > Hi
> >
> > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > On Sun, May 08, 2005 at 01:49:08PM -0600, The Doctor wrote:
> > > > On Sun, May 08, 2005 at 08:56:25PM +0530, bal
On Monday 09 May 2005 14:23, Martín Marqués wrote:
> I have a text variable that contains "$" symbols, that when I pass it out
> PHP thinks that the "$" mean that a variable name comes right after.
>
To include the string symbol in a variable, use the single quotes.
$myvar='this is $$$ test';
And
On 5/9/05, Martín Marqués wrote:
> I have a text variable that contains "$" symbols, that when I pass it out PHP
> thinks that the "$" mean that a variable name comes right after.
>
> I tried escaping the "$" put with no luck.
>
> Is there something I can do?
$var = 'hi $there';
--
Victor Sal
On Monday 09 May 2005 15:23, Martín Marqués wrote:
> I have a text variable that contains "$" symbols, that when I pass it out
> PHP thinks that the "$" mean that a variable name comes right after.
>
> I tried escaping the "$" put with no luck.
Use single quote.
>
> Is there something I can do?
>
Martín Marqués wrote:
I have a text variable that contains "$" symbols, that when I pass it out PHP
thinks that the "$" mean that a variable name comes right after.
I tried escaping the "$" put with no luck.
Is there something I can do?
echo '$';
echo "\$";
?>
--
PHP General Mailing List (http
On 5/9/05, Martín Marqués wrote:
> I have a text variable that contains "$" symbols, that when I pass it out PHP
> thinks that the "$" mean that a variable name comes right after.
/*
This is standard behavior, as far as I know. Are you using an IDE, or
just a standard text editor? Many IDEs will
Hiya!
I have just come back from the client visit and one of the issues that arose
was over the use of accessible markup, more specifically the use of tables
versus the use of layers.
Now, my long held belief was that div/layers were added to the spec so that
designers could separate presentati
Martín Marqués wrote:
I have a text variable that contains "$" symbols, that when I pass it out PHP
thinks that the "$" mean that a variable name comes right after.
I tried escaping the "$" put with no luck.
Is there something I can do?
How did you escape the symbol? You should use backslash: \
Hi..
Is this a correct mailing list to submit a posting looking for a web
developer/web designer? The project will initially be a Sweat Equity
project? Are there members here interested in being part of a Start-Up.
Even though this is a PHP/Development list, we thought we'd ask!
We have a layout
Hi,
On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> > > Hi
> > >
> > > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > > On Sun, May 08, 2005 at 01:49:08PM -0600, The Do
hi
On 5/9/05, Martín Marqués wrote:
> I have a text variable that contains "$" symbols, that when I pass it out PHP
> thinks that the "$" mean that a variable name comes right after.
use this
$$text = "$text";
>
> I tried escaping the "$" put with no luck.
>
> Is there something I can do?
El Lun 09 May 2005 11:44, Marek Kilimajer escribió:
> Martín Marqués wrote:
> > I have a text variable that contains "$" symbols, that when I pass it out
PHP
> > thinks that the "$" mean that a variable name comes right after.
> >
> > I tried escaping the "$" put with no luck.
> >
> > Is there
Do you mean you named a variable like $varia$le? I wouldn't do that.
If you mean you have something like:
"A text $tring with $ome dollar$"
Just put it in single quotes instead of double quotes. PHP doesn't
evaluate what's inside single quotes.
'A text $tring with '.$variable.' dollar'
On May 9,
On Mon, May 09, 2005 at 08:19:47PM +0530, bala chandar wrote:
> Hi,
>
> On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > > On 5/9/05, bala chandar <[EMAIL PROTECTED]> wrote:
> > > > Hi
> > > >
> > > > On 5/9/05, The Doctor <[EMA
> > I have a text variable that contains "$" symbols, that when
> I pass it
> > out PHP thinks that the "$" mean that a variable name comes
> right after.
> >
> To include the string symbol in a variable, use the single quotes.
>
> $myvar='this is $$$ test';
Or, if you still want to use interp
-Original Message-
From: Mikey [mailto:[EMAIL PROTECTED]
Sent: 09 May 2005 15:40
To: php-general@lists.php.net
Subject: [PHP] Accessible HTML - OT
Hiya!
I have just come back from the client visit and one of the issues that
arose was over the use of accessible markup, more specifical
* Mikey <[EMAIL PROTECTED]>:
> I have just come back from the client visit and one of the issues that
> arose was over the use of accessible markup, more specifically the use
> of tables versus the use of layers.
>
> Now, my long held belief was that div/layers were added to the spec so
> that de
It has come to a point where a vendor is requiring that we use SOAP to
access a service that they provide, so I need some recommendations...
a. Do I build my own request/receipt functions.
2. Do I use something like nusoap or Pears' SOAP classes?
Would those of you who are experienced with PHP an
Hello bala,
Monday, May 9, 2005, 3:51:21 PM, you wrote:
>> I have a text variable that contains "$" symbols, that when I pass it out PHP
>> thinks that the "$" mean that a variable name comes right after.
bc> use this
bc> $$text = "$text";
While I'm sure creating a variable variable is useful i
hi
perhaps have a look here:
http://www.webstandards.org/about/
Mikey wrote:
Hiya!
I have just come back from the client visit and one of the issues that arose
was over the use of accessible markup, more specifically the use of tables
versus the use of layers.
Now, my long held belief was that
> Hi All,
>
>
>
> I need to implement the ability to ftp upload files from
> client machines via a form in a web application I'm developing.
>
>
>
> From reading the PHP help, all I can find to perform this is
> the POST method for handling file uploads
> (http://au2.php.net/manual/en/f
On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> On Mon, May 09, 2005 at 08:19:47PM +0530, bala chandar wrote:
> > Hi,
> >
> > On 5/9/05, The Doctor <[EMAIL PROTECTED]> wrote:
> > > On Mon, May 09, 2005 at 08:29:34AM +0530, bala chandar wrote:
> > > > On 5/9/05, bala chandar <[EMAIL PROTECTED]> w
Leonardo Pedretti wrote:
I would like (for code cleanliness purposes) to make 'new' return a reference
to an already created object under certain circumstances without using a
factory, is it possible?
not unless you hack the php engine (in which case
your code will only work on your custom php bu
how do I set a number as a string
example
let us say
$a = 1;
$b = 2;
$c = 0;
I would like to be able to
$str = $c.$a.$b;
to result with
$str = 012;
is there something that I have missed or I guess the question should be what
did I miss
--
PHP General Mailing List (http://www.php.net/)
To unsu
Hey fellas, sorry to infest the list with another question about a
templating engine, but I am looking for some professional opinions
here...
I am trying to make a small, fast, and simple templating class... Now
I have mastered the art of variable replacement, and have made two
versions. The fir
Hi.
I am very new to this group and this is my first request for help so please be
patient.
when I try to use the mail() function in a PHP based webpage I get the
following error:
Fatal error: Call to undefined function: mail() in on line
I have tried changing some mail config details in php.
For the most part you can simply treat them as strings. What is
happening that shouldn't be happening, or what should be happening,
but isn't?
> let us say
> $a = 1;
> $b = 2;
> $c = 0;
$str_a = (string)$a;
$str_b = "$b"
> I would like to be able to
> $str = $c.$a.$b;
Does that not work? What
Nested tables are the absolute worst thing you can do! A screen reader
is able to tab to a table and tab within a table but once you begin to
have tables within tables, UGH! To quote accessibility guru Joe Clark;
"With nested tables, a screen reader user ends up working from within a
maze forme
I think Leonardo might have a point here. Built-in support for
Singletons could be a nice feature, without the use of static
functions, would be nice. I wouldn't use the 'new' keyword however. I
think something along the lines of existing, or ref
$ref = existing TEST; // which would return an exis
I was under the belief that tables are very bad for accessibility. I
once attended a conference on accessibility and standards and witnessed
a blind person attempting to read a website that had it's information
laid out in a table with a screen reader. It was awful and shamed me
into never us
> I am trying to make a small, fast, and simple templating class... Now
> I have mastered the art of variable replacement, and have made two
> versions. The first one I made simply used file() to load up the file
> into an array,
Personally I think you should use file_get_contents() instead.
> s
On 5/9/05, James Williams <[EMAIL PROTECTED]> wrote:
> 1st question) I need a professionaly opinion on to which solution is
> better, considering speed, security, and expandability.
Bench them both with Apache's ab.
> 2nd question) Like I said before, I've mastered the art of variable
> replace
On 5/9/05, Rory Browne <[EMAIL PROTECTED]> wrote:
> > I made a second one, which reads the file into an array,
> > changes the variables the same way, but instead compiles the finished
> > product into a compile directory and then reads the compiled file back
> > to the page. the benefit to this b
Mary-Anne Nayler wrote:
Hi.
I am very new to this group and this is my first request for help so
please be patient.
when I try to use the mail() function in a PHP based webpage I get the
following error:
Fatal error: Call to undefined function: mail() in on line
I have tried changing some ma
On Mon, May 9, 2005 4:02 pm, Mary-Anne Nayler said:
> Fatal error: Call to undefined function: mail() in script> on line
That means PHP has no mail() function to even call, which is MUCH earlier
in the process than sendmail location.
Most likely, your webhost has decided that to stop spammers a
* James Williams <[EMAIL PROTECTED]>:
> Hey fellas, sorry to infest the list with another question about a
> templating engine, but I am looking for some professional opinions
> here...
>
> I am trying to make a small, fast, and simple templating class... Now
> I have mastered the art of variable
* Mary-Anne Nayler <[EMAIL PROTECTED]> :
> Nested tables are the absolute worst thing you can do!
I agree -- which, if you read my post, you'll see I didn't advocate
nested tables -- just a single table for columnar layout of the page.
Within each column, items are floated or positioned using CSS
Hello,
on 05/09/2005 08:24 PM Mary-Anne Nayler said the following:
Nested tables are the absolute worst thing you can do! A screen reader
is able to tab to a table and tab within a table but once you begin to
have tables within tables, UGH! To quote accessibility guru Joe Clark;
"With nested tab
Hi All,
this page,
http://www.freewebmasterhelp.com/tutorials/phpmysql/5
has the below code,
$first=mysql_result($result,$i,"first");
$last=mysql_result($result,$i,"last");
$phone=mysql_result($result,$i,"phone");
$mobile=mysql_result($result,$i,"mobile");
$fax=mysql_result($result,$i,"fax");
$ema
Testing receipt of post..cheers.
Mark Sargent.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I guess it is the missing semicolon.
And you can write:
echo ""
as simply
echo "$product_type"
Prathap
-- Original Message ---
From: Mark Sargent <[EMAIL PROTECTED]>
To: php-general@lists.php.net
Sent: Tue, 10 May 2005 13:23:51 +0900
Subject: [PHP] While and echoing HTML
>
Mark Sargent <[EMAIL PROTECTED]> writes:
> $i=0;
> while ($i < $num){
> $product_type=mysql_result($result,$i,"product_type_detail");
> echo ""
> }
> $i++
You should put "$i++" into the while loop. And you should add an ";"
at the end of the echo line as well as at the end of "$i++".
With kind r
I have several URLs that I want to point to the same site with a different
parameter. I try to do this by redirecting all to the same location, by
http://mysite.com/index.php?var1=value1&var2=value2";);
exit;
?>
The redirection is done properly, but variables are not sent. Can anyone
say what
66 matches
Mail list logo