This sounds a lot harder than it is, all you have to do is first of all make
some space ion your db then you need to cache searches that users have done.
Store the group of searches for unique users, then if someone does a search
match it against the cache and pop up all items which were retrieved
Hai all
I am using Apache/PHP4.0.1/PostgreSQL, I had upgraded
PHP to PHP.4.2.3, now My problem is none of my
PostgreSQL function are working and also the server
variables(e.g $REQUEST_METHOD..)also, Can any one
please help me out to fix this problem. This is the
first time I have upgraded my PHP.
Single around the variable
mysql_query("DELETE FROM product WHERE manufacturer='$hidden_manuf_id'",$bb)
Timothy Hitchens
[EMAIL PROTECTED]
Phil Clark wrote:
> I'm trying to insert the variable $hidden_manuf_id into a mysql_query()
> statement.
>
> If i do this:
> mysql_query("DELETE FROM
I'm trying to insert the variable $hidden_manuf_id into a mysql_query()
statement.
If i do this:
mysql_query("DELETE FROM product WHERE manufacturer=$hidden_manuf_id",$bb)
or die(mysql_error());
PHP server doesn't see the variable because it is inside the string
quotes"".
If I do this:
mysql_que
I think that should work but for some reason nothing is getting written into
the session
function new_user() {
$res = mysql_query("INSERT INTO users WHERE uname='$_POST[uname]' ,
passwd='$_POST[pass]', firstname='$_POST[firstname]',
lastname='$_POST[lastname]', email='$_POST[email]',
company=
On 10/14/02 11:07 PM, "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> So you use the INSERT INTO ... SELECT ... to do the select from table 1
> and the insert into table 2. Then use a DELETE to erase the info from
> table 1.
>
> Show your script so far, we can't help you much more without seeing
So you use the INSERT INTO ... SELECT ... to do the select from table 1
and the insert into table 2. Then use a DELETE to erase the info from
table 1.
Show your script so far, we can't help you much more without seeing what
you're doing.
---John Holmes...
> -Original Message-
> From: V
Andy --
...and then Ns_Andy said...
%
% what's its use and how to use(Example)?
They're constants that identify where you are. I use __FILE__ so that I
don't have to keep tweaking my code when working in the development
environment:
# this will let us figure out where we are and then always
I have to get the data from table1, delete the data from table1, put the
data into table2. I'm either not getting the data from table1 or am not
passing it to table2, I'm not sure which.
On 10/14/02 6:37 PM, "John W. Holmes" <[EMAIL PROTECTED]> wrote:
> INSERT INTO table2 SELECT * FROM table1 WH
Have you considered using md5() instead?
On Mon, 2002-10-14 at 16:27, Adam Plocher wrote:
> Hello, I am trying to authenticate a password using the crypt()
> function. Here's what I got:
>
> if (crypt($_SERVER['PHP_AUTH_PW'],$data[1]) == $data[1])
> {
> ...
> }
>
> $data[1] being the s
thank you all for your help, now my form works and does what I expect
it to do,---
here is the new version which redirects to two scripts with the revised
code--
http://antriksh.com/resources/2_submit_button_form2.shtml
Sonal
On Monday, October 14, 2002, at 08:44 PM, Peter Houchin wrote:
>
Maybe you should just save the error message into a cookie or session
and then use header() to redirect to the error page.
---John Holmes...
> -Original Message-
> From: Peter Houchin [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 9:22 PM
> To: Brad Bonkoski
> Cc: php_gen
>
i have tried this .. but am getting errors at the moment .. (the sql error
is deliberate)
function new_user() {
$res = mysql_query("INSERT INTO users WHERE uname='$_POST[uname]' ,
passwd='$_POST[pass]', firstname='$_POST[firstname]',
lastname='$_POST[lastname]', email='$_POST[email]' ")
// p
Very interesting question
The only thing I can come up with right now is if you detect an error
(one of the functions returning FALSE,)
you can write the contents of mysql_error() to a file log and display that
file on another page? Or pass the output of that (mysql_error()) as an
HTTP/form
make sure there is nothing before the if statements
for example
etc
and that should work fine regardless if your using the Header( Location...)
other means
> -Original Message-
> From: Sonal Patel [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, 15 October 2002 8:06 AM
> To: Anup
> Cc: [EM
howdy,
I have a page that I want to control the errors etc for a site, now what I
want is to perform a query on one page but if there's an error it opens a
different page with the error message on it including the out put from
mysql_error() can this be done?
Cheers
Peter
"the only dumb question
Just a thought from left field. Probably wont help much but if the clients
side were willing to upload a zip file, you could decompress & expand it on
the fly after uploading.
Cheers,
Owen Prime
http://www.noggin.com.au
Jennifer Swofford wrote:
> Is there an easy way to upload an entire dir
"Jennifer Swofford" <[EMAIL PROTECTED]> wrote:
>Is there an easy way to upload an entire directory? Rather than selecting
the 19 files in a directory, to just select the directory, and have all its
contents go with it? (Or even a not-such-an easy way?)
Since uploading a file to your webserver
Hello,
I'm here if you need me. But that can be only a freelance since I'm french.
I still can do the same work.
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Eric Jt Harlow" <[EMAIL PROTECTED]> a écrit dans le message de news:
01d201c273d4$0b3
First scenario is correct.
> Are you trying to do this via a web-script?
> Meaning, your php script is the server, and windows would be the client?
>
> Or is your script uploading a file to another server?
>
> Tim
>
> - Original Message -
> From: "Jennifer Swofford" <[EMAIL PROTECTED]>
Are you trying to do this via a web-script?
Meaning, your php script is the server, and windows would be the client?
Or is your script uploading a file to another server?
Tim
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Custom Programming
Web Programming community & discussion
http://www.inter-apps.com
The additional_parameters parameter can be used to pass an additional parameter to the
program configured to use when sending mail using the sendmail_path configuration
setting. For example, this can be used to set the envelope sender address when using
sendmail. You may need to add the user th
Is there an easy way to upload an entire directory? Rather than selecting the 19
files in a directory, to just select the directory, and have all its contents go with
it? (Or even a not-such-an easy way?)
Thank you very much for any hints.
Jen
Need a PHP/MySQL programmer for a couple week job in the Northwest
(Portland OR, Area) Please respond ASAP.
Eric JT Harlow
Sisgrate Technologies
Vancouver, WA USA
www.sisgrate.com
Email: [EMAIL PROTECTED]
Phone: 360 891 6991
Fax: 360 891 6865
"This communication (including attachments) contain
> here is the error message,
> Warning: Cannot add header information - headers already sent by
> (output started at /home3/www/antriksh/resources/action2.php:5) in
> /home3/www/antriksh/resources/action2.php on line 13
>
> any help?
>
that warning is probably generated because you're using the h
INSERT INTO table2 SELECT * FROM table1 WHERE ...
DELETE FROM table1 WHERE ...
Where are you stuck?
---John Holmes...
> -Original Message-
> From: Verdon Vaillancourt [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 4:31 PM
> To: PHP-General
> Subject: [PHP] Storing/passing v
On Mon, 14 Oct 2002, [ISO-8859-15] Jochen Kächelin wrote:
> Several weeks ago I read not to use PHP and Apache 2.0.x in production.
> After installain 2.0.43 and PHP the message is no longer there!
>
> Is it offically released for production use now?
Nope
--
PHP General Mailing List (http://w
sorry, earlier I did not send the message to the group.
Anup, I tried your solution which works exactly same as mine,
and it also gives me error when I try to redirect.
As far as echoing which button was selected --it was fine and both
scripts work same.
But redirect does not work.
here is the
you have this:
change the name of the buttons to b1 and b2, respectively, and give them
some non-null value (as you have it)
Then in action.php you will have the following code:
if ($b1) {
redirct to script1
}
elseif ($b2) {
redirct to script2
}
/*Either b1 OR b2 will have a value, not both,
Hello,
I am very new to this group.
I have a very simple question.
Please look at this form,
http://antriksh.com/resources/2_submit_button_form.shtml
here I want to change the echo statement in the script "action.php" to
redirect it to another script.
ie, I want to change the form action dyna
Is it possible, w/o using sessionid session variables, to use setcookie to set a
cookie that will have two domains or more?
Just curious. I am having to set a cookie that will go to one domain and then to
another domain. Not sure if I can do multiple setcookie commands and be able to
produce
On Tuesday 15 October 2002 04:29, Monty wrote:
> Nicos, the problem is that MAX_FILE_SIZE doesn't check the file size before
> it's uploaded to the server, it only works afterwards. So, you have to
> first wait for the file to upload before you know whether or not it's too
> large.
Actually it do
Hello, I am trying to authenticate a password using the crypt()
function. Here's what I got:
if (crypt($_SERVER['PHP_AUTH_PW'],$data[1]) == $data[1])
{
...
}
$data[1] being the salt..
It half-way works... If the users password is 'blah' it will
authenticate fine, but if you append anyt
As this is very OT I have replied privately.. :)
James
-Original Message-
From: Alan Todd [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 14, 2002 12:59 PM
To: PHP
Subject: [PHP] SSH (again)
Question for all you out there .. Trying to do ssh (yes i know i checked
the
archives) .. i
Several weeks ago I read not to use PHP and Apache 2.0.x in production.
After installain 2.0.43 and PHP the message is no longer there!
Is it offically released for production use now?
--
Jochen Kaechelin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php
Hi,
I¹m trying to cobble together a case where where data is retrieved from one
row of a mySQL table, the row is deleted, the retrieved data is inserted
into a new row in different table. Most of my code seems to be working (I
think the data is being retrieved, the old row is being deleted, the n
Nicos, the problem is that MAX_FILE_SIZE doesn't check the file size before
it's uploaded to the server, it only works afterwards. So, you have to first
wait for the file to upload before you know whether or not it's too large.
Thanks.
> Hi,
>
> The way is :
>
>
> Send this file:
>
>
> See
I think it's a "security" feature to prevent people from doing things
like inserting a hidden file field with a pre-defined value (e.g.:
"/etc/passwd") and then tricking the user to unwittingly submit the
form. The same probably applies to all browsers.
On Mon, 2002-10-14 at 16:05, Monty wrote:
Hi John, yes, unfortunately setting the MAX_FILE_SIZE field only works once
the files have been uploaded. Thanks for the reply!
> From: [EMAIL PROTECTED] (John W. Holmes)
> Organization: U.S. Army
> Reply-To: <[EMAIL PROTECTED]>
> Newsgroups: php.general
> Date: Mon, 14 Oct 2002 16:10:48 -0400
>
There are two ways to do this. The easy way is to simply load any vars
passed via the URL or from a form as local vars in each script. So, I have
the following at the beginning of every script:
extract($_GET); // load vars passed via URL into local vars.
extract($_POST); // load vars passed via
> I have a few File input fields in a form so people can upload images.
If
> there's an error with the form, I want to re-populate the fields with
the
> values the user filled in. This works for all the fields except the
File
> fields. When I check the HTML output to the browser, I do see that the
> If someone uploads a file via an HTML form, is there a way to check
the
> file
> size before it's uploaded to the server?
You can set the MAX_FILE_SIZE in the hidden element of your form, but I
don't think that stops the form from being submitted if the file size is
too large. Basically, the fi
I have a few File input fields in a form so people can upload images. If
there's an error with the form, I want to re-populate the fields with the
values the user filled in. This works for all the fields except the File
fields. When I check the HTML output to the browser, I do see that the value
p
Question for all you out there .. Trying to do ssh (yes i know i checked the
archives) .. i need a box to ssh to another box and run a perl script. Tried
several different options and nothing seems to work .. one thing is having a
hard time getting the KEY to work with ssh .. Anyone got any point
Hi,
The way is :
Send this file:
See the MAX_FILE_SIZE hidden BEFORE the userfile's type.
See also: http://www.php.net/manual/sk/features.file-upload.php
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Monty" <[EMAIL PROTECTED]> a écrit da
If someone uploads a file via an HTML form, is there a way to check the file
size before it's uploaded to the server?
Thanks!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
probably register globals is turned off in php.ini for the new PHP version
instead of:
echo $id;
-try-
echo $_SERVER['id'];
-Brad
Gary wrote:
> There is not real code to catch it. It is passed to a hidden field in a
> form, echoing the id number and then a query based on id. Very simple
>
This is being done. And no that is not how sendmail works unfortunately.
---
Brad Dameron
Network Account Executive
TSCNet Inc.
www.tscnet.com
Silverdal
> Hey do you guys know how to correct this problem with sending email?
>
> A custumer uses mail() to send the email and it isn't deliverable. So
the
> message bounces. But since the local sendmail sent the email it thus
> bounces
> to root's mailbox instead of say the replyto address. Anyone know
You'd have to make the user under which Apache runs a "trusted" user in
Sendmail and then use the -f switch in the additional parameters section
of the mail command.
On Mon, 2002-10-14 at 15:44, Brad Dameron wrote:
> Hey do you guys know how to correct this problem with sending email?
>
> A cus
Hey do you guys know how to correct this problem with sending email?
A custumer uses mail() to send the email and it isn't deliverable. So the
message bounces. But since the local sendmail sent the email it thus bounces
to root's mailbox instead of say the replyto address. Anyone know how to
corr
There is not real code to catch it. It is passed to a hidden field in a
form, echoing the id number and then a query based on id. Very simple
and has worked form php3 through 4.06. That is why I was wondering if I
had something turned off in the ini for 4.2.3. The links form the other
page is
> Hi list,
>
> I trying to send mail using PHP's mail() function without success. My
> email
> is rejected because it goes with apache@localhost. I've tried
everything
> put
> a diferent from in header etc.
>
> Does anyone have a clue
>
> My system is a RedHAT 7, PHP4.2.3, sendmail
>
> thank's
How about a code snippet of how you are retrieving the variable?
-Brad
Gary wrote:
> Hello,
> My host has upgraded to 4.2 but still uses the old ini setting. I am
> trying to rewrite my scripts so when the day comes for my host to make
> the change I will be ready. Everything has been going we
Hi list,
I trying to send mail using PHP's mail() function without success. My email
is rejected because it goes with apache@localhost. I've tried everything put
a diferent from in header etc.
Does anyone have a clue
My system is a RedHAT 7, PHP4.2.3, sendmail
thank's n advance
--
--
PH
Hello,
My host has upgraded to 4.2 but still uses the old ini setting. I am
trying to rewrite my scripts so when the day comes for my host to make
the change I will be ready. Everything has been going well till now. I
have been passing an id through a url string. Now when I try to pass the
i
We need an experienced PHP programmers to help fix some bugs as well as
create custom scripts for our children's website. We need someone asap.
Please reply to [EMAIL PROTECTED]
Thank you
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ahhh. a combination of incorrect timezone on my new laptop and the server
time being slightly out was causing my head a lot of pain...
thanks for the pointer,
Jav
>From: Marco Tabini <[EMAIL PROTECTED]>
>To: Javier Montserat <[EMAIL PROTECTED]>
>CC: [EMAIL PROTECTED]
>Subject: Re: [PHP] weir
Is the time set properly on your machine? Double check both the time AND
the timezone. I went nuts trying to fix a similar problem once just to
find out that someone had changed the timezone on the PC for a test and
then forgot to put it back.
On Mon, 2002-10-14 at 13:25, Javier Montserat wrote:
My suggestion would be to checck for isset($_SESSION["temp"]) and if
($_SESSION["temp"] > "0") with quotes .. PHP is very forgiving with data
types, and I've found its much easier to keep track of what exactly is
going on if I reference everything in a string format.
-Jason
Sam Masiello wrote
How about something like this:
if ($_SESSION["temp"] > 0) ?
Or if you want to be really sure:
if ($_SESSION["temp"] > 0 && $_SESSION["temp"] != "")
ORif you want to be sure the value is a number as well:
if ($_SESSION["temp"] > 0 && $_SESSION["temp"] != "" &&
is_numeric($_SESSION["temp"]
Hi
I've successfully been using the following code to set cookies in IE / NS /
Mozilla. I've just bought a new laptop and in IE 5.5 and 6 the cookies are
not being set by my site. Other sites (msn etc) set cookies fine. I've
installed Mozilla and this accepts cookies fine. WTF is wrong wit
not very sure how to do that, but perhaps you could use system commands
like:
echo `command_to_show_registry`;
try it...
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Mon, 14 Oct 2002 12:39:37 -0400
"franky" <[EMAIL PROTECTED]> wrote:
> hi.
> I want to a
that will make a link to the page you user is just viewing, only adding
'?newlang=SOMETHIG' if there is no query string (no get variables) or
'?newlang=SOMETHIG' if there a query string.
/index.php will become /index.php?newlang=en
/modules.php?name=News will become /modules.php?name=News&newla
hi.
I want to acces (read) the registry on my web server. I use win2k. I try
with COM... but doesn't work...
Somebody know if it is possible?
thanks!
Franky
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not realy understanding this:
> then, somewhere on the page, add language links
> $_SERVER['PHP_SELF'] . $_SERVER['QUERY_STRING'].
> ($_SERVER['QUERY_STRING'] ? '&newlang=sp' : '?newlang=sp')
> $_SERVER['PHP_SELF'] . $_SERVER['QUERY_STRING'].
> ($_SERVER['QUERY_STRING'] ? '&newlang=en' : '?newlan
first thing:
cell content
second:
- make sure you have opened the file successfully:
$content=file($weatherdata)
or die('cannot open');
Anthony Ritter wrote:
>I'm trying to output a table with rows that have size 1 borders from the URL
>listed below using the file() and count() funct
Hi Russ,
> I've installed Apache on my Win 2000 machine and
> farley happy that works but just cant get PHP to work.
Fairly happy or absolutely happy?
If, when you surf to http://127.0.0.1/, you don't see Apache's welcome
message (or whatever page you've put there), it isn't working.
> I foll
try something like this:
if($_GET['newlang']) {
switch($_GET['newlang']){
case 'spanish':
$_SESSION['lang'] = "contents_sp.php";
break;
case 'english':
$_SESSION['lang'] = "contents_en.php";
break;
} elseif (!is
Just make a file named .htaccess with just the following line in it and
place it in the top of your web root (or in a sub-dir if you only want
it to affect those files).
php_value magic_quotes_gpc 1
That's it. Or you can just change the value in php.ini on your
production server.
---John Holmes
if(ereg("<",$string))
{ echo "bad string"; }
else
{ echo "good string"; }
If you're trying to do some HTML filtering, there are better ways to do
it.
---John Holmes...
> -Original Message-
> From: Ns_Andy [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 5:27 AM
> To: [EMAIL P
Hi there!
This is some kind my experience:
Here's the picture. I've made a simple PHP based Website. Now I hould like
to expand it to spanish language.
All of the text that appears on the website in divided by categories, each
one of them set as a variable. All this stuff is in a file (contents.
If that's really the query you're running, and if that's really the
error from this query, then table 'friday' does not have a column
'employee'. It's plain and simple. If you do have a table Friday, and it
does have a column employee, then either
1. This isn't really the query you're running.
2.
> I was wondering why a session doesn't automatically get cleaned up
after
> the maximum life time? Default to 1440 (24 min) session is still there
> until I start a new session then it disappears. Is there a simple
script
> to run via cron to clean up old sessions?
That's how garbage cleanup wor
> what's its use and how to use(Example)?
>
> Thanks
> --
> Regards,
echo "Maybe you should fine a " . __FILE__ . " and " . __LINE__. " from
the manual???";
---John Holmes...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Though, I would not reccomend it to you as your caching mechanism. Only
for when you are actually using Smarty.. which is still makes no much
sence since Smarty is saving the compiled version of your file.
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Mon, 14 O
register_globals() adds a variable to the *session*. The global statement
brings a global variable into the *scope* of a function.
Kirk
> What is the difference?
> > > variable. I read that "register globals" has some security
> > issues. Are
> > > these the same, or is setting a variable as
Maxim Maletsky wrote:
>"ALT" key? I don't think so.
>
In MS Windows, e.g hold down the "Alt" key, on the numeric keypad press
156 then let go of the "Alt" key and you have the British pound sign
(£). This is with the UK keyboard layout. Its been there since the days
of DOS and works for all AS
What is the difference?
I can't seem to find documentation.
Thanks.
John Negretti
Web Applications Developer
Cox Communications www.cox.com
(619) 266-5565
> -Original Message-
> From: Sascha Cunz [mailto:[EMAIL PROTECTED]]
> Sent: Monday, October 14, 2002 8:06 AM
> To: Negretti, John
Smarty template will allow you to cache certain
pieces.
http://smarty.php.net
olinux
--- Krzysztof Dziekiewicz <[EMAIL PROTECTED]> wrote:
> > Is the general logic to slice the page into some
> general pieces. For example
> > ones that have always general data and those that
> change. Then the
Am Montag, 14. Oktober 2002 16:51 schrieb Negretti, John (CCI-San Diego):
> Hello,
>
> I need to access the "$HTTP_GET_VARS" and "$HTTP_COOKIE_VARS" arrays
> within a function. In order to do this I have to pass $HTTP_GET_VARS as a
> parameter of the function. How can I access these built-
Hello,
I need to access the "$HTTP_GET_VARS" and "$HTTP_COOKIE_VARS" arrays within a
function. In order to do this I have to pass $HTTP_GET_VARS as a parameter of the
function. How can I access these built-in arrays without passing it as a function
parameter. Should I define them as
what's its use and how to use(Example)?
Thanks
--
Regards,
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi !
I hope you can help?
Ive installed Apache on my Win 2000 machine and farley happy that works but
just cant get PHP to work.
I followed all of the instructions and well dont know what to do next! Tied
doing this several times and the scripts are just there for all to see on
the web brows
Gezz... This REALLY depends on your database design. You might want to
track item IDs and then store them together. There is a bit of logic
play on this one though..
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Sun, 13 Oct 2002 18:15:16 +0100
"Randum Ian"
Thanks a lot
But unfortunately one can not obtain stock charts, i.e HLC graphs with
Jpgraph, that is why I look after JfreeChart.
Mahmut
Jay Blanchard wrote:
> [snip]
> I wonder if there is anybody who implemented JFreeChart object
> http://www.object-refinery.com/jfreechart/ which seems to b
Maybe I'm wrong on this but mt_rand doesn't seem to be random enough.
I'm on a PHP 4.04 server and here's my code..
function make_seed() {
list($usec, $sec) = explode(' ', microtime());
return (float) $sec + ((float) $usec * 10);
}
mt_srand(make_seed());
$randval = mt_rand();
I pul
You should use ODBC extension of PHP for accessing MS ACCESS. Look at:
http://www.php.net/manual/en/ref.odbc.php
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Mon, 14 Oct 2002 01:21:54 +0800
"php" <[EMAIL PROTECTED]> wrote:
> By Using mssql_???
>
>
>
Don't try using PHP for sending mass-mails. You'd better use some other
C/Phyton/Perl apps for that. Just manage the start of this process via
PHP.
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Sun, 13 Oct 2002 19:06:01 +0100
"scott" <[EMAIL PROTECTED]> wrot
if( !empty($_SESSION["temp"])&& is_numeric($_SESSION["temp"]) &&
$_SESSION["temp"] >= 0 ) {
...
}
Something like this may work, first check to see if its not empty, then
numeric, then if its greater than or equal to 0. If all three
conditions are true then it'll execute the "..." block.
Plea
> Has there changed something in PHP-Coding since I've learned it a few years
> before?
Since PHP v4.1.0 you access $name as $_GET['name'], unless you change
register_globals in php.ini to 'on' so it gets to how it used to be
before.
> There seems to be a diffrence between clicking the send butt
I'm trying to output a table with rows that have size 1 borders from the URL
listed below using the file() and count() functions.
Any assistance would be greatly appreciated.
Thank you.
Tony Ritter
");
print("");
if($i=0; $i<=count($value);
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 14 October 2002 09:44 am, Maxim Maletsky scribbled:
> On Mon, 14 Oct 2002 14:25:09 +0100
>
> Chris Hewitt <[EMAIL PROTECTED]> wrote:
> > Phil Schwarzmann wrote:
> > >I need users to be able to insert special characters (ö and ä) into a
> > >
how true! I didn't know... my Windows usage sucks :)
Cheers,
Maxim Maletsky
ZoomStats - the power behind Web Analysis
On Mon, 14 Oct 2002 23:07:53 +0900
"@ Edwin" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> On Monday, October 14, 2002 10:44 PM
> Maxim Maletsky wrote:
>
> [snip]
> > "ALT" key? I
[snip]
I wonder if there is anybody who implemented JFreeChart object
http://www.object-refinery.com/jfreechart/ which seems to be a quite
powerful lib, with php.
This lib seesm to be powerful, and seems to be gpl but unfortunately the
documentation costs you about 30$, which is unbelivable:)
Try also looking at PHPBeginner (www.phpb.com).
On Mon, 14 Oct 2002 12:47:45 +1000
"Peter Houchin" <[EMAIL PROTECTED]> wrote:
> howdy
>
> does any one know where i can view an uptodate session tutorial? so far I
> have not found any that are up todate.
>
> Cheers
>
> Peter
> "the only dumb q
Hello,
On Monday, October 14, 2002 10:44 PM
Maxim Maletsky wrote:
[snip]
> "ALT" key? I don't think so.
>
> The only way to type other language's characters is by switch the
> keyboard layout (ALT-SHIFT, usually) so your keyboard inputs the
> ASCII mapped to your keys. That's the only way. And,
I was wondering why a session doesn't automatically get cleaned up after
the maximum life time? Default to 1440 (24 min) session is still there
until I start a new session then it disappears. Is there a simple script
to run via cron to clean up old sessions?
TIA,
Ed
--
PHP General Mailing L
I wonder if there is anybody who implemented JFreeChart object
http://www.object-refinery.com/jfreechart/ which seems to be a quite
powerful lib, with php.
This lib seesm to be powerful, and seems to be gpl but unfortunately the
documentation costs you about 30$, which is unbelivable:)
So any
You might want to submit it as a bug report in bugs.php.net. PLeasee add
to it the more detailed instructions.
--
Maxim Maletsky
[EMAIL PROTECTED]
www.PHPBeginner.com // where PHP Begins
On Mon, 14 Oct 2002 11:11:23 +0300
"A3-Mail Proxy Handler" <[EMAIL PROTECTED]> wrote:
> Hi,
> I have
1 - 100 of 143 matches
Mail list logo