This is a bug in GD2 - When you use Truecolor images with GD2,
anti-aliasing of ttf fonts break. This is fixed in GD-2.0.2. You don't
seem to have all that many colours on those certificates. Try simply
using an indexed image just to see the real quality you can get with
GD+TTF before
At 26.03.2002 23:56, you wrote:
Here's the situation.
I run the website for a macintosh user folding@home team.
We are providing certificates for users who have done a signifigant amount
of work for the team.
I have jpeg templates and I'm using ImageTTFBBox and ImageTTFText to write
the
On Wednesday 27 March 2002 16:25, Jason Caldwell wrote:
Can anyone give me the quick and easy on IMAP and POP3 ?
What I want to do is, check my POP3 server for messages, download those
messages into my MySQL DB. I want to retrieve the FROM, SUBJECT, HEADER
and BODY from the messages and
Hello,
Can anyone please tell me how to create a table in mysql using php
code..
-Uma
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This is not really PHP stuff anyway see here..
This is possible with Javascript which can be placed in your link to
refresh the frames
a href=javascript:some_js_function(); ...
inside the function you can change source of one or more frames if you
know javascript
parent.frame1.src = ..
On Wednesday 27 March 2002 16:51, Uma Shankari T. wrote:
Hello,
Can anyone please tell me how to create a table in mysql using php
code..
sigh
This is really basic stuff. Please take a look at the numerous tutorials out
the on the world wide web.
--
Jason Wong - Gremlins Associates -
I thought about that.
I may do that if I can't clean it up another way.
On Wed, 27 Mar 2002 02:01:16 -0600 (CST)
Miguel Cruz [EMAIL PROTECTED] mentioned:
I can't imagine you'll ever get results that are to anyone's
satisfaction
using JPEGs unless they aren't wearing their glasses. How about
Hi Rick,
I asked this same question to an ISP I'm with, and was told that it's only
possible through a re-compile. The way I got around it is this: I created a
function to check whether SID was present (it only is when the session is
first invoked, and from there on if the user doesn't have
Thanx Miguel. The from-personal variable is an IMAP header to be sent out.
I open a pipe to sendmail, but since I'm running Postfix, the sendmail -f
(for fullname) option wouldn't work. As a result the receiver gets Apache
User as value for the from-personal member. Do you know how to insert
hi folks,
to compile PHP4 i need apache AND roxen being installed in my development
distribution.
BUT if i install apache AND roxen the same time it conflicts together and no
webserver is running anymore.
the building of PHP is working well if i have installed both.
does anybody know a workaround
Hello,
Could you help me: I really need to use the follow function:
xslt_set_sax_handlers
I've not found documentation on this function.
I use PHP version 4.1.1. Does this function work or not in this
version?
Thank you in advance,
Sincerely,
Alexey
--
PHP General Mailing List
This is what i have in EDITPLUS tools
Menu text :PHP Syntax Check
Command :c:\intraserver\php\php.exe
Argument: -l -f $ (FileName)
And I have checked 'Capture output'
Sijan Khadka
[EMAIL PROTECTED]
-Original Message-
From: Luca Grossi [mailto:[EMAIL PROTECTED]]
Sent:
Thank you.
I sent an e-mail to them explaining my problem and asking for gd 2.0.2
On Wed, 27 Mar 2002 00:15:02 -0800 (PST)
Rasmus Lerdorf [EMAIL PROTECTED] mentioned:
This is a bug in GD2 - When you use Truecolor images with GD2,
anti-aliasing of ttf fonts break. This is fixed in GD-2.0.2.
You will have to build another page that receive a parameter(let's say the
index of the pic from the database) and return the image.
In this page you'll have to set the Content-Type first using:
header(Content-Type: image/jpeg) or
header(Content-Type: image/gif) or
header(Content-Type: image/png)
I'm looking for a way to close the connection with the browser yet have the
script carry on doing some processing.
Any ideas?
Peter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
How would I compare to variables where I would want one variable to equal
only part or some of the other variable?
Here is the code
?
if ($HTTP_USER_AGENT !== %MSIE 5.5%) {
print You must upgrade your browser;
} else {
exit;
}
?
Any suggestions
--
PHP General Mailing List
use regular expressions:
if (ereg(MSIE 5.5, $HTTP_USER_AGENT)) {
}
Greets,
Edward
- Original Message -
From: Ron [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, March 27, 2002 1:46 PM
Subject: [PHP] Comparrison
How would I compare to variables where I would want one
http://php.net/ereg
Ron [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
How would I compare to variables where I would want one variable to equal
only part or some of the other variable?
Here is the code
?
if ($HTTP_USER_AGENT !== %MSIE 5.5%) {
print You
Hi All!
Here's something I am trying to do, and I don't know if it's possible. I
have a function that must register session variables, values that come from
an array. But each of these values will be the value of an session array, of
non-fixed size.
Let me explain (w and d stands for
php-general Digest 27 Mar 2002 13:15:24 - Issue 1251
Topics (messages 90299 through 90357):
Re: which php book 2 buy ?
90299 by: Vail, Warren
(null)
90300 by: Vlad Kulchitski
90303 by: eric.coleman.zaireweb.com
90305 by: Miguel Cruz
90307 by: Vlad
Why?
-Original Message-
From: Peter Clarke [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 6:03 AM
To: [EMAIL PROTECTED]
Subject: [PHP] how to close an http connection BUT carry on processing
I'm looking for a way to close the connection with the browser yet have the
script
Is there a way to make an array with only the key defined? That maybe will
help me.
$area = array('news' = array('admin'));
print_r($area) gives me:
Array ( [corporativo] = Array ( [0] = classificados ) )
The key is '0', I need key 'classificados' without a value, so I can make
this:
dfdfdfdfdf
it's only a test. i'm a new subscribed
I am having a problem with a file upload.
When I submit the file, I get an error saying Could not open the file for
reading: No such file or directory exists.. However, when looking on the C
drive (windows) where I have the file and browsed for it using the Browse
button, it certainly is there.
Does anyone know if there is such a thing, maybe by writing in perl or even
writing in a configuration file, as keeping PHP out of a certain directory
or directory structure?
I'm trying to figure out why PHP is not working in one of my directories; I
can tell you there is a good amount of
Here you go:
?
// //
// EXAMPLE OF CREATING A MYSQL TABLE WITH PHP
//
//
// //
// include common routines -- gives the db variables for dbhost, dbuser,
dbpassword, db
What are the permissions like on that directory? Does the user/group that
runs your PHP process have read permissions on that directory?
J
Spyproductions Support Team wrote:
Does anyone know if there is such a thing, maybe by writing in perl or
even writing in a configuration file, as
Also make sure that the directory is below the doc_root that is set in the
php.ini file
ie:
-
php.ini
-
doc_root = /html
-
directory example
-
|-/root
|-/http
|-/cgi-bin (PHP will not run here)
On mine it's in /usr/local/lib, but I seem to recall discussion earlier
about some OSX installations lacking the ini file.
-Steve
On Tuesday, March 26, 2002, at 04:53 PM, Chuck PUP Payne wrote:
Can some one please tell me where php.ini is located on Mac OS X?
Thanks,
Chuck Payne
Magi
Hey all
has anyone written a script to check if a host is alive - like a ping script ?
Chris Grigor
2nd Line Support
Tel : +27 11 340 7390
Fax : +27 11 340 7345 E-Mail : [EMAIL PROTECTED]
What I want to do is, check my POP3 server for messages, download those
messages into my MySQL DB. I want to retrieve the FROM, SUBJECT, HEADER
and
BODY from the messages and place them in the corresponding mysql fields.
This script I wrote last summer may help you some what.. it handles
On Wednesday, March 27, 2002, at 04:11 AM, Alexey N.Kolomoets wrote:
Hello,
Could you help me: I really need to use the follow function:
xslt_set_sax_handlers
I've not found documentation on this function.
I use PHP version 4.1.1. Does this function work or not in this
version?
Hi CHris!
has anyone written a script to check if a host is alive -
like a ping script ?
Something like this?
BTW, any hints to weak or wrong code are welcome, I'm not
this experienced with PHP ;)
Cheers, Kiko
P.S.: There are some formatting strings and some variables
stored in
Hi Chris,
Have a look at
http://www.hotscripts.com/PHP/Scripts_and_Programs/Networking_Tools/Ping/
There are 3 ping scripts there.
Jason
-Original Message-
From: Chris Grigor [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 8:48 AM
To: Php-General-List (E-mail)
Subject:
Hi
I've this problem whit file uploading: if file size is greater than
php.ini's post_max_size attribute
my php script run, but all HTTP_POST_VARS is erased!! why this?
I'd like to catch this event show a warning to user. How can I get
that?
Thanx !
Fabio
--
PHP General Mailing List
Hi Folks,
I save an ascii-sentence, representing my vars and their values in the db
after I request them, I try to eval them.
here is what I get back from the db
$scar=\3\;$anrede=\Herr\;$pf_name=\wert\;$pf_kontem=\tzrtzetrz\;$pf_kontel=\zuoioopöl\;$zeit=\\;$pf_wt=\löjlköjklö\;$sto=\2\;
(values
Erik, I asked an editor at O'Reilly about this cover issue. Here is the
response:
We did switch to wite spines with black letters for a while, but now
we've switched back to our original colored spines with white letters.
Trust me, you don't want to know the sordid details...
-Rasmus
On
On Wednesday, March 27, 2002, at 11:35 AM, Rasmus Lerdorf wrote:
Erik, I asked an editor at O'Reilly about this cover issue. Here is the
response:
We did switch to wite spines with black letters for a while, but now
we've switched back to our original colored spines with white letters.
Is there a way to access a column in Mysql just by using a number?
Like if you had three columns called column1, column2, and
column3 and I wanted to access column3 just by using the number 3
Thanks!
Phil
Maybe parse_str() will do the trick?
I am using it in a close situation, I store:
a=1b=1
And $a has value 1, $b has value 2.
But I guess to work in your case you would need to stripslashes(); and
str_replace(';', '', $string) before the parse_str();
--
Julio Nobrega.
Um dia eu
Hi -- I'm trying to use a string of XML data which includes the use of
the ?xml ? tags. I've noticed that my editor (BBEdit) shows that \?
will escape the tag so that PHP does not treat it as a true close the
PHP code tag, but was hoping that someone here could give me an
official ruling.
Note that vars[1] is created with ' ' so that the $-names are not
interpreted. I assume that when the text is read from the file, it comes
with the $s and the ending semi-colon (;).
?php
$vars[1] =
'$scar=\3\;$anrede=\Herr\;$pf_name=\wert\;$pf_kontem=\tzrtzetrz\;$pf
Haven't seen it either, but you could use:
echo '' . '?';
So is separated from ?. Or ? from for the matter.
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
Is there a way to copy the column names in a MySQL table into a row ?
Thanks!
Hi Folks,
I save an ascii-sentence, representing my vars and their values in the db
after I request them, I try to eval them.
here is what I get back from the db
$scar=\3\;$anrede=\Herr\;$pf_name=\wert\;$pf_kontem=\tzrtzetrz\;$pf_kontel=\zuoioopöl\;$zeit=\\;$pf_wt=\löjlköjklö\;$sto=\2\;
(values
$row = mysql_fetch_row($result);
$val1 = $row[0];
$val2= $row[1];
$val3 = $row[2];
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 10:51 AM
To: [EMAIL PROTECTED]
Subject: [PHP] accessing a mysql column by number
Is there a way to
why did you re-post this?
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 9:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Question on eval()
Hi Folks,
I save an ascii-sentence, representing my vars and their values in the db
after I
mysql_field_name()
mysql_list_fields()
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 10:55 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Copying Column names into a row
Is there a way to copy the column names in a MySQL table into a row
On Wednesday, March 27, 2002, at 12:03 PM, Julio Nobrega Trabalhando
wrote:
Haven't seen it either, but you could use:
echo '' . '?';
So is separated from ?. Or ? from for the matter.
That's a good workaround. I'll use that until I hear from above.
Erik
Erik Price
Hey Christoph
Thanks for your script, Ive just finished this one, its not that good but it works
html
head
title
/title
/head
style
body, td { font-family: Verdana, Arial, Helvetica, Geneva, sans-serif; font-size: 8pt;
color: black; font-weight: normal;
}
h1 { font-family: Verdana,
Can someone please remind me what the correct syntax for this is !
in a loop
and want individual
$ned_1_city = blah
$ned_2_city = blur
I've been trying this but its wrong
$ned_.$i._city = $ned_city ;
thanks
john
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Good day.
I believe that one would have to use the eval() statement to construct that
syntax.
You probably would be much better off using an array to store this
information. If you are trying to read form data, then construct your form
names so that the results will be put into an array by
Sorry I think I've badly explained this !
I'm getting results from mysql in a while loop
but I need the results outside of the loops
and so what I want to do is take the first variable from the db
and rename it as variable 1
and then before the end of the while loop have a $i++;
so i want
On Wed, 27 Mar 2002, John Fishworld wrote:
so i want
$newvar_$i = result 1
$newvar_$i = result 2
so I can use them outside the loops as
$newvar_1 and $newvar_2
Why don't you use an array? That's what they're for.
Nevertheless,
$i = 1;
$varname = newvar$i;
$$varname = result 1;
Make it this way:
Looping first. I will loop with while:
$i = 0;
$array = Array();
while (list($value) = mysql_fetch_array($result)) {
$array[$i] = $value;
$i++;
}
Arrays are easier :-) Each $i will be a key.
--
Julio Nobrega.
Um dia eu chego lá:
Good day,
In this situation, you should use an array to store the results.
Please check PHP's documentation for more information on how to use arrays.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
This sounds similar to what I am having, but not exactly. What version
of PHP are using, and on what platform?
My problem is the files don't actually appear on the filesystem, yet all
of the internal functions in PHP that allow me to manipulate the files
appear to work.
I'm using v4.1.2, and
Sorry Another question-
Do instances of classes remain in 'communication' with each other if
declared my different functions in a case switch statement.
At present I have an admin.php which is one long swtich statement.
Wihin each is a list iof functions which created the elements of the page
I'm in the slow process of transferring my contetn management system over to
full object oreinted code.
I have a function within a class which gets the field name and type
information from a mysql table, puts this into an array and then returns a
table with a form field for each field.
I
At 27.03.2002 10:54, you wrote:
Rick thank you,
the problem wasn´t ' ', but stripslashes.
The data come from a database, so no ' s come with them.
That´s good to see, if you send selects via terminal directly to mysql.
Thanks again
Oliver
Note that vars[1] is created with ' ' so that the
Im having a VERY hard time trying to explain this
Here is a bit of my code...
for ($i = 0; $i $num_fields; $i++)
{
$field = mysql_field_name($result, $i);
$field2 = .$field;
$output = str_replace($field2, $field), $output);
}
The problem I'm having here is that the variable $field
Objects which are instantiated from classes on one page are not available on
the next page. You have to use session functionality.
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 8:17 PM
To: Php-General-List (E-mail)
Subject: [PHP]
$field2 = .$$field;
-Original Message-
From: Phil Schwarzmann [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:33 PM
To: [EMAIL PROTECTED]
Subject: [PHP] variables within variables - question
Im having a VERY hard time trying to explain this
Here is a bit of my
I was just wondering if there was a way to add new text to the end of
strings. I tried doing
$message += Some text here;
but that just set $message to 0. I'm sure it's something simple but I
couldn't find anything on it in the documentation.
Dave
--
PHP General Mailing List
Close!
$message .= Some text here;
Kirk
-Original Message-
From: David Johansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Adding stuff to the end of strings
I was just wondering if there was a way to add new text
$message .= Some text here;
-Original Message-
From: David Johansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 1:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Adding stuff to the end of strings
I was just wondering if there was a way to add new text to the end of
strings.
I just user $message = $message . Some text;
But is there a better way to do this with something like the += operator?
Dave
David Johansen [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
I was just wondering if there was a way to add new text to the end of
Shouldn't this work:
$string = $string . Some text added to the end;
Or am I thinking your question is simpler than it really is?
* * * * * * * * * * * * * * * * * * * * * * * * * *
J. Scott Johnson
PHP Consulting and Design Work
* * * * * * * * * * * * * * * * * * * * * * * * * *
Virtual:
Good day.
As you may have guessed by now, the .= operator does what you want.
Darren Gamble
Planner, Regional Services
Shaw Cablesystems GP
630 - 3rd Avenue SW
Calgary, Alberta, Canada
T2P 4L4
(403) 781-4948
-Original Message-
From: David Johansen
On Wed, 27 Mar 2002, John Fishworld wrote:
use this:
${ned_.$i._city} = $ned_city;
after that you can use your new var as $ned_1_city, if $i was 1
ofcourse...
But in this case you might be better off using arrays, as some have
suggested.
Can someone please remind me what the correct syntax
It seems that in using the PHP delete file function, I have inadvertently
deleted the root folder instead, waxing the majority of my PHP files. Is
there a recovery mechanism on Windows or am I getting burned by playing with
fire?
J
** Scanned for Viruses **
--
PHP General Mailing List
Dear friends,
Is anyone familiar with TurboPHP and has anyone ever
tried to develop a real application (perhaps in the
accounting field) with this editor.
I would like to know the feasibility and practicality
of using this editor to develop an accounting
application. I also would like to know
I have a site where users can type whatever they want in and it posts it to a
database. I'm trying to eliminate whatever types of abuse I can think of,
and, since I'm using nl2br on the posts, I'm afraid a user might just hold
down enter for a couple of seconds and scroll everything off the
At 27.03.2002 14:27, you wrote:
It seems that in using the PHP delete file function, I have inadvertently
deleted the root folder instead, waxing the majority of my PHP files. Is
there a recovery mechanism on Windows or am I getting burned by playing
with
fire?
J
Look in your wastebin or how
Hi,
I've just started making my database/PHP-scripts and I'm used to, from
my earlier development, have my variables declared at the top of each
routine.
But I can't find the command that would force me to declare my variables
and I can't find the declare statement either.
Is there a way to do
PHP is weakly typed. Therefore, definitions are not needed. A variable may
assume any guise depending upon its context.
-Original Message-
From: Kjell Hansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 2:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Require variable
You don't need to do this with PHP... a variable is created when you
assign a value to it. It is also unnecessary to assign a type. PHP will
typecast automatically as necessary
-Original Message-
From: Kjell Hansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 12:47 PM
To:
That's too bad,
I used to do some ASP which is weakly typed too but I still could use Option
Explicit to require variables to be declared.
Then a small typo would produce very hard-to-find errors.
Well, I guess I have to live with it. Can I add it to a PHP5-wishlist?
Thanx
/Kjell
-
Help! I have not had a need to use sessions or cookies on PHP until now.
My experience has been to use Sessions in ASP. I am building a system to
have users log in and then drop a cookie on their machine so they can log
onto other apps. It's an internal app. The cookie will contain a
There has been some discussion at zend.com to add this to PHP5/engine 2.0.
However, the idea was rejected.
-Original Message-
From: Kjell Hansen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 2:54 PM
To: Rick Emery; [EMAIL PROTECTED]
Subject: Re: [PHP] Require variable
Why not just limit it to one br?
?php
$string=blahbrbrbrbrbrbrbrbrbrstuff;
while ( stristr($string, 'brbr') ) {
$string=str_replace('brbr', 'br', $string);
}
echo $string;
?
something like that would wok well enough...
-Original Message-
I have a problem.
I have those tables on my database:
mysql use projeto;
Database changed
mysql show tables;
+---+
| Tables_in_projeto |
+---+
| ALGORITMO |
| ATAS |
| MANUAIS |
| PROJETO |
| REFERENCIAS |
|
You can catch typos by setting the error reporting level to E_ALL (in
php.ini). PHP will then give you a warning whenever a variable is used
before it has been assigned a value.
Kirk
That's too bad,
I used to do some ASP which is weakly typed too but I still
could use Option Explicit to
Good day,
This can be accomplished in a few ways. The easiest way is to tell the
client not to cache the page. And yep, you do this via headers.
In PHP (attempting to hit as many types of browsers as possible):
header(Cache-Control: no-store, no-cache, must-revalidate);
header(Pragma:
On Wednesday, March 27, 2002, at 04:00 PM, Daniel Ferreira Castro wrote:
I want to select the fields nome,id_proj,arquivo FROM ALGORITMO and
ATAS. But when I use the query below, I receive the error ERROR 1052:
Column: 'nome' in field list is ambiguous. What is wrong on my query?
query:
On Wednesday, March 27, 2002, at 04:11 PM, Matt Friedman wrote:
When you have all your items in an array use implode to add a character
in between every item.
$str = implode($yourArray, $separator);
This will add the separator to the end of each string except the last
one.
I like that
This way works, but not the way i would like to.
Because it selects just the fields nome,id_proj and arquivo from the
table ALGORITMO, and here my goal is to select those fileds of ALGORITMO and
ATAS.
Erik Price [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
i uploaded a script, which checks my inbox for new messages by using the imap
extension for php.
However, everything was working just fine, but now every time i try to access my
script, i get a server not found error and the logs say:
[Wed Mar 27 21:21:13 2002] [notice] child pid 11854
Ron,
You probably want strstr(). or stristr().
Just as a usability recommendation on you code below, please don't restrict your pages
to IE only.. This would be better:
if (!strstr($HTTP_USER_AGENT,MSIE 5.5) {
print Please note this page has functionality designed for IE5.5;
}
Users of
On Wednesday, March 27, 2002, at 04:28 PM, Daniel Ferreira Castro wrote:
This way works, but not the way i would like to.
Because it selects just the fields nome,id_proj and arquivo from
the
table ALGORITMO, and here my goal is to select those fileds of
ALGORITMO and
ATAS.
Then why
I went to php.net wnating info on the date() function. To my surprise the word date
was already in the search for field.
Has PHP developed some new functions?
Possible code
?
$question = read_psychic_aura(user);
$answer = answer_question($question);
echo $answer;
?
If not are these ever
I went to php.net wnating info on the date() function. To my
surprise the word date was already in the search for field.
It was probably the last thing you looked for there. I know I
constantly go back to look up Date() placeholders. :)
J
--
PHP General Mailing List
I am running php 4.1.1, and when i try to use odbc_fetch_array, it says Call to
undefined function
Why is this?
Thanks,
Eric
hm,
maybe reinstall imap?
Can i simply reinstall it, or do i also have to configure php again, if i do so?
Regards,
Hendrik
Hi list,
I've already look at the php manual but couldn't figure out a way to use
serialize to solve my problem.
I have a form, with many fields like (name, age, adress, state), that I put
a save button. This button allows my user to save the fields already filled
in order to finish the form
look at ignore_user_abort()
http://www.php.net/manual/en/function.ignore-user-abort.php
but make sure your script doesn't go into an infinate loop anywhere,
otherwise you'll have to kill the process manually caught me once on a
rare occasion.. :/
-Original Message-
From: Rick Emery
once their instantiated, they're just like any other variable - that is: if
a normal variable, declared in the same place as the object, is accessable
in another function, then the object will be too.
HTH
Martin
-Original Message-
From: Caspar Kennerdale [mailto:[EMAIL PROTECTED]]
I'm trying to do something to the effect of this for a preg_replace statement:
$string = Hello\n\n\n\n\n\n\nHow are you?\n\n\n\n\n\n\n\nHi;
$string = preg_replace(/\n\n/, /\n/, $string);
But, it appears the 'replace' portion of the function doesn't allow for
regex. How can I do this so that
On Wed, 27 Mar 2002, James Taylor wrote:
I'm trying to do something to the effect of this for a preg_replace statement:
$string = Hello\n\n\n\n\n\n\nHow are you?\n\n\n\n\n\n\n\nHi;
$string = preg_replace(/\n\n/, /\n/, $string);
But, it appears the 'replace' portion of the function
1 - 100 of 149 matches
Mail list logo