In this code, I'm not getting the value of $list passed to the Mailman page.
I've checked this umpteen times by now, but fail to see the error. I've
beaten myself suitably with a steel ruler -- but it didn't help. Nor does
the cold I'm coming down with I suppose.
Anyone see the error, and feel lik
$words= "If length is given and is negative,
then that many characters will be omitted from
the end of string (after the start position has
been calculated when a start is negative). If start
denotes a position beyond this truncation, an empty
string will be returned. ";
echo substr($words, 0, 50
$words= "If length is given and is negative,
then that many characters will be omitted from
the end of string (after the start position has
been calculated when a start is negative). If start
denotes a position beyond this truncation, an empty
string will be returned. ";
echo substr($words,
$words= "If length is given and is negative,
then that many characters will be omitted from
the end of string (after the start position has
been calculated when a start is negative). If start
denotes a position beyond this truncation, an empty
string will be returned. ";
echo substr($words,
Death Gauge wrote:
Ok how do I get rid of the annoying "[suspicious - maybe spam]" crap
that appears when I post?
This won't help with that, but please stop top-posting.
Your ISP is probably adding it because it thinks you're message is spam.
It might be something to do with your signature, m
Patrick Barnes wrote:
Is there any way to get the file descriptor of an IMAP stream opened
with imap_open?
No. You'd have to manually connect to the IMAP server with socket
functions or whatever.
One way to look at it is that imap_* functions are a higher level of
abstraction than raw file
Hi there,
Is there any way to get the file descriptor of an IMAP stream opened
with imap_open?
Patrick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello, all -
I've been trying to figure out a reliable way of creating user:pass
combinations to be used from within an Apache-based .htpasswd file.
>From what I understand, PHP's crypt() function is almost identical to
the Linux system crypt() function, which 'htpasswd' uses. However, when
usin
Ok how do I get rid of the annoying "[suspicious - maybe spam]" crap that
appears when I post?
--Death Gauge
"How do you gauge your death?!"
Original Message Follows
From: Manuel Lemos <[EMAIL PROTECTED]>
To: Death Gauge <[EMAIL PROTECTED]>
CC: php-general@lists.php.net
Subject: [P
robert mena wrote:
> hi, I'd like to start developing php applications that will access oracle 9i
> databases.
> I am trying to setup a development enviroment using Linux so I was
> wondering what should I download/install from oracle's web site in order to
> compile php with 9i support.
> I a
Jay Blanchard wrote:
> [snip]
> hi, I'd like to start developing php applications that will access
> oracle 9i
> databases.
> I am trying to setup a development enviroment using Linux so I was
> wondering what should I download/install from oracle's web site in order
> to
> compile php with 9i
Thanks for the replay.
> >> They are called breadcrumbs:
> >> http://www.google.com/search?q=php+breadcrumbs
I didn't know the key :) (breadcrumbs), so it is now a very good help to me.
> > use either the existing directory/file
> > structure or a hard-coded array of your site structure to cre
Hi,
most probably, things like XSS (Cross-Site-Scripting) and SQL-Injections
might lead to a successfull hacking-attempt.
If you try to write your own online store, make sure that you do NOT use
register_globals!
Try to google for XSS and SQL-Injections, there might be plenty of
information
[snip]
hi, I'd like to start developing php applications that will access
oracle 9i
databases.
I am trying to setup a development enviroment using Linux so I was
wondering what should I download/install from oracle's web site in order
to
compile php with 9i support.
I am assuming that there is
hi, I'd like to start developing php applications that will access oracle 9i
databases.
I am trying to setup a development enviroment using Linux so I was
wondering what should I download/install from oracle's web site in order to
compile php with 9i support.
I am assuming that there is some s
hitek wrote:
I'm taking my ZCE exam soon and would like general advice on
what to study up on.
This is a good resource:
http://zend.com/store/education/certification/zend-php-certification-objectives.php
You picked a good month to take the exam, since it's $125 this month
(normally $200).
Death Gauge wrote:
Where do I go learn about XmlHTTPRequest? I've done googles and all I've
found was stuff about toolkits no tutorials or documents telling how to
use it.
How about the top three results on Google?
http://www.google.com/search?q=XMLHTTPRequest
--
Jasper Bryant-Greene
Freelan
Hello,
on 08/30/2005 04:51 PM Death Gauge said the following:
Where do I go learn about XmlHTTPRequest? I've done googles and all I've
found was stuff about toolkits no tutorials or documents telling how to
use it.
Here you may find at least 3 solutions to take advantage of
XMLHttpRequest AJ
Where do I go learn about XmlHTTPRequest? I've done googles and all I've
found was stuff about toolkits no tutorials or documents telling how to use
it.
--Death Gauge
"How do you gauge your death?!"
_
Express yourself instantly wit
Hi,
I am trying to upgrade my server to apache 2 from
apache 1, but i am running into a problem
in apache 1, i had the following line:
AddType application/x-httpd-php .php ..php3
..phtml .htm .html
now if there is a certain directory where i specify
to turn the engine off:
php_flag
eng
Scott Noyes wrote:
I'm taking my ZCE exam soon and would like general advice on what to
study up on. I've been using php since 97 so I'm pretty confident with
day-today stuff, but I'm pretty new to OOP and and looking for any study
pointers I can get.
Remember that the ZCE still uses PHP
Kristen G. Thorson wrote:
> Dan Trainor wrote:
>
>> Hello once more, all -
>>
>> I was wondering if it's at all possible to redirect a user to a remote
>> site, while passing HTTP AUTH credentials somehow.
>>
>> I've been tinkering around with making a secure login gateway, and the
>> first server
Thomas wrote:
Hi there,
How can I protect all files with extension .xml from being accessed by the
outside? For Apache can one use .htaccess (if yes, how?), is there a generic
way of keeping stalkers from viewing your config files?
Thomas
SPIRAL EYE STUDIOS
P.O. Box 37907, Faerie Glen
On 8/30/05, Thomas <[EMAIL PROTECTED]> wrote:
> Hey guys,
>
> Thanks for all the answers. I had not considered leaving the xml file
> outside the webroot (duh!). However, in this case I don't think it would
> work, as the project is working through a svn structure (and some boxes run
> Linux, othe
I've suddenly developed a peculiar compile problem in PHP5. I'm
trying to build PHP 5.0.4, 5.0.5RC1, 5.0.5RC2 or 5.1RC1, and they
have started giving me an odd problem with GD:
gcc -I/Users/marcus/src/php-5.0.4/ext/gd/libgd -DHAVE_LIBPNG -
DHAVE_LIBJPEG -DHAVE_LIBFREETYPE -Iext/gd/ -I/Users/
Justin Francis wrote:
Jay Blanchard wrote:
[snip]
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable array
in the same manner.
[/snip]
I was
> for($i=1;$i<13;$i++) {
> echo $i . " :: ";
> echo date('F', mktime(0, 0, 0, $i)) . " :: ";
> echo mktime(0, 0, 0, $i) . "\n";
> }
>
>
> 1 :: January :: 1107061200
> 2 :: March :: 1109739600
> 3 :: March :: 1112158800
Today is the 30th (in some parts of the world, anyway
you may not need anything fancy like a class for regular breadcrumbs
or these BreadcrumbsExtreme™ that you describe. i usually do simple
breadcrumbs with a simple function.
for the extreme version, just store an array of recently viewed pages
in a session variable, and parse this array when
Jay Blanchard wrote:
[snip]
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable array
in the same manner.
[/snip]
I was asleep earlierif $c
for($i=1;$i<13;$i++) {
echo $i . " :: ";
echo date('F', mktime(0, 0, 0, $i)) . " :: ";
echo mktime(0, 0, 0, $i) . "\n";
}
1 :: January :: 1107061200
2 :: March :: 1109739600
3 :: March :: 1112158800
4 :: April :: 1114833600
5 :: May :: 1117425600
6 :: June :: 1120104000
7
[snip]
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable array
in the same manner.
[/snip]
I was asleep earlierif $c is not an array 1 will be
Justin Francis wrote:
Stut wrote:
Should it not be $c->count() ?
-Stut
No. By implementing the Countable interface, and implementing the
count() method, the global count($c) function is supposed to call
$c->count(). This is so the object can be treated like a countable
array in the same
Good answer, I think thats what they were looking for but just in case:
Most of the breadcrumb classes out there (at least the ones that showed up
in an initial google search) use either the existing directory/file
structure or a hard-coded array of your site structure to create the
breadcrumbs
Stut wrote:
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to
see if anyone can help.
--
class Col
Justin Francis wrote:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection implem
[snip]
class Collection implements Countable
{
public function count()
{
return 200;
}
}
$c = new Collection();
echo(count($c));
[/snip]
Shouldn't this be
echo Collection->count($c);
or something like that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
I have not been able to get count() to be called when I pass my
Countable class to the count function. I am using PHP 5.1 Release
Candidate 1. I am not sure if it is a bug, so I am posting here to see
if anyone can help.
--
class Collection implements Countable
{
public
Angelo Zanetti
Z Logic
www.zlogic.co.za
[c] +27 72 441 3355
[t] +27 21 469 1052
Jasper Bryant-Greene wrote:
> [EMAIL PROTECTED] wrote:
>
>> Well basically i need it for an "add products" page and if the users
>> doesnt fill
>> in all the fields correctly I display some error message as well as
Dan Trainor wrote:
Hello once more, all -
I was wondering if it's at all possible to redirect a user to a remote
site, while passing HTTP AUTH credentials somehow.
I've been tinkering around with making a secure login gateway, and the
first server that they log in to would negotiate the login
Hi,
I was checking on several php/mysql based on line store, free and
commercial, but didn't find any that fits the best for us. Looks like,
it would be the best to develop one.
To make a online store that works fine - it shouldn't be such a big problem.
To make a SECURE ad SAFE online store -
Здравствуйте, php-general.
Hi all.
I have some problem with my Apache server.
When some user try open php script using mobile fone & some chat
program I get this errors on my log file:
[Mon Aug 29 18:37:39 2005] [error] [client 127.0.0.1] chunked Transfer-Encoding
forbidden: /chat/index.php
[Mon
They are called breadcrumbs:
http://www.google.com/search?q=php+breadcrumbs
Jordan
On Aug 30, 2005, at 4:57 AM, areguera wrote:
Hi,
I been wondering the best way to make the level browsing, I mean,
those links up in page which tell you the position you are, and make
you able to return secti
Jay Blanchard wrote:
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
add ORDER BY `yourdatefield` DESC to your SQL
(ii) be able to extract the individual parts of the date and display
them in
UK format
Have no i
> I'm taking my ZCE exam soon and would like general advice on what to
> study up on. I've been using php since 97 so I'm pretty confident with
> day-today stuff, but I'm pretty new to OOP and and looking for any study
> pointers I can get.
Remember that the ZCE still uses PHP 4. Classes and obje
WOW...so much simpler..thank you very much!!
Cheers
Phil
style='FONT-SIZE:11px;FONT-FAMILY:tahoma,sans-serif'>size=1>
From: Burhan Khalid <[EMAIL PROTECTED]>To: Philippe
Reynolds <[EMAIL PROTECTED]>CC:
php-general@lists.php.netSubject: Re: [PHP] Socket
functionsDate: Tue, 30 Aug 2005 09:
[snip]
Now I am not worried about the time but I would like to know how to
(i) sort the returned rows in order (latest first)
(ii) be able to extract the individual parts of the date and display
them in
UK format
30.08.2005 this is the text from 30th of August
27.08.2005 this is the text from
Hi,
I have a row in myslq database called time and is just a simple timestamp
column
When I echo it out
echo $row['time'];
echo $row['content'];
I get the following
2005-08-30 13:50.05 "this is the text content"
Now I am not worried about the time but I would like to know how to
(i) sort t
Dear Jasper,
I think the session hash function is set to 32, and MD5 is selected, as the
following lines of code show:
--
function Session($sessionName="SESSID") {
$this->sendNoCacheHeader();
// Session-Namen setzen, Sessio
Nancy Ferracutti Kincaide wrote:
I am trying to install a web application that tests if cookies are
enabled the following way:
$this->usesCookies =
(isset($_COOKIE[session_name()]) &&
@strlen($_COOKIE[session_name()])
== 32);
As it gi
Hi,
I am trying to install a web application that tests if cookies are enabled
the following way:
$this->usesCookies =
(isset($_COOKIE[session_name()]) &&
@strlen($_COOKIE[session_name()])
== 32);
As it gives as a result, that cookie
[EMAIL PROTECTED] wrote:
Well basically i need it for an "add products" page and if the users doesnt fill
in all the fields correctly I display some error message as well as populate the
textfields and dropdown lists with the values they previously entered, so if
they entered/selected the file I
IMHO this is just a design issue, why not just hide the upload field,
display a message that they need not re-upload, and just add a hidden
field with the name of the uploaded file and once they've corrected
their fields, they re-post, and viola, you've got your file still.
[EMAIL PROTECTED] wrote
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the replies.
>
> Well basically i need it for an "add products" page and if the users
doesnt fill
> in all the fields correctly I display some error message as well as
populate the
> textfields and dropdown lists with the valu
Thanks for the replies.
Well basically i need it for an "add products" page and if the users doesnt fill
in all the fields correctly I display some error message as well as populate the
textfields and dropdown lists with the values they previously entered, so if
they entered/selected the file I wa
[EMAIL PROTECTED] wrote:
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc once
a form has been submitted with the file upload form.
I know its possible to get the file name but I need the whole path.
is thi
> Hi all.
>
> I havent found an answer after looking at the manual. I'm trying to find
> out if it possible to find the path of the file on the clients pc once
> a form has been submitted with the file upload form.
No, this would be a security risk. If all your users are on an intranet,
you may
Hey yall,
I'm taking my ZCE exam soon and would like general advice on what to
study up on. I've been using php since 97 so I'm pretty confident with
day-today stuff, but I'm pretty new to OOP and and looking for any study
pointers I can get.
Thanks,
Keith
--
PHP General Mailing List (http:/
Hi
This is regarding session management in php.I made the session closed when
the stipulated time is over and redirect it to login page.But when the back
button of the browser is clicked it takes to the previous page from where the
session is closed,which is not really worthfull.How can i avoid
Hi,
I been wondering the best way to make the level browsing, I mean,
those links up in page which tell you the position you are, and make
you able to return sections back, keeping some kind of logic of where
you are.
I been used the url vars to do this but I arrive some point where
there are coi
Hi all.
I havent found an answer after looking at the manual. I'm trying to find
out if it possible to find the path of the file on the clients pc once
a form has been submitted with the file upload form.
I know its possible to get the file name but I need the whole path.
is this possible?
than
Hello, all -
I've got one more question for you all, which I don't quite understand.
What if, say, I'd like to develope an application which requires the use
of, well for simplicity, some SSL functionality.
I would distribute my PHP application, but then would provide compiled
modules for ea
> Murray @ PlanetThoughtful wrote:
> >>Hi there!
> >>
> >>How do I do a sort in PHP where a column in a db must be two other
> columns
> >>divided...`?
> >
> >
> >
> >
> > Hi Gustav,
> >
> > You should be able to use the divide operation in your query's ORDER BY
> > clause.
> >
> > Eg
> >
> > SELE
Murray @ PlanetThoughtful wrote:
Hi there!
How do I do a sort in PHP where a column in a db must be two other columns
divided...`?
Hi Gustav,
You should be able to use the divide operation in your query's ORDER BY
clause.
Eg
SELECT * FROM mytable ORDER BY (field1 / field2)
You might ne
> Hi there!
>
> How do I do a sort in PHP where a column in a db must be two other columns
> divided...`?
Hi Gustav,
You should be able to use the divide operation in your query's ORDER BY
clause.
Eg
SELECT * FROM mytable ORDER BY (field1 / field2)
Regards,
Murray
---
"Lost in thought..."
> Hi
> When I enter text as more than on paragrahs in a textarea field,The text
> is displayed in one solid block of text even though I have entered it in
> paragraphs.
> How I can to insert line breaks in the text. (The values of textarea is
> stored in database and then displayed.)
>
>
> Bushr
> Hi,
>
> The following code is attempting to display a list of work types for all
> the
> users in my database. However it only loops through the inner loop once
> and
> I can't work out why, can anyone help here please?
>
> Thanks for your help
>
>
> include('application.php');
> $staff_qid
66 matches
Mail list logo