hi...
looking for suggestions on the 'best' wiki for an app. i want to be able to:
-register/login users
-admin the site
-multiple admins
-various roles/access privs for users
-enable groups
-create/modify categories
-allow users to modify text
-allow users to make postings private/group/p
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/7/05, Matt Babineau <[EMAIL PROTECTED]> wrote:
> Yeah I was considering that...I'm trying the html2pdf site right now. It
> seems alright...its choking on my invoice as we speak (lots of html).
>
> Is there a way to make a JPG? I've looked at a few sites from google..most
> are activeX...some
Hi everyone,
I hope you can all help me. I want to take the information I get from a
query and use it is a form as a dropdown select box. For example I want to
pull the colors from a table and list them in a drop down box and then when
a user selects a color it will pass the colorID for use in
Richard Lynch wrote:
On Mon, June 6, 2005 11:02 pm, Mark Sargent said:
The correct way - if one wants utf-8 as charset - is:
header("Content-Type: index/html; charset=utf-8");
actually, if I add this,
header("Content-Type: index/html; charset=utf-8");
as suggested, firefox p
2005/6/8, Jay Blanchard <[EMAIL PROTECTED]>:
> [snip]
> I want that the file with extension .TXT that this in my server, to keep
> packed it with extension ZIP. Somebody knows since I can do it.
> [/snip]
>
> http://www.php.net/zip
>
but it says 'Read Only Access' from the document?
so,the file
Greg Donald wrote:
> On 6/8/05, NSK <[EMAIL PROTECTED]> wrote:
>
>>Hi, I am creating a small API in PHP, i.e. a collection of reusable functions
>>for other programmers. As it is now, it is just many functions together in
>>the same file. Do you think I should make it object-oriented? What are the
Danielle wrote:
> I'm having problems installing PEAR.
> When running the go-pear.php installer (version 0.2.2), I get the following
> message after submitting the form on the 'Configuration' page...
>
> Error
>
> Downloading package: Pager
>
> download of http://pear.php.net/get/Pag
I'm having problems installing PEAR.
When running the go-pear.php installer (version 0.2.2), I get the following
message after submitting the form on the 'Configuration' page...
Error
Downloading package: Pager
download of http://pear.php.net/get/Pager failed: A connection attempt
fa
On Mon, June 6, 2005 11:02 pm, Mark Sargent said:
>>> The correct way - if one wants utf-8 as charset - is:
>>> header("Content-Type: index/html; charset=utf-8");
> actually, if I add this,
>
> header("Content-Type: index/html; charset=utf-8");
>
> as suggested, firefox prompts to download the pag
On Mon, June 6, 2005 11:30 pm, Burhan Khalid said:
>> maybe you could use the apache ProxyPass directive?
>>
>> ProxyPass testb.xxx.com/a/ testa.xxx.com
>>
>> or something like that. (I'm just half-remembering
>> a cool post by Rasmus L. so the syntax is probably off)
>>
>
> I've been trying to sea
On Tue, June 7, 2005 5:39 am, Merlin said:
> I am getting more and more emails through my webforms submited by bots.
> It looks like some sites liky yahoo are placing an image into their forms
> and
> the human has to enter a code visible on the image to submit the form.
> After some googling I fou
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner s
On Tue, June 7, 2005 10:59 am, Robert Cummings said:
> PHP has never purported to be an OOP only language. It advocates both
> procedural and OOP programming methodologies. Just ask Richard Lynch :)
Don't bother asking me - Ask Rasmus :-)
And, for the record, *I* sure as hell don't want to see a
On Tue, June 7, 2005 3:30 pm, Matt Babineau said:
> Is there a way to make a JPG? I've looked at a few sites from google..most
> are activeX...somewhat undersirable. Looking for something I can run on
> the
> server to do the convert work.
webthumb from the GD guys might do what you want for the J
On Wed, June 8, 2005 5:23 am, Bosky, Dave said:
> Basically I have a master list of available files in the following
> formats: text, JPEG images, Excel, Powerpoint, and Word. The user
> selects all the documents they need from the list and then I need to
> build a dynamic PDF containing all the se
On Wed, June 8, 2005 7:53 am, Philippe Reynolds said:
> I'm having a little problem with the interaction between php and IE.
>
> I have two ".php" pages.
Show us the page.
> The first contains a form with the standard submit button. However when I
> come to push the button, I get a "ding" sound
On Wed, June 8, 2005 11:01 am, Philippe Reynolds said:
> Acutally, I have just resolved my problem.
>
> I was using method="get" in my form (which contains at least a hundred
> values to be passed back). This overloaded the address length and
> therefore
> could not and would not action the second
First, thanks to all who replied!
and yes I was aware of that kind of security issues and expected no
positive results upon my question.
But I've forgotten about the wsh.
Now I think I would use it in case it is *absolutely* necessary
Thanks again
Mauricio
On Tue, 2005-06-07 at 21:28, Rory Brown
On 6/8/05, NSK <[EMAIL PROTECTED]> wrote:
> Hi, I am creating a small API in PHP, i.e. a collection of reusable functions
> for other programmers. As it is now, it is just many functions together in
> the same file. Do you think I should make it object-oriented? What are the
> pros and cons of this
Hi, I am creating a small API in PHP, i.e. a collection of reusable functions
for other programmers. As it is now, it is just many functions together in
the same file. Do you think I should make it object-oriented? What are the
pros and cons of this approach in PHP?
I am particularly very conce
Rory Browne wrote:
< won't be picked up as a word boundry (\b).
Aparently it will.
I stand corrected based on these two rules for \b since < and > are
non-word characters...
# Between a word character and a non-word character following right
after the word character.
# Between a non-wor
On 6/8/05, John Nichel <[EMAIL PROTECTED]> wrote:
> Rory Browne wrote:
>
> >>Good catch Rory. A regex replace would work better here.
> >>
> >>$search = "body";
> >>$find = "/\b" . $search . "\b/";
> >>preg_replace ( $find, "" . $search . "", $html );
> >
> >
> > I don't think so. If I'm reading
Dotan Cohen wrote:
Now, I know that this is easy, but I am embarassed to say that I can't
find a regex tutorial that will show me how to match any occurances of
x and replace them with one x:
x >x
xx > x
x > x
$string="I have apples!";
$string=preg_replace("-regex here-","x", $stri
eval('?> '.$code.' http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Acutally, I have just resolved my problem.
I was using method="get" in my form (which contains at least a hundred
values to be passed back). This overloaded the address length and therefore
could not and would not action the second page.
I switch to method="post" in my form (which does not p
Greg,
Have you enabled the MySQL extensions in the php.ini file and made sure the
extension path in the php.ini file is correctly pointing to the right
directory? eg c:\php\ext or c:\php\extension.
I believe phpninfo() has a section for MySQL if it is enabled.
hth.
Chris.
-Original Mess
Do you have a doctype as the first line of your web page? Standards and
browser behavior have changed over the years and the doctype is how you
specify which behavior (and bugs) you want the browser to adhere to.
Usually when you see some really wierd behavior, it's because of an
incorrect or m
Hello,
Is there a special newsgroup for socket programming?
regards
Harry
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello Greg,
Wednesday, June 8, 2005, 4:55:45 PM, you wrote:
GMP> The final product here is to install Nucleus blog software
GMP> (http://nucleuscms.org/) on a windows 2003 servermy IT
GMP> consultant is having a problem getting PHP to see mysql & both of
GMP> those programs are required to ma
First, thanks guys for such a fast response :)
Matthew Weier O'Phinney wrote:
While the above would prevent most SQL injections, it could still wreak
havoc with your database. For instance, what if your 'phone' or 'zip'
fields in your database are integer fields, and text gets passed from
the
The final product here is to install Nucleus blog software
(http://nucleuscms.org/) on a windows 2003 servermy IT consultant is
having a problem getting PHP to see mysql & both of those programs are
required to make nucleus work. it's really frustrating for him (& me).
"Richard Davey" <[E
[EMAIL PROTECTED] wrote:
I got the point Chris was making: never believe _GET/_POST and use
ctype_alnum(), mysql_real_escape_string(), htmlentities() - and I
already started :) (Thanks Chris that was great for us beginners,
already posted on few Bosnian php forums :))
You're welcome. :-)
I
On Tue, 2005-06-07 at 14:46 +0200, Hans J.J. Prins wrote:
> test
>
Failed.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> :
> Thanks Richard.
> I got the point Chris was making: never believe _GET/_POST and use
> ctype_alnum(), mysql_real_escape_string(), htmlentities() - and I
> already started :) (Thanks Chris that was great for us beginners,
> already posted on few Bosn
Hello afan,
Wednesday, June 8, 2005, 4:33:24 PM, you wrote:
aan> My question though was is the difference in code I mentioned just
aan> a "habit of writing code" or there is some more? Some security
aan> issues too?
It was most likely just a coding habit - there was no discernable
difference bet
Hello Greg,
Wednesday, June 8, 2005, 3:58:03 PM, you wrote:
GMP> Please help - I got " Error message:
GMP> "Your PHP version does not have support for MySQL"
GMP> when I did http://x.x.x.x/install.php on windows 2003 with Php 5.04 and
GMP> MySQL 5.0.
Possibly you don't have MySQL support enable
On 6/8/05, Greg M. Price <[EMAIL PROTECTED]> wrote:
> Please help - I got " Error message:
>
> "Your PHP version does not have support for MySQL"
>
> when I did http://x.x.x.x/install.php on windows 2003 with Php 5.04 and
> MySQL 5.0.
PHP 5 doesn't come with the MySQL client libraries built-in.
[EMAIL PROTECTED] wrote:
I was reading PHP Security Briefing from brainbulb.com (Chris
Shiflett) and didn't get one thing:
in example:
why to set the $clean as array? what's wrong if I use:
Richard already answered this pretty well, but I wanted to mention that
this is not the only way to
* "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> :
> On windows platform I use HomeSite 5.5 and I'm more then happy.
> On Linux platform QuantaPlus
> For small and fast changes on file vi/vim is the best.
You know that vim exists for windows, right? and that it can be used for
large changes as well? (I u
Thanks Richard.
I got the point Chris was making: never believe _GET/_POST and use
ctype_alnum(), mysql_real_escape_string(), htmlentities() - and I
already started :) (Thanks Chris that was great for us beginners,
already posted on few Bosnian php forums :))
My question though was is the di
Rory Browne wrote:
Good catch Rory. A regex replace would work better here.
$search = "body";
$find = "/\b" . $search . "\b/";
preg_replace ( $find, "" . $search . "", $html );
I don't think so. If I'm reading your code correctly you still have
the same problem, as I outlined above. There i
Please help - I got " Error message:
"Your PHP version does not have support for MySQL"
when I did http://x.x.x.x/install.php on windows 2003 with Php 5.04 and
MySQL 5.0.
Can anybody tell me what this is all about?
Thanks,
GMP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
On 6/8/05, Jochem Maas <[EMAIL PROTECTED]> wrote:
> Dotan Cohen wrote:
> > On 6/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> >
> >>Quoting Dotan Cohen <[EMAIL PROTECTED]>:
> >>
> >>$string="I have apples!";
> >>$string=preg_replace("/x+/sim","x", $string);
> >>print "$string";
> >>
[snip]
I do not want to open a ZIP , I want create a ZIP fron TXT .
[/snip]
How far did you read? http://us3.php.net/manual/en/ref.zlib.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/8/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [snip]
> I don't think so. If I'm reading your code correctly you still have
> the same problem, as I outlined above. There is no simple solution to
> this. It either involves advanced regex(more advanced than my
> understanding of it), or a pro
Philippe Reynolds wrote:
Hi all,
I running two php web page...therefore the page name has the ".php" on
the end.
The first page contains a form with a submit button at the botton. That
submit button actions the second ".php" page.
When I use my firefox browser everything works fine.
When I
Hello afan,
Monday, June 6, 2005, 6:39:09 PM, you wrote:
aan> I was reading PHP Security Briefing from brainbulb.com (Chris Shiflett)
aan> and didn't get one thing:
aan> in example:
aan> $clean = array();
aan> if (ctype_alnum($_POST['username']))
aan> {
aan> $clean['username
> Ten years ago today, Rasmus announced Personal Home Page Tools (PHP
> Tools) version 1.0. Today, numerous people contribute to PHP and to the
> nurturing of its community, but the project has never lost sight of
> Rasmus's original goal of solving the web problem.
>
> Thanks (of course) to Rasm
Hey,
yeah I do have form tags. They are the following:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
That's much clearer than your original question was.
Try
www.phpclasses.org
Good luck.
Denyl Meneses Guillén wrote:
I do not want to open a ZIP , I want create a ZIP fron TXT .
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Denyl Meneses Guillén" <[EMAIL PR
I second that ! Thanks for 10 Years of PHP.. i use it every day!!!
Joe
On 6/8/05, Chris Shiflett <[EMAIL PROTECTED]> wrote:
> Ten years ago today, Rasmus announced Personal Home Page Tools (PHP
> Tools) version 1.0. Today, numerous people contribute to PHP and to the
> nurturing of its commun
> On windows platform I use HomeSite 5.5 and I'm more then happy.
I was a big proponent of HS for the longest time until I played around
with Visual Slickedit. I very quickly switched and never looked back.
VS is infinitely more feature rich than is HS.
thnx,
Chris
--
PHP General Mailing List
Hi all,
I'm having a little problem with the interaction between php and IE.
I have two ".php" pages.
The first contains a form with the standard submit button. However when I
come to push the button, I get a "ding" sound (standard error sound) and it
seems like the button is deactivated. H
Dotan Cohen wrote:
On 6/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
Quoting Dotan Cohen <[EMAIL PROTECTED]>:
$string="I have apples!";
$string=preg_replace("/x+/sim","x", $string);
print "$string";
hope it helps..
Now, I know that this is easy, but I am embarassed to say th
PHP doesn't really have anything to do with IE or Firefox working or failing to
work, it's all about the HTML that PHP generates.
What does your tag look like? That's probably more the issue than your
button or anything having to do with PHP.
If you have no tag, then the browsers might be tr
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I was reading PHP Security Briefing from brainbulb.com (Chris Shiflett)
and didn't get one thing:
in example:
why to set the $clean as array? what's wrong if I use:
-afan
On windows platform I use HomeSite 5.5 and I'm more then happy.
On Linux platform QuantaPlus
For small and fast changes on file vi/vim is the best.
my $.02
:)
-afan
On 6/6/05, Clive Zagno <[EMAIL PROTECTED]> wrote:
what php GUI editors do you recommend.
any other recommendations, thanks
On windows platform I use HomeSite 5.5 and I'm more then happy.
On Linux platform QuantaPlus
For small and fast changes on file vi/vim is the best.
-afan
On 6/6/05, Clive Zagno <[EMAIL PROTECTED]> wrote:
what php GUI editors do you recommend.
any other recommendations, thanks
--
PHP
I just got this one?
Of course I didn't open the attachment, but someone sick is trying to
involve the php group into a spreading of viruses.
-afan
Returned mail wrote:
Dear user of lists.php.net,
We have found that your account was used to send a large amount of spam
messages during this
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ten years ago today, Rasmus announced Personal Home Page Tools (PHP
Tools) version 1.0. Today, numerous people contribute to PHP and to the
nurturing of its community, but the project has never lost sight of
Rasmus's original goal of solving the web problem.
Thanks (of course) to Rasmus for ge
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I do not want to open a ZIP , I want create a ZIP fron TXT .
- Original Message -
From: "Jay Blanchard" <[EMAIL PROTECTED]>
To: "Denyl Meneses Guillén" <[EMAIL PROTECTED]>;
Sent: Wednesday, June 08, 2005 7:11 AM
Subject: RE: [PHP] Of .txt to .zip
[snip]
I want that the file with extens
Hi all,
I running two php web page...therefore the page name has the ".php" on the
end.
The first page contains a form with a submit button at the botton. That
submit button actions the second ".php" page.
When I use my firefox browser everything works fine.
When I use Internet Explorer, the
Hi all,
I am trying to figure out how mixed HTML and PHP code (like one might
have in a normal PHP file) can be evaluated if it is stored in a
variable, e.g. obtained from a database query.
Unfortunately, the ``eval'' function only accepts pure PHP code which
(in addition) must not have any synta
> -Original Message-
> From: Jim Moseby [mailto:[EMAIL PROTECTED]
> Sent: 08 June 2005 15:18
> To: '[EMAIL PROTECTED]'
> Subject: RE: [PHP] HELP! form validation
>
>
> > -Original Message-
> > From: Dave Sayer [mailto:[EMAIL PROTECTED]
> > Sent: Wednesday, June 08, 2005 9:58 AM
> Hi php’ers,
>
> What would be the best method of validation a large (8
> stages) form written
> in php? The form validates using php at the moment but it
> only displays the
> errors in a group, what we want it to do is highlight the
> fields or labels
> for the incorrect entries (if that mak
[snip]
I want that the file with extension .TXT that this in my server, to keep packed
it with extension ZIP. Somebody knows since I can do it.
[/snip]
http://www.php.net/zip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 6/8/05, Dave Sayer <[EMAIL PROTECTED]> wrote:
> What would be the best method of validation a large (8 stages) form written
> in php? The form validates using php at the moment but it only displays the
> errors in a group, what we want it to do is highlight the fields or labels
> for the incorre
[snip]
I don't think so. If I'm reading your code correctly you still have
the same problem, as I outlined above. There is no simple solution to
this. It either involves advanced regex(more advanced than my
understanding of it), or a proper parser.
[/snip]
Also it should be noted that the tag p
On 6/8/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Quoting Dotan Cohen <[EMAIL PROTECTED]>:
>
> $string="I have apples!";
> $string=preg_replace("/x+/sim","x", $string);
> print "$string";
>
> hope it helps..
>
> > Now, I know that this is easy, but I am embarassed to say that I
Rory Browne wrote:
On 6/8/05, John Nichel <[EMAIL PROTECTED]> wrote:
Rory Browne wrote:
On 6/8/05, David Duong <[EMAIL PROTECTED]> wrote:
Sebastian wrote:
i'm looking for a function that can highlight certain search terms in a
string. anyone have something already made that i can plugin
Hi php’ers,
What would be the best method of validation a large (8 stages) form written
in php? The form validates using php at the moment but it only displays the
errors in a group, what we want it to do is highlight the fields or labels
for the incorrect entries (if that makes sense.) so the use
John Nichel wrote:
Rory Browne wrote:
On 6/8/05, David Duong <[EMAIL PROTECTED]> wrote:
Sebastian wrote:
i'm looking for a function that can highlight certain search terms in a
string. anyone have something already made that i can plugin to my
exisiting code?
I found a couple but they do n
Hi All,
I want that the file with extension .TXT that this in my server, to keep packed
it with extension ZIP. Somebody knows since I can do it.
Thanks
Denyl.
Jason Barnett wrote:
@media print {
/* style sheet for print goes here */
}
http://www.w3.org/TR/REC-CSS2/media.html
^^^ This is a good suggestion. But if you only need to print just
this one invoice then you can also take a full screen shot, paste
that into your favorite image program
On 6/8/05, John Nichel <[EMAIL PROTECTED]> wrote:
> Rory Browne wrote:
> > On 6/8/05, David Duong <[EMAIL PROTECTED]> wrote:
> >
> >>Sebastian wrote:
> >>
> >>>i'm looking for a function that can highlight certain search terms in a
> >>>string. anyone have something already made that i can plugin t
* Rory Browne <[EMAIL PROTECTED]> :
> preg_replace("/x+/", "x", $string); should do it. Having that said,
> regex generally comes back and bites me in the ass, so...
That one won't -- that's spot on.
> On 6/8/05, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> > Now, I know that this is easy, bu
@media print {
/* style sheet for print goes here */
}
http://www.w3.org/TR/REC-CSS2/media.html
^^^ This is a good suggestion. But if you only need to print just
this one invoice then you can also take a full screen shot, paste that
into your favorite image program and then print from th
preg_replace("/x+/", "x", $string); should do it. Having that said,
regex generally comes back and bites me in the ass, so...
On 6/8/05, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> Now, I know that this is easy, but I am embarassed to say that I can't
> find a regex tutorial that will show me
Now, I know that this is easy, but I am embarassed to say that I can't
find a regex tutorial that will show me how to match any occurances of
x and replace them with one x:
x >x
xx > x
x > x
$string="I have apples!";
$string=preg_replace("-regex here-","x", $string);
print "$string";
Jason Barnett wrote:
Marek Kilimajer wrote:
Matt Babineau wrote:
Hi all -
I've got a great html invoice that prints like crap because of my
user of
background images and foreground images. Does anyone have any good
suggestions other than turn on images in IE to get this thing to
print the
Rory Browne wrote:
On 6/8/05, David Duong <[EMAIL PROTECTED]> wrote:
Sebastian wrote:
i'm looking for a function that can highlight certain search terms in a
string. anyone have something already made that i can plugin to my
exisiting code?
I found a couple but they do not work very well.. s
Jon wrote:
I have not used curl before and it looked interesting from the manual.
So, does anyone have a sample script or a tutorial that covers the logon
procedure.
What I want to do is logon to an asp site and download some files. Can
someone point me in the right direction? I have done some
Marek Kilimajer wrote:
Matt Babineau wrote:
Hi all -
I've got a great html invoice that prints like crap because of my user of
background images and foreground images. Does anyone have any good
suggestions other than turn on images in IE to get this thing to print
the
graphics? Is there a goo
I know how to create dynamic PDF's on the fly using the PDF library
functions.
Is there a way I can add Excel and Word documents to the dynamic PDF as
well?
Here's what I need to do.
Basically I have a master list of available files in the following
formats: text, JPEG images, Excel, Powerpoi
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner s
89 matches
Mail list logo