Andre Dubuc wrote:
I gather that all of the script occurs on one page, and that the page is
'refreshed' by some action of the user (i.e. that the user has
clicked/entered login info on some other page, and that this page then
needs to detect that change.)
No, it's when moving from one
suneel wrote:
Hi...
Please take a look at the following...
I'm using MySQL 4.0.15
And what makes you think this is a mysql list?
--
Raditha Dissanayake.
--
http://www.radinks.com/print/card-designer/ | Card Designer
Hi...
Please take a look at the following...
I'm using MySQL 4.0.15
I have the database like this
Id name Owner
1Top Menu0
2File 1
3Open
php-general Digest 29 Nov 2004 08:35:51 - Issue 3140
Topics (messages 203024 through 203053):
Re: Weird sessions problem
203024 by: Jason Wong
203031 by: steve
203032 by: Andre Dubuc
203049 by: Jason Wong
Re: Mass MySQL INSERT
203025 by: Jason Wong
Dustin Krysak wrote:
Hi there - I was wondering if there was some kind of PHP function to
determine hte pixel size of a quicktime movie. Something like what
GetImageSize() is to images, but for quicktime.
Not in php. Search for programs that you can execute from command line
for your platform.
On Mon, 29 Nov 2004 14:12:23 +0530, suneel
[EMAIL PROTECTED] wrote:
Hi...
Please take a look at the following...
I'm using MySQL 4.0.15
I have the database like this
Id name Owner
1Top Menu0
Hi all,
I use the following program:
?php
print_form();
print_quotes ();
function print_form () {
ob_start();
output_add_rewrite_var(sort, sorting);
echo EOF
form
...
/form
EOF;
ob_flush();
}
function print_quotes () {
output_reset_rewrite_vars();
echo EOF
table
...
/table
EOF;
}
?
On Nov 26, 2004, at 7:59 PM, Cyrus wrote:
Dear All,
I have a problem of back to the previous page in php.
I need to create a form let people to fill in .It can let user to
preview the form, if information is not correct , user can back to
previous page and correct it,
I have used the
Robin Vickery wrote:
On Mon, 29 Nov 2004 14:12:23 +0530, suneel
[EMAIL PROTECTED] wrote:
Hi...
Please take a look at the following...
I'm using MySQL 4.0.15
I have the database like this
This should really go to a MySQL list, but...
please keep the discussion on
Hi,
I have an array named $ex_array.
I want to search the database and find those ids that are different from the
values in $ex_array.
I use this but didn't work
$sql = SELECT product_id FROM products WHERE product_id '$ex_array' ;
Thanks for any help
Octavian Rasnita wrote:
Hi all,
I use the following program:
function print_quotes () {
output_reset_rewrite_vars();
echo EOF
table
...
/table
EOF;
}
I have tried this program under Fedora Core 2 in command line mode and on an
Apache web server with the same results.
Do you have suggestions
On Mon, 29 Nov 2004 17:27:26 +0200, Phpu [EMAIL PROTECTED] wrote:
I have an array named $ex_array.
I want to search the database and find those ids that are different from the
values in $ex_array.
I use this but didn't work
$sql = SELECT product_id FROM products WHERE product_id
Thank you. I will try that solution if it works, but the question still
remains...
Is PHP so buggy? The 'here document' should work without a problem in PHP
also.
My code works fine with PHP 5 (fortunately) under Windows, but it doesn't
work with PHP 4.3.4 under Linux.
I think I need to upgrade
On Mon, 29 Nov 2004 17:58:27 +0200, Octavian Rasnita [EMAIL PROTECTED] wrote:
Is PHP so buggy? The 'here document' should work without a problem in PHP
also.
The latest stable PHP 4 is rock solid from where I'm sitting. We have
a bunch of Debian servers running 4.3.9 with no issues.
My code
On Mon, 29 Nov 2004 10:28:57 -0600, Greg Donald [EMAIL PROTECTED] wrote:
I would defiantly upgrade.
Definitely too. :)
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Octavian Rasnita wrote:
Thank you. I will try that solution if it works, but the question still
remains...
Is PHP so buggy? The 'here document' should work without a problem in PHP
also.
It probably wasn't a bug in php 4.3.4 but as greg has pointed out you
probably should upgrade anyway. Here
I have a porblem with undefined variables on loacalhost. Any ideas why? I
have turned registed variables on.
R.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello.
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is downloaded contains HTML
Ross Hulford wrote:
I have a porblem with undefined variables on loacalhost. Any ideas why? I
have turned registed variables on.
R.
Without seeing any code, I'm going to guess that you haven't defined a
variable before trying to use it. Wanna make it go away? Turn off
'notices' in your
On Mon, 29 Nov 2004 17:11:47 -, Ross Hulford [EMAIL PROTECTED] wrote:
I have a porblem with undefined variables on loacalhost. Any ideas why? I
have turned registed variables on.
Where's the code?
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
Hello people,
I've got into problem with compilation of turck mm_cache module.
Usual steps for mm_cache compilation were:
phpize
./configure
make
but now, when I run phpize (appropriate one from right directory) I've
got this error:
[EMAIL PROTECTED] turck-mmcache]# phpize
NONE:0: /usr/bin/m4:
Christian Johansson wrote:
Hello.
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is
Greetings,
On one of my forms to send email, I have multiple line breaks with different
paragraphs. I looked up the nl2br function and that looks like an option,
but I would ideally like to wrap these paragraphs inside p/p tags. Is
there a way to do this easily? Any advice would be greatly
Christian Johansson wrote:
I have a problem with downloads with the use of header()
I have this code at the start at the download site:
Header(Content-Type: application/download);
Header(Content-Disposition: attachment; filename=export.txt);
My problem is that the file which is downloaded
Chris Farrugia wrote:
Greetings,
On one of my forms to send email, I have multiple line breaks with different
paragraphs. I looked up the nl2br function and that looks like an option,
but I would ideally like to wrap these paragraphs inside p/p tags. Is
there a way to do this easily? Any
On Mon, 29 Nov 2004 12:29:59 -0500, Chris Farrugia
[EMAIL PROTECTED] wrote:
On one of my forms to send email, I have multiple line breaks with different
paragraphs. I looked up the nl2br function and that looks like an option,
but I would ideally like to wrap these paragraphs inside p/p tags.
Check it out, in 2 weeks I got to #4 on Google for ebay motors -
which, as you may know, translates into major affiliate dollars.
Completely free and easy to do (as long as your site is in PHP). It's
all about backlinks generated from this free ad network:
On Mon, 29 Nov 2004 11:20:21 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
It's all about backlinks generated from this free ad network:
In other news, scientists discovered wheels are indeed round.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
http://destiney.com/
--
PHP
Brian Dunning wrote:
Check it out, in 2 weeks I got to #4 on Google for ebay motors -
which, as you may know, translates into major affiliate dollars.
Completely free and easy to do (as long as your site is in PHP). It's
all about backlinks generated from this free ad network:
I'm guessing s=174 is your referral ID.
Yes it is. Try it, you'll find it was well worth it. :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
Nick Peters wrote:
Hey,
i know this probally a simple question, but it has been stumping me for
quite some time now. How do i pass a php array to a javascript?
i tryed:
script language=javascript
var myarray = new Array(?PHP echo $myarray; ?);
/script
but it
Hi!
Is there any way to order the PHP (mod_php) to log everything to
ErrorLog defined by Apache in VirtualHost section? In php.ini I see only
the possibility to specify the concrete global logfile or syslog, but a
such setup doesn't fit to virtual host scenario...
Thanks for your advice and
php-general Digest 29 Nov 2004 20:38:01 - Issue 3141
Topics (messages 203054 through 203083):
Re: Weird sessions problem
203054 by: steve
Re: Problem with self join
203055 by: Raditha Dissanayake
203057 by: Robin Vickery
203060 by: Raditha Dissanayake
Re:
Well, there is a 'briandunning.com' as #4 on Google searching for 'ebay motors'.
Now the trick would be to get listed under awesome php scripts or something
relevant to your site.
If anyone sees it necessary to try this, try going to:
http://www.digitalpoint.com/tools/ad-network/
Sorry Brian..
On Mon, 29 Nov 2004 12:57:43 -0800, Brian Dunning
[EMAIL PROTECTED] wrote:
Well, you're entitled to your opinion, of course; but (a) I clearly put
[Off] in the subject
Next time try the standard [OT] label instead.
--
Greg Donald
Zend Certified Engineer
http://gdconsultants.com/
I have read at various places on the web that Apache 2 and PHP running
as a module isn't recommended for production sites. Does anyone here run
PHP 4/5 and Apache2 in a high load production environment with success?
If so, whats your configuration?
Thanks!
--
PHP General Mailing List
On Mon, 29 Nov 2004 21:35:00 +0100, David Zejda [EMAIL PROTECTED] wrote:
Hi!
Is there any way to order the PHP (mod_php) to log everything to
ErrorLog defined by Apache in VirtualHost section? In php.ini I see only
the possibility to specify the concrete global logfile or syslog, but a
such
On Mon, 29 Nov 2004 15:55:31 -0600, Anthony Gauda
[EMAIL PROTECTED] wrote:
I have read at various places on the web that Apache 2 and PHP running
as a module isn't recommended for production sites. Does anyone here run
PHP 4/5 and Apache2 in a high load production environment with success?
If
Anthony Gauda wrote:
I have read at various places on the web that Apache 2 and PHP running
as a module isn't recommended for production sites. Does anyone here run
PHP 4/5 and Apache2 in a high load production environment with success?
If so, whats your configuration?
Take a look at the
Begin forwarded message:
From: Sandy Keathley [EMAIL PROTECTED]
Date: November 29, 2004 3:23:47 PM CST
To: Philip Thompson [EMAIL PROTECTED]
Subject: Re: [PHP] Go Back Problem
Reply-To: [EMAIL PROTECTED]
I have a problem of back to the previous page in php.
I need to create a form let people
Apache2 is multithreaded and works better under higher loads with a
smaller memory footprint. If you have 300 simul connections under apache
1.3 you need 300 forks. The same load under apache 2 runs under 300
threads. With Linux 2.6 threads are very lightweight and in terms of
system resources
Hello,
I have PHP on Windows XP Pro, running Apache 1.3. The
server works fine and I can run basic php scripts.
Problem is aftermodifying my php.ini file to load the extension php_gd2.dll
it cant find it at all. I have tried all possible ways.
my php.ini
extension=php_gd2.dll I REMOVED THE
Well, you're entitled to your opinion, of course; but (a) I clearly put
[Off] in the subject, and (b) this is something that only works for PHP
sites, so it's not completely irrelevant. My experience has been that
it works great, as I proved, and that took only 2 weeks. I'm sure I'm
not the
On Mon, 29 Nov 2004 16:21:22 -0600, Anthony Gauda
[EMAIL PROTECTED] wrote:
The same load under apache 2 runs under 300
threads. With Linux 2.6 threads are very lightweight and in terms of
Are distros shipping with NPTL already? I saw a Gentoo thread on how
to convert a system to use NPTL but
I'm presently reading Using XSLT and have created their examples
using PHP and sablotron to render HTML from XML and an XSL template.
I understand the value of using XSLT to render XML, but what is the
advantage or reasons for generating XML from a database and rendering
it to HTML using XSLT
Hi everyone,
Was just wondering if it is possible to create dynamic frames within a page.
Like have 3 output sequences, one for frame source, then 2 for actual pages?
Or do frames have to have an actual page to load? I guess I could output the
html to a file, then have just the src in the php
Hello;
Im working on a website that uses sessions as an integral part of the
site. If cookies are not turned on in the browser, my site will not
work. Ive been searching unsuccessfully to find the way to determine
if the browser has cookies enabled. I want to warn the user that the
site wont
Gary Reimer wrote:
Hello;
Im working on a website that uses sessions as an integral part of the
site. If cookies are not turned on in the browser, my site will not
work. Ive been searching unsuccessfully to find the way to determine if
the browser has cookies enabled. I want to warn the user
actually any distro with a 2.6 kernel should already have it. You can
check by doing a
getconf GNU_LIBPTHREAD_VERSION
if it says NPTL .xx you have it...
Greg Donald wrote:
On Mon, 29 Nov 2004 16:21:22 -0600, Anthony Gauda
[EMAIL PROTECTED] wrote:
The same load under apache 2 runs under 300
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 2:41 PM said:
Was just wondering if it is possible to create dynamic frames within
a page. Like have 3 output sequences, one for frame source, then 2
for actual pages?
Frames and PHP are not interdependent on eachother.
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:26 PM
Subject: RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 2:41 PM said:
Was just
Marek Kilimajer wrote:
Gary Reimer wrote:
Hello;
Im working on a website that uses sessions as an integral part of the
site. If cookies are not turned on in the browser, my site will not
work. Ive been searching unsuccessfully to find the way to determine
if the browser has cookies enabled. I
Jake McHenry wrote:
- Original Message - From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:26 PM
Subject: RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 2:41 PM
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:36 PM
Subject: off list RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 3:30 PM said:
Right now I only have 1
- Original Message -
From: M. Sokolewicz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:34 PM
Subject: Re: [PHP] PHP and Frames?
Jake McHenry wrote:
- Original Message - From: Chris W. Parker
[EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED];
I am copy/pasting text from a microsoft word doc into phpmyadmin
are there any special tricks to avoid strange characters...most of my
text is in Spanish
The only thing that seems to work is converting the text to ASCII which
ditches all the Spanish formatting :(
is there some process to make
- Original Message -
From: Jake McHenry [EMAIL PROTECTED]
To: M. Sokolewicz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:46 PM
Subject: Re: [PHP] PHP and Frames?
- Original Message -
From: M. Sokolewicz [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
There is no global variable.
Set a cookie the when they hit the login page and then check to be sure that
cookie isset when they post to it.
Example for login.php:
?
setcookie(cookie_check,1);
if ($LoginButton == Login){
if ($cookie_check != 1){
header (Location:
M. Sokolewicz wrote:
Marek Kilimajer wrote:
Gary Reimer wrote:
Hello;
Im working on a website that uses sessions as an integral part of
the site. If cookies are not turned on in the browser, my site will
not work. Ive been searching unsuccessfully to find the way to
determine if the browser has
- Original Message -
From: Chris W. Parker [EMAIL PROTECTED]
To: Jake McHenry [EMAIL PROTECTED]
Sent: Monday, November 29, 2004 6:36 PM
Subject: off list RE: [PHP] PHP and Frames?
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 3:30 PM said:
Right now I only have 1
Hi all.
I am now using mysql-5.0.0-alpha, recently I have encountered some
error when I create tables, so I want to degrade to the latest stable
version of mysql(say 4.1.7)
I want to know that once I have recompiled mysql, do I have to
recompile php too(php is compiled as a module of apache)?
--
It was my error reporting.forgot I replaced my ini file.
John Nichel [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Ross Hulford wrote:
I have a porblem with undefined variables on loacalhost. Any ideas why? I
have turned registed variables on.
R.
Without seeing any code,
* Newbin Shang [EMAIL PROTECTED]:
I am now using mysql-5.0.0-alpha, recently I have encountered some
error when I create tables, so I want to degrade to the latest stable
version of mysql(say 4.1.7)
I want to know that once I have recompiled mysql, do I have to
recompile php too(php is
I am trying to test my form locally, however it doesn't get picked up my
mailbox.
The form is fine and I even set the access in IIS to 127.0.0.1 so the relay
error is not a porblem anymore. This must be a setup problem.
The mail is a standard mailform. I just use IIS thought a mail server is in
On 29-Nov-04, at 3:54 AM, Marek Kilimajer wrote:
Dustin Krysak wrote:
Hi there - I was wondering if there was some kind of PHP function to
determine hte pixel size of a quicktime movie. Something like what
GetImageSize() is to images, but for quicktime.
Not in php. Search for programs that you
Nick Peters wrote:
Marek Kilimajer wrote:
Nick Peters wrote:
Hey,
i know this probally a simple question, but it has been stumping me for
quite some time now. How do i pass a php array to a javascript?
i tryed:
script language=javascript
var myarray = new Array(?PHP echo $myarray; ?);
/script
but
Hi!
Would this work the same for multidimensional arrays?
Encoding was a special feature needed by me, maybe you don't need it.
Usage:
myArray = array(...);
echo 'script'.arrayToJsArray($myArray, 'myArray').'/script';
Felho
--- 8 --- arrayToJsArray.php --- 8 ---
?
function
Hi,
I am trying to find out if its possible to authenticate a page against
an HTTP authentication. Basically what I am trying to do is make
available the stats page of the Cpanel to the admin interface of a site.
When accessing the stats via the cpanel the user needs to login via http
I think by default phpmyadmin wants to use the iso-8859-1 character set.
This matches the typical mysql Latin-1 character set which is also 8859-1.
So I think where the issue may be is that Word is not using 8859-1.
Figuring this out is not easy, but the basic idea is that you are probably
having
69 matches
Mail list logo