Lisa A wrote:
> I currently use Pay Pal shopping cart, but I need to find a good, cheap
> shopping cart that my clients can update themselves. Does anyone know of
> something I can install so they can work on it easily. They need to do this
> online.
> thanks,
> Lisa A
Hello,
I don't know wh
Alberto Ferrer wrote:
i get segmentation fault with apache 1.3.34 , like this bug:
http://bugs.php.net/bug.php?id=35029 , only change the apache version.
The error is:
[Thu Mar 16 03:33:07 2006] [notice] child pid 2121 exit signal
Segmentation fault (11)
[Thu Mar 16 03:33:08 2006] [notice] chil
Paul Goepfert wrote:
I have one small problem I don't understand the preg_replace() method.
I understand the gist of what it does but I still don't fully know
what it does. I have read the entry in the php manual about this and
I am still confused about it. I've never been any good with regular
i get segmentation fault with apache 1.3.34 , like this bug:
http://bugs.php.net/bug.php?id=35029 , only change the apache version.
The error is:
[Thu Mar 16 03:33:07 2006] [notice] child pid 2121 exit signal
Segmentation fault (11)
[Thu Mar 16 03:33:08 2006] [notice] child pid 2120 exit signal
S
Holger Sunke wrote:
I dont know that much aboput regular expressions and just want to
know how to find out the number of special (non alphanumeric)
characters in a string or how to match a string that contains less
than 3 special chars.
I don't really understand what you need, but...
-
As far as I see... I can't see any risk. Cookies are saved in the
client machine (i.e. the one visiting your site), so any code he might
send will be used with him only, and it will not affect other users nor
the scripts in the (remote) server.
Now, you're not using the input value in anyth
Oscar Gosdinski wrote:
Instead of using a hash if the password string, i prefer to save the
following in the password field of my user's table:
md5($user . $password)
This is a good idea, IMHO of course.
There are some md5 databases around that can be used to get the
cleartext passwo
I currently use Pay Pal shopping cart, but I need to find a good, cheap
shopping cart that my clients can update themselves. Does anyone know of
something I can install so they can work on it easily. They need to do this
online.
thanks,
Lisa A
--
PHP General Mailing List (http://www.php.net/
At 07:06 PM 3/15/2006, Chris Kennon wrote:
when is using heredoc advisable over Double-Quotes?
I love using heredoc primarily because it helps me separate logic
from markup when generating HTML. The text in a heredoc expression
is vanilla, no escape sequences needed, so there's less worry a
Chris Kennon wrote:
Hi,
Not looking to start some pugilistic fray, but when is using heredoc
advisable over Double-Quotes?
Probably with really long strings or pages of data so you don't have to
worry about quotes etc.
Pretty much comes down to personal preference I think.
--
Postgresql
blackwater dev wrote:
I am doing a select from a mssql db and will then pump it into a mysql db.
What is the easiest way to take the result array from the mssql db and dump
it to a file that I can just pull into MySQL short of writing out to the
file row by row.
Didn't you ask this yesterday ?
Hi,
Not looking to start some pugilistic fray, but when is using heredoc
advisable over Double-Quotes?
Return True,
Christopher Kennon
Principal/Designer/Programmer -Bushidodeep
http://bushidodeep.com/
__
"Knowing is not enough, you must apply;
willing i
I am doing a select from a mssql db and will then pump it into a mysql db.
What is the easiest way to take the result array from the mssql db and dump
it to a file that I can just pull into MySQL short of writing out to the
file row by row.
Thanks.
Mark wrote:
Any help Here:
At the moment this shows a USERNAME-COMPETITION and POINTS for a user with
the highest points out of many competitions.
The USERS also have a second points field (acc_margin) where lower score is
better.
So my problem is that i need to show the highest scoring user
Any help Here:
At the moment this shows a USERNAME-COMPETITION and POINTS for a user with
the highest points out of many competitions.
The USERS also have a second points field (acc_margin) where lower score is
better.
So my problem is that i need to show the highest scoring user (by points)
t
Hi gang:
I asked my host to install the current versions of php 5 and the
following was his answer:
"Sorry but php has some issues with cpanel."
Anyone heard of any problems or a work-around?
Thanks.
tedd
--
h
Karel Kozlik wrote:
Hi All,
function imap_mail_compose() not working on my server. This script:
return only one line:
--117491828-5973-1142442255=:332--
altouch when I run this script on another server it correctly return this:
What version of imap do you have on both servers?
Maybe one
2wsxdr5 wrote:
I have a site with existing users and would like to add a message board
such as phpbb or one of the others. The main requirement I have is I
need to be able to use the existing user logins to access the forums. I
also need a help desk ticket system that is also linked to the sa
John Nichel wrote:
Al wrote:
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect t
I have a site with existing users and would like to add a message board
such as phpbb or one of the others. The main requirement I have is I
need to be able to use the existing user logins to access the forums. I
also need a help desk ticket system that is also linked to the same
users. I ma
I have a.php includes b.php . b.php is used by other pages that are served
through apache. a.php used to be started through apache, but now need to be
started from command line. How do I know if a php file is running as apache
module or as CLI ?
http://us3.php.net/manual/en/function.php-sa
I have a.php includes b.php . b.php is used by other pages that are
served through apache. a.php used to be started through apache, but now
need to be started from command line. How do I know if a php file is
running as apache module or as CLI ?
Thanks
Khai
--
PHP General Mailing List (ht
Hi All,
I am using php as an apache module. In my httpd.conf, is there a way to
specify which php.ini to use?
Thanks
Khai
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] wrote:
Hi,
How can I get multiple values from a variable (from URL) and parse them into an
array?
For example:
example.php?graphArray=20,35,84,21,23,22,24,95
parse_str is for multiple variables, not multiple values of one variable.
$x_array = explode(',', $_GET['graphArray'
Hi,
How can I get multiple values from a variable (from URL) and parse them into an
array?
For example:
example.php?graphArray=20,35,84,21,23,22,24,95
parse_str is for multiple variables, not multiple values of one variable.
PLEASE HELP!!!
Thank you
Aret
--
This message was sent on behal
On Tuesday 14 March 2006 20:21, Paul Goepfert wrote:
> If anyone has any ideas on how to create the form when the error messages
> are displayed without having to code it a second time please let me
> know.
I use an assoc. array that matches the form inputs, for example:
$FormDisplayData = array
Nevermind - i found the documentation that answers my question -
thanks for the help Jeremy and Jochas.
- MD
...
Mike Dunlop
Director of Technology Development
[ e ] [EMAIL PROTECTED]
[ p ] 323.644.7808
On Mar 15, 2006, at 1:
the fact that you think that it might even be possible that doing
myClass::showVar() would cause $this in showVar() to refer to $obj
suggests that you don't understand [to some degree] either classes,
objects and/or scope (or at least how its implemented/applied in php).
No Jochem, I may have no
Mike Dunlop wrote:
Hi Guys,
I am wondering how to be able to call a class variable from within an
outside function using the "::" syntax: See an example of the logic I
am using below:
class myClass {
var $variable = 1;
// this works in php4.
1,"b"=>2,"c"=>3
);
Peter Lauri wrote:
Miles,
Please do not scare away people from the list. There can be many reasons why
he asks this question without looking at the documentation first.
I don't think the idea was to scare him away so much as scare him _to_ the
docs...
everyone who has been there knows it
Hello,
on 03/14/2006 05:21 PM Paul Goepfert said the following:
> I have been working on a page where I have a form. I currently have
> the form in an else block with no access to it if I need to redisplay
> the form incase of errors. To be more specific I want to redisplay the
> page with the er
[snip]
I am wondering how to be able to call a class variable from within an
outside function using the "::" syntax: See an example of the logic I
am using below:
class myClass {
var $variable = 1;
function showVar() {
return $this->variable;
Hi Guys,
I am wondering how to be able to call a class variable from within an
outside function using the "::" syntax: See an example of the logic I
am using below:
class myClass {
var $variable = 1;
function showVar() {
return $this->varia
[snip]
I have one small problem I don't understand the preg_replace() method.
I understand the gist of what it does but I still don't fully know
what it does. I have read the entry in the php manual about this and
I am still confused about it. I've never been any good with regular
expressions.
H
Al wrote:
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to abou
> > I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
> > Instant Client). I've modified the environment variable NLS_LANG and,
> > with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
> > value with accent (ex: Irène). I can read data with accent, but not
> > in
Hi all,
I have one small problem I don't understand the preg_replace() method.
I understand the gist of what it does but I still don't fully know
what it does. I have read the entry in the php manual about this and
I am still confused about it. I've never been any good with regular
expressions.
Philip Hallstrom wrote:
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double,
Nelson Carreira wrote:
James E Hicks III wrote:
Nelson Carreira wrote:
Yes, I've tried using both absolute and relative paths.
The system output is 0 when I execute, for example, "nvram show"
from the php. From what I know this output means success. Although
there's no output on php.
Ne
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double, not be
4x as large.
$sr
I'm trying to resize GIF images and up with very large files
For example:
Original width = 720
New width = 980
Original height = 1008
New height = 1274
Original filesize = 80kb
After resizing = 235kb
Based on the area increase; I'd expect the file size to about double, not be 4x
as large.
$src
Sorry Gmail doesnt always put all the email address on the TO line in a reply.
On 3/15/06, Shaunak Kashyap <[EMAIL PROTECTED]> wrote:
> In the future, please reply to the list. Also, I assume this question
> has been answered and am, therefore, marking it with [SOLVED].
>
> Shaunak Kashyap
>
> Sen
In the future, please reply to the list. Also, I assume this question
has been answered and am, therefore, marking it with [SOLVED].
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.wor
// $pastDateStr = string representation of past date
$pastDateTS = strtotime($pastDateStr);
For ($currentDateTS = $pastDateTS;
$currentDateTS <= strtotime("now");
$currentDateTS += (60 * 60 * 24)) {
// use date() and $currentDateTS to format the dates in between
}
HTH,
I need to loop from a date in the past to current date getting all
dates in between. Anyone have an idea on how to do that?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
THANKS THAT WORKED GREAT
""João Cândido de Souza Neto"" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> $query = mysql_query("SELECT * FROM leaderboard WHERE comp_id = $comp_id
> ORDER by points DESC, margin ASC ");
>
> Mark wrote:
>
>> The query below gives me a list of usernames
Hi All,
function imap_mail_compose() not working on my server. This script:
return only one line:
--117491828-5973-1142442255=:332--
altouch when I run this script on another server it correctly return this:
MIME-Version: 1.0
Content-Type: MULTIPART/mixed;
BOUNDARY="-708698681-1804289383-
[snip]
Does anyone know how to update an option list queried from a database
table after an insert/delete action on that table?
[/snip]
We all do. :)
Refresh the page.
Although I suspect that you want the select list to update without
refreshing the page. If that is the case you should explore A
Does anyone know how to update an option list queried from a database
table after an insert/delete action on that table?
Sean
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$query = mysql_query("SELECT * FROM leaderboard WHERE comp_id = $comp_id
ORDER by points DESC, margin ASC ");
Mark wrote:
> The query below gives me a list of usernames with the highest point score
> at the top. There is also a secondary points list which i need to use to
> rank players if there
The query below gives me a list of usernames with the highest point score at
the top. There is also a secondary points list which i need to use to rank
players if there POINTS are the same.
ie:
username points margin
paul2624
mark 23
On 15/03/06, Roman Rumisek <[EMAIL PROTECTED]> wrote:
> Hi,
>
> this code fragment give following result in my error log:
>
> foreach($reg_array as $region_item)
> $tmp_reg_array[] = $region_item[0];
> $sel_region = explode(',', $_POST[CLIENT_REGION]);
> foreach($sel_region as $sel_region_item)
>
Sorry, this is my bug.
Roman Rumisek wrote:
> Hi,
>
> this code fragment give following result in my error log:
>
> foreach($reg_array as $region_item)
> $tmp_reg_array[] = $region_item[0];
> $sel_region = explode(',', $_POST[CLIENT_REGION]);
> foreach($sel_region as $sel_region_item)
> if(
[snip]
Even the people who top post?
*ducks*
[/snip]
...you cannot be hit by someone who top posts.
If you duck...
You know what struck me as funny about this?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jay Blanchard wrote:
And of course everyone that ever posted to php-general.
Even the people who top post?
*ducks*
--
John C. Nichel IV
Programmer/System Admin (ÜberGeek)
Dot Com Holdings of Buffalo
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsub
Holger Sunke wrote:
Hello,
I dont know that much aboput regular expressions and just want to know how to
find out the number of special (non alphanumeric) characters in a string or how to match a string that contains less than 3 special chars.
urrently im using a function
function valid_user
Hello,
I dont know that much aboput regular expressions and just want to know how to
find out the number of special (non alphanumeric) characters in a string or how
to match a string that contains less than 3 special chars.
urrently im using a function
function valid_username($string) {
if(
=
Please feel free to add more points and updates.
20050322jb - Note the new location of PHP Editors list.
=
Topics:
===
- Where to Find More Information
- Diagnosing the problem.
My problem still remains open Help!!!
I noticed that if the umlauts are received
correctly but they are not submitted in the
right way.
For a ö I receive a POST as: ö
From the DB I get the text correctly.
The DB encoding is : iso-8859-1.
Now, the strange thing is that is does not appe
Miles,
Please do not scare away people from the list. There can be many reasons why
he asks this question without looking at the documentation first.
1: He/She is maybe new to this subject, and do not have a lot of experience
with reading docs.
2: He/She maybe don't have English as mother langua
An interesting question in this case is how to do an injection using
cookies, injection attacks are generally performed using post & get data
as they can be inserted to a link on another page. Getting a working
exploit would probably come down to how the browser implemented the
cookie security; w
Hi,
this code fragment give following result in my error log:
foreach($reg_array as $region_item)
$tmp_reg_array[] = $region_item[0];
$sel_region = explode(',', $_POST[CLIENT_REGION]);
foreach($sel_region as $sel_region_item)
if(!in_array($sel_region_item, $tmp_reg_array))
{
my_error_lo
The hostname lookup does not impact performance at all. I am only
doing a look-up on the remote ip of the user not on my full blacklist.
I am using this on a site to log hits to a banner ad and on listings
on a ebay style marketplace. I log the IP and the hostname on a look-
up.
Dan T
O
At 09:32 AM 3/15/2006, suresh kumar wrote:
in windows,if user idle for 1 minute,his desktop
screen is changed to screen saver.i like to implement
the same logic in my project if user is idle for 3
minutes its session will have to automatically
destroy.i am waiting for or response.
Fergawdsake
suresh kumar wrote:
in windows,if user idle for 1 minute,his desktop
screen is changed to screen saver.i like to implement
the same logic in my project if user is idle for 3
minutes its session will have to automatically
destroy.i am waiting for or response.
_
>>
>> If this is the value directly from the cookie, it's an example of a
>> cross-site scripting (XSS) vulnerability.
>>
>>> header("Location: $HTTP_REFERER");
>>
>>
>> This is an HTTP response splitting vulnerability, because the Referer
>> header (like the Cookie header) is provided by the clie
robert mena wrote:
Hi Manuel,
I am trying to print from the client side. The client will be windows.
Use ActiveX if you can get them to stick with IE (shouldn't be a problem).
Google for 'ScriptX.cab' -- a free printing control that lets to fine
tune printing.
--
PHP General Mailing List
tedd wrote:
Hey all,
I've got a project where I'm taking form information from the user and
writing records to several tables in a MySQL database.
The problem I'm having is I need to write a unique number for the ID
column of the records. Auto increment won't work because I could have
conflict
David BERCOT wrote:
Hi,
I have a big problem with my Debian server (Apache 2, PHP 5, Oracle
Instant Client). I've modified the environment variable NLS_LANG and,
with SQL*Plus, everything is ok ! But, in a PHP page, I can't insert a
value with accent (ex: Irène). I can read data with accent, but
[snip]
in windows,if user idle for 1 minute,his desktop
screen is changed to screen saver.i like to implement
the same logic in my project if user is idle for 3
minutes its session will have to automatically
destroy.i am waiting for or response.
[/snip]
Wow dude, you really have never RTFM and do
in windows,if user idle for 1 minute,his desktop
screen is changed to screen saver.i like to implement
the same logic in my project if user is idle for 3
minutes its session will have to automatically
destroy.i am waiting for or response.
suresh kumar wrote:
i am facing one problem in type casting.
$accno="2927";
$accno=$accno+1;
its o/p is 2928. but i want output to be 2928.i am
my h/t is g/d but if d/l is w/h then I w/s but only if it's g/v
waiting response from u.
from what I gather your always waiting for a respo
Im having again a problem with hostname environment varible.
Hostname is set OK and it is now shown in phpinfo().
But if I run "php -i" hostname is set!
Any ideas?
Php version: 5.1.2
Configure './configure' '--with-apxs2=/usr/local/apache2/bin/apxs'
'--with-gettext' '--with-pgsql' '--enable-tra
On 15/03/06, suresh kumar <[EMAIL PROTECTED]> wrote:
> i am facing one problem in type casting.
> $accno="2927";
> $accno=$accno+1;
> its o/p is 2928. but i want output to be 2928.i am
> waiting response from u.
$accno = sprintf('%08d', $accno+1);
-robin
Try this:
$accno="2927";
$accno=substr("",0,(8-strlen($accno+1))).($accno+1);
I don't test, but i hope it'll work fine.
suresh kumar wrote:
> i am facing one problem in type casting.
> $accno="2927";
> $accno=$accno+1;
> its o/p is 2928. but i want output to be 2928.i am
>
i am facing one problem in type casting.
$accno="2927";
$accno=$accno+1;
its o/p is 2928. but i want output to be 2928.i am
waiting response from u.
__
Yahoo! India Matrimony: Find your partner now. Go to http://yah
This is in the header. If I look at page info in firefox I get: text/html;
charset=iso-8859-1. So the setted encoding is correct.
The problem that I noticed is that the umlauts are displayed correctly but
when I submit them in the POST or GET array I receive them modified.
This happens on 2
On 3/15/06, Mark <[EMAIL PROTECTED]> wrote:
> Can anyone help to make this form dynamic, at hte moment a user picks a
> round number from 1-22 but if that round is closed then sends them back to
> this page. Anyway of making the form show the current round (as in sports
> round fixtures) without ad
Andy wrote:
My problem still remains open Help!!!
I noticed that if the umlauts are received correctly but they are not
submitted in the right way.
For a ö I receive a POST as: ö
From the DB I get the text correctly.
The DB encoding is : iso-8859-1.
Now, the strange thing is that is
My problem still remains open Help!!!
I noticed that if the umlauts are received correctly but they are not
submitted in the right way.
For a ö I receive a POST as: ö
From the DB I get the text correctly.
The DB encoding is : iso-8859-1.
Now, the strange thing is that is does not app
80 matches
Mail list logo