On Fri, May 13, 2005 8:26 pm, mayo said:
> I'm making my first shopping cart in PHP. I'm concerned about the
> security of my session variables, concerned about people altering data
> (lowering the price). Is there anything I should pay attention to.
There are approximately 247 other PHP shopping
Hi all,
For some reason, when I compile php on my FreeBSD 5.4 machine (amd64
architecture), it is not creating the shared object file.
Here is my config :
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-ftp
--with-mcrypt=/usr/local -with-openssl -enable-url-fopen-wrapper
--enable-ft
On Fri, May 13, 2005 5:59 am, Andre Dubuc said:
> However, the behavior continues intermittently. I've duplicated it one
> time.
> If I click on the 'State' dropdown list, allow the mouse to scan through
> it,
> but do not choose a value, and then immediately go to the previous or next
> field and
On Fri, May 13, 2005 1:18 am, Erwin Kerk said:
> Can anyone explain me why the following code:
>
> if ("info" == 0) echo "is 0\n"; else echo "not 0\n";
>
> Results in: not 0
>
>
> Whereas:
>
> if ("inf" == 0) echo "is 0\n"; else echo "not 0\n";
>
> Results in: is 0
>
> Notice the difference: info i
On Fri, May 13, 2005 1:06 am, Marek Kilimajer said:
> Richard Lynch wrote:
>> On Thu, May 12, 2005 6:58 am, Shaun said:
>>
>>>$_SERVER['HTTP_HOST']
>>>
>>>"Mbneto" <[EMAIL PROTECTED]> wrote in message
>>>news:[EMAIL PROTECTED]
>>>Hi,
>>>
>>>I need to access a website (written in php) using two
On Fri, May 13, 2005 1:01 am, Bogdan Stancescu said:
> I know I could read the session files themselves, but I'd very much
> rather use a "proper" way to retrieve the active sessions, which would
> work with alternate methods of storing session data, if there is any
> such proper way to do this.
R
On Fri, May 13, 2005 12:51 am, Marek Kilimajer said:
> Richard Lynch wrote:
>> On Thu, May 12, 2005 4:43 pm, Chris Shiflett said:
>>
>>> From me:
>>>The fact that it uses the character set of your current connection to
>>>MySQL means that what your escaping function considers to be a single
>>>
On Fri, May 13, 2005 1:25 am, Marcus Bointon said:
> They did "change the rules" starting in November 2000, with RFCs
> (3454, 3490, 3491, 3492) finalised in 2003. See http://
> www.verisign.com/products-services/naming-and-directory-services/
> naming-services/internationalized-domain-names/index.
By the time a properly executed script(executed on the remote server) gets
to your computer, regardless of the fact it was done in php(or any other
server side language for that matter) it will just be plain html. Once it
makes you computer the file/html will be the same as the same page written
in
> For example:
>
> mysite/sweaters/
>
> (I think) is better than:
>
> mysite/index.php?section=1&content=23&style=5.
It's more usable I guess. What handles that though? I'm finding it
hard to organise the back end of that in my head.
I don't think there's any way around that ending up looking for
|-Original Message-
|From: Jason Barnett [mailto:[EMAIL PROTECTED]
|Sent: 13 May 2005 21:21
|To: php-general@lists.php.net
|Subject: Re: [PHP] Hello, I'm new...
|
[SNIP]
|Based on the somewhat vague OP, you have somewhat vague (but somewhat
|useful) answers. ;)
I apologise for the
Hi,
I've used loadHTML() to read a HTML file to DOM. This file starts with a
string like
Do someone know how I can access this string? By reading the doctype back
from DOMDocument I only found the name (HTML) but nothing more...
Thanks,
Claudio
--
PHP General Mailing List (http://www.php.n
Richard Lynch wrote:
On Fri, May 13, 2005 12:20 pm, Faith Emre YILMAZ said:
anyone knows how to change php ini location?
I m using php5, apache 1.3 on windows xp.
Re-compile.
Since that's not practical for most users, you just have to use whatever
phpinfo says is the right directory.
Add :
# conf
> When I recently looked at
> asp.net, Microsoft had a Community starter kit/framework which
> included all
> the basic modules/applications needed to get such a site up and
> running and
> detailed documentation about it's design and implementation.
I've not looked at asp, but that sounds like a
i am not using apache 2.0
as i mentioned before i am using apache 1.3 which means that i dont have the
oppurtunity to use phpnidir config parameter. since apache 1.3 doesnt
support that.
i cannot compile php neither, since i m using a php precompiled windows
edition.
- Original Message --
Ok, I went with the solution you recommended, by the way of a "thank
you" to the list, here's the resulting function:
/**
* This function returns the IDs of the current PHP sessions.
* At this time, it only works with
* [EMAIL PROTECTED] http://www.php.net/manual/en/ref.session.php#AEN129461}
* P
it seems more likely that the server is having issues.
On 5/14/05, Simon Allison <[EMAIL PROTECTED]> wrote:
> By the time a properly executed script(executed on the remote server) gets
> to your computer, regardless of the fact it was done in php(or any other
> server side language for that matter
> I only really put in the bit about the community site as a sort of statement
> about where I would like to go in my php quest. When I recently looked at
> asp.net, Microsoft had a Community starter kit/framework which included all
> the basic modules/applications needed to get such a site up and
Hi,
They are in the same machine. My major concern is with security and
the hability to make sure if a user logs in, or adds something to a
"shopping cart" in one domain it will be available to the other
domain.
Can I set call setCookie twice with the same variable name but
different domain ? I
> Hi,
> I've used loadHTML() to read a HTML file to DOM. This file
> starts with a string like HTML 4.01 Transitional//EN">
>
> Do someone know how I can access this string? By reading the
> doctype back from DOMDocument I only found the name (HTML)
> but nothing more...
>
Use $doc
Richard Lynch wrote:
On Fri, May 13, 2005 1:06 am, Marek Kilimajer said:
Richard Lynch wrote:
On Thu, May 12, 2005 6:58 am, Shaun said:
$_SERVER['HTTP_HOST']
"Mbneto" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hi,
I need to access a website (written in php) using two different
do
Richard Lynch wrote:
On Fri, May 13, 2005 12:51 am, Marek Kilimajer said:
Richard Lynch wrote:
On Thu, May 12, 2005 4:43 pm, Chris Shiflett said:
From me:
The fact that it uses the character set of your current connection to
MySQL means that what your escaping function considers to be a single
qu
|-Original Message-
|From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
|Sent: 14 May 2005 11:35
|To: php-general@lists.php.net
|Subject: RE: [PHP] Hello, I'm new...
|
|
|PS. there it is again, hit reply and the 'to' address is the email
|sender, not the list. How so?
|
I am on a numbe
Bogdan Stancescu wrote:
Ok, I went with the solution you recommended, by the way of a "thank
you" to the list, here's the resulting function:
/**
* This function returns the IDs of the current PHP sessions.
* At this time, it only works with
* [EMAIL PROTECTED] http://www.php.net/manual/en/ref.se
Hi,
I'm currently developing a webapplication that uses mod_rewrite.
At some point i have to post data but i't seems to get lost, checking the
web and some archives i've found that normaly mod_rewrite should preserver
this data, but apparently it doesn't. Could anyone help me?
Im using:
Apache
I have to say it's a pretty simple project. The don't want to keep any
information in a db. (!!??!!) Info will be sent to a merchant services
account and to the distributor which will process the form.
Info will be kept in hidden fields and in
session variables then sent off.
They have three pro
On Saturday 14 May 2005 02:14 am, you wrote:
> On Fri, May 13, 2005 5:59 am, Andre Dubuc said:
> > However, the behavior continues intermittently. I've duplicated it one
> > time.
> > If I click on the 'State' dropdown list, allow the mouse to scan through
> > it,
> > but do not choose a value, and
> AFAIK, PHP doesn't offer that kind of packaged approach. Perhaps
> there's a major difference between the way MS approaches things and
> the way PHP/open source does.
Traditional ASP, and PHP, were fairly similar. ASP.NET and PHP are two
very different solutions, to what is possibly the same prob
Hello,
can anybody here tell me if there is a (open souce) CASE tool which
supports PHP code generation? I could not find anything like this yet.
What's the best way designing PHP applikations? I guess anybody knows a
whitepaper or tutorial URI ?!
Thanks
Krid
--
PHP General Mailing List (http://
On Sat, 2005-05-14 at 06:00, Claudio wrote:
> Hi,
> I've used loadHTML() to read a HTML file to DOM. This file starts with a
> string like
>
>
> Do someone know how I can access this string? By reading the doctype back
> from DOMDocument I only found the name (HTML) but nothing more...
>
Tes
>> PS. there it is again, hit reply and the 'to' address is the email
>> sender, not the list. How so?
> Is there a 'reply to all' button on your mail client. Some mailing
> lists add a 'Reply-to' header asking all clients to redirect replys to
> the list. PHP-general doesn't have such a feature.
>
On Fri, 2005-05-13 at 23:31, Jason Wong wrote:
> On Saturday 14 May 2005 09:42, Brian V Bonini wrote:
>
> > Yeah, I know session support is there and I DO NOT have it set to use
> > ONLY cookies. But if I disable cookies in the browser stuff relying on
> > sessions stops working. I'm using 5.0.3
>
On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > Hi,
> > I've used loadHTML() to read a HTML file to DOM. This file
> > starts with a string like > HTML 4.01 Transitional//EN">
> >
> > Do someone know how I can access this string? By reading the
> > doctype back from DOMDocument I only f
hi all,
i have my web site working something like this: in every php script i have
require(auth.php). this auth.php has my connection to my postgresql server and
database along with some other stuff i need for the user to be authenticated to
my web site. when i log on, this auth.php connects t
>
> On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > > Hi,
> > > I've used loadHTML() to read a HTML file to DOM. This file starts
> > > with a string like > > Transitional//EN">
> > >
> > > Do someone know how I can access this string? By reading
> the doctype
> > > back from DOMDocum
On Saturday 14 May 2005 16:25, Brian V Bonini wrote:
>
> $html = <<
> Test
> EOS; Â
>
> $pattern = ' Transitional//EN">';
>
> $doc = new DOMDocument();
> $doc->loadHTML($html);
> preg_match($pattern, $doc->saveHTML(), $matches);
> echo '<' . $matches[0] . '>';
>
> ?>
Well, that ist a very crazy
Evert from collan thouht it wy have to do with the rewrite rules or the
script and asked to post both of them
this are the rewrite rules i use:
RewriteEngine On
RewriteRule ^/(.*[^/])/Admin/(.*)$ https://my.domain.com/$1/Admin/$2
[R,L,NS]
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI
On Sat, 2005-05-14 at 16:08, Johannes Findeisen wrote:
> On Saturday 14 May 2005 16:25, Brian V Bonini wrote:
> > >
> > $html = << >
> > Test
> > EOS;
> >
> > $pattern = ' > Transitional//EN">';
> >
> > $doc = new DOMDocument();
> > $doc->loadHTML($html);
> > preg_match($pattern, $doc->saveHTML
On Sat, 2005-05-14 at 13:03, Jared Williams wrote:
> >
> > On Sat, 2005-05-14 at 07:57, Jared Williams wrote:
> > > > Hi,
> > > > I've used loadHTML() to read a HTML file to DOM. This file starts
> > > > with a string like > > > Transitional//EN">
> > > >
> > > > Do someone know how I can acce
Hello Cima,
Friday, October 14, 2005, 12:33:57 PM, you wrote:
C> any info will be highly appreciated!!
The easiest way to handle this is to set a session variable once
they're authenticated and on all your pages you have something like
this:
session_start();
if (!$_SESSION['isAuthenticated'] ==
On 10/14/05, Cima <[EMAIL PROTECTED]> wrote:
> hi all,
>
> i have my web site working something like this: in every php script i have
> require(auth.php). this auth.php has my connection to my postgresql server
> and database along with some other stuff i need for the user to be
> authenticated
On 5/14/05, James Williams <[EMAIL PROTECTED]> wrote:
> On 10/14/05, Cima <[EMAIL PROTECTED]> wrote:
> > hi all,
> >
> > i have my web site working something like this: in every php script i have
> > require(auth.php). this auth.php has my connection to my postgresql server
> > and database along
Marek Kilimajer wrote:
Bogdan Stancescu wrote:
Ok, I went with the solution you recommended, by the way of a "thank
you" to the list, here's the resulting function:
/**
* This function returns the IDs of the current PHP sessions.
* At this time, it only works with
* [EMAIL PROTECTED] http://www.p
Hello,
on 05/14/2005 10:49 AM Krid said the following:
can anybody here tell me if there is a (open souce) CASE tool which
supports PHP code generation? I could not find anything like this yet.
What's the best way designing PHP applikations? I guess anybody knows a
whitepaper or tutorial URI ?!
Y
On Fri, October 14, 2005 11:33 am, Cima said:
> i have my web site working something like this: in every php script i have
> require(auth.php). this auth.php has my connection to my postgresql server
> and database along with some other stuff i need for the user to be
> authenticated to my web site
On Sat, May 14, 2005 7:49 am, Brian V Bonini said:
> On Fri, 2005-05-13 at 23:31, Jason Wong wrote:
>> On Saturday 14 May 2005 09:42, Brian V Bonini wrote:
>>
>> > Yeah, I know session support is there and I DO NOT have it set to use
>> > ONLY cookies. But if I disable cookies in the browser stuff
On Sat, May 14, 2005 6:30 am, mayo said:
> I have to say it's a pretty simple project. The don't want to keep any
> information in a db. (!!??!!) Info will be sent to a merchant services
> account and to the distributor which will process the form.
>
> Info will be kept in hidden fields and in
> s
On Sat, May 14, 2005 4:45 am, mbneto said:
> They are in the same machine. My major concern is with security and
> the hability to make sure if a user logs in, or adds something to a
> "shopping cart" in one domain it will be available to the other
> domain.
>
> Can I set call setCookie twice with
Lese selbst:
http://www.npd.de/npd_info/deutschland/2005/d0305-14.html
Jetzt weiss man auch, wie es dazu kommt, dass Drogen, Waffen & Handy's in die
Haende der Knacki's gelangen!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, May 14, 2005 12:25 am, [EMAIL PROTECTED] said:
>> For example:
>>
>> mysite/sweaters/
>>
>> (I think) is better than:
>>
>> mysite/index.php?section=1&content=23&style=5.
>
> It's more usable I guess. What handles that though? I'm finding it
> hard to organise the back end of that in my hea
50 matches
Mail list logo