php-general Digest 9 Jun 2005 10:48:48 - Issue 3502
Topics (messages 216673 through 216697):
Re: problem with IE and php
216673 by: Richard Lynch
Re: problem between IE and PHP
216674 by: Richard Lynch
Re: Add Excel/Word documents to a dynamic pdf.
216675 by:
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi...
looking for suggestions on the 'best' wiki for an app. i want to be able to:
-register/login users
-admin the site
-multiple admins
-various roles/access privs for users
-enable groups
-create/modify categories
-allow users to modify text
-allow users to make postings
also,
-issue tracking
-possible basic project management
-
-Original Message-
From: bruce [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 08, 2005 11:56 PM
To: php-general@lists.php.net; 'For users of Fedora Core releases'
Subject: [PHP] setting up a wiki - looking for suggestions!
I have recently set up a machine with PHP with both buffering and
compression turned on. Some of the pages being served include up to 3MB
of HTML.
Can someone explain the benefit(s) of setting these ini directives to
values (ie. larger than 4kb) rather than On ?
I've played around with it
The original message has been included as an attachment.
Posible virus encontrado en el fichero adjunto.
El fichero ha sido eliminado automaticamente.
***
Possible virus found in this attachment.
The file has
Hi,
I installed php5 using the configue below. I tried with apache2 as well and
same things.
'./configure' '--prefix=/usr/local/php5'
'--with-apxs=/usr/local/apache/bin/apxs' '--disable-cgi'
'--with-config-file-path=/etc/php5' '--with-dom' '--with-gd' '--enable-sockets'
I also use eaccelrator; However, even if I disable it completely, it
still stops at 2.000.000 bytes.
Catalin
Catalin Trifu wrote:
Hi,
I installed php5 using the configue below. I tried with apache2 as well
and same things.
'./configure' '--prefix=/usr/local/php5'
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
...
$string=I have apples!;
$string=preg_replace(/x+/sim,x, $string);
print $string;
...
Thanks, that did it. I did not know about the +. And what is the 'sim'
its not one thing but 3 things, everything that comes after a
regexp closing marker (but inside the string) is
On 7 Jun 2005, at 23:46, Chris Martin wrote:
Is a simple CSS print stylesheet out of the question?
If the site is marked up properly, this should be trivial, and would
be much easier/more efficient.
CSS is definitely the way to go. Here are some good articles:
[snip]
2005/6/8, Jay Blanchard [EMAIL PROTECTED]:
[snip]
I want that the file with extension .TXT that this in my server, to
keep packed it with extension ZIP. Somebody knows since I can do it.
[/snip]
http://www.php.net/zip
but it says 'Read Only Access' from the document?
so,the file
I've been beating my head against this - I've done this so many
times on BSD and Linux but I just can't get PHP 5.0.4 to compile on
OS X. Even the simplest case:
./configure
make
fails with:
/usr/bin/ld: Undefined symbols:
_mbstring_globals
_php_mb_encoding_translation
Hi!
I am running Apache on Windows XP and would like to install PHP. I'll be using
PHP within my computer for development purposes.
1st issue. When I installed Apache, the installation program self-configures.
Since I use a permanent, broadband connection, I think Apache detected it and
[snip]
... and assumed I was using Apache as a Web sever. How can I fix this?
[/snip]
Uh, dude, Apache is a web server.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Tony!
1st issue. When I installed Apache, the installation program
self-configures. Since I use a permanent, broadband
connection, I think Apache detected it and assumed I was
using Apache as a Web sever. How can I fix this?
Apache *is* a web server. Nothing to fix here. You need
Go to where you extracted php (I assume it was C:\php, right?) and
there is a file called install.txt - read it; it will tell you exactly
what you need to know...
Raz
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello,
Thursday, June 9, 2005, 1:47:41 PM, you wrote:
aan 1st issue. When I installed Apache, the installation program
aan self-configures. Since I use a permanent, broadband connection, I
aan think Apache detected it and assumed I was using Apache as a Web
aan sever. How can I fix this?
I
* Paul Birnstihl [EMAIL PROTECTED]:
I have recently set up a machine with PHP with both buffering and
compression turned on. Some of the pages being served include up to 3MB
of HTML.
Can someone explain the benefit(s) of setting these ini directives to
values (ie. larger than 4kb) rather
Hello,
I designed a player class with the following properties and constructor:
class player {
private $properties = array('firstname' = NULL, 'lastname' = NULL);
function _construct($first, $last) {
$this-properties['firstname'] = $first;
$this-properties['lastname'] = $last;
}
}
hi...
looking for suggestions on the 'best' wiki for an app. i want to be able to:
-register/login users
-admin the site
-multiple admins
-various roles/access privs for users
-enable groups
-create/modify categories
-allow users to modify text
-allow users to make postings
Hi,
What aout __construct() -thi shoul do the trick (read the manual)
Catalin
Stphane Bruno wrote:
Hello,
I designed a player class with the following properties and
constructor:
class player {
private $properties = array('firstname' = NULL, 'lastname' = NULL);
Hi,
what's the best way how to store a small amount of data, like list of
categories or sections of a website.
CVS (comma delimited text) x Database (MySQL, or other) x XML ?
Which method is the fastest? Anyone has any personal experiences?
Thank you in advance for replies.
Martin Zvarik
Hello Stéphane,
Wednesday, June 8, 2005, 10:23:22 PM, you wrote:
SB function _construct($first, $last) {
SB What did I do wrong?
It's __construct()
Best regards,
Richard Davey
--
http://www.launchcode.co.uk - PHP Development Services
I do not fear computers. I fear the lack of them. -
Hello Martin,
Thursday, June 9, 2005, 2:38:23 PM, you wrote:
MZ what's the best way how to store a small amount of data, like list
MZ of categories or sections of a website. CVS (comma delimited text)
MZ x Database (MySQL, or other) x XML ? Which method is the fastest?
MZ Anyone has any personal
Richard Lynch wrote:
On Tue, June 7, 2005 10:59 am, Robert Cummings said:
PHP has never purported to be an OOP only language. It advocates both
procedural and OOP programming methodologies. Just ask Richard Lynch :)
Don't bother asking me - Ask Rasmus :-)
And, for the record, *I* sure as
Hi Jim, Ive modified the code for the form by adding the style info vars
to the relevant fields and set the var for the error style but for some
reason the $error_var wont pick up the syle from $error_syle_var.
Eg:
$error_style = 'color: rgb(255,0,0)';
if(!$name){$err1 = $error_style;
[EMAIL PROTECTED] wrote:
Hi!
I am running Apache on Windows XP and would like to install PHP. I'll be using
PHP within my computer for development purposes.
1st issue. When I installed Apache, the installation program self-configures.
Since I use a permanent, broadband connection, I think
Hi Jim, Ive modified the code for the form by adding the
style info vars
to the relevant fields and set the var for the error style
but for some
reason the $error_var wont pick up the syle from $error_syle_var.
Eg:
$error_style = 'color: rgb(255,0,0)';
if(!$name){$err1 =
Hello,
I designed a player class with the following properties and
constructor:
class player {
private $properties = array('firstname' = NULL, 'lastname' = NULL);
function _construct($first, $last) {
$this-properties['firstname'] = $first;
$this-properties['lastname'] = $last;
}
}
Hi All,
Trying to use the PEAR Auth library. I'm set up, and after a successful
login, I'm making the $auth-setExpire(30*60) call to set up for
expiration after 30 minutes. But I left the web site last night, and
this morning went back, and it was still active, so it didn't ask for
a
Yes, it does. I already have set the variables manually like you say. Its
just the $err1, $err2 vars do not seem to be set with the data stored in
$error_style.
Dave
-Original Message-
From: Jim Moseby [mailto:[EMAIL PROTECTED]
Sent: 09 June 2005 15:02
To: '[EMAIL PROTECTED]';
On Thursday 09 June 2005 20:04, Jay Blanchard wrote:
[snip]
2005/6/8, Jay Blanchard [EMAIL PROTECTED]:
[snip]
I want that the file with extension .TXT that this in my server, to
keep packed it with extension ZIP. Somebody knows since I can do it.
[/snip]
http://www.php.net/zip
Hey ladies gents
I am having a little problem with users keeping the same session id
when they go from http to https... is there a work around for this...
I don't appear to have this problem when using openSSL just when the
site has it's own certificate.
should I store the session id in a
Catalin Trifu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
As expected the browser starts the download and reports it is expecting
a file of 4.7MB.
However, the download stops at 2.000.000 bytes no matter what browser I
use (normally i use
Firefox on Linux), no matter if
On Wed, 8 Jun 2005, bruce wrote:
hi...
looking for suggestions on the 'best' wiki for an app. i want to be able to:
- [snip]
any ideas/thoughts/etc...
http://opensourcecms.com/
Lots of options... online demos for all...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Hm? Didn't see this one yesterday on the list?
Let's try again :)
-afan
Chris Shiflett wrote:
You forgot to filter your input. Shame! :-)
Escaping alone can save you in many cases, but always filter input and
escape output.
I confess: I didn't forget. I did it just wrong :( Even I thought
On Jun 9, 2005, at 8:32 AM, Marcus Bointon wrote:
I've been beating my head against this - I've done this so many times
on BSD and Linux but I just can't get PHP 5.0.4 to compile on OS X.
Even the simplest case:
Do you have the latest XCode installed? I think there was a recent
update
Eg:
$error_style = 'color: rgb(255,0,0)';
if(!$name){$err1 = $error_style; $error[]=*please enter
your name\n;}
snip!
Does it re-populate the fields with the previously entered data?
Yes, it does. I already have set the variables manually like
you say. Its
just the
On 6/8/05, John Nichel [EMAIL PROTECTED] wrote:
preg_replace ( /x+/, x, $string );
preg_replace ( /x{1,}/, x, $string );
But those will also change a letter 'x' in a word, so you'll probably
need to tinker with that part too.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
On 6/8/05, Greg Beaver [EMAIL PROTECTED] wrote:
If you want to compare object methods versus functions, you should
compare identical code inside a method to code inside a function.
Greg's benchmarks compare two different ideological code structures.
Quite honestly, the wrapping of mt_srand()
On 6/9/05, Jochem Maas [EMAIL PROTECTED] wrote:
whats your take on ifsetor()?, personally I would like to see it. I think
its a great way to teach newbies about checking vars before use (if nothing
else)
That and error_reporting( E_ALL );
--
Greg Donald
Zend Certified Engineer
I know there's not quite the right place
to ask for that, but how can one know which
are all the parameters one can type after
about: in Firefox 1.0.4 ?
That is, as far as I know, one can enter
about:config
about:plugins
Thanks and Regards
Alessandro Rosa
I know this is not quite the right place
to ask for that, but how can one know which
are all the parameters one can type after
about: in Firefox 1.0.4 ?
That is, as far as I know, one can enter
about:config
about:plugins
Thanks and Regards
Alessandro Rosa
Thanks jim, sorry for troubling you. Ive done that now and can see that all
vars are being set but the code in the form to return the contents of $err1
doesnt display the contents, just emptiness. Thanks for your help, I will
keep on playing with it.
Cheers
Dave
-Original Message-
On Thursday 09 June 2005 23:08, Greg Donald wrote:
On 6/9/05, Jochem Maas [EMAIL PROTECTED] wrote:
whats your take on ifsetor()?, personally I would like to see it. I
think its a great way to teach newbies about checking vars before use
(if nothing else)
That and error_reporting( E_ALL );
I have an include file with about 6 lines of code, just text parsing.
If I have to loop through 5000 records, is there a big difference
between (a) calling this include file 5000 times, and (b) defining a
function and just calling the function 5000 times?
--
PHP General Mailing List
Brian Dunning wrote:
I have an include file with about 6 lines of code, just text parsing.
If I have to loop through 5000 records, is there a big difference
between (a) calling this include file 5000 times, and (b) defining a
function and just calling the function 5000 times?
or (c) just
On 9 Jun 2005, at 15:46, John DeSoi wrote:
Do you have the latest XCode installed? I think there was a recent
update for OS X 10.4. I did not have any problems compiling PHP
5.0.4 with OS X 10.3, but I have not tried 10.4 yet.
I do have XCode 2.1, but I don't think it has anything to do
On Jun 9, 2005, at 9:48 AM, bruce wrote:
bian...
giave a psuedocode example of what you're trying to compare.. i
think i know
what you're asking, but i want to be sure..
OK, this is *pseudocode* remember... :)
Is either of these SIGNIFICANTLY slower:
=== Example 1 ===
while(loops
On Jun 9, 2005, at 9:44 AM, Jochem Maas wrote:
or (c) just placing the code inside the loop - no function call ,
no include,
just wash and go ;-) - whichever is faster of (a) and (b), my (c)
will be faster still. :-)
I agree (c) would be swell but this is a function that I call from
many
I'm pretty sure you have to install the developer tools in order to get
the gcc compiler installed. So while you don't need XCode to compile,
you do need the developer tools, which is almost synonymous with XCode.
Doesn't 10.4 ship with gcc 4? I know I read about some bugs and problem
with
Not sure which is faster, you would have to run a quick test to truly
see. From a design standpoint, I would put the function in a class and
load the class early in the file. You can then override the function,
make changes to the number of parameters or other flexibility
actions. The function
Question.. I'm using PHP 5.0.4 with the built-in libxslt-based xsl
extension. I'm passing XSL parameters to the XSL processor like so:
$xslt_proc-setParameter('', 'param_test', some test value);
My question is, is it *required* to declare this parameter in the XSL
stylesheet with:
xsl:param
Hi! First off, thank you very much for your efforts.
I have set up my php.ini file properly with the extension_dir tag. I
am running under Windows XP Apache 2.0.50 and PHP 4.3.11. I have
noticed that php_printer.dll was no longer part of these late versions
4.3.11 and 4.3.10. I tried an
Brian Dunning wrote:
On Jun 9, 2005, at 9:44 AM, Jochem Maas wrote:
or (c) just placing the code inside the loop - no function call , no
include,
just wash and go ;-) - whichever is faster of (a) and (b), my (c)
will be faster still. :-)
I agree (c) would be swell but this is a function
On Jun 9, 2005, at 10:54 AM, Jochem Maas wrote:
unless you intend to make a call
to your function from inside the include file,
No, the question is which of the two to use, not both. :)
I've built a version that uses a function, will test, and will post
the results.
--
PHP General
Brent Baisley wrote:
Not sure which is faster, you would have to run a quick test to truly
see. From a design standpoint, I would put the function in a class and
load the class early in the file. You can then override the function,
make changes to the number of parameters or other flexibility
Brian Dunning wrote:
I have an include file with about 6 lines of code, just text parsing.
If I have to loop through 5000 records, is there a big difference
between (a) calling this include file 5000 times, and (b) defining a
function and just calling the function 5000 times?
Yes, there is a
Hi,
Thanks for the answer; the amount of memory configured is 64MB.
readfile does no buffering and such things; it simply spits the file
on the wire.
Other suggestions ?
C.
rush wrote:
Catalin Trifu [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi,
I have an admin area for one page on shared hosting. And I wanted to
protect it by shared SSL from my hosting company. I got from them
Your domain, afan.net, can now access our shared SSL certificate.
To securely access the documents folder, go to ...
https://secure.inetwave.com/afan/filename
in all honesty, it would really depend on how good the compiler/optimizer
is.. but since you're dealing with php.. and i assume that there's not a
good (if any) optimization process...
i would tend to say, include the function/file once, use the function as
required...
-bruce
-Original
According to Google, my MySQL db is not on secure.inetwave.com server
and have to use something else instead of localhost for host in
mysql_connect(), right?
-afan
[EMAIL PROTECTED] wrote:
I have an admin area for one page on shared hosting. And I wanted to
protect it by shared SSL from my
Hello afan,
Thursday, June 9, 2005, 7:07:26 PM, you wrote:
aan I have an admin area for one page on shared hosting. And I wanted to
aan protect it by shared SSL from my hosting company. I got from them
aan Your domain, afan.net, can now access our shared SSL certificate.
aan To securely access
Hello afan,
Thursday, June 9, 2005, 7:18:46 PM, you wrote:
aan According to Google, my MySQL db is not on secure.inetwave.com
aan server and have to use something else instead of localhost
aan for host in mysql_connect(), right?
Sure.. you could the domain name of the server that MySQL is
Just as I thought :(
Thanks Richard.
-afan
Richard Davey wrote:
Hello afan,
Thursday, June 9, 2005, 7:07:26 PM, you wrote:
aan I have an admin area for one page on shared hosting. And I wanted to
aan protect it by shared SSL from my hosting company. I got from them
aan Your domain,
bruce wrote:
in all honesty, it would really depend on how good the compiler/optimizer
is.
No, it doesn't. Path resolution must still be performed, and this is
going to result in at least one stat() and one realpath() call. These
are expensive.
Chris
--
Chris Shiflett
Brain Bulb, The PHP
On 6/9/05, John Browne [EMAIL PROTECTED] wrote:
Question.. I'm using PHP 5.0.4 with the built-in libxslt-based xsl
extension. I'm passing XSL parameters to the XSL processor like so:
$xslt_proc-setParameter('', 'param_test', some test value);
My question is, is it *required* to declare
Thanks, Richard
It now works. It was not obvious in the book I was using. The author
should have put a side note stating it is two underscores instead of
one.
Stphane
On Thu, 2005-06-09 at 08:42, Richard Davey wrote:
Hello Stphane,
Wednesday, June 8, 2005, 10:23:22 PM, you wrote:
SB
On 9 Jun 2005, at 18:11, Brent Baisley wrote:
I'm pretty sure you have to install the developer tools in order to
get the gcc compiler installed. So while you don't need XCode to
compile, you do need the developer tools, which is almost
synonymous with XCode.
Of course I have the
Hi,
I installed php5 using the configue below. I tried with apache2 as well and
same things.
'./configure' '--prefix=/usr/local/php5'
'--with-apxs=/usr/local/apache/bin/apxs' '--disable-cgi'
'--with-config-file-path=/etc/php5' '--with-dom' '--with-gd' '--enable-sockets'
'--enable-exif'
Ok all - I've been playing with this print styl sheet thing. I can get the
media=print to behave correctly, but I cannot get table background colors
set. I want to print the table bg colors and background images. I was hoping
this was possible with CSS2. Does anyone have any input on this? I build
* Greg Donald [EMAIL PROTECTED] :
On 6/8/05, Greg Beaver [EMAIL PROTECTED] wrote:
If you want to compare object methods versus functions, you should
compare identical code inside a method to code inside a function.
Greg's benchmarks compare two different ideological code structures.
Quite
Unfortunately you can't override this setting. It is really quite
frustrating overall - I'm sure some of you have used background color to
create an excel style table...or maybe I'm just doing things totally wrong.
Customers get to login to get their invoices, so I really want them to be
able to
Hello Matt,
Thursday, June 9, 2005, 2:47:51 PM, you wrote:
M Ok all - I've been playing with this print styl sheet thing. I can
M get the media=print to behave correctly, but I cannot get table
M background colors set. I want to print the table bg colors and
M background images. I was hoping this
Isn't this a user selectable option, which by default is turned off (on
most browsers)?
My Internet explorer has an advance configuration option that enables
Print background colors and images.
Don't think you can override the users selection on this.
Warren Vail
[EMAIL PROTECTED]
Most web browsers I know of don't print anything specified as background
by default. I imagine that functionality extends to CSS-defined
background colors and images. I doubt there's a way to change that
preference other than setting it manually. If changing the print
settings on your
Yeah I do understand this. That is primarily what I was trying to find a
workaround for. It doesn't seem like CSS will save me on this one. I can't
seem to get table borders to look identical in ff/ie using CSS they render
differently. My Diagrams mostly rely on bg colors, so I'm really up a creek
Leif Gregory mailto:[EMAIL PROTECTED]
on Thursday, June 09, 2005 2:29 PM said:
You realize that the printing of background colors is determined
primarily by the user's browser right?
In IE:
Tools / Internet Options / Advanced / Under Printing section.
In Firefox:
File / Page Setup /
Speaking of PDF...I was looking at php.net/pdf and couldn't figure out if
there was a way I could just dump in the html of the page and have it output
as a pdf? Does anyone have any sample code for dumping HTML to PDF format?
(Using PDFlib). Didn't seem like the samples on php.net were that
On 6/9/05, Matthew Weier O'Phinney [EMAIL PROTECTED] wrote:
Actually, that is the point.
If I decide the write a script, and it is my idea, then the point of
the script is my own. It's a simple benchmark. I doubt a client
would ever come to me and say Can you write me a script to add two
Hello Matt,
Thursday, June 9, 2005, 3:34:30 PM, you wrote:
M Yeah I do understand this. That is primarily what I was trying to
M find a workaround for. It doesn't seem like CSS will save me on
M this one. I can't seem to get table borders to look identical in
M ff/ie using CSS they render
One option I had considered, before I gave up struggling with this
question, was to change all the colors to foreground colors by using
IMG tags and creating the images on the fly with PHP in the proper
color (with text if I want to) (images will print by default in most
browsers. But hold on for
Yikeshas anyone got a url for a good Make PDF From HTML Class that
uses my newly installed PDFlib library?
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
-Original Message-
From: Leif Gregory [mailto:[EMAIL PROTECTED]
Sent: Thursday,
I've never came across that problem, but try this
function output_file($filename){
$fp = fopen($filename, r);
while(!feof($fp)){
echo fread($fp, 1024000);
}
}
On 6/9/05, Catalin Trifu [EMAIL PROTECTED] wrote:
Hi,
I installed php5 using the configue below. I tried with apache2 as well
Hi,
I am trying to make one form on a single page insert info into three
tables; query 1 creates an art_id (auto-increment) for the newly
created row in table art;
query2 creates a media_id in table media.
Then I need to get the art_id and media_id created by the first two
queries to insert
Hi,
Tried it and it works indeed, but it's quite annoying to make such tricks
and is not the best solution either; fopen and fread are expensive.
I can't say if it's a bug in PHP or some config option.
C.
Rory Browne wrote:
I've never came across that problem, but try this
Well after the first query you could do this:
$art_id = mysql_insert_id();
There is your new unique art_id you just created.
Do this for the next table, the do the insert on your 3rd table.
Matt Babineau
Criticalcode
w: http://www.criticalcode.com
p: 858.733.0160
e: [EMAIL PROTECTED]
Hello jack,
Friday, June 10, 2005, 12:05:35 AM, you wrote:
jj I am trying to make one form on a single page insert info into three
jj tables; query 1 creates an art_id (auto-increment) for the newly
jj created row in table art;
jj query2 creates a media_id in table media.
jj Then I need to
ALERT!
This e-mail, in its original form, contained one or more attached files that
were infected with a virus, worm, or other type of security threat. This e-mail
was sent from a Road Runner IP address. As part of our continuing initiative to
stop the spread of malicious viruses, Road Runner
On 6/9/05, Matt Babineau [EMAIL PROTECTED] wrote:
Well after the first query you could do this:
$art_id = mysql_insert_id();
There is your new unique art_id you just created.
Do this for the next table, the do the insert on your 3rd table.
Thanks, Matt!
Matt Babineau
is it possible to make a page loop with header('Location : page.php')???
I've ran into a little bit of a snag with php execution time... so, i
need to execute the page a few times so that I can split the operation
up into multiple parts... my other option would be to make a
javascript reload
--
Thanks for this Richard!
On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote:
Hello jack,
Friday, June 10, 2005, 12:05:35 AM, you wrote:
jj I am trying to make one form on a single page insert info into three
jj tables; query 1 creates an art_id (auto-increment) for the newly
jj created
Hello Joe,
Friday, June 10, 2005, 12:36:13 AM, you wrote:
JH is it possible to make a page loop with header('Location :
JH page.php')???
JH I've ran into a little bit of a snag with php execution time...
JH so, i need to execute the page a few times so that I can split the
JH operation up into
Joe Harman wrote:
is it possible to make a page loop with header('Location : page.php')???
I've ran into a little bit of a snag with php execution time... so, i
need to execute the page a few times so that I can split the operation
up into multiple parts... my other option would be to make a
On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote:
Hello Joe,
Friday, June 10, 2005, 12:36:13 AM, you wrote:
JH is it possible to make a page loop with header('Location :
JH page.php')???
JH I've ran into a little bit of a snag with php execution time...
JH so, i need to execute the
Joe Harman wrote:
On 6/9/05, Richard Davey [EMAIL PROTECTED] wrote:
Hello Joe,
Friday, June 10, 2005, 12:36:13 AM, you wrote:
JH is it possible to make a page loop with header('Location :
JH page.php')???
JH I've ran into a little bit of a snag with php execution time...
JH so, i need to
HI I have a form which pulls values from the db, and thanks to help
from the irc chat, hopefully makes any checkboxes which are selected
part of an array to be gotten in post:
while ($media_rows = mysql_fetch_assoc($media_result)){
$checkbox_media[] = input
Hello jack,
Friday, June 10, 2005, 2:16:06 AM, you wrote:
jj $query = INSERT INTO media_art (media_art_id,art_id, media_id)
jj VALUES ('',' . $art_id . ',' . $media_types[2]. ');
jj repeat as many or few times as possible to account for the number of
jj checked boxes, such as
One
Don't forget to mention that even if you don't select a checkbox it will
still add a empty record to the db.. i know for sure the foreach loop
will add a record even if a box is not check, so you have to check its
actually set before you start inserting.
Richard Davey wrote:
Hello jack,
1 - 100 of 107 matches
Mail list logo