On Thursday 17 October 2002 14:34, Steve Jackson wrote:
> Hi all.
> Wondering if anyone can shed some light!
>
> I have a problem whereby I need to define the weight of a selection of
> items in a shopping cart in order to calculate a shipping cost.
> Basically I have 5 products (at the moment) wh
It seems that the problem is with IE, and characters in the domain name.
This is a beta site (of one of my existing sites), and I have the
virtual host name set as "by-tor_v70". I tried setting the cookie on
another virtual host running on the same box, and it worked. So, I
removed the und
I had the same thing just two days ago. This is what happend:
I have some code using include files in this way:
1
The include file looks like
1
The problem was in line 3 of the include file. If there is a line feed
behind ?> , the code does not work -> gives a blank page just like yours.
R
Hi
I need to be able to see logs of all mysql queries from php scripts on
my server.
I have a multitude of virtual hosts on my RedHat server, with many mysql
db's, and would like to be able to see what queries are done against the
db's from which scripts. The reason being is that I suspect that so
Hi all.
Wondering if anyone can shed some light!
I have a problem whereby I need to define the weight of a selection of
items in a shopping cart in order to calculate a shipping cost.
Basically I have 5 products (at the moment) which are of set weights.
What I want to do is add up the amount of i
To the server.
On Thu, 17 Oct 2002, Smith, Benjamin wrote:
> Local to the client or local to the server?
>
> -Original Message-
> From: Jason [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, 17 October 2002 3:26 PM
> To: php_gen
> Subject: [PHP] MySQL GMT --> Local time
>
>
>
> My logg
Max Buvry wrote:
> My script php follows this steps :
>
> ignore_user_abort(0|1)
> Compute the key -> v
> BEGIN WORK
> UPDATE the first bank account with v (credit)
> sleep(300)
Make sure you have long enough timeout limit.
> UPDATE the second ban
Local to the client or local to the server?
-Original Message-
From: Jason [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 October 2002 3:26 PM
To: php_gen
Subject: [PHP] MySQL GMT --> Local time
My logging application is feeding a MySQL database with data records
that are time stamped w
You can use this function : get_object_vars to retreive vars from a class..
Here is the example from phpdoc :
x = $x;
$this->y = $y;
}
function setName($name) {
$this->name = $name;
}
function ReadPoint() {
return array("x" -> $this->x,
Try something like:
Fields("AccountActivationDate"), 'l, F jS
Y H:i:s') ?>
THIS E-MAIL MESSAGE AND ALL ATTACHMENTS TRANSMITTED HEREWITH ARE TRADE
SECRET AND/OR CONFIDENTIAL INFORMATION INTENDED ONLY FOR THE VIEWING AND
USE OF ADDRESSEE. IF THE READER OF THIS MESSAGE IS NOT THE INTENDED
RECIPIE
how to install apache with xml ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
My logging application is feeding a MySQL database with data records
that are time stamped with GMT time. I would like to query the database
for records matching local time(eg. all records created on oct
17,2002 local time). I would prefer if the records could be formated
in local time when ret
Timothy,
The headers are coming across fine. I looked in the privacy report,
and told IE to accept all cookies from my domain, but it still isn't
registering them. If it wasn't for the fact that I've had over 100,000
page views by IE6 this month, I wouldn't give it a second glance.
Cateri
Chris,
Nope, that didn't work either. I set IE6 to accept all cookies, no
matter what, but still no go. Has anyone been able to set a cookie in IE6?
Chris Shiflett wrote:
> John,
>
> Can you see if this works:
>
> header("Set-Cookie: foo=bar");
>
> If not, then check the configuration f
As per my earlier commments about seeing the privacy report this will
answer all your questions regarding cookies.. also you can allways
telnet to the host eg..
telnet {host} 80
get /{page.html} http/1.0
host: {yourdomain.com.au}
{enter}
{ctrl d}
You should then see the header information as w
John,
Can you see if this works:
header("Set-Cookie: foo=bar");
If not, then check the configuration for IE6. I seem to recall hearing
that cookies are disabled by default for sites that are not P3P
compliant? Or, perhaps that was for third-party cookies only. At any
rate, I seem to recall s
opps that should read
if $_POST['cost'] is <=4 AND it is >=21 then ...
>
> ok thanks just would have thought it would have known to compare it
> with out it having to be there first ... as in
>
> if $_POST['cost'] is <=4 AND >=21
>
> but i'll live with the fact it doesn't
Arr.. Microsoft and their attempt to get security and privacy to
their clients.. have a look in the ->view -> privacy report... this
will give you a starting point...
John Nichel wrote:
> Hi guys and gals. I'm having a problem with setting a cookie on IE 6.
> I'm running RedHat 7, Apache 1.3.
ok thanks just would have thought it would have known to compare it
with out it having to be there first ... as in
if $_POST['cost'] is <=4 AND >=21
but i'll live with the fact it doesn't read it like i do :)
Cheers
> -Original Message-
> From: Keith Vance [mailto:[EMAIL
Hi guys and gals. I'm having a problem with setting a cookie on IE 6.
I'm running RedHat 7, Apache 1.3.26 and php 4.2.3. The cookie sets fine
in all other browsers (IE5, Netscape 4 and up, Opera, Mozilla, etc.) but
on IE 6, not even my session cookie sets. I've tried all of these
setcoo
Because the first example is not correct syntax?
I wasn't aware that the first element in a comparison could ever be left out, is it
that way in other languages?
-Original Message-
From: Peter Houchin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 17 October 2002 2:15 PM
To: php_gen
Subject
Because that's not the way PHP works. You aren't comparing anything on the
second half of the elseif statement.
Keith Vance
Vance Consulting LLC
www.vanceconsulting.net
(206) 355-2399
Try U.M.A. at http://uma.sourceforge.net/
On Thu, 17 Oct 2002, Peter Houchin wrote:
> howdy
>
> can some one
howdy
can some one please tell me why i can't do this
elseif ($_POST['cost'] <=4 && >=20001){...}
but i can do this
elseif ($_POST['cost'] <=4 && $_POST['cost'] >=20001){...}
Cheers
Peter
"the only dumb question is the one that wasn't asked"
--
PHP General Mailing List (ht
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Glad I could help...I did something like what you're doing and I used the
imap functions. If you're conecting to a Redhat pop3 server you have to add a
special param to the connect function...let me know if you need the command
and I'll look it up
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
Try:
- -
foreach ($_SESSION as $k => $v) {
if(($k != 'errmsg') && ($k != 'errcount')) {
unset($_SESSION[$k]);
}
}
- -
HTH!
~Paul
On Wednesday 16 October 2002 04:04 am, Paonarong Buachaiyo wrote:
>
Thanks to all who responded to my qry,
yes it worked well as per my requirements
regards
Manisha
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oh.. I had no idea.. I suppose I will be looking that up then ;-)
Thanks for the heads up!
-Jason
Paul Nicholson wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey,
> I saw that you fixed this but have you ever thought of using the imap_*
> functions for this? It'd be a lot easie
Http authentication is probly not what you would want to use. Especially
if you want to program in timeouts, you would be better off using session
based login variables. Cookies are even better with an encrypted pasword
that has a windows of time that you have to goto other pages to renew.
Why
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
I saw that you fixed this but have you ever thought of using the imap_*
functions for this? It'd be a lot easier and it does work on pop3 servers.
~Paul
On Wednesday 16 October 2002 05:02 pm, Jason Young wrote:
> I'm in the process of writing a
Hello
I'm a newcomer to PHP and I wish to know how to get the contents of a file
located in an URL if the parameter allow_url_fopen is "no value" in the
php.ini file.
Does this parameter, if is "on", affect the security of the server?
Thanks in advance
Alfonso
--
PHP General Mailing List (
sorry, strlen(), not sizeof().
--
Maxim Maletsky
[EMAIL PROTECTED]
On Thu, 17 Oct 2002 03:03:13 +0200 Maxim Maletsky <[EMAIL PROTECTED]> wrote:
>
> the answer can be as simple as:
>
>$k = sizeof($field);
>
> if(...)
> $file = 'this';
> elseif(...)
>
the answer can be as simple as:
--
Maxim Maletsky
[EMAIL PROTECTED]
On Wed, 16 Oct 2002 20:39:50 -0400 "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> Sounds like a good time for a switch to me...
>
> ---John Holmes...
>
> > -Original Message-
> > From: Peter Houchin [mailto:[EMAIL
Sounds like a good time for a switch to me...
---John Holmes...
> -Original Message-
> From: Peter Houchin [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, October 16, 2002 8:19 PM
> To: php_gen
> Subject: [PHP] to use switch or not to use switch
>
> howdy
>
> am just courious to see what
You can store the variables you expect to erase in a sub-array.
$_SESSION['temp']['xx1'] = ...
$_SESSION['temp']['xx2'] = ...
$_SESSION['var'] = ...
Then, to get rid of the "temp" vars, you can use:
unset($_SESSION['temp']);
---John Holmes...
> -Original Message-
> From: Paonarong Bua
(I am new here, so excuse my recycled questions. Is there an archive?)
What's a primo date/time display script that gets server time and adjusts to
the client time zone automatically? Most I've seen have hard-coded GMT
offsets, which I don't want.
Thanks
Rick
--
PHP General Mailing List (ht
Suggestions:
1) Use javascript to determine the script to run--slow and prone to
attacks because you have little control over
2) Code different functions depending on the size of the text
3) Include a different file with the code to execute depending on the
size of the text
Cheers,
Marco
On
howdy
am just courious to see what approach others would take given this senario.
I have a form which for the most part is basic to follow but I have one
field where people can enter any value up to 100k in now what has to happen
is if they enter anything that equals 20k or lower is taken care
Well I sorted out the permissions on that directory structure, and the web
based cgi performed as the command line one did, I havent had too long to
find out if any weird things are going to start happening with the mail
apps, but I'm hopeful that this was the solution...
Thanks for all the help
On Wednesday, Oct 16, 2002, at 23:08 Europe/London, Pushpinder Singh
Garcha wrote:
> I am wanting to use PhpMyAdmin for my project . I am developing using
> PHP and MySQl and the OS is Jaguar
> I have downloaded the latest version of phpmyadmin and have made
> necessary changes in the 'config.i
Pushpinder Singh Garcha said:
> Hi
>
> i have recently upgraded from OS 10.1.5 to Jaguar. I previously had 2
> users on the system. and using the main login screen I could select the
> user that I wanted to log on as. Now that I have installed Jaguar ...I
> do not get any such screen to select u
On Wed, 16 Oct 2002 18:08:30 -0400 Pushpinder Singh Garcha <[EMAIL PROTECTED]>
wrote:
> Hi
>
> I am wanting to use PhpMyAdmin for my project . I am developing using
> PHP and MySQl and the OS is Jaguar
> I have downloaded the latest version of phpmyadmin and have made
> necessary changes in
Try something for me change the localhost to 127.0.0.1
Also look at the public_html settings for each user...
Timothy Hitchens (HiTCHO)
[EMAIL PROTECTED]
Pushpinder Singh Garcha wrote:
> Hi
>
> I am wanting to use PhpMyAdmin for my project . I am developing using
> PHP and MySQl and the OS
Hi,
This doesn't seem to be a PHP error at all, but rather Apache telling
you that it's unable to find your files. Are you sure you're pointing
your browser to the correct location? Try putting a simple HTML file in
your PHPMyAdmin directory and calling that one up. If you still get an
error, the
sounds like an apache config problem to me, if it is not even getting
there... perhaps you should check the httpd.conf file to look into the
UserDir settings to make sure the path is a web accessible path.
-Brad
Pushpinder Singh Garcha wrote:
> Hi
>
> I am wanting to use PhpMyAdmin for my projec
Hi
i have recently upgraded from OS 10.1.5 to Jaguar. I previously had 2
users on the system. and using the main login screen I could select the
user that I wanted to log on as. Now that I have installed Jaguar ...I
do not get any such screen to select user and so I am unable to log on
the o
What web server are u using?
If you are using apache you need to make sure you have the user
directive set up properly for this.
Plus, in the user directory u need to have the appropriate directory
too.
By default apache has it set to look for public_html...
So in the user directory you would
Hi
I am wanting to use PhpMyAdmin for my project . I am developing using
PHP and MySQl and the OS is Jaguar
I have downloaded the latest version of phpmyadmin and have made
necessary changes in the 'config.inc.php' file
When I try to access PhpMyAdmin using "
http://localhost/~pgarcha/phpmyadm
How do I have to install PHP with Apache 2.0.43 as CGI module so
that every user can execute PHP scripts from every point under their
home directories?
And how can I configure Apache so that they do not need to start
every PHP script with something like #!/usr/bin/php ..?
--
Jochen Kae
Yeah, this has been worked out already - turns out I was looping on the
file elements themselves (size, name, tmp_name, etc) isntead of the
actual number of files.
Thanks for your reply tho! :)
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/uns
> Just wanted to let everyone know:
>
> PHP version is 4.2.1
> Apache is 1.3.24
>
> Running WindowsXP Pro
Oh, yeah, that.
My dev environment is almost exactly the same.
CYA, Dave
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> For all those who don't know my question from yesterday, I
> have a form where I can upload up to 9 files at a time.
> Unfortunately, only the first 5 of those files are being
> uploaded at any given time.
I haven't specifically checked your program logic but I believe that
this is wher
Scratch this.. as some of you probably have already picked up on.. I
failed to terminate my 'top' line ..
Sorry for that 0:)
-J
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
i solved the issue using sudo and stuff..
the $pass and $user have a replacement of anything less "a-zA-Z0-9 "to ""
i guess that should do it..
THANXS!
"Shane Wright" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I'm in the process of writing a very very simple web-based email client,
just for my personal use, so I can perm-delete all the spam that comes
in through the day on my home account before i get home.
On the very first connect, its great.. connects, does a 'uidl' which
lists all the mail ID's
it is generated by IE..notice the character set..
Have other browsers been used to verify?
On Wed, 2002-10-16 at 14:40, Mika Tuupola wrote:
> On Wed, 16 Oct 2002, Marek Kilimajer wrote:
>
>
> That is probably generated by IE when it receives nothing. Check
> what show source with
On Wed, 16 Oct 2002, Marek Kilimajer wrote:
That is probably generated by IE when it receives nothing. Check
what show source with Netscape on lynx -source gives you.
> That is NOT nothing. This is comming from your page, so check your code.
>
> Angel Gabriel wrote:
>
> >I get
Robert Cummings wrote:
>
> christophe barbe wrote:
> >
> > I guess the answer is obvious but can't find it in the manual.
> >
> > Is it possible to have a variable in a class that is shared by all
> > instances. I thought 'static' would do it but apparently not.
>
> I don't recall such a thing,
christophe barbe wrote:
>
> I guess the answer is obvious but can't find it in the manual.
>
> Is it possible to have a variable in a class that is shared by all
> instances. I thought 'static' would do it but apparently not.
I don't recall such a thing, but if you can't find an option for
a cl
I posted this question on another list and received a response consisting of
potentially helpful code. It has not been tested on my end, but I thought
I'd pass the information along.
Share the wealth.
dwalker wrote:
> What is the easiest method of determining how and when to implement
> brows
I guess the answer is obvious but can't find it in the manual.
Is it possible to have a variable in a class that is shared by all
instances. I thought 'static' would do it but apparently not.
Christophe
--
Christophe Barbé <[EMAIL PROTECTED]>
GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8
I needed that once ... I uploaded files using ftp functions .. And then
a pop-up comes checking the size on the remote host .. And comparing
with the size on the local machine, that way a colud make that the pocp
up displays a bar and refreshes every n seconds, displaying the bar with
a longer siz
Take an md5 of the entire file contents and store that in your form that
get's displayed. Then test if it matches the file when you go to make
the changes. Every time you change the file the md5 will change. See
below...
-js
Sample script:
marcel wrote:
> hi there
> I am kind of a
Actually, I don't think you can make a progress bar function correctly for a
file upload. The file is uploaded before control is ever given to the
script.
- Original Message -
From: "Oscar F" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 1:17 PM
Subject: [P
>From: "Oscar F" <[EMAIL PROTECTED]>
> Sent: Wednesday, October 16, 2002 2:17 PM
> Subject: [PHP] Progress bar for uploading files
> I'm working on a file uploading script, but I need to know if there is a
> way to know what's the progress of the file, so I can make la a progress
> bar?.. Any ide
Hello,
I'm working on a file uploading script, but I need to know if there is a
way to know what's the progress of the file, so I can make la a progress
bar?.. Any ideas? Please?.
Thanks in advance.
Oscar F.-
hi there
I am kind of a newbie to php
so probably I am doing it all the wrong way - if - please tell me
ok heres my problem:
the script:
I have a user-group-administration script (php4), that loads data from
a textfile and then eables the admin to delete or create new user-passwords.
the script
Hi all -
I find I spend a lot of time looking up functions in the manual
and even with my local copy it takes awhile (click click, page down,
click). So I wrote a script to run through the PHP documentation and
generate a heiarchial directory of IE bookmarks for all of the functions.
I j
When u click on the submit button then u are redirected to the action
page. So on this action page you might need to put the session
information there.
Where is the action page located? (on which server). The problem seems
to be that you have 2 sessions. One session in each frame.
Idea: You
Hi,
I get this message when I load my webshopsite into a frame on onother server
but not until I press a form button:
Warning: Failed to write session data (files). Please verify that the
current setting of session.save_path is correct
(/var/apachefs/sessions) in Unknown on line 0
I can´t change
Your example for the cookie session works, but I wanted to keep sessions
'transparent' and not have to manage sessions.
The code I wrote basically finds the session id wherever it might be,
checks if it's expired, if so, it then removes all traces of the session
id to make session_start() thin
I think that's because there are five keys for _$FILES['picname'].
According to the manual:
--
The contents of $_FILES from our example script is as follows. Note that
this assumes the use of the file upload name userfile, as use
Check if you have display_errors on
Angel Gabriel wrote:
>Hmm.. I'm trying to run PHP Nuke v6 ... and I also got the same when trying
>to squirrelmail..
>
>-Original Message-
>From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
>Sent: Wednesday, October 16, 2002 5:10 PM
>To: PHP
>Subjec
Then most likely display_errors is off in php.ini and you have a syntax
error in an include file used by all of the scripts.
- Original Message -
From: "Angel Gabriel" <[EMAIL PROTECTED]>
To: "'Matt'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, October 16, 2002 12:40 PM
Sub
I already did that, and it came up all pretty, and purply. :)
-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 5:26 PM
To: Angel Gabriel
Subject: Re: [PHP] Blank PHP pages.
The simplest thing to try is to create a phpinfo.php script, putting in
Hmm.. I'm trying to run PHP Nuke v6 ... and I also got the same when trying
to squirrelmail..
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 5:10 PM
To: PHP
Subject: Re: [PHP] Blank PHP pages
That is NOT nothing. This is comming
That is NOT nothing. This is comming from your page, so check your code.
Angel Gabriel wrote:
>I get absolutly NOTHING! I get the most basic HTML page, but blank, as in
>the following
>
>
>
>http-equiv=Content-Type>
>
>
>
>
>-Original Message-
>From: Marek Kilimajer [mailto:[EMAIL PR
What's your PHP code look like?
--- Angel Gabriel <[EMAIL PROTECTED]> wrote:
> I get absolutly NOTHING! I get the most basic HTML
> page, but blank, as in
> the following
>
> Transitional//EN">
>
> http-equiv=Content-Type>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
Hi Børge,
> Is anyone of you aware of a modulo eleven function
> that is used to calculate the checksum of a creditcard
> number?
I'm aware of the mod-10 algorithm (also known as the "Luhn algorithm") - is
that what you were after?
There's a class that does this, amongst other things, at
htt
Make sure all of your code is executing properly.
I had this problem for a little bit, actually.
Edit your php settings to give you errors on the output, or just check
your server logs.. there's gotta be something there.
Just one problem and my whole PHP page failed to print anything within
t
Is anyone of you aware of a modulo eleven function that is used to
calculate the checksum of a creditcard number?
I have a pretty crude code listing from a book, but what I look for is
a function that can append the checksum digit to a number.
I have the spec for the algorithm behind the check
I get absolutly NOTHING! I get the most basic HTML page, but blank, as in
the following
-Original Message-
From: Marek Kilimajer [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 4:26 PM
To: PHP
Subject: Re: [PHP] Blank PHP pages.
Do you get at least any output, i.
I am all for the power of XML, another benefit is the ability to have
many themes for your viewer. Plus, if you are writing a CMS or portal
of some sort you can have your users create their own themes without
ever touching the data layers.
They just need to create some XSLT pages and that is it.
> Is it possible to extract the value option which item name selected..for
> example i am having list of soap brand in the options..is it possible that
> to tell that the user seleced this brand of soap while in the submittion
> of the form..can any one please tell me how to do this..
Umm...tha
BEAUTIFUL!
This was the problem... it wasn't that there was a limit of 5 maximum
uploads, it was just that my 'while' statement was only counting as many
fields as the first sub-array for $_FILES.. which is 5.
Tom, thanks a bunch!
-Jason
Tom Rogers wrote:
> Hi,
>
> Wednesday, October 16, 20
> I have the following query :
> for($i = 0; $i <=$num_results; $i++)
> {
> $row = mysql_fetch_object($result);
> echo "\n"
>."\n"
You can save some typing if you just set the bgcolor in the , instead of
each , FYI. Also, align defaults to "left", doesn't it? So you can
probably leave tha
Do you get at least any output, i.e. empty html document? Check in the
logs if your server is not dying.
Angel Gabriel wrote:
>I checked and register_globals is set to "on" - so that can't be the
>problem.
>
>-Original Message-
>From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
>Sent: Wedn
Hi,
Thursday, October 17, 2002, 12:58:02 AM, you wrote:
AG> I checked and register_globals is set to "on" - so that can't be the
AG> problem.
Stop teasing us and show us the code you have on those pages :)
--
regards,
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, vis
Hi,
Wednesday, October 16, 2002, 11:49:04 PM, you wrote:
JY> I'm going to approach this question in a different way, in case some
JY> people were put off by the complexity of it yesterday.
JY> For all those who don't know my question from yesterday, I have a form
JY> where I can upload up to 9
Ühel ilusal päeval [16-10-2002 16:50] kirjutas Jason Young:
> Just wanted to let everyone know:
>
> PHP version is 4.2.1
> Apache is 1.3.24
>
> Running WindowsXP Pro
Running Windows? Hm. I remember something similar, when I was sysadmin
and I used Windows NT 4.0 Workstation as a file server. Th
I hadn't thought about that, but it does sound like a possibility.
Although a browser isn't limited to 5 connections at a time. It is
usually set by the user and in my experience defaults to 4 and can be
set as high as 8. Most users (or even programmers) don't know about this
simple setting. I
Hi,
I have the following query :
for($i = 0; $i <=$num_results; $i++)
{
$row = mysql_fetch_object($result);
echo "\n"
."\n"
."$row->id\n"
."$row->Nombre\n"
."$row->Apellido\n"
."$row->Direccion\n"
."$row->Ciudad\n"
."$row->Telefono\n"
."$row
I have a specific problem ;)
I have been asked if it is possible to write a 'simple' application that
will print onto Bank Cheques - they will be supplied on a continuous roll
aparently, so it'll be one cheque followed by another etc perferated
inbetween...
So my question is has anyone ever trie
I checked and register_globals is set to "on" - so that can't be the
problem.
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 16, 2002 2:33 PM
To: 'Angel Gabriel'; [EMAIL PROTECTED]
Subject: RE: [PHP] Blank PHP pages..
[snip]
I've got PHP
Hi,
I use Postgresql 7.2.2 + php 4.2.3 and I meet a problem with
transaction and connections interruption.
The application is the famous example of the bank accounts and the money
transfers. I consider a table named "DEAL" where each transaction is
saved. Each tuple has an id number as key. When
Hi,
I use php 4.2.3 with session.auto_start = 1 in php.ini
What I use with URL session :
$_SESSION= array();
unset($_GET[session_name()]);
session_destroy();
Header("Location: next_script.php");
with cookie session :
$cook_param= session_get_cookie_params();
$l
Without going into the process of how I came to do this, I just wanted
to throw out there that even if you only have 1 file input, it still
seems to loop 5 times...
Is this something with my code...
--
$current = 0;
while (list($key) = each($_FILES['picname'])) {
echo $current;
$current
IE can only have two concurrent connections open... eg if you have a
http 1.1 connection open for say a ongoing cgi/php call (ping or
traceroute) then you make another call for the same script and then a
further call to the server the last call will just sit there spinning
it's wheeels until o
Ühel ilusal päeval [16-10-2002 16:48] kirjutas Jason Young:
> I'm going to approach this question in a different way, in case some
> people were put off by the complexity of it yesterday.
>
> For all those who don't know my question from yesterday, I have a form
> where I can upload up to 9 fil
take a look on php website, there is a lot of scripts for this :
http://www.hotscripts.com & others.
Regards.
P.E.
"Thomas Goeminne" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hello,
>
> I am making a page where people can vote for their favourite image. People
> c
$query = "DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\"";
mysql_query($query,$bb) or die(mysql_error());
or:
mysql_query("DELETE FROM product WHERE manufacturer=\"$hidden_manuf_id\"", $bb);
=
Phil Clark wrote:
>I'm trying to insert the va
1 - 100 of 167 matches
Mail list logo