Hello,
I've encountered a weird problem with using $_GET. I've recently moved
to a new hosting company and an old code suddenly stopped working
correctly.
>From my index page, I pass a value through the querystring to another
PHP script. The querystring parameter goes like ?catid=500.
In the scr
echo "district)."\">";
http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in
IE6, but Mozilla will not accept it.
Mozilla does not work. Am I approaching this wrong? Should I create my
HTML this way?
echo "district."\">";
If I do, Mozilla prferes this:
http://foo.org/_pr
I sent this to Mozilla groups. I'm beginning to wonder if Mozilla
supports ?
I think re-asked my question clearer below.
John
i dont think having a + in an achor tag is standard.. but i could be
wrong.
I'm truly hoping this is a reported bug already.
This URL does not work in most recent up
i dont think having a + in an achor tag is standard.. but i could be wrong.
John Taylor-Johnston wrote:
I seem to have a problem with Mozilla or with IE?
echo "district)."\">";
http://foo.org/_private/directory.php#Montr%E9al+District+%234 works
in IE6, but Mozilla will not accept it.
Moz
I seem to have a problem with Mozilla or with IE?
echo "district)."\">";
http://foo.org/_private/directory.php#Montr%E9al+District+%234 works in
IE6, but Mozilla will not accept it.
Mozilla does not work. Am I approaching this wrong? Should I create my
HTML this way?
echo "district."\">";
Hi,
Anyone know if theres a way to disable this feature for user using old
browsers or not suporting JS/XML?
Thanks,
pancarne.
Hello all, Ive been working with PHP for my websites for a few months,
just attempted to build my own class, after reading all this stuff about
automated robots and XSS attacks etc decided to step up security a
bit, my result is an attempt to create a class for using the token
method within we
hi...
i'm playing around with trying to get a better understanding of an app
(www.sitellite.org) it uses templates, which appear to have php/xml/html and
i'm trying to understand it a little better.
is there someone i can talk to who has a few minutes that might be willing
to walk me through thi
To do Html reports, like for all dynamic Html pages, I use a Template
Engine.
The one I use is the one I develop and maintain.
It's TinyButStrong, mature and works with WYSIWYG templates.
Reports are easy with a Template Engine.
---
Skrol29
www.tinybutstrong.com
--
htmlArea afaik only works on MSIE 5+. It doesn't work on Mozilla/Firefox/etc.
On 6/3/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Ryan A:
> Do you mean htmlArea?
>
> http://www.dynarch.com/projects/htmlarea/
>
> .. we used htmlArea in one of our projects and were quite happy with the
> si
Here is what I use:
The "articles" (non-technical user supplied content is stored in a database
e.g. mySQL with a table named something like article_content). The table
has columns such as
CREATE TABLE article_content (
id int(11) NOT NULL auto_increment,
page_name varchar(35) NOT NULL defau
""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> How do you generate a list of 50 random unique IDs in the first place?
>
By using the SQL function to create those randoms
> How to you guarantee that all those IDs are in the database?
>
No need for that. When
Chris Boget wrote:
You can use defined() to check to see if a constant has been
defined. You can use function_exists() to see if a function
has been defined. But what can you use to check to see if
a class has been defined?
class_exists()
// and
$is = class_exists($er, false); // suppre
Hi Philip!
congrats on being new to PHP... you'll find that PHP is very robust
'Server Side Scripting Language'... you'll probably want to subscribe
to the javascript mailing list for your javascript questions... the
people here want you to keep the questions on this mailing list
restricted to PHP
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
This is a JavaScript issue, but that said...
http://www.pjkh.com/wiki/field_completion
Toot! Toot!
;-)
>
> Hi, I am new to php and I would like to find out if there's
> some kind of
> a function that would autocomplete the word/value when the user is
> trying to fill out a field in a form. Thank you.
>
PHP is server side, not client side, where the form is. You would need to
use javascript for
Olga Urban wrote:
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
Olga
That is a client side scripting issue... try javascript...
HTH,
Mikey
--
PH
[snip]
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
[/snip]
Since PHP is server side it will not do this. Look into JavaScript.
--
PHP General Mailing Li
Hi, I am new to php and I would like to find out if there's some kind of
a function that would autocomplete the word/value when the user is
trying to fill out a field in a form. Thank you.
Olga
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wed, June 1, 2005 8:42 pm, Ryan A said:
> On 6/2/2005 5:17:47 AM, Richard Lynch ([EMAIL PROTECTED]) wrote:
>> URL re-writing can do that -- It ends up using his 'index' file (or
>> whatever) but you don't see it in the URL.
>
> Thanks for replying.
>
> But if I want to copy his exact way of doin
On Thu, June 2, 2005 4:31 pm, Brian Dunning said:
> I am using a routine to find 50 random records in a large MySQL
> database (about a million records) where I generate a list of 50
> random unique ID's, and then use MySQL's "in" command to find them. I
> can't use "order by rand()" due to its per
Ryan A:
Do you mean htmlArea?
http://www.dynarch.com/projects/htmlarea/
.. we used htmlArea in one of our projects and were quite happy with the simple
user interface. It had a couple of bugs ... but maybe the newer release has
squashed these? Check with the developer.
Rob.
http://www.globalis
On 6/3/05, GamblerZG <[EMAIL PROTECTED]> wrote:
> > What's keeping you.
>
> There are no "official" PHP forums.
So start one. Lots of free forum scripts out there. Domain names are
like $8.95 or something, and hosting can be had for free if you look
around, or for cheap if you don't.
Besides t
GamblerZG wrote:
What's keeping you.
There are no "official" PHP forums.
[EMAIL PROTECTED] jnichel]$ whois officialphpforums.com
[Querying whois.internic.net]
[whois.internic.net]
Whois Server Version 1.3
Domain names in the .com and .net domains can now be registered
with many different
What's keeping you.
There are no "official" PHP forums.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Miguel Guirao wrote:
Hi!!!
Are there any chances that I could export a dynamic created web page into MS
Word or Excel?
I know this can be done with PDF!!
I'm using LAMP!!
If you're using LAMP then you're probably out of luck. The only
possibility I can think of would be to check out the MO
On 6/2/05, Ryan A <[EMAIL PROTECTED]> wrote:
> Hi Chris,
> Thanks for replying
>
> > > I noticed a site that is using php, but he is has shortened
> > > the url so that the filename was not shown..
> > > eg:
> > > somesite.com/?a=1
> > >
> > > How did they do that?
> >
> > It's called a directory
Then you're a better coder than me, but then again who isn't. :) It's
just that in general I try to make things as strict / difficult as
possible to code during development so that I will catch as many errors
as possible before hand. But then again I use error_reporting(E_ALL).
--
PHP Gener
> If you're developing with PHP5, but the production environment is PHP4
> then at the top of each script you probably want to add:
>
>
> ini_set('zend.ze1_compatibility_mode', 1);
>
> ?>
>
> This way you will have objects default to pass by value instead of by
> reference and you don't end up
Greg Donald wrote:
On 6/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
For PHP 4.x sites I used my index page to capture the HTTP request and use a
switch statement to call the content or task based on the $_GET and $_POST
arrays. That was very inefficient and the Switch case became totall
Matthew Weier O'Phinney wrote:
* "Murray @ PlanetThoughtful" <[EMAIL PROTECTED]>:
(Note: my development environment is PHP 5.0.3, but the production
environment is 4.3.10. This is my first project built with 5.x local and
4.1.x remote, so if anyone with more experience spots any fatal flaws
system reporting:
eg: sales per province/state
well any reporting, most systems use reporting im sure most of the
reporting is done using PHP.
I haven't used either, but mabye these...
OpenRPT: The First Fully Cross-Platform SQL Report Writer
http://www.openrpt.com/
DataVision Home
http://
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
> > You can use defined() to check to see if a constant has been
> > defined. You can use function_exists() to see if a function
> > has been defined. But what can you use to check to see if
> > a class has been defined?
> class_exists()
I found that after it dawned on me to search for the phra
* "Chris Boget" <[EMAIL PROTECTED]>:
> You can use defined() to check to see if a constant has been
> defined. You can use function_exists() to see if a function
> has been defined. But what can you use to check to see if
> a class has been defined?
class_exists()
--
Matthew Weier O'Phinney
threaded in terms of the posts being shown in a tree view kinda way...
so if I reply to your post in a threaded mail cleint it will be shown
under your post/reply/message
where as if I replied to the origional it will be seen on the same level
as the others who replied to the origional post for the
threaded in terms of the posts being shown in a tree view kinda way...
so if I reply to your post in a threaded mail cleint it will be shown
under your post/reply/message
where as if I replied to the origional it will be seen on the same level
as the others who replied to the origional post for the
On 6/3/05, Rory Browne <[EMAIL PROTECTED]> wrote:
> > There's no need to reply to me directly since I'm on the list.
> FYI that happens automaticly when you "reply to all", which a lot of
> people do for mailing lists.
I hit 'reply to all' as well, then I remove everything but
[EMAIL PROTECTED] I
On 6/3/05, Greg Donald <[EMAIL PROTECTED]> wrote:
> On 6/3/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> > what you are looking for is a CMS system
> > something like www.plone.org
> > also there is an rich text HTML area which you can use on your site, check
> > this out:
> > http://www.s
Brian Dunning wrote:
On Jun 3, 2005, at 6:48 AM, Marek Kilimajer wrote:
Brian Dunning wrote:
I am using a routine to find 50 random records in a large MySQL
database (about a million records) where I generate a list of 50
random unique ID's,
why can't you use the where condition in
Brian Dunning wrote:
I'm using a class that I downloaded, and to access the database it uses
variable names in all caps, like this:
if(!defined("MAGPIE_DBUSER")) define("MAGPIE_DBUSER", "brian");
...
$dbuser = MAGPIE_DBUSER;
...
$dbh = mysql_connect($dbhost,$dbuser,$dbpass);
And it
On 6/3/05, Brian Dunning <[EMAIL PROTECTED]> wrote:
> I'm using a class that I downloaded, and to access the database it
> uses variable names in all caps, like this:
those are constants: it's like a variable, except once you define it,
it stays set at that value and you can't change it.
> And i
You can use defined() to check to see if a constant has been
defined. You can use function_exists() to see if a function
has been defined. But what can you use to check to see if
a class has been defined?
thnx,
Chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
[snip]
I'm using a class that I downloaded, and to access the database it
uses variable names in all caps, like this:
if(!defined("MAGPIE_DBUSER")) define("MAGPIE_DBUSER", "brian");
...
$dbuser = MAGPIE_DBUSER;
...
$dbh = mysql_connect($dbhost,$dbuser,$dbpass);
And it works fine.
I'm using a class that I downloaded, and to access the database it
uses variable names in all caps, like this:
if(!defined("MAGPIE_DBUSER")) define("MAGPIE_DBUSER", "brian");
...
$dbuser = MAGPIE_DBUSER;
...
$dbh = mysql_connect($dbhost,$dbuser,$dbpass);
And it works fine. But I alre
On 6/3/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> what you are looking for is a CMS system
> something like www.plone.org
> also there is an rich text HTML area which you can use on your site, check
> this out:
> http://www.solmetra.com/en/disp.php/en_products/en_spaw/en_spaw_intro
>
On Jun 3, 2005, at 6:48 AM, Marek Kilimajer wrote:
Brian Dunning wrote:
I am using a routine to find 50 random records in a large MySQL
database (about a million records) where I generate a list of 50
random unique ID's,
why can't you use the where condition in the above query?
Bec
Brian Dunning wrote:
I am using a routine to find 50 random records in a large MySQL
database (about a million records) where I generate a list of 50 random
unique ID's,
why can't you use the where condition in the above query?
and then use MySQL's "in" command to find them. I can't
use
Try using a temporary table. It should be pretty fast. You'd do
something like
1. Select from table1 according to search criteria
2. Insert data from #1 into temp_table1
3. Random selection from temp_table1
kgt
Brian Dunning wrote:
I am using a routine to find 50 random records in a l
what you are looking for is a CMS system
something like www.plone.org
also there is an rich text HTML area which you can use on your site,
check this out:
http://www.solmetra.com/en/disp.php/en_products/en_spaw/en_spaw_intro
it might help
hope it does.
Angelo
Greg Donald wrote:
>On 6/2/
On 6/2/05, asinning <[EMAIL PROTECTED]> wrote:
> At the crux of this post is the following question: How do you develop
> a very robust, dynamic web-site, but also allow non-technical people to
> contribute? There must be an easier way.
Use a framework like MVC. Your PHP code would be seperate f
On 6/3/05, Angelo Zanetti <[EMAIL PROTECTED]> wrote:
> I just want you to list the
> software you use to do reporting
PHP, Perl, MySQL, PostgreSQL.
> Also comment on the good and bad things/recommendations and ones you
> would not recommend.
Perl = Practical Extraction and `Reporting` Language.
On 6/2/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> For PHP 4.x sites I used my index page to capture the HTTP request and use a
> switch statement to call the content or task based on the $_GET and $_POST
> arrays. That was very inefficient and the Switch case became totally
> unmanageab
asinning wrote:
This is my first post to this group. I've been trying to figure this
out on my own, but I keep running into complications, so I've decided
to get some help. Much thanks for any help!
I've been writing php server application for a couple of years, but now
I'm turning my attent
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
If the ffi route doesn't work, just create a COM wrapper for the simple DLL,
then you can map any functions you need.
-Original Message-
From: Rory McKinley [mailto:[EMAIL PROTECTED]
Sent: 03 June 2005 11:17
To: php-general@lists.php.net
Cc: Rory Browne
Subject: Re: [PHP] Accessing DLL fr
Rory Browne wrote:
> Just bare in mind, that I've never used ffi, and it's still alpha
> code, and I'm not taking any blame it causes your dog to
> explode.
That's ok, I am sure there is no chance...rover, rover,what's the matter
boy? (Sound of dog exploding)
No
On 6/2/05, Rory McKinley <[EMAIL PROTECTED]> wrote:
> Richard Davey wrote:
>
> > If the DLL has a COM interface then you can use PHP to talk to it, the
> > process is actually quite straight forward (depending on what the DLL
> > actually does of course).
> >
> > Best regards,
> >
> > Richard Dave
On Thu, 2 Jun 2005 11:58:26 +0100, in php.general
[EMAIL PROTECTED] (Richard Davey) wrote:
>I would recommend setting UTF-8 as the Content-type via PHP itself:
>header('Content-type: UTF-8') - do it as one of the first things when
>you're ready to output the HTML.
UTF-8 is a charset, not a Conten
On Thu, 02 Jun 2005 00:44:12 -0400, in php.general [EMAIL PROTECTED]
(Chris Shiflett) wrote:
>3. The debate between storing includes outside of document root versus
>using a .php file extension, instructing Apache to process .inc files as
>PHP, instructing PHP to deny requests for .inc files, et
For reporting what?
-
hi guys,
I sent an earlier post but no answers, so I just want you to list the
software you use to do reporting and then i can go through the answers
and see if any are applicable.
Also comment on the good and bad things/recommendations and ones you
would not rec
system reporting:
eg: sales per province/state
well any reporting, most systems use reporting im sure most of the
reporting is done using PHP.
[EMAIL PROTECTED] wrote:
>For reporting what?
>
>-
>hi guys,
>
>I sent an earlier post but no answers, so I just want you to list the
>soft
hi guys,
I sent an earlier post but no answers, so I just want you to list the
software you use to do reporting and then i can go through the answers
and see if any are applicable.
Also comment on the good and bad things/recommendations and ones you
would not recommend.
thanks in advance
--
An
63 matches
Mail list logo