Maybe you should take a look at PHPs Image functions, finding out which
function matches your needs is not that hard :-)
If you don't find the right functions you can also take a look at this
list's archives as this topic was raised around 5 times 04/04 :-p
-- red
[...]
Hi Warren,
Thanks
Orangehairedboy wrote:
Hi,
check out http://php.net/serialize and http://php.net/unserialize .
hope this helps :-)
-- red
[...]
Hi all,
In Perl there is a way to flatten an array into a string, and a matching
function to unflatten the array.
This is different from explode/implode
You might want to try google, search for 'php resize image' or something
along those lines. very often there is lots of code already out there.
- Original Message -
From: Ryan Schefke [EMAIL PROTECTED]
To: 'Warren Vail' [EMAIL PROTECTED]; 'Php-General-Help'
[EMAIL PROTECTED]
Sent:
Nice one here, got some class for this type of handling as well but it
will also do some nice magic when it comes to checking for valid data
or displaying the input again for validation :-)
My way to go:
1. Display the form
2. Check all required fields (name start with req_)
2.1 ( ok ) Parse page
Chris Shiflett wrote:
If you look at the first post above, it appears he is hitting
Reply to list messages, trying to unsubscribe by sending a post
to the list. If you look at the text of the return that he passed on
to the list, it also indicates he was sending his unsubscribe posts
to the list
* Thus wrote Monty ([EMAIL PROTECTED]):
Hi, I'm trying to get a site working with our credit card merchant gateway's
direct mode using CURL. But I'm not exactly sure if I'm doing it right.
Here's what the gateway wants sent to it as a POST:
POST /gw/sas/direct3.0 HTTP/1.0
Host:
Chris W. Parker wrote:
but your messages *ARE* getting accepted otherwise i would not be
reading this email right now!
NO THEY ARE NOT - This reply HAS to be sent via the newsgroup!
The bounce messages I am getting are as a result of .php.net NOT
accepting my perfectly valid posts!
--
Lester
Is php.net bounceing your posts or does your ISP bounce your e-mails?
maybe you could send us a copy to have a look?
-- red
Lester Caine wrote:
Chris W. Parker wrote:
but your messages *ARE* getting accepted otherwise i would not be
reading this email right now!
NO THEY ARE NOT - This
Why do these functions wrap at approximately 80 chars? It's stupid! How can
this be worked around?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
I have a webserver that running php4.3.x,mysql3.5x,apache1.3.x on Mandrake9.
I intended to transfer this server to another server.
I installed Freebsd4.9 on newserver. and certainly apache1.3x,php4,mysql and
concerning components.
it works well. and I have a problem.
We have 100Mbit/s
Aidan Lister wrote:
Why do these functions wrap at approximately 80 chars? It's stupid! How
can this be worked around?
It doesn't check the source to see that the browser wraps the text as it
reaches the border of the window.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Red Wingate wrote:
Aidan Lister wrote:
Why do these functions wrap at approximately 80 chars? It's stupid! How
can this be worked around?
It doesn't check the source to see that the browser wraps the text as it
reaches the border of the window.
Oh just another note, use nobr to skip
Yavuz maFelak wrote:
Hello
I have a webserver that running php4.3.x,mysql3.5x,apache1.3.x on
Mandrake9. I intended to transfer this server to another server.
I installed Freebsd4.9 on newserver. and certainly apache1.3x,php4,mysql
and concerning components. it works well. and I have a
Ryan Schefke wrote:
How do you resize pictures once they're in a certain directory? I have the
script to upload a picture, that's working fine. I just need some help with
resizing it. Can someone help?
Grab a copy of TikiWiki - http://freshmeat.net/projects/tiki/
It's quite a large system, but
Grab a copy of TikiWiki - http://freshmeat.net/projects/tiki/
It's quite a large system, but there are lots of useful libraries in it.
lib/imagegals/imagegallib.php has a nice sample of building thumbnails
and smaller copies of the original as well as managing them.
Alternatively phpgallery
yes more or less we wait
- Original Message -
From: Red Wingate [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, April 20, 2004 12:09 PM
Subject: [PHP] Re: slow upload with http post
Yavuz maFelak wrote:
Hello
I have a webserver that running php4.3.x,mysql3.5x,apache1.3.x
Thanx to all for the suggestions...
Till We Meet Again...
Clifford W. Hansen
Operations Support Developer
Aspivia (Pty) Ltd.
+27 (0) 11 259-1150 (Switchboard)
+27 (0) 11 259-1019 (Fax)
+27 (0) 83 761-0240 (Mobile)
[EMAIL PROTECTED] (EMail)
http://chansen.aspivia.com (Web)
Registered Linux user
I have received some code and am trying to run it. However, I get the
following error:
*Parse error*: parse error, unexpected '=', expecting ')'
It happens on this line when $args=array() is reached:
function array_key_remove($args=array(), $keys=array(),$replacement=NULL)
I have php-4.2.2-17
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Tuesday 20 Apr 2004 08:24, Lasse Motroen wrote:
I have received some code and am trying to run it. However, I get the
following error:
*Parse error*: parse error, unexpected '=', expecting ')'
It happens on this line when $args=array() is
Hello PHPers,
I'm not sure whether this is the best place to post this message...
Some of the forms I'm using in a PHP project I'm working use the button
type=submit ... tag to submit.
They are working fine on Konqueror but don't seem to work properly on MSIE.
I tried inserting the debug code:
I do not think it is the server name issue. I used
www.original-remote-control.co.uk for testing ..and I have done that
scores of times now :) ..
I do not use setcookie .. I just call session_start() in the beginning
to set the cookie for session.
Jas
--
Make sure it's
Some of the forms I'm using in a PHP project I'm working use the
button type=submit ... tag to submit.
I think you might prefer:
input type=submit ...
Thanks
Richard
-Original Message-
From: Richard Lewis [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 09:45
To: [EMAIL
?php
$args = array(a,b,b);
$keys = array(0,1,2);
function array_key_remove($args,$keys,$replacement=NULL)
{
echo Foo!;
}
?
Lasse Motroen [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have received some code and am trying to run it. However, I get the
following error:
button type=submit is not a standard HTML v4 tag
You need:
input type=submit
-Original Message-
From: Richard Lewis [mailto:[EMAIL PROTECTED]
Sent: 20 April 2004 09:45
To: [EMAIL PROTECTED]
Subject: [PHP] lt;buttongt; tag
Hello PHPers,
I'm not sure whether this is the best
Hello Richard,
Tuesday, April 20, 2004, 9:44:59 AM, you wrote:
RL They are working fine on Konqueror but don't seem to work properly on MSIE.
RL I tried inserting the debug code:
I'm amazed that worked on Konqueror. It's not even valid HTML. You
sure you didn't mean input type=button ?
--
Acutally, I've just worked out why its not working:
I have multiple button tags on the same page which all do different things
(edit/delete/new...). They are all called 'submit' (name='submit') and have
different 'value' values in order that the receiving script may distinguish
between them:
Hello Richard,
Tuesday, April 20, 2004, 9:55:15 AM, you wrote:
RL Acutally, I've just worked out why its not working:
Other than it not being valid HTML you mean? :)
RL I have multiple button tags on the same page which all do different things
RL (edit/delete/new...). They are all called
In all fairness to IE, it WILL send the value of each button - but PHP
cannot distinguish between them all because you have given them all
the same name! :)
RL Does input type='submit'... allow this sort of functionality?
If it has a unique name, sure:
input type=submit name=something-unique
Hello Richard,
Tuesday, April 20, 2004, 10:17:42 AM, you wrote:
In all fairness to IE, it WILL send the value of each button - but PHP
cannot distinguish between them all because you have given them all
the same name! :)
RL Does input type='submit'... allow this sort of functionality?
If it
Hello Mike,
Tuesday, April 20, 2004, 11:15:07 AM, you wrote:
FML Bzzt! Completely wrong. See
FML http://www.w3.org/TR/html401/interact/forms.html#h-17.5.
Yeah, already covered this.
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html
--
PHP General Mailing List
On 19 April 2004 23:02, Lester Caine wrote:
OK 72 Hours later I got 6 bounce messages back related to Fridays
eMails direct to lists.php.net ( one of which is yet another attempt
to unsubscribe from php-db )
Delivery-date: Mon, 19 Apr 2004 20:30:30 +0100
Received: from
[EMAIL PROTECTED] wrote:
Hi
$thisFileName = $PHP_SELF; works in a file just a few lines after the
program start.
$thisFileName = $PHP_SELF; doesn't work (echo (pDebug: self:
$PHP_SELF/p); returns pDebug: self: /p) if it's within function
getNavigation() in the Navigation object called
On 20 April 2004 09:45, Nunners wrote:
button type=submit is not a standard HTML v4 tag
Bzzt! Completely wrong. See
http://www.w3.org/TR/html401/interact/forms.html#h-17.5.
Cheers!
Mike
-
Mike Ford, Electronic Information
http://ie.php.net/globals
Instead of $PHP_SELF use $_SERVER['PHP_SELF']
Craig
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Hi
$thisFileName = $PHP_SELF; works in a file just a few lines after the
program start.
$thisFileName =
Hi
$thisFileName = $PHP_SELF; works in a file just a few lines after the
program start.
$thisFileName = $PHP_SELF; doesn't work (echo (pDebug: self:
$PHP_SELF/p); returns pDebug: self: /p) if it's within function
getNavigation() in the Navigation object called by another program.
Why?
The
On 20 April 2004 07:47, Lester Caine wrote:
Chris W. Parker wrote:
but your messages *ARE* getting accepted otherwise i would not be
reading this email right now!
NO THEY ARE NOT - This reply HAS to be sent via the newsgroup!
The bounce messages I am getting are as a result of
[...]
but your messages *ARE* getting accepted otherwise i would not be
reading this email right now!
NO THEY ARE NOT - This reply HAS to be sent via the newsgroup!
The bounce messages I am getting are as a result of .php.net NOT
accepting my perfectly valid posts!
No, I don't
No, PHP explicity inserts br at 80chars
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Red Wingate wrote:
Aidan Lister wrote:
Why do these functions wrap at approximately 80 chars? It's stupid! How
can this be worked around?
It doesn't check the source to see
I just build a testcase to check wether PHP does or not and it doesn't even
if i have 1080 chars in a line :p
-- red
No, PHP explicity inserts br at 80chars
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Red Wingate wrote:
Aidan Lister wrote:
Why do these
I have two text files with two rows of data on each line sperated by a tab for about
20 lines in each file. Would it be faster accessing this data by putting it in a mysql
table?
-
Yahoo! Messenger - Communicate instantly...Ping your friends
It seems they've fixed this in php5, so I can't complain.
Aidan Lister [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Why do these functions wrap at approximately 80 chars? It's stupid! How
can
this be worked around?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
David Robley wrote:
If all else fails, does an email to listname-owner work for you? Also, the
info at http://auseinet.flinders.edu.au/links/lists/ezmlm.html might be
helpful.
Unfortunately not :)
The list owner is [EMAIL PROTECTED] which is still a .php.net
address, and so gets a bounce
Here's a PHP4 example:
http://ircphp.com/users/imho/?file=function.str_chop.php
Here's an example where PHP has explicitly wrapped at 80 chars, but only the
PHP, not the HTML.
http://ircphp.com/users/imho/
Red Wingate [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I just build a
[snip]
I have two text files with two rows of data on each line sperated by a
tab for about 20 lines in each file. Would it be faster accessing this
data by putting it in a mysql table?
[/snip]
Sounds like the perfect opportunity to set up a test! File I/O is always
slower.
--
PHP General
Ofcourse
Andrew fenn [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I have two text files with two rows of data on each line sperated by a tab
for about 20 lines in each file. Would it be faster accessing this data by
putting it in a mysql table?
-
From: Richard Lewis [EMAIL PROTECTED]
In all fairness to IE, it WILL send the value of each button - but PHP
cannot distinguish between them all because you have given them all
the same name! :)
RL Does input type='submit'... allow this sort of functionality?
If it has a unique name,
This was the email I was looking for. I found my answer in this forum.
Come to find out, the owner of Domehost.com was in jail and it was/is a
one man operation. Too bad, everything they had was working great, just
couldn't get any minor support from them. Got my money's worth and now
it's time to
Isn't the database kept in a file? Why would that file be faster than a plain
text file?
cheers,
Travis
Jay Blanchard wrote:
[snip]
I have two text files with two rows of data on each line sperated by a
tab for about 20 lines in each file. Would it be faster accessing this
data by putting it
[snip]
Isn't the database kept in a file? Why would that file be faster than a
plain
text file?
[/snip]
Of course it is, but the file is kept accessible by the database server
deamon so you are not reading from a file in the tradional sense.
--
PHP General Mailing List (http://www.php.net/)
To
The another problem could be your clients have
disabled the cookies on their browsers. Are you taking
care of that consideration while writing your scripts?
If your clients have disabled the cookies on their
browsers then you need to pass session id value from
the URL.
Let me know if that is the
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
I could be wrong though
Regards
Mark Cubitt
-Original Message-
From: Travis Low
You can resize a file using the GD library. Look for
the GD library functions in php manual.
Hardik Doshi
[...]
Hi Warren,
Thanks for the reply; however, that wasn't the
answer I was searching for.
Using PHP, I would like to resize a file once it's
store in a directory on
a (my)
Justin Patrin wrote:
The threading works just fine. The problem is that users have ignorant
mail software that don't set the thread headers correctly. Even
newsgroup client software might do this. This is *not* the server's
fault in any way, shape, or form.
Sure it's not servers fault, knowing
[snip]
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
[/snip]
There is always awk!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
From: Andrew Fenn [EMAIL PROTECTED]
I have two text files with two rows of data on each
line sperated by a tab for about 20 lines in each file.
Would it be faster accessing this data by putting it in a
mysql table?
Depends what you want to do with the data. If you're searching through for
Mark Cubitt wrote:
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
I could be wrong though
It would really depend on the size of the file, and how the db
I would like some advice on special/reserved chars in
strings, especially single quotes.
I am developing an application that requires using a
Name field in the url for navigation. I have a case
where Toni's in the url is returned in
$_SERVER['PATH_INFO'] as Toni\'s eventhough the
address bar
Jay Blanchard wrote:
[snip]
I'm not sure but I think it would depend on the programming language and
with php File I/O is slower then database (mySql anyway).
Where as Perl would probably be quicker with the text file.
[/snip]
There is always awk!
Aw, no votes for cat | grep? ;)
--
From: Tom Rogers [EMAIL PROTECTED]
JWH Does anyone know of a script that'll receive the results of a form,
JWH parse the original form and substitute the user supplied data in for
the
JWH form elements and then send an HTML email of the form?
Here is a class I use with my template system but
Secondly, what is best/favorite way to escape chars
for mysql? I know that mysql_real_escape_string()
has been recommended recently. But that brings up
the
issue of magic quotes. Would
set_magic_quotes_runtime(0) be a reliable way of
making sure my code runs with magic quotes off?
Hi,
Tuesday, April 20, 2004, 11:29:41 PM, you wrote:
JWH From: Tom Rogers [EMAIL PROTECTED]
JWH Does anyone know of a script that'll receive the results of a form,
JWH parse the original form and substitute the user supplied data in for
JWH the
JWH form elements and then send an HTML email of
On 4/20/2004 3:03:36 PM, Martin, Stanley G [Contractor for Sprint]
([EMAIL PROTECTED]) wrote:
This was the email I was looking for. I found my answer in this forum.
Come to find out, the owner of Domehost.com was in jail and it was/is a
one man operation. Too bad, everything they had was
Hi,
I've learn how to compile a simple (with only one .C file) extension
under Windows and Linux. And multi .C file compilation with Windows.
But how can I compile a PHP extension composed by several .C files ? I'm
not an expert in GCC compilation. So perheaps I've missed something.
For
From: Tom Rogers [EMAIL PROTECTED]
It does not need to know the form elements, only the reserved words it
uses and you take those out and pass them directly to the class if
needed. It takes the variable name from the POST array and uses it with
the value. No need to know what the input fields
Maybe you take a look at the source as there ARE NO linebreaks
in any wrong places. I know the source produced by PHP's Source
functions is a mess but take yourself a while and you will see
there are no linebreaks at all :p
-- red
Aidan Lister wrote:
Here's a PHP4 example:
Try something like this:
script language=javascript
function submit_form( type ) {
document.forms['submit_form'].elements['mode'].value = type;
document.forms['submit_form'].submit();
}
/script
form name=submit_form method=
input type=hidden name=mode value=
input
Hi,
Wednesday, April 21, 2004, 12:05:08 AM, you wrote:
JWH I see what you're doing here, but it doesn't fit what I'm looking for
JWH exactly. You just create a Key : Value list to include in the email. I want
JWH the email to look exactly like the form, only substitute in the values
JWH submitted
Ok, not exactly pure PHP problem but I hope someone here has seen this
before..
I'm got an upload form on a webpage, here's the code:
SNIP
?
Select the file type and browse for that file. The press 'Upload'. The
file will be uploaded to the server.
No changes in the database are done
At 16:29 19-04-2004, Curt Zirzow wrote:
* Thus wrote T. H. Grejc ([EMAIL PROTECTED]):
Hello,
I've seen this subject before, but never really got any answer. PHP have
news server at news.php.net but it is 'always' down and it is only a
mailing list mirror, so some messages get lost or get 'out
[...]
That is mostly Outlook and OE that are real good at trashing the Xref ...
others (old) clients do it too, but OE is the biggest sinner in that
aspect... (and Outlook runs on the OE engine when it comes to mail).
[...]
who is outlook ? :-)
--
PHP General Mailing List
Don't know about that particular host either ...
But I'm very happy with Westhost (http://westhost.com/) ... I moved over
from DotServ ... Nomatter what my question's been, I've gotten response
from Westhost within the matter of 30 minutes ... and it's been kind
responses too, even when I've
At 21:19 19-04-2004, John Nichel wrote:
Greg Donald wrote:
Your signature is twice the rfc1855 suggested limit.
http://www.faqs.org/rfcs/rfc1855.html
- If you include a signature keep it short. Rule of thumb is no longer
than 4 lines.
And the RFC1885 'guidelines' are also almost 10 years old. I
Yes...
Of course you can, it's yours.
I've got mine registered at enom through Westhost, and westhost gives me a
registrar interface so I can do whatever I want with my domain ... make new
TLDs, add/remove pointers, and stuff like that ... not sure what other
hosts provide just as simple a
-{ Rene Brehmer }- wrote:
At 21:19 19-04-2004, John Nichel wrote:
Greg Donald wrote:
Your signature is twice the rfc1855 suggested limit.
http://www.faqs.org/rfcs/rfc1855.html
- If you include a signature keep it short. Rule of thumb is no longer
than 4 lines.
And the RFC1885 'guidelines'
Hi Folks,
At the end of the email is a var_dump of my XML...
I can go through and do foreach on each section, however, this is completely
useless in practice.
How do I call things like $data[Title] and
$data[avail_dataset][0][dept_date]?
At the moment, every time I do this, it comes out as
Isn't there a european mirror of that server ??? ... I can't even get a
connection to news.php.net
Rene
At 21:46 19-04-2004, Red Wingate wrote:
Same here, just installed some Newsgroup Software and everything works
just fine for me :-)
-- red
Justin Patrin wrote:
Curt Zirzow wrote:
* Thus
-Original Message-
From: Jeff McKeon
Sent: Tuesday, April 20, 2004 10:21 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Upload file form
Ok, not exactly pure PHP problem but I hope someone here has
seen this before..
I'm got an upload form on a webpage, here's the code:
At 00:16 20-04-2004, Andy B wrote:
BUT that does not help at all. btconnect is my service provider, and I
have to send my eMails through them. The messages are caused by
lists.php.net not accepting my messages
but your messages *ARE* getting accepted otherwise i would not be
reading this
Nunners wrote:
Array != Object
echo $data-Title .'br';
echo $data-avail_dataset[0]-dept_date .'br';
etc. pp
There are some examples on how to convert your XML-Dump
into an Array check out the comments over at php.net
-- red
[...]
Hi Folks,
At the end of the email is a var_dump of my
Hi All,
I am having a logic problem. (insert jokes here) I am trying to create a
function that will allow me to pass any number of fields and tables into a
blanket query.
I am getting an error; Unexpected foreach. I have tried placing the loop in
several different places and am getting the
As foreach is a language-construct you cannot concat it
to a string.
try something like:
$temp = '.';
foreach ( $array AS $key )
$temp .= ''.$key.'';
$temp .= '';
instead
--red
[...]
Hi All,
I am having a logic problem. (insert jokes here) I am trying to create a
You wanna feed it an array - something like this:
$post_array = array(
x_Login= $config['authnetLogin']
,x_Password= $config['authnetPass']
,x_Type= $config['authnetXtype']
,x_Method = CC
,x_Version = 3.0
,x_ADC_Delim_Data
Alex Hogan wrote:
Hi All,
I am having a logic problem. (insert jokes here) I am trying to create a
function that will allow me to pass any number of fields and tables into a
blanket query.
I am getting an error; Unexpected foreach. I have tried placing the loop in
several different places and
* Thus wrote T. H. Grejc ([EMAIL PROTECTED]):
Justin Patrin wrote:
The threading works just fine. The problem is that users have ignorant
mail software that don't set the thread headers correctly. Even
newsgroup client software might do this. This is *not* the server's
fault in any way,
[snip]
$query = SELECT ;
$start = true;
foreach ( $array1 as $flds ) {
if ( $start ) {
$query .= $flds[$i];
$start = false;
} else {
$query .= , . $flds[$i];
}
}
$query .= FROM ;
$start = true;
foreach ( $array2 as $tbls )
full duplex or half duplex?
El mar, 20-04-2004 a las 02:00, Yavuz Malak escribi:
Hello
I have a webserver that running php4.3.x,mysql3.5x,apache1.3.x on Mandrake9.
I intended to transfer this server to another server.
I installed Freebsd4.9 on newserver. and certainly apache1.3x,php4,mysql
[snip]
I do have one question though. I ran your code and it only returns the
first letter for that element in the array. For instance fieldone returns
as f and tableone returns as t. The output looks like this; SELECT f,f,f
FROM t,t.
[/snip]
Never mind I found it. It should be;
$query =
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables are not been maintained across the two
pages.
The server is running ...
PHP Version = 4.0.5
register_globals = ON
Session Support = Enabled
session.auto_start = Off
I would do
script 1 :
$_SESSION['test'] = hello world;
and in script2 :
print($_SESSION['test']);
vincent
-Original Message-
From: Charles Collins [mailto:[EMAIL PROTECTED]
Sent: mardi 20 avril 2004 17:44
To: [EMAIL PROTECTED]
Subject: [PHP] session variables
I have two test files
Apr 20 at 9:55am, Alex Hogan wrote:
function myselect($array1, $array2){
$query = SELECT.foreach($array1 as $flds){ $flds[$i]; }.
FROM.foreach($array2 as $tbls){ $tbls[$n]; } ...
Alex, if you merely wish to place the values of an array into your
query, you might also try doing it this
Dear Vincent,
Tried that as well as $HTTP_SERVER_VARS, $_SESSION, etc., still cannot get
the damn thing working.
Regards,
Charlie.
Vincent Dupont [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
I would do
script 1 :
$_SESSION['test'] = hello world;
and in script2 :
Hello All,
I was hoping to benefit from the collective wisdom of the list.
We have a web application that forks off an external program to
inject an email in the outgoing queue. At busy periods this external
program (qmail-inject) can take a little while to return. I'm
currently using popen()
On 20 April 2004 16:44, Alex Hogan wrote:
foreach ( $array1 as $flds ) {
if ( $start ) {
$query .= $flds;
$start = false;
} else {
$query .= , . $flds;
}
}
$query .= implode(, , $array1);
Cheers!
Mike
The problem is solved.
/etc/httpd/conf.d/php.conf
the parameter LimitRequestBody is set to 524288 by default.
Jeff
-Original Message-
From: Jeff McKeon
Sent: Tuesday, April 20, 2004 10:48 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Upload file form
-Original
Alex Hogan wrote:
snip
I gotcha..,
I do have one question though. I ran your code and it only returns the
first letter for that element in the array. For instance fieldone
returns as f and tableone returns as t.
The output looks like this;
SELECT f,f,f FROM t,t.
alex
What's in your array?
Hi all
how do you search for a * in preg_match
Kind Regards
Brent Clark
* Thus wrote Brent Clark ([EMAIL PROTECTED]):
Hi all
how do you search for a * in preg_match
You need to escape it:
preg_match('/\*/', $var);
Curt
--
I used to think I was indecisive, but now I'm not so sure.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
What's in your array?
$array1[0] = 'firstname';
$array1[1] = 'lastname';
$array1[2] = 'tkt_title';
I got that fixed.
Thanks.
alex hogan
**
The contents of this e-mail and any files transmitted with it are
confidential and
hum. Try $_SESSION['test'] on page 2.
I have two test files running on a server, which is giving me a headache,
due to the fact the session variables are not been maintained across the
two
pages.
The server is running ...
PHP Version = 4.0.5
register_globals = ON
Session Support =
preg_match('/\*/', $var);
Thanks, worked like charm
Kind Regards
Brent Clark
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 172 matches
Mail list logo